[03:17:45]OFD Sender: No OFD packet to send [03:17:50]OFD Sender: No OFD packet to send [03:17:55]OFD Sender: No OFD packet to send [03:18:00]OFD Sender: No OFD packet to send [03:18:05]OFD Sender: No OFD packet to send [03:18:10]OFD Sender: No OFD packet to send [03:18:15]OFD Sender: No OFD packet to send [03:18:20]OFD Sender: No OFD packet to send [03:18:25]OFD Sender: No OFD packet to send [03:18:30]OFD Sender: No OFD packet to send [03:18:35]OFD Sender: No OFD packet to send [03:18:40]OFD Sender: No OFD packet to send [03:18:45]OFD Sender: No OFD packet to send [03:18:50]OFD Sender: No OFD packet to send [03:18:55]OFD Sender: No OFD packet to send [03:19:00]OFD Sender: No OFD packet to send [03:19:05]OFD Sender: No OFD packet to send [03:19:10]OFD Sender: No OFD packet to send [03:19:15]OFD Sender: No OFD packet to send [03:19:20]OFD Sender: No OFD packet to send [03:19:25]OFD Sender: No OFD packet to send [03:19:30]OFD Sender: No OFD packet to send [03:19:35]OFD Sender: No OFD packet to send [03:19:40]OFD Sender: No OFD packet to send [03:19:45]OFD Sender: No OFD packet to send [03:19:50]OFD Sender: No OFD packet to send [03:19:55]OFD Sender: No OFD packet to send [03:20:00]OFD Sender: No OFD packet to send [03:20:05]OFD Sender: No OFD packet to send [03:20:10]OFD Sender: No OFD packet to send [03:20:15]OFD Sender: No OFD packet to send [03:20:20]OFD Sender: No OFD packet to send [03:20:25]OFD Sender: No OFD packet to send [03:20:30]OFD Sender: No OFD packet to send [03:20:35]OFD Sender: No OFD packet to send [03:20:40]OFD Sender: No OFD packet to send [03:20:45]OFD Sender: No OFD packet to send [03:20:50]OFD Sender: No OFD packet to send [03:20:55]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:51]OFD Sender: No OFD packet to send [03:37:56]OFD Sender: No OFD packet to send [03:38:01]OFD Sender: No OFD packet to send [03:38:06]OFD Sender: No OFD packet to send [03:38:11]OFD Sender: No OFD packet to send [03:38:16]OFD Sender: No OFD packet to send [03:38:21]OFD Sender: No OFD packet to send [03:38:26]OFD Sender: No OFD packet to send [03:38:31]OFD Sender: No OFD packet to send [03:38:36]OFD Sender: No OFD packet to send [03:38:41]OFD Sender: No OFD packet to send [03:38:46]OFD Sender: No OFD packet to send [03:38:51]OFD Sender: No OFD packet to send [03:38:56]OFD Sender: No OFD packet to send [03:39:01]OFD Sender: No OFD packet to send [03:39:06]OFD Sender: No OFD packet to send [03:39:11]OFD Sender: No OFD packet to send [03:39:16]OFD Sender: No OFD packet to send [03:39:21]OFD Sender: No OFD packet to send [03:39:26]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:08]OFD Sender: No OFD packet to send [03:58:13]OFD Sender: No OFD packet to send [03:58:18]OFD Sender: No OFD packet to send [03:58:23]OFD Sender: No OFD packet to send [03:58:28]OFD Sender: No OFD packet to send [03:58:33]OFD Sender: No OFD packet to send [03:58:38]OFD Sender: No OFD packet to send [03:58:43]OFD Sender: No OFD packet to send [03:58:48]OFD Sender: No OFD packet to send [03:58:53]OFD Sender: No OFD packet to send [03:58:58]OFD Sender: No OFD packet to send [03:59:03]OFD Sender: No OFD packet to send [03:59:08]OFD Sender: No OFD packet to send [03:59:13]OFD Sender: No OFD packet to send [03:59:18]OFD Sender: No OFD packet to send [03:59:23]OFD Sender: No OFD packet to send [03:59:28]OFD Sender: No OFD packet to send [03:59:33]OFD Sender: No OFD packet to send [03:59:38]OFD Sender: No OFD packet to send [03:59:43]OFD Sender: No OFD packet to send [03:59:48]OFD Sender: No OFD packet to send [03:59:53]OFD Sender: No OFD packet to send [03:59:58]OFD Sender: No OFD packet to send [04:00:03]OFD Sender: No OFD packet to send [04:00:08]OFD Sender: No OFD packet to send [04:00:13]OFD Sender: No OFD packet to send [04:00:18]OFD Sender: No OFD packet to send [04:00:23]OFD Sender: No OFD packet to send [04:00:28]OFD Sender: No OFD packet to send [04:00:33]OFD Sender: No OFD packet to send [04:00:38]OFD Sender: No OFD packet to send [04:00:43]OFD Sender: No OFD packet to send [04:00:48]OFD Sender: No OFD packet to send [04:00:53]OFD Sender: No OFD packet to send [04:00:58]OFD Sender: No OFD packet to send [04:01:03]OFD Sender: No OFD packet to send [04:01:08]OFD Sender: No OFD packet to send [04:01:13]OFD Sender: No OFD packet to send [04:01:18]OFD Sender: No OFD packet to send [04:01:23]OFD Sender: No OFD packet to send [04:01:28]OFD Sender: No OFD packet to send [04:01:33]OFD Sender: No OFD packet to send [04:01:38]OFD Sender: No OFD packet to send [04:01:43]OFD Sender: No OFD packet to send [04:01:48]OFD Sender: No OFD packet to send [04:01:53]OFD Sender: No OFD packet to send [04:01:58]OFD Sender: No OFD packet to send [04:02:03]OFD Sender: No OFD packet to send [04:02:08]OFD Sender: No OFD packet to send [04:02:13]OFD Sender: No OFD packet to send [04:02:18]OFD Sender: No OFD packet to send [04:02:23]OFD Sender: No OFD packet to send [04:02:28]OFD Sender: No OFD packet to send [04:02:33]OFD Sender: No OFD packet to send [04:02:38]OFD Sender: No OFD packet to send [04:02:43]OFD Sender: No OFD packet to send [04:02:48]OFD Sender: No OFD packet to send [04:02:53]OFD Sender: No OFD packet to send [04:02:58]OFD Sender: No OFD packet to send [04:03:03]OFD Sender: No OFD packet to send [04:03:08]OFD Sender: No OFD packet to send [04:03:13]OFD Sender: No OFD packet to send [04:03:18]OFD Sender: No OFD packet to send [04:03:23]OFD Sender: No OFD packet to send [04:03:28]OFD Sender: No OFD packet to send [04:03:33]OFD Sender: No OFD packet to send [04:03:38]OFD Sender: No OFD packet to send [04:03:43]OFD Sender: No OFD packet to send [04:03:48]OFD Sender: No OFD packet to send [04:03:53]OFD Sender: No OFD packet to send [04:03:58]OFD Sender: No OFD packet to send [04:04:03]OFD Sender: No OFD packet to send [04:04:08]OFD Sender: No OFD packet to send [04:04:13]OFD Sender: No OFD packet to send [04:04:18]OFD Sender: No OFD packet to send [04:04:23]OFD Sender: No OFD packet to send [04:04:28]OFD Sender: No OFD packet to send [04:04:33]OFD Sender: No OFD packet to send [04:04:38]OFD Sender: No OFD packet to send [04:04:43]OFD Sender: No OFD packet to send [04:04:48]OFD Sender: No OFD packet to send [04:04:53]OFD Sender: No OFD packet to send [04:04:58]OFD Sender: No OFD packet to send [04:05:03]OFD Sender: No OFD packet to send [04:05:08]OFD Sender: No OFD packet to send [04:05:13]OFD Sender: No OFD packet to send [04:05:18]OFD Sender: No OFD packet to send [04:05:23]OFD Sender: No OFD packet to send [04:05: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:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:19]OFD Sender: No OFD packet to send [04:19:24]OFD Sender: No OFD packet to send [04:19:29]OFD Sender: No OFD packet to send [04:19:34]OFD Sender: No OFD packet to send [04:19:39]OFD Sender: No OFD packet to send [04:19:44]OFD Sender: No OFD packet to send [04:19:49]OFD Sender: No OFD packet to send [04:19:54]OFD Sender: No OFD packet to send [04:19:59]OFD Sender: No OFD packet to send [04:20:04]OFD Sender: No OFD packet to send [04:20:09]OFD Sender: No OFD packet to send [04:20:14]OFD Sender: No OFD packet to send [04:20:19]OFD Sender: No OFD packet to send [04:20:24]OFD Sender: No OFD packet to send [04:20:29]OFD Sender: No OFD packet to send [04:20:34]OFD Sender: No OFD packet to send [04:20:39]OFD Sender: No OFD packet to send [04:20:44]OFD Sender: No OFD packet to send [04:20:49]OFD Sender: No OFD packet to send [04:20:54]OFD Sender: No OFD packet to send [04:20:59]OFD Sender: No OFD packet to send [04:21:04]OFD Sender: No OFD packet to send [04:21:09]OFD Sender: No OFD packet to send [04:21:14]OFD Sender: No OFD packet to send [04:21:19]OFD Sender: No OFD packet to send [04:21:24]OFD Sender: No OFD packet to send [04:21:29]OFD Sender: No OFD packet to send [04:21:34]OFD Sender: No OFD packet to send [04:21:39]OFD Sender: No OFD packet to send [04:21:44]OFD Sender: No OFD packet to send [04:21:49]OFD Sender: No OFD packet to send [04:21:54]OFD Sender: No OFD packet to send [04:21:59]OFD Sender: No OFD packet to send [04:22:04]OFD Sender: No OFD packet to send [04:22:09]OFD Sender: No OFD packet to send [04:22:14]OFD Sender: No OFD packet to send [04:22:19]OFD Sender: No OFD packet to send [04:22:24]OFD Sender: No OFD packet to send [04:22:29]OFD Sender: No OFD packet to send [04:22:34]OFD Sender: No OFD packet to send [04:22:39]OFD Sender: No OFD packet to send [04:22:44]OFD Sender: No OFD packet to send [04:22:49]OFD Sender: No OFD packet to send [04:22:54]OFD Sender: No OFD packet to send [04:22:59]OFD Sender: No OFD packet to send [04:23:04]OFD Sender: No OFD packet to send [04:23:09]OFD Sender: No OFD packet to send [04:23:14]OFD Sender: No OFD packet to send [04:23:19]OFD Sender: No OFD packet to send [04:23:24]OFD Sender: No OFD packet to send [04:23:29]OFD Sender: No OFD packet to send [04:23:34]OFD Sender: No OFD packet to send [04:23:39]OFD Sender: No OFD packet to send [04:23:44]OFD Sender: No OFD packet to send [04:23:49]OFD Sender: No OFD packet to send [04:23:54]OFD Sender: No OFD packet to send [04:23:59]OFD Sender: No OFD packet to send [04:24:04]OFD Sender: No OFD packet to send [04:24:09]OFD Sender: No OFD packet to send [04:24:14]OFD Sender: No OFD packet to send [04:24:19]OFD Sender: No OFD packet to send [04:24:24]OFD Sender: No OFD packet to send [04:24:29]OFD Sender: No OFD packet to send [04:24:34]OFD Sender: No OFD packet to send [04:24:39]OFD Sender: No OFD packet to send [04:24:44]OFD Sender: No OFD packet to send [04:24:49]OFD Sender: No OFD packet to send [04:24:54]OFD Sender: No OFD packet to send [04:24:59]OFD Sender: No OFD packet to send [04:25:04]OFD Sender: No OFD packet to send [04:25:09]OFD Sender: No OFD packet to send [04:25:14]OFD Sender: No OFD packet to send [04:25:19]OFD Sender: No OFD packet to send [04:25:24]OFD Sender: No OFD packet to send [04:25:29]OFD Sender: No OFD packet to send [04:25:34]OFD Sender: No OFD packet to send [04:25:39]OFD Sender: No OFD packet to send [04:25:44]OFD Sender: No OFD packet to send [04:25:49]OFD Sender: No OFD packet to send [04:25:54]OFD Sender: No OFD packet to send [04:25:59]OFD Sender: No OFD packet to send [04:26:04]OFD Sender: No OFD packet to send [04:26:09]OFD Sender: No OFD packet to send [04:26:14]OFD Sender: No OFD packet to send [04:26:19]OFD Sender: No OFD packet to send [04:26:24]OFD Sender: No OFD packet to send [04:26:29]OFD Sender: No OFD packet to send [04:26:34]OFD Sender: No OFD packet to send [04:26:39]OFD Sender: No OFD packet to send [04:26:44]OFD Sender: No OFD packet to send [04:26:49]OFD Sender: No OFD packet to send [04:26:54]OFD Sender: No OFD packet to send [04:26:59]OFD Sender: No OFD packet to send [04:27: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:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:55]OFD Sender: No OFD packet to send [04:38:00]OFD Sender: No OFD packet to send [04:38:05]OFD Sender: No OFD packet to send [04:38:10]OFD Sender: No OFD packet to send [04:38:15]OFD Sender: No OFD packet to send [04:38:20]OFD Sender: No OFD packet to send [04:38:25]OFD Sender: No OFD packet to send [04:38:30]OFD Sender: No OFD packet to send [04:38:35]OFD Sender: No OFD packet to send [04:38:40]OFD Sender: No OFD packet to send [04:38:45]OFD Sender: No OFD packet to send [04:38:50]OFD Sender: No OFD packet to send [04:38:55]OFD Sender: No OFD packet to send [04:39:00]OFD Sender: No OFD packet to send [04:39:05]OFD Sender: No OFD packet to send [04:39:10]OFD Sender: No OFD packet to send [04:39:15]OFD Sender: No OFD packet to send [04:39:20]OFD Sender: No OFD packet to send [04:39:25]OFD Sender: No OFD packet to send [04:39:30]OFD Sender: No OFD packet to send [04:39:35]OFD Sender: No OFD packet to send [04:39:40]OFD Sender: No OFD packet to send [04:39:45]OFD Sender: No OFD packet to send [04:39:50]OFD Sender: No OFD packet to send [04:39:55]OFD Sender: No OFD packet to send [04:40:00]OFD Sender: No OFD packet to send [04:40:05]OFD Sender: No OFD packet to send [04:40:10]OFD Sender: No OFD packet to send [04:40:15]OFD Sender: No OFD packet to send [04:40:20]OFD Sender: No OFD packet to send [04:40:25]OFD Sender: No OFD packet to send [04:40:30]OFD Sender: No OFD packet to send [04:40:35]OFD Sender: No OFD packet to send [04:40:40]OFD Sender: No OFD packet to send [04:40:45]OFD Sender: No OFD packet to send [04:40:50]OFD Sender: No OFD packet to send [04:40:55]OFD Sender: No OFD packet to send [04:41:00]OFD Sender: No OFD packet to send [04:41:05]OFD Sender: No OFD packet to send [04:41:10]OFD Sender: No OFD packet to send [04:41:15]OFD Sender: No OFD packet to send [04:41:20]OFD Sender: No OFD packet to send [04:41:25]OFD Sender: No OFD packet to send [04:41:30]OFD Sender: No OFD packet to send [04:41:35]OFD Sender: No OFD packet to send [04:41:40]OFD Sender: No OFD packet to send [04:41:45]OFD Sender: No OFD packet to send [04:41:50]OFD Sender: No OFD packet to send [04:41:55]OFD Sender: No OFD packet to send [04:42:00]OFD Sender: No OFD packet to send [04:42:05]OFD Sender: No OFD packet to send [04:42:10]OFD Sender: No OFD packet to send [04:42:15]OFD Sender: No OFD packet to send [04:42:20]OFD Sender: No OFD packet to send [04:42:25]OFD Sender: No OFD packet to send [04:42:30]OFD Sender: No OFD packet to send [04:42:35]OFD Sender: No OFD packet to send [04:42:40]OFD Sender: No OFD packet to send [04:42:45]OFD Sender: No OFD packet to send [04:42:50]OFD Sender: No OFD packet to send [04:42:55]OFD Sender: No OFD packet to send [04:43:00]OFD Sender: No OFD packet to send [04:43:05]OFD Sender: No OFD packet to send [04:43:10]OFD Sender: No OFD packet to send [04:43:15]OFD Sender: No OFD packet to send [04:43:20]OFD Sender: No OFD packet to send [04:43:25]OFD Sender: No OFD packet to send [04:43:30]OFD Sender: No OFD packet to send [04:43:35]OFD Sender: No OFD packet to send [04:43:40]OFD Sender: No OFD packet to send [04:43:45]OFD Sender: No OFD packet to send [04:43:50]OFD Sender: No OFD packet to send [04:43:55]OFD Sender: No OFD packet to send [04:44:00]OFD Sender: No OFD packet to send [04:44:05]OFD Sender: No OFD packet to send [04:44:10]OFD Sender: No OFD packet to send [04:44:15]OFD Sender: No OFD packet to send [04:44:20]OFD Sender: No OFD packet to send [04:44:25]OFD Sender: No OFD packet to send [04:44:30]OFD Sender: No OFD packet to send [04:44:35]OFD Sender: No OFD packet to send [04:44:40]OFD Sender: No OFD packet to send [04:44:45]OFD Sender: No OFD packet to send [04:44:50]OFD Sender: No OFD packet to send [04:44:55]OFD Sender: No OFD packet to send [04:45:00]OFD Sender: No OFD packet to send [04:45:05]OFD Sender: No OFD packet to send [04:45:10]OFD Sender: No OFD packet to send [04:45:15]OFD Sender: No OFD packet to send [04:45:20]OFD Sender: No OFD packet to send [04:45:25]OFD Sender: No OFD packet to send [04:45:30]OFD Sender: No OFD packet to send [04:45:35]OFD Sender: No OFD packet to send [04:45:40]OFD Sender: No OFD packet to send [04:45:45]OFD Sender: No OFD packet to send [04:45:50]OFD Sender: No OFD packet to send [04:45:55]OFD Sender: No OFD packet to send [04:46:00]OFD Sender: No OFD packet to send [04:46:05]OFD Sender: No OFD packet to send [04:46:10]OFD Sender: No OFD packet to send [04:46:15]OFD Sender: No OFD packet to send [04:46:20]OFD Sender: No OFD packet to send [04:46:25]OFD Sender: No OFD packet to send [04:46:30]OFD Sender: No OFD packet to send [04:46:35]OFD Sender: No OFD packet to send [04:46:40]OFD Sender: No OFD packet to send [04:46:45]OFD Sender: No OFD packet to send [04:46:50]OFD Sender: No OFD packet to send [04:46:55]OFD Sender: No OFD packet to send [04:47:00]OFD Sender: No OFD packet to send [04:47:05]OFD Sender: No OFD packet to send [04:47:10]OFD Sender: No OFD packet to send [04:47: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:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57:46]OFD Sender: No OFD packet to send [04:57:51]OFD Sender: No OFD packet to send [04:57:56]OFD Sender: No OFD packet to send [04:58:01]OFD Sender: No OFD packet to send [04:58:06]OFD Sender: No OFD packet to send [04:58:11]OFD Sender: No OFD packet to send [04:58:16]OFD Sender: No OFD packet to send [04:58:21]OFD Sender: No OFD packet to send [04:58:26]OFD Sender: No OFD packet to send [04:58:31]OFD Sender: No OFD packet to send [04:58:36]OFD Sender: No OFD packet to send [04:58:41]OFD Sender: No OFD packet to send [04:58:46]OFD Sender: No OFD packet to send [04:58:51]OFD Sender: No OFD packet to send [04:58:56]OFD Sender: No OFD packet to send [04:59:01]OFD Sender: No OFD packet to send [04:59:06]OFD Sender: No OFD packet to send [04:59:11]OFD Sender: No OFD packet to send [04:59:16]OFD Sender: No OFD packet to send [04:59:21]OFD Sender: No OFD packet to send [04:59:26]OFD Sender: No OFD packet to send [04:59:31]OFD Sender: No OFD packet to send [04:59:36]OFD Sender: No OFD packet to send [04:59:41]OFD Sender: No OFD packet to send [04:59:46]OFD Sender: No OFD packet to send [04:59:51]OFD Sender: No OFD packet to send [04:59:56]OFD Sender: No OFD packet to send [05:00:01]OFD Sender: No OFD packet to send [05:00:06]OFD Sender: No OFD packet to send [05:00:11]OFD Sender: No OFD packet to send [05:00:16]OFD Sender: No OFD packet to send [05:00:21]OFD Sender: No OFD packet to send [05:00:26]OFD Sender: No OFD packet to send [05:00:31]OFD Sender: No OFD packet to send [05:00:36]OFD Sender: No OFD packet to send [05:00:41]OFD Sender: No OFD packet to send [05:00:46]OFD Sender: No OFD packet to send [05:00:51]OFD Sender: No OFD packet to send [05:00:56]OFD Sender: No OFD packet to send [05:01:01]OFD Sender: No OFD packet to send [05:01:06]OFD Sender: No OFD packet to send [05:01:11]OFD Sender: No OFD packet to send [05:01:16]OFD Sender: No OFD packet to send [05:01:21]OFD Sender: No OFD packet to send [05:01:26]OFD Sender: No OFD packet to send [05:01:31]OFD Sender: No OFD packet to send [05:01:36]OFD Sender: No OFD packet to send [05:01:41]OFD Sender: No OFD packet to send [05:01:46]OFD Sender: No OFD packet to send [05:01:51]OFD Sender: No OFD packet to send [05:01:56]OFD Sender: No OFD packet to send [05:02:01]OFD Sender: No OFD packet to send [05:02:06]OFD Sender: No OFD packet to send [05:02:11]OFD Sender: No OFD packet to send [05:02:16]OFD Sender: No OFD packet to send [05:02:21]OFD Sender: No OFD packet to send [05:02:26]OFD Sender: No OFD packet to send [05:02:31]OFD Sender: No OFD packet to send [05:02:36]OFD Sender: No OFD packet to send [05:02:41]OFD Sender: No OFD packet to send [05:02:46]OFD Sender: No OFD packet to send [05:02:51]OFD Sender: No OFD packet to send [05:02:56]OFD Sender: No OFD packet to send [05:03:01]OFD Sender: No OFD packet to send [05:03:06]OFD Sender: No OFD packet to send [05:03:11]OFD Sender: No OFD packet to send [05:03:16]OFD Sender: No OFD packet to send [05:03:21]OFD Sender: No OFD packet to send [05:03:26]OFD Sender: No OFD packet to send [05:03:31]OFD Sender: No OFD packet to send [05:03:36]OFD Sender: No OFD packet to send [05:03:41]OFD Sender: No OFD packet to send [05:03:46]OFD Sender: No OFD packet to send [05:03:51]OFD Sender: No OFD packet to send [05:03:56]OFD Sender: No OFD packet to send [05:04:01]OFD Sender: No OFD packet to send [05:04:06]OFD Sender: No OFD packet to send [05:04:11]OFD Sender: No OFD packet to send [05:04:16]OFD Sender: No OFD packet to send [05:04:21]OFD Sender: No OFD packet to send [05:04:26]OFD Sender: No OFD packet to send [05:04:31]OFD Sender: No OFD packet to send [05:04:36]OFD Sender: No OFD packet to send [05:04:41]OFD Sender: No OFD packet to send [05:04:46]OFD Sender: No OFD packet to send [05:04:51]OFD Sender: No OFD packet to send [05:04:56]OFD Sender: No OFD packet to send [05:05:01]OFD Sender: No OFD packet to send [05:05:06]OFD Sender: No OFD packet to send [05:05:11]OFD Sender: No OFD packet to send [05:05:16]OFD Sender: No OFD packet to send [05:05:21]OFD Sender: No OFD packet to send [05:05:26]OFD Sender: No OFD packet to send [05:05:31]OFD Sender: No OFD packet to send [05:05:36]OFD Sender: No OFD packet to send [05:05:41]OFD Sender: No OFD packet to send [05:05:46]OFD Sender: No OFD packet to send [05:05:51]OFD Sender: No OFD packet to send [05:05:56]OFD Sender: No OFD packet to send [05:06:01]OFD Sender: No OFD packet to send [05:06:06]OFD Sender: No OFD packet to send [05:06:11]OFD Sender: No OFD packet to send [05:06:16]OFD Sender: No OFD packet to send [05:06:21]OFD Sender: No OFD packet to send [05:06:26]OFD Sender: No OFD packet to send [05:06:31]OFD Sender: No OFD packet to send [05:06:36]OFD Sender: No OFD packet to send [05:06:41]OFD Sender: No OFD packet to send [05:06:46]OFD Sender: No OFD packet to send [05:06:51]OFD Sender: No OFD packet to send [05:06:56]OFD Sender: No OFD packet to send [05:07:01]OFD Sender: No OFD packet to send [05:07:06]OFD Sender: No OFD packet to send [05:07:11]OFD Sender: No OFD packet to send [05:07:16]OFD Sender: No OFD packet to send [05:07:21]OFD Sender: No OFD packet to send [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09: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:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19:27]OFD Sender: No OFD packet to send [05:19:32]OFD Sender: No OFD packet to send [05:19:37]OFD Sender: No OFD packet to send [05:19:42]OFD Sender: No OFD packet to send [05:19:47]OFD Sender: No OFD packet to send [05:19:52]OFD Sender: No OFD packet to send [05:19:57]OFD Sender: No OFD packet to send [05:20:02]OFD Sender: No OFD packet to send [05:20:07]OFD Sender: No OFD packet to send [05:20:12]OFD Sender: No OFD packet to send [05:20:17]OFD Sender: No OFD packet to send [05:20:22]OFD Sender: No OFD packet to send [05:20:27]OFD Sender: No OFD packet to send [05:20:32]OFD Sender: No OFD packet to send [05:20:37]OFD Sender: No OFD packet to send [05:20:42]OFD Sender: No OFD packet to send [05:20:47]OFD Sender: No OFD packet to send [05:20:52]OFD Sender: No OFD packet to send [05:20:57]OFD Sender: No OFD packet to send [05:21:02]OFD Sender: No OFD packet to send [05:21:07]OFD Sender: No OFD packet to send [05:21:12]OFD Sender: No OFD packet to send [05:21:17]OFD Sender: No OFD packet to send [05:21:22]OFD Sender: No OFD packet to send [05:21:27]OFD Sender: No OFD packet to send [05:21:32]OFD Sender: No OFD packet to send [05:21:37]OFD Sender: No OFD packet to send [05:21:42]OFD Sender: No OFD packet to send [05:21:47]OFD Sender: No OFD packet to send [05:21:52]OFD Sender: No OFD packet to send [05:21:57]OFD Sender: No OFD packet to send [05:22:02]OFD Sender: No OFD packet to send [05:22:07]OFD Sender: No OFD packet to send [05:22:12]OFD Sender: No OFD packet to send [05:22:17]OFD Sender: No OFD packet to send [05:22:22]OFD Sender: No OFD packet to send [05:22:27]OFD Sender: No OFD packet to send [05:22:32]OFD Sender: No OFD packet to send [05:22:37]OFD Sender: No OFD packet to send [05:22:42]OFD Sender: No OFD packet to send [05:22:47]OFD Sender: No OFD packet to send [05:22:52]OFD Sender: No OFD packet to send [05:22:57]OFD Sender: No OFD packet to send [05:23:02]OFD Sender: No OFD packet to send [05:23:07]OFD Sender: No OFD packet to send [05:23:12]OFD Sender: No OFD packet to send [05:23:17]OFD Sender: No OFD packet to send [05:23:22]OFD Sender: No OFD packet to send [05:23:27]OFD Sender: No OFD packet to send [05:23:32]OFD Sender: No OFD packet to send [05:23:37]OFD Sender: No OFD packet to send [05:23:42]OFD Sender: No OFD packet to send [05:23:47]OFD Sender: No OFD packet to send [05:23:52]OFD Sender: No OFD packet to send [05:23:57]OFD Sender: No OFD packet to send [05:24:02]OFD Sender: No OFD packet to send [05:24:07]OFD Sender: No OFD packet to send [05:24:12]OFD Sender: No OFD packet to send [05:24:17]OFD Sender: No OFD packet to send [05:24:22]OFD Sender: No OFD packet to send [05:24:27]OFD Sender: No OFD packet to send [05:24:32]OFD Sender: No OFD packet to send [05:24:37]OFD Sender: No OFD packet to send [05:24:42]OFD Sender: No OFD packet to send [05:24:47]OFD Sender: No OFD packet to send [05:24:52]OFD Sender: No OFD packet to send [05:24:57]OFD Sender: No OFD packet to send [05:25:02]OFD Sender: No OFD packet to send [05:25:07]OFD Sender: No OFD packet to send [05:25:12]OFD Sender: No OFD packet to send [05:25:17]OFD Sender: No OFD packet to send [05:25:22]OFD Sender: No OFD packet to send [05:25:27]OFD Sender: No OFD packet to send [05:25:32]OFD Sender: No OFD packet to send [05:25:37]OFD Sender: No OFD packet to send [05:25:42]OFD Sender: No OFD packet to send [05:25:47]OFD Sender: No OFD packet to send [05:25:52]OFD Sender: No OFD packet to send [05:25:57]OFD Sender: No OFD packet to send [05:26:02]OFD Sender: No OFD packet to send [05:26:07]OFD Sender: No OFD packet to send [05:26:12]OFD Sender: No OFD packet to send [05:26:17]OFD Sender: No OFD packet to send [05:26:22]OFD Sender: No OFD packet to send [05:26:27]OFD Sender: No OFD packet to send [05:26:32]OFD Sender: No OFD packet to send [05:26:37]OFD Sender: No OFD packet to send [05:26:42]OFD Sender: No OFD packet to send [05:26:47]OFD Sender: No OFD packet to send [05:26:52]OFD Sender: No OFD packet to send [05:26:57]OFD Sender: No OFD packet to send [05:27:02]OFD Sender: No OFD packet to send [05:27:07]OFD Sender: No OFD packet to send [05:27:12]OFD Sender: No OFD packet to send [05:27:17]OFD Sender: No OFD packet to send [05:27:22]OFD Sender: No OFD packet to send [05:27:27]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31: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:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02:39]OFD Sender: No OFD packet to send [06:02:44]OFD Sender: No OFD packet to send [06:02:49]OFD Sender: No OFD packet to send [06:02:54]OFD Sender: No OFD packet to send [06:02:59]OFD Sender: No OFD packet to send [06:03:04]OFD Sender: No OFD packet to send [06:03:09]OFD Sender: No OFD packet to send [06:03:14]OFD Sender: No OFD packet to send [06:03:19]OFD Sender: No OFD packet to send [06:03:24]OFD Sender: No OFD packet to send [06:03:29]OFD Sender: No OFD packet to send [06:03:34]OFD Sender: No OFD packet to send [06:03:39]OFD Sender: No OFD packet to send [06:03:44]OFD Sender: No OFD packet to send [06:03:49]OFD Sender: No OFD packet to send [06:03:54]OFD Sender: No OFD packet to send [06:03:59]OFD Sender: No OFD packet to send [06:04:04]OFD Sender: No OFD packet to send [06:04:09]OFD Sender: No OFD packet to send [06:04:14]OFD Sender: No OFD packet to send [06:04:19]OFD Sender: No OFD packet to send [06:04:24]OFD Sender: No OFD packet to send [06:04:29]OFD Sender: No OFD packet to send [06:04:34]OFD Sender: No OFD packet to send [06:04:39]OFD Sender: No OFD packet to send [06:04:44]OFD Sender: No OFD packet to send [06:04:49]OFD Sender: No OFD packet to send [06:04:54]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08: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:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]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]accept exits with 9 [06:38:31]New connection [06:38:31]New thread 3066871140 created [06:38:31]Thread 3067014500 joined [06:38:31]Waiting for new connection... [06:38:31] Sock 9.Parse request [06:38:31]Sock 9.Check first char [06:38:31]Sock 9.First char is OK [06:38:31]request: POST /json_proto HTTP/1.0 [06:38:31]Method: POST [06:38:31]URL: /json_proto [06:38:31]Method is POST - this is cgi request [06:38:31]url: /json_proto [06:38:31]query_string will be loaded in cgi processing [06:38:31]execute_cgi json_proto POST (null) [06:38:31]execute_cgi path=json_proto method=POST [06:38:31]POST find Content-Length [06:38:31]Host: 172.17.35.3:8080 [06:38:31]Content-Length: 677 [06:38:31]Content-Type: application/json [06:38:31] [06:38:31]POST finish read [06:38:31]Found Content-Length = 677 [06:38:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359532", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [06:38:31]execute_script... [06:38:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359532", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [06:38:31]POST & json_proto [06:38:31]process_json_proto [06:38:31]json parsed OK: [06:38:31]protocol is kg_v1.0 [06:38:31]action value=close_receipt [06:38:31]process_action close_receipt [06:38:31]cmd_close_receipt [06:38:31]MH_GetDate [06:38:31]Write to MH i2c: F0 00 00 13 34 36 [06:38:31]Write i2c OK [06:38:31]MH_I2C_Read... [06:38:31]Read from MH i2c: F0 [06:38:31]MH_I2C_Read... [06:38:31]Read from MH i2c: F0 09 00 [06:38:31]MH_I2C_Read... [06:38:31]Read from MH i2c: F0 09 00 13 34 00 F4 90 13 66 2B 11 66 64 42 [06:38:31]GetLastDocTimeStamp 1712539699 [06:38:31]current date 1712558324 [06:38:31]FM_GetShiftState [06:38:31]SAM_PROTO_GetShiftState [06:38:31]wFMCommunicate request_size=4 [06:38:31]MH_SAM_APDU [06:38:31]CAPDU: 80 13 01 00 [06:38:31]Write to MH i2c: E2 08 00 14 34 80 13 01 00 00 00 00 00 C5 [06:38:31]Write i2c OK [06:38:31]MH_I2C_Read... [06:38:31]OFD Sender: No OFD packet to send [06:38:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:38:31]Read from MH i2c: E2 [06:38:31]MH_I2C_Read... [06:38:31]Read from MH i2c: E2 0E 00 [06:38:31]MH_I2C_Read... [06:38:31]Read from MH i2c: E2 0E 00 14 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 52 [06:38:31]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [06:38:31]wFMCommunicate OK [06:38:31]SAM_PROTO_GetShiftState done [06:38:31]FM_GetShiftState done [06:38:31]opened in 1712536270 [06:38:31]opened+sec_in_day 1712622670 [06:38:31]quantity*price = 50022 [06:38:31]sum+1 = 50024 [06:38:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 4 08.04.2024 06:38 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26791 ФПД: 119411624637439 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T063844&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26791&fm=119411624637439&tin=02508201610067®Number=0000000000091578&sum=50000 [06:38:32]StoreToDocumentArchive [06:38:32]shift 314 fd 26791 [06:38:32]save to /storage/0314/doc_00026791 [06:38:32]save last doc name /storage/0314/doc_00026791 to /storage/kkm_last_doc_name [06:38:32]save OK [06:38:32]Clear old archive folders... [06:38:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [06:38:32]tlvbuf is 00EF6CA0 [06:38:32]SAM_PROTO_ClearQueue [06:38:32]wFMCommunicate request_size=4 [06:38:32]MH_SAM_APDU [06:38:32]CAPDU: 80 09 00 00 [06:38:32]Write to MH i2c: E2 08 00 21 34 80 09 00 00 00 00 00 00 C7 [06:38:32]Write i2c OK [06:38:32]MH_I2C_Read... [06:38:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:38:32]Read from MH i2c: E2 [06:38:32]MH_I2C_Read... [06:38:32]Read from MH i2c: E2 03 00 [06:38:32]MH_I2C_Read... [06:38:32]Read from MH i2c: E2 03 00 21 34 00 90 00 C9 [06:38:32]RAPDU: 90 00 [06:38:32]wFMCommunicate OK [06:38:32]SAM_PROTO_ClearQueue done [06:38:32]KKMCreateOFDPacket [06:38:32]OFDProtocolAddRootSTLVToBuf [06:38:32]FM_MakeSignedData [06:38:32]FM_MakeSignedData [06:38:32]SAM_PROTO_SignData [06:38:32]wFMCommunicate request_size=4 [06:38:32]MH_SAM_APDU [06:38:32]CAPDU: 80 0D 01 02 [06:38:32]Write to MH i2c: E2 08 00 22 34 80 0D 01 02 00 00 00 00 CF [06:38:32]Write i2c OK [06:38:32]MH_I2C_Read... [06:38:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:38:32]Read from MH i2c: E2 [06:38:32]MH_I2C_Read... [06:38:32]Read from MH i2c: E2 03 00 [06:38:32]MH_I2C_Read... [06:38:32]Read from MH i2c: E2 03 00 22 34 00 90 00 CA [06:38:32]RAPDU: 90 00 [06:38:32]wFMCommunicate OK [06:38:32]wFMCommunicate request_size=255 [06:38:32]MH_SAM_APDU [06:38:32]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 04 00 00 00 F4 03 04 00 F4 90 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A7 68 00 00 35 04 06 00 6C [06:38:32]Write to MH i2c: E2 02 01 23 34 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 04 00 00 00 F4 03 04 00 F4 90 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A7 68 00 00 35 04 06 00 6C 00 00 46 [06:38:32]Write i2c OK [06:38:32]MH_I2C_Read... [06:38:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:38:33]Read from MH i2c: E2 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 03 00 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 03 00 23 34 00 90 00 CB [06:38:33]RAPDU: 90 00 [06:38:33]wFMCommunicate OK [06:38:33]wFMCommunicate request_size=10 [06:38:33]MH_SAM_APDU [06:38:33]CAPDU: 80 0D 02 02 05 9A AF 77 F3 FF [06:38:33]Write to MH i2c: E2 0D 00 24 34 80 0D 02 02 05 00 9A AF 77 F3 FF 00 00 8E [06:38:33]Write i2c OK [06:38:33]MH_I2C_Read... [06:38:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:38:33]Read from MH i2c: E2 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 03 00 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 03 00 24 34 00 90 00 CC [06:38:33]RAPDU: 90 00 [06:38:33]wFMCommunicate OK [06:38:33]wFMCommunicate request_size=4 [06:38:33]MH_SAM_APDU [06:38:33]CAPDU: 80 0D 03 02 [06:38:33]Write to MH i2c: E2 08 00 25 34 80 0D 03 02 00 00 00 00 D4 [06:38:33]Write i2c OK [06:38:33]MH_I2C_Read... [06:38:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:38:33]Read from MH i2c: E2 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 0B 00 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 0B 00 25 34 00 CF 1E D1 2C BF 9C D9 19 90 00 0C [06:38:33]RAPDU: CF 1E D1 2C BF 9C D9 19 90 00 [06:38:33]wFMCommunicate OK [06:38:33]SAM_PROTO_SignData done [06:38:33]FM_MakeSignedData done [06:38:33]CreateOFDProtocolMessage [06:38:33]wFMCommunicate request_size=4 [06:38:33]MH_SAM_APDU [06:38:33]CAPDU: 80 11 00 00 [06:38:33]Write to MH i2c: E2 08 00 26 34 80 11 00 00 00 00 00 00 D4 [06:38:33]Write i2c OK [06:38:33]MH_I2C_Read... [06:38:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:38:33]Read from MH i2c: E2 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 17 00 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: E2 17 00 26 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2C [06:38:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [06:38:33]wFMCommunicate OK [06:38:33]CreateOFDProtocolMessage done [06:38:33]OFDSenderStorePacket 26791 [06:38:33]StoreOFDPacket docnum=26791 [06:38:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 BD F5 07 01 61 EA 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 04 00 00 00 F4 03 04 00 F4 90 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A7 68 00 00 35 04 06 00 6C 9A AF 77 F3 FF CF 1E D1 2C BF 9C D9 19 [06:38:33]CheckFolder [06:38:33]dirname=/storage/ofd_packets [06:38:33]CheckFolder done [06:38:33]ProducePacketName [06:38:33]name=ofd_packets/00026791 [06:38:33]NVStorageSaveData ofd_packets/00026791 [06:38:33]File name is /storage/ofd_packets/00026791 [06:38:33]Write 301 bytes [06:38:33]NVStorageSaveData done [06:38:33]OFDSenderStorePacket done [06:38:33]KKMCreateOFDPacket done [06:38:33]NVStorageSaveData kkm_last_timestamp [06:38:33]File name is /storage/kkm_last_timestamp [06:38:33]Write 4 bytes [06:38:33]NVStorageSaveData done [06:38:33]ExternCall_PrintAddStr [06:38:33]wPrintStart [06:38:33]Write to MH i2c: 01 00 00 27 34 5B [06:38:33]Write i2c OK [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: 01 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: 01 07 00 [06:38:33]MH_I2C_Read... [06:38:33]Read from MH i2c: 01 07 00 27 34 00 00 00 00 00 FF 0F 70 [06:38:33]RasterBufferAndPrint [06:38:33]line Счет N : (1)359532 [06:38:33]line ИÐÐ: 02508201610067 [06:38:33]line Контрольно-КаÑÑовый Чек [06:38:33]line ПРОДÐЖР[06:38:33]line ТРК (МРК, ГÐК) : 61 [06:38:33]line Товар: 2710124130 [06:38:33]line Ðи-92-К-5 [06:38:33]line 7.890 * 63.40 [06:38:33]line = 500.23 [06:38:33]line ÐДС 12% ÐСП 1% [06:38:33]line > о реализуемом товаре [06:38:33]line ОКРУГЛЕÐИЕ: -0.23 [06:38:33]line ИТОГО: 500.00 [06:38:33]line ВнеÑено: 500.00 [06:38:33]line СДÐЧÐ: 0.00 [06:38:33]line ÐСП 1% : 4.43 [06:38:33]line ÐДС 12% : 53.12 [06:38:33]line Ðаличными: 500.00 [06:38:33]line Безнал.: 0.00 [06:38:33]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [06:38:33]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [06:38:33]line СÐО: Общий режим [06:38:33]line Чек 4 08.04.2024 06:38 [06:38:33]line Смена: 314 ФФД: 1.0 [06:38:33]line ЗÐМ: 0300000147 [06:38:33]line РÐМ: 0000000000091578 [06:38:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [06:38:33]line ФМ: 0000000000874657 [06:38:33]line ФД: 26791 [06:38:33]line ФПД: 119411624637439 [06:38:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T063844&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26791&fm=119411624637439&tin=02508201610067®Number=0000000000091578&sum=50000 [06:38:33]OFD Sender: Processing packet 26791 [packets to send 44, broken 43] [06:38:33]ProducePacketName [06:38:33]name=ofd_packets/00026791 [06:38:33]OFD Sender: To server: ‡•öpG, [06:38:33]CommunicateWithHost lk.salyk.kg:30040 [06:38:33]ConnectInit lk.salyk.kg [06:38:33]written 0, free lines is 4095 [06:38:33]Connected sock=10 [06:38:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 BD F5 07 01 61 EA 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 04 00 00 00 F4 03 04 00 F4 90 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A7 68 00 00 35 04 06 00 6C 9A AF 77 F3 FF CF 1E D1 2C BF 9C D9 19 [06:38:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 B4 A6 47 00 0B CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A7 68 00 00 F4 03 04 00 5F 38 13 66 B6 04 01 00 00 31 D4 65 72 95 A2 12 B7 [06:38:33]CommunicateWithHost err = 0 [06:38:33]CheckOFDResponse [06:38:33]1017 (14) - 77093643461234 [06:38:33]1041 (16) - 0000000000874657 [06:38:33]1040 (4) - 26791 [06:38:33]1012 (4) - 08.04.2024 00:20 [06:38:33]1206 (1) - 0 [06:38:33]OFD Sender: Remove packet 26791 [06:38:33]ProducePacketName [06:38:33]name=ofd_packets/00026791 [06:38:33]NVStorageDeleteData [06:38:34]Write to MH i2c: 01 00 00 52 34 86 [06:38:34]Write i2c OK [06:38:34]MH_I2C_Read... [06:38:34]Read from MH i2c: 01 [06:38:34]MH_I2C_Read... [06:38:34]Read from MH i2c: 01 07 00 [06:38:34]MH_I2C_Read... [06:38:34]Read from MH i2c: 01 07 00 52 34 00 00 00 00 00 6D 0C 06 [06:38:34]RasterBufferAndPrint [06:38:34]line [06:38:34]line [06:38:34]line [06:38:34]line [06:38:34]line [06:38:34]written 0, free lines is 3185 [06:38:34]MH_Cut [06:38:34]Write to MH i2c: D1 01 00 59 34 01 5F [06:38:34]Write i2c OK [06:38:34]MH_I2C_Read... [06:38:34]Read from MH i2c: D1 [06:38:34]MH_I2C_Read... [06:38:34]Read from MH i2c: D1 01 00 [06:38:34]MH_I2C_Read... [06:38:34]Read from MH i2c: D1 01 00 59 34 00 5E [06:38:34]Write to MH i2c: 01 00 00 5A 34 8E [06:38:34]Write i2c OK [06:38:34]MH_I2C_Read... [06:38:34]OFD Sender: No OFD packet to send [06:38:35]*** Cut start [06:38:35]*** Partial cut [06:38:35]*** CUTSNS_PIN = 1 [06:38:35]*** CUTSNS_PIN = 0 [06:38:35]*** Brake cut motor [06:38:35]Read from MH i2c: 01 [06:38:35]MH_I2C_Read... [06:38:35]*** Stop cut motor [06:38:35]*** Cut end [06:38:35]Read from MH i2c: 01 07 00 [06:38:35]MH_I2C_Read... [06:38:35]Read from MH i2c: 01 07 00 5A 34 00 00 00 00 00 FF 0F A3 [06:38:35]process_action close_receipt done [06:38:35]requested_data is exist [06:38:35]produce_requested_data [06:38:35]requested_item fm.sn is exist - process it [06:38:35]wFMCommunicate request_size=4 [06:38:35]MH_SAM_APDU [06:38:35]CAPDU: 80 11 00 00 [06:38:35]Write to MH i2c: E2 08 00 5B 34 80 11 00 00 00 00 00 00 09 [06:38:35]Write i2c OK [06:38:35]MH_I2C_Read... [06:38:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:38:35]Read from MH i2c: E2 [06:38:35]MH_I2C_Read... [06:38:36]Read from MH i2c: E2 17 00 [06:38:36]MH_I2C_Read... [06:38:36]Read from MH i2c: E2 17 00 5B 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 61 [06:38:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [06:38:36]wFMCommunicate OK [06:38:36]requested_item fd.num is exist - process it [06:38:36]SAM_PROTO_GetFieldsCounters [06:38:36]wFMCommunicate request_size=4 [06:38:36]MH_SAM_APDU [06:38:36]CAPDU: 80 13 00 00 [06:38:36]Write to MH i2c: E2 08 00 5C 34 80 13 00 00 00 00 00 00 0C [06:38:36]Write i2c OK [06:38:36]MH_I2C_Read... [06:38:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:38:36]Read from MH i2c: E2 [06:38:36]MH_I2C_Read... [06:38:36]Read from MH i2c: E2 62 00 [06:38:36]MH_I2C_Read... [06:38:36]Read from MH i2c: E2 62 00 5C 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [06:38:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:38:36]wFMCommunicate OK [06:38:36]SAM_PROTO_GetFieldsCounters done [06:38:36]requested_item shift.num is exist - process it [06:38:36]requested_item shift.opened is exist - process it [06:38:36]req_shift_opened [06:38:36]FM_GetShiftState [06:38:36]SAM_PROTO_GetShiftState [06:38:36]wFMCommunicate request_size=4 [06:38:36]MH_SAM_APDU [06:38:36]CAPDU: 80 13 01 00 [06:38:36]Write to MH i2c: E2 08 00 5D 34 80 13 01 00 00 00 00 00 0E [06:38:36]Write i2c OK [06:38:36]MH_I2C_Read... [06:38:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:38:36]Read from MH i2c: E2 [06:38:36]MH_I2C_Read... [06:38:36]Read from MH i2c: E2 0E 00 [06:38:36]MH_I2C_Read... [06:38:36]Read from MH i2c: E2 0E 00 5D 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 9B [06:38:36]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [06:38:36]wFMCommunicate OK [06:38:36]SAM_PROTO_GetShiftState done [06:38:36]FM_GetShiftState done [06:38:36]req_shift_opened done [06:38:36]requested_item shift.open_date is exist - process it [06:38:36]req_shift_open_date [06:38:36]req_shift_open_date done [06:38:36]produce_requested_data done [06:38:36]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26791,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [06:38:36]process_action_free close_receipt [06:38:36]json_value_free [06:38:36]json_value_free done [06:38:36]process_json_proto returns [06:38:36]Send response to host [06:38:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26791,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [06:38:36]free response buf [06:38:36]execute_script done [06:38:36]execute_script returns [06:38:36]free content buf [06:38:36]Sock 9.Close socket [06:38:36]Sock 9.Thread stoped [06:38:39]OFD Sender: No OFD packet to send [06:38:44]OFD Sender: No OFD packet to send [06:38:49]OFD Sender: No OFD packet to send [06:38:54]OFD Sender: No OFD packet to send [06:38:59]OFD Sender: No OFD packet to send [06:39:04]OFD Sender: No OFD packet to send [06:39:09]OFD Sender: No OFD packet to send [06:39:14]OFD Sender: No OFD packet to send [06:39:19]OFD Sender: No OFD packet to send [06:39:24]OFD Sender: No OFD packet to send [06:39:29]OFD Sender: No OFD packet to send [06:39:34]OFD Sender: No OFD packet to send [06:39:39]OFD Sender: No OFD packet to send [06:39:44]OFD Sender: No OFD packet to send [06:39:49]OFD Sender: No OFD packet to send [06:39:54]OFD Sender: No OFD packet to send [06:39:59]OFD Sender: No OFD packet to send [06:40:04]OFD Sender: No OFD packet to send [06:40:09]OFD Sender: No OFD packet to send [06:40:14]OFD Sender: No OFD packet to send [06:40:19]OFD Sender: No OFD packet to send [06:40:24]OFD Sender: No OFD packet to send [06:40:29]OFD Sender: No OFD packet to send [06:40:34]OFD Sender: No OFD packet to send [06:40:39]OFD Sender: No OFD packet to send [06:40:44]OFD Sender: No OFD packet to send [06:40:49]OFD Sender: No OFD packet to send [06:40:54]OFD Sender: No OFD packet to send [06:40:59]OFD Sender: No OFD packet to send [06:41:04]OFD Sender: No OFD packet to send [06:41:09]OFD Sender: No OFD packet to send [06:41:14]OFD Sender: No OFD packet to send [06:41:19]OFD Sender: No OFD packet to send [06:41:24]OFD Sender: No OFD packet to send [06:41:29]OFD Sender: No OFD packet to send [06:41:34]OFD Sender: No OFD packet to send [06:41:39]OFD Sender: No OFD packet to send [06:41:44]OFD Sender: No OFD packet to send [06:41:49]OFD Sender: No OFD packet to send [06:41:54]OFD Sender: No OFD packet to send [06:41:59]OFD Sender: No OFD packet to send [06:42:04]OFD Sender: No OFD packet to send [06:42:09]OFD Sender: No OFD packet to send [06:42:14]OFD Sender: No OFD packet to send [06:42:19]OFD Sender: No OFD packet to send [06:42:24]OFD Sender: No OFD packet to send [06:42:29]OFD Sender: No OFD packet to send [06:42:34]OFD Sender: No OFD packet to send [06:42:39]OFD Sender: No OFD packet to send [06:42:44]OFD Sender: No OFD packet to send [06:42:49]OFD Sender: No OFD packet to send [06:42:54]OFD Sender: No OFD packet to send [06:42:59]OFD Sender: No OFD packet to send [06:43:04]OFD Sender: No OFD packet to send [06:43:09]OFD Sender: No OFD packet to send [06:43:14]OFD Sender: No OFD packet to send [06:43:19]OFD Sender: No OFD packet to send [06:43:24]OFD Sender: No OFD packet to send [06:43:29]OFD Sender: No OFD packet to send [06:43:34]OFD Sender: No OFD packet to send [06:43:39]OFD Sender: No OFD packet to send [06:43:44]OFD Sender: No OFD packet to send [06:43:49]OFD Sender: No OFD packet to send [06:43:54]OFD Sender: No OFD packet to send [06:43:59]OFD Sender: No OFD packet to send [06:44:04]OFD Sender: No OFD packet to send [06:44:09]OFD Sender: No OFD packet to send [06:44:14]OFD Sender: No OFD packet to send [06:44:19]OFD Sender: No OFD packet to send [06:44:24]OFD Sender: No OFD packet to send [06:44:29]OFD Sender: No OFD packet to send [06:44:34]OFD Sender: No OFD packet to send [06:44:39]OFD Sender: No OFD packet to send [06:44:44]OFD Sender: No OFD packet to send [06:44:49]OFD Sender: No OFD packet to send [06:44:54]OFD Sender: No OFD packet to send [06:44:59]OFD Sender: No OFD packet to send [06:45:04]OFD Sender: No OFD packet to send [06:45:09]OFD Sender: No OFD packet to send [06:45:14]OFD Sender: No OFD packet to send [06:45:19]OFD Sender: No OFD packet to send [06:45:24]OFD Sender: No OFD packet to send [06:45:29]OFD Sender: No OFD packet to send [06:45:34]OFD Sender: No OFD packet to send [06:45:39]OFD Sender: No OFD packet to send [06:45:44]OFD Sender: No OFD packet to send [06:45:49]OFD Sender: No OFD packet to send [06:45:54]OFD Sender: No OFD packet to send [06:45:59]OFD Sender: No OFD packet to send [06:46:04]OFD Sender: No OFD packet to send [06:46:09]OFD Sender: No OFD packet to send [06:46:14]OFD Sender: No OFD packet to send [06:46:19]OFD Sender: No OFD packet to send [06:46:24]OFD Sender: No OFD packet to send [06:46:29]OFD Sender: No OFD packet to send [06:46:34]OFD Sender: No OFD packet to send [06:46:39]OFD Sender: No OFD packet to send [06:46:44]OFD Sender: No OFD packet to send [06:46:49]OFD Sender: No OFD packet to send [06:46:54]OFD Sender: No OFD packet to send [06:46:59]OFD Sender: No OFD packet to send [06:47:04]OFD Sender: No OFD packet to send [06:47:09]OFD Sender: No OFD packet to send [06:47:14]OFD Sender: No OFD packet to send [06:47:19]OFD Sender: No OFD packet to send [06:47:24]OFD Sender: No OFD packet to send [06:47:29]OFD Sender: No OFD packet to send [06:47:34]OFD Sender: No OFD packet to send [06:47:39]OFD Sender: No OFD packet to send [06:47:44]OFD Sender: No OFD packet to send [06:47:49]OFD Sender: No OFD packet to send [06:47:54]OFD Sender: No OFD packet to send [06:47:59]OFD Sender: No OFD packet to send [06:48:05]OFD Sender: No OFD packet to send [06:48:10]OFD Sender: No OFD packet to send [06:48:15]OFD Sender: No OFD packet to send [06:48:20]OFD Sender: No OFD packet to send [06:48:25]OFD Sender: No OFD packet to send [06:48:30]OFD Sender: No OFD packet to send [06:48:35]OFD Sender: No OFD packet to send [06:48:40]OFD Sender: No OFD packet to send [06:48:45]OFD Sender: No OFD packet to send [06:48:50]OFD Sender: No OFD packet to send [06:48:55]OFD Sender: No OFD packet to send [06:49:00]OFD Sender: No OFD packet to send [06:49:05]OFD Sender: No OFD packet to send [06:49:10]OFD Sender: No OFD packet to send [06:49:15]OFD Sender: No OFD packet to send [06:49:20]OFD Sender: No OFD packet to send [06:49:25]OFD Sender: No OFD packet to send [06:49:30]OFD Sender: No OFD packet to send [06:49:35]OFD Sender: No OFD packet to send [06:49:40]OFD Sender: No OFD packet to send [06:49:45]OFD Sender: No OFD packet to send [06:49:50]OFD Sender: No OFD packet to send [06:49:55]OFD Sender: No OFD packet to send [06:50:00]OFD Sender: No OFD packet to send [06:50:05]OFD Sender: No OFD packet to send [06:50:10]OFD Sender: No OFD packet to send [06:50:15]OFD Sender: No OFD packet to send [06:50:20]OFD Sender: No OFD packet to send [06:50:25]OFD Sender: No OFD packet to send [06:50:30]OFD Sender: No OFD packet to send [06:50:35]OFD Sender: No OFD packet to send [06:50:40]OFD Sender: No OFD packet to send [06:50:45]OFD Sender: No OFD packet to send [06:50:50]OFD Sender: No OFD packet to send [06:50:55]OFD Sender: No OFD packet to send [06:51:00]OFD Sender: No OFD packet to send [06:51:05]OFD Sender: No OFD packet to send [06:51:10]OFD Sender: No OFD packet to send [06:51:15]OFD Sender: No OFD packet to send [06:51:20]OFD Sender: No OFD packet to send [06:51:25]OFD Sender: No OFD packet to send [06:51:30]OFD Sender: No OFD packet to send [06:51:35]OFD Sender: No OFD packet to send [06:51:40]OFD Sender: No OFD packet to send [06:51:45]OFD Sender: No OFD packet to send [06:51:50]OFD Sender: No OFD packet to send [06:51:55]OFD Sender: No OFD packet to send [06:52:00]OFD Sender: No OFD packet to send [06:52:05]OFD Sender: No OFD packet to send [06:52:10]OFD Sender: No OFD packet to send [06:52:15]OFD Sender: No OFD packet to send [06:52:20]OFD Sender: No OFD packet to send [06:52:25]OFD Sender: No OFD packet to send [06:52:30]OFD Sender: No OFD packet to send [06:52:35]OFD Sender: No OFD packet to send [06:52:40]OFD Sender: No OFD packet to send [06:52:45]OFD Sender: No OFD packet to send [06:52:50]OFD Sender: No OFD packet to send [06:52:55]OFD Sender: No OFD packet to send [06:53:00]OFD Sender: No OFD packet to send [06:53:05]OFD Sender: No OFD packet to send [06:53:10]OFD Sender: No OFD packet to send [06:53:15]OFD Sender: No OFD packet to send [06:53:20]OFD Sender: No OFD packet to send [06:53:25]OFD Sender: No OFD packet to send [06:53:30]OFD Sender: No OFD packet to send [06:53:35]OFD Sender: No OFD packet to send [06:53:40]OFD Sender: No OFD packet to send [06:53:45]OFD Sender: No OFD packet to send [06:53:50]OFD Sender: No OFD packet to send [06:53:55]OFD Sender: No OFD packet to send [06:54:00]OFD Sender: No OFD packet to send [06:54:05]OFD Sender: No OFD packet to send [06:54:10]OFD Sender: No OFD packet to send [06:54:15]OFD Sender: No OFD packet to send [06:54:20]OFD Sender: No OFD packet to send [06:54:25]OFD Sender: No OFD packet to send [06:54:30]OFD Sender: No OFD packet to send [06:54:35]OFD Sender: No OFD packet to send [06:54:40]OFD Sender: No OFD packet to send [06:54:45]OFD Sender: No OFD packet to send [06:54:50]OFD Sender: No OFD packet to send [06:54:55]OFD Sender: No OFD packet to send [06:55:00]OFD Sender: No OFD packet to send [06:55:05]OFD Sender: No OFD packet to send [06:55:10]OFD Sender: No OFD packet to send [06:55:15]OFD Sender: No OFD packet to send [06:55:20]OFD Sender: No OFD packet to send [06:55:25]OFD Sender: No OFD packet to send [06:55:30]OFD Sender: No OFD packet to send [06:55:35]OFD Sender: No OFD packet to send [06:55:40]OFD Sender: No OFD packet to send [06:55:45]OFD Sender: No OFD packet to send [06:55:50]OFD Sender: No OFD packet to send [06:55:55]OFD Sender: No OFD packet to send [06:56:00]OFD Sender: No OFD packet to send [06:56:05]OFD Sender: No OFD packet to send [06:56:10]OFD Sender: No OFD packet to send [06:56:15]OFD Sender: No OFD packet to send [06:56:20]OFD Sender: No OFD packet to send [06:56:25]OFD Sender: No OFD packet to send [06:56:30]OFD Sender: No OFD packet to send [06:56:35]OFD Sender: No OFD packet to send [06:56:40]OFD Sender: No OFD packet to send [06:56:45]OFD Sender: No OFD packet to send [06:56:50]OFD Sender: No OFD packet to send [06:56:55]OFD Sender: No OFD packet to send [06:57:00]OFD Sender: No OFD packet to send [06:57:05]OFD Sender: No OFD packet to send [06:57:10]OFD Sender: No OFD packet to send [06:57:15]OFD Sender: No OFD packet to send [06:57:20]OFD Sender: No OFD packet to send [06:57:25]OFD Sender: No OFD packet to send [06:57:30]OFD Sender: No OFD packet to send [06:57:35]OFD Sender: No OFD packet to send [06:57:40]OFD Sender: No OFD packet to send [06:57:45]OFD Sender: No OFD packet to send [06:57:50]OFD Sender: No OFD packet to send [06:57:55]OFD Sender: No OFD packet to send [06:58:00]OFD Sender: No OFD packet to send [06:58:05]OFD Sender: No OFD packet to send [06:58:10]OFD Sender: No OFD packet to send [06:58:15]OFD Sender: No OFD packet to send [06:58:20]OFD Sender: No OFD packet to send [06:58:25]OFD Sender: No OFD packet to send [06:58:30]OFD Sender: No OFD packet to send [06:58:35]OFD Sender: No OFD packet to send [06:58:40]OFD Sender: No OFD packet to send [06:58:45]OFD Sender: No OFD packet to send [06:58:50]OFD Sender: No OFD packet to send [06:58:55]OFD Sender: No OFD packet to send [06:59:00]OFD Sender: No OFD packet to send [06:59:05]OFD Sender: No OFD packet to send [06:59:10]OFD Sender: No OFD packet to send [06:59:15]OFD Sender: No OFD packet to send [06:59:20]OFD Sender: No OFD packet to send [06:59:25]OFD Sender: No OFD packet to send [06:59:30]OFD Sender: No OFD packet to send [06:59:35]OFD Sender: No OFD packet to send [06:59:40]OFD Sender: No OFD packet to send [06:59:45]OFD Sender: No OFD packet to send [06:59:50]OFD Sender: No OFD packet to send [06:59:55]OFD Sender: No OFD packet to send [07:00:00]OFD Sender: No OFD packet to send [07:00:05]OFD Sender: No OFD packet to send [07:00:10]OFD Sender: No OFD packet to send [07:00:15]OFD Sender: No OFD packet to send [07:00:20]OFD Sender: No OFD packet to send [07:00:25]OFD Sender: No OFD packet to send [07:00:30]OFD Sender: No OFD packet to send [07:00:35]OFD Sender: No OFD packet to send [07:00:40]OFD Sender: No OFD packet to send [07:00:45]OFD Sender: No OFD packet to send [07:00:50]OFD Sender: No OFD packet to send [07:00:55]OFD Sender: No OFD packet to send [07:01:00]OFD Sender: No OFD packet to send [07:01:05]OFD Sender: No OFD packet to send [07:01:10]OFD Sender: No OFD packet to send [07:01:15]OFD Sender: No OFD packet to send [07:01:20]OFD Sender: No OFD packet to send [07:01:25]OFD Sender: No OFD packet to send [07:01:30]OFD Sender: No OFD packet to send [07:01:35]OFD Sender: No OFD packet to send [07:01:40]OFD Sender: No OFD packet to send [07:01:45]OFD Sender: No OFD packet to send [07:01:50]OFD Sender: No OFD packet to send [07:01:55]OFD Sender: No OFD packet to send [07:02:00]OFD Sender: No OFD packet to send [07:02:05]OFD Sender: No OFD packet to send [07:02:10]OFD Sender: No OFD packet to send [07:02:15]OFD Sender: No OFD packet to send [07:02:20]OFD Sender: No OFD packet to send [07:02:25]OFD Sender: No OFD packet to send [07:02:30]OFD Sender: No OFD packet to send [07:02:35]OFD Sender: No OFD packet to send [07:02:40]OFD Sender: No OFD packet to send [07:02:45]OFD Sender: No OFD packet to send [07:02:50]OFD Sender: No OFD packet to send [07:02:55]OFD Sender: No OFD packet to send [07:03:00]OFD Sender: No OFD packet to send [07:03:05]OFD Sender: No OFD packet to send [07:03:10]OFD Sender: No OFD packet to send [07:03:15]OFD Sender: No OFD packet to send [07:03:20]OFD Sender: No OFD packet to send [07:03:25]OFD Sender: No OFD packet to send [07:03:30]OFD Sender: No OFD packet to send [07:03:35]OFD Sender: No OFD packet to send [07:03:40]OFD Sender: No OFD packet to send [07:03:45]OFD Sender: No OFD packet to send [07:03:50]OFD Sender: No OFD packet to send [07:03:55]OFD Sender: No OFD packet to send [07:04:00]OFD Sender: No OFD packet to send [07:04:05]OFD Sender: No OFD packet to send [07:04:10]OFD Sender: No OFD packet to send [07:04:15]OFD Sender: No OFD packet to send [07:04:20]OFD Sender: No OFD packet to send [07:04:25]OFD Sender: No OFD packet to send [07:04:30]OFD Sender: No OFD packet to send [07:04:35]OFD Sender: No OFD packet to send [07:04:40]OFD Sender: No OFD packet to send [07:04:45]OFD Sender: No OFD packet to send [07:04:50]OFD Sender: No OFD packet to send [07:04:55]OFD Sender: No OFD packet to send [07:05:00]OFD Sender: No OFD packet to send [07:05:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:41]OFD Sender: No OFD packet to send [07:06:46]OFD Sender: No OFD packet to send [07:06:51]OFD Sender: No OFD packet to send [07:06:56]OFD Sender: No OFD packet to send [07:07:01]OFD Sender: No OFD packet to send [07:07:06]OFD Sender: No OFD packet to send [07:07:11]OFD Sender: No OFD packet to send [07:07:16]OFD Sender: No OFD packet to send [07:07:21]OFD Sender: No OFD packet to send [07:07:26]OFD Sender: No OFD packet to send [07:07:31]OFD Sender: No OFD packet to send [07:07:36]OFD Sender: No OFD packet to send [07:07:41]OFD Sender: No OFD packet to send [07:07:46]OFD Sender: No OFD packet to send [07:07:51]OFD Sender: No OFD packet to send [07:07:56]OFD Sender: No OFD packet to send [07:08:01]OFD Sender: No OFD packet to send [07:08:06]OFD Sender: No OFD packet to send [07:08:11]OFD Sender: No OFD packet to send [07:08:16]OFD Sender: No OFD packet to send [07:08:21]OFD Sender: No OFD packet to send [07:08:26]OFD Sender: No OFD packet to send [07:08:31]OFD Sender: No OFD packet to send [07:08:36]OFD Sender: No OFD packet to send [07:08:41]OFD Sender: No OFD packet to send [07:08:46]OFD Sender: No OFD packet to send [07:08:51]OFD Sender: No OFD packet to send [07:08:56]OFD Sender: No OFD packet to send [07:09:01]OFD Sender: No OFD packet to send [07:09:06]OFD Sender: No OFD packet to send [07:09:11]OFD Sender: No OFD packet to send [07:09:16]OFD Sender: No OFD packet to send [07:09:21]OFD Sender: No OFD packet to send [07:09:26]OFD Sender: No OFD packet to send [07:09:31]OFD Sender: No OFD packet to send [07:09:36]OFD Sender: No OFD packet to send [07:09:41]OFD Sender: No OFD packet to send [07:09:46]OFD Sender: No OFD packet to send [07:09:51]OFD Sender: No OFD packet to send [07:09:56]OFD Sender: No OFD packet to send [07:10:01]OFD Sender: No OFD packet to send [07:10:06]OFD Sender: No OFD packet to send [07:10:11]OFD Sender: No OFD packet to send [07:10:16]OFD Sender: No OFD packet to send [07:10:21]OFD Sender: No OFD packet to send [07:10:26]OFD Sender: No OFD packet to send [07:10:31]OFD Sender: No OFD packet to send [07:10:36]OFD Sender: No OFD packet to send [07:10:41]OFD Sender: No OFD packet to send [07:10:46]OFD Sender: No OFD packet to send [07:10:51]OFD Sender: No OFD packet to send [07:10:56]OFD Sender: No OFD packet to send [07:11:01]OFD Sender: No OFD packet to send [07:11:06]OFD Sender: No OFD packet to send [07:11:11]OFD Sender: No OFD packet to send [07:11:16]OFD Sender: No OFD packet to send [07:11:21]OFD Sender: No OFD packet to send [07:11:26]OFD Sender: No OFD packet to send [07:11:31]OFD Sender: No OFD packet to send [07:11:36]OFD Sender: No OFD packet to send [07:11:41]OFD Sender: No OFD packet to send [07:11:46]OFD Sender: No OFD packet to send [07:11:51]OFD Sender: No OFD packet to send [07:11:56]OFD Sender: No OFD packet to send [07:12:01]OFD Sender: No OFD packet to send [07:12:06]OFD Sender: No OFD packet to send [07:12:11]OFD Sender: No OFD packet to send [07:12:16]OFD Sender: No OFD packet to send [07:12:21]OFD Sender: No OFD packet to send [07:12:26]OFD Sender: No OFD packet to send [07:12:31]OFD Sender: No OFD packet to send [07:12:36]OFD Sender: No OFD packet to send [07:12:41]OFD Sender: No OFD packet to send [07:12:46]OFD Sender: No OFD packet to send [07:12:51]OFD Sender: No OFD packet to send [07:12:56]OFD Sender: No OFD packet to send [07:13:01]OFD Sender: No OFD packet to send [07:13:06]OFD Sender: No OFD packet to send [07:13:11]OFD Sender: No OFD packet to send [07:13:16]OFD Sender: No OFD packet to send [07:13:21]OFD Sender: No OFD packet to send [07:13:26]OFD Sender: No OFD packet to send [07:13:31]OFD Sender: No OFD packet to send [07:13:36]OFD Sender: No OFD packet to send [07:13:41]OFD Sender: No OFD packet to send [07:13:46]OFD Sender: No OFD packet to send [07:13:51]OFD Sender: No OFD packet to send [07:13:56]OFD Sender: No OFD packet to send [07:14:01]OFD Sender: No OFD packet to send [07:14:06]OFD Sender: No OFD packet to send [07:14:11]OFD Sender: No OFD packet to send [07:14:16]OFD Sender: No OFD packet to send [07:14:21]OFD Sender: No OFD packet to send [07:14:26]OFD Sender: No OFD packet to send [07:14:31]OFD Sender: No OFD packet to send [07:14:36]OFD Sender: No OFD packet to send [07:14:41]OFD Sender: No OFD packet to send [07:14:46]OFD Sender: No OFD packet to send [07:14:51]OFD Sender: No OFD packet to send [07:14:56]OFD Sender: No OFD packet to send [07:15:01]OFD Sender: No OFD packet to send [07:15:06]OFD Sender: No OFD packet to send [07:15:11]OFD Sender: No OFD packet to send [07:15:16]OFD Sender: No OFD packet to send [07:15:21]OFD Sender: No OFD packet to send [07:15:26]OFD Sender: No OFD packet to send [07:15:31]OFD Sender: No OFD packet to send [07:15:36]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:22]OFD Sender: No OFD packet to send [07:25:27]OFD Sender: No OFD packet to send [07:25:32]OFD Sender: No OFD packet to send [07:25:37]OFD Sender: No OFD packet to send [07:25:42]OFD Sender: No OFD packet to send [07:25:47]OFD Sender: No OFD packet to send [07:25:52]OFD Sender: No OFD packet to send [07:25:57]OFD Sender: No OFD packet to send [07:26:02]OFD Sender: No OFD packet to send [07:26:07]OFD Sender: No OFD packet to send [07:26:12]OFD Sender: No OFD packet to send [07:26:17]OFD Sender: No OFD packet to send [07:26:22]OFD Sender: No OFD packet to send [07:26:27]OFD Sender: No OFD packet to send [07:26:32]OFD Sender: No OFD packet to send [07:26:37]OFD Sender: No OFD packet to send [07:26:42]OFD Sender: No OFD packet to send [07:26:47]OFD Sender: No OFD packet to send [07:26:52]OFD Sender: No OFD packet to send [07:26:57]OFD Sender: No OFD packet to send [07:27:02]OFD Sender: No OFD packet to send [07:27:07]OFD Sender: No OFD packet to send [07:27:12]OFD Sender: No OFD packet to send [07:27:17]OFD Sender: No OFD packet to send [07:27:22]OFD Sender: No OFD packet to send [07:27:27]OFD Sender: No OFD packet to send [07:27:32]OFD Sender: No OFD packet to send [07:27:37]OFD Sender: No OFD packet to send [07:27:42]OFD Sender: No OFD packet to send [07:27:47]OFD Sender: No OFD packet to send [07:27:52]OFD Sender: No OFD packet to send [07:27:57]OFD Sender: No OFD packet to send [07:28:02]OFD Sender: No OFD packet to send [07:28:07]OFD Sender: No OFD packet to send [07:28:12]OFD Sender: No OFD packet to send [07:28:17]OFD Sender: No OFD packet to send [07:28:22]OFD Sender: No OFD packet to send [07:28:27]OFD Sender: No OFD packet to send [07:28:32]OFD Sender: No OFD packet to send [07:28:37]OFD Sender: No OFD packet to send [07:28:42]OFD Sender: No OFD packet to send [07:28:47]OFD Sender: No OFD packet to send [07:28:52]OFD Sender: No OFD packet to send [07:28:57]OFD Sender: No OFD packet to send [07:29:02]OFD Sender: No OFD packet to send [07:29:07]OFD Sender: No OFD packet to send [07:29:12]OFD Sender: No OFD packet to send [07:29:17]OFD Sender: No OFD packet to send [07:29:22]OFD Sender: No OFD packet to send [07:29:27]OFD Sender: No OFD packet to send [07:29:32]OFD Sender: No OFD packet to send [07:29:37]OFD Sender: No OFD packet to send [07:29:42]OFD Sender: No OFD packet to send [07:29:47]OFD Sender: No OFD packet to send [07:29:52]OFD Sender: No OFD packet to send [07:29:57]OFD Sender: No OFD packet to send [07:30:02]OFD Sender: No OFD packet to send [07:30:07]OFD Sender: No OFD packet to send [07:30:12]OFD Sender: No OFD packet to send [07:30:17]OFD Sender: No OFD packet to send [07:30:22]OFD Sender: No OFD packet to send [07:30:27]OFD Sender: No OFD packet to send [07:30:32]OFD Sender: No OFD packet to send [07:30:37]OFD Sender: No OFD packet to send [07:30:42]OFD Sender: No OFD packet to send [07:30:47]OFD Sender: No OFD packet to send [07:30:52]OFD Sender: No OFD packet to send [07:30:57]OFD Sender: No OFD packet to send [07:31:02]OFD Sender: No OFD packet to send [07:31:07]OFD Sender: No OFD packet to send [07:31:12]OFD Sender: No OFD packet to send [07:31:17]OFD Sender: No OFD packet to send [07:31:22]OFD Sender: No OFD packet to send [07:31:27]OFD Sender: No OFD packet to send [07:31:32]OFD Sender: No OFD packet to send [07:31:37]OFD Sender: No OFD packet to send [07:31:42]OFD Sender: No OFD packet to send [07:31:47]OFD Sender: No OFD packet to send [07:31:52]OFD Sender: No OFD packet to send [07:31:57]OFD Sender: No OFD packet to send [07:32:02]OFD Sender: No OFD packet to send [07:32:07]OFD Sender: No OFD packet to send [07:32:12]OFD Sender: No OFD packet to send [07:32:17]OFD Sender: No OFD packet to send [07:32:22]OFD Sender: No OFD packet to send [07:32:27]OFD Sender: No OFD packet to send [07:32:32]OFD Sender: No OFD packet to send [07:32:37]OFD Sender: No OFD packet to send [07:32:42]OFD Sender: No OFD packet to send [07:32:47]OFD Sender: No OFD packet to send [07:32:52]OFD Sender: No OFD packet to send [07:32:57]OFD Sender: No OFD packet to send [07:33:02]OFD Sender: No OFD packet to send [07:33:07]OFD Sender: No OFD packet to send [07:33:12]OFD Sender: No OFD packet to send [07:33:17]OFD Sender: No OFD packet to send [07:33:22]OFD Sender: No OFD packet to send [07:33:27]OFD Sender: No OFD packet to send [07:33:32]OFD Sender: No OFD packet to send [07:33:37]OFD Sender: No OFD packet to send [07:33:42]OFD Sender: No OFD packet to send [07:33:47]OFD Sender: No OFD packet to send [07:33:52]OFD Sender: No OFD packet to send [07:33:57]OFD Sender: No OFD packet to send [07:34:02]OFD Sender: No OFD packet to send [07:34:07]OFD Sender: No OFD packet to send [07:34:12]OFD Sender: No OFD packet to send [07:34:17]OFD Sender: No OFD packet to send [07:34:22]OFD Sender: No OFD packet to send [07:34:27]OFD Sender: No OFD packet to send [07:34:32]OFD Sender: No OFD packet to send [07:34:37]OFD Sender: No OFD packet to send [07:34:42]OFD Sender: No OFD packet to send [07:34:47]OFD Sender: No OFD packet to send [07:34:52]OFD Sender: No OFD packet to send [07:34:57]OFD Sender: No OFD packet to send [07:35:02]OFD Sender: No OFD packet to send [07:35:07]OFD Sender: No OFD packet to send [07:35:12]OFD Sender: No OFD packet to send [07:35:17]OFD Sender: No OFD packet to send [07:35:22]OFD Sender: No OFD packet to send [07:35:27]OFD Sender: No OFD packet to send [07:35:32]OFD Sender: No OFD packet to send [07:35:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:53]accept exits with 8 [07:35:53]New connection [07:35:53]New thread 3067014500 created [07:35:53]Thread 3066871140 joined [07:35:53]Waiting for new connection... [07:35:53] Sock 8.Parse request [07:35:53]Sock 8.Check first char [07:35:53]Sock 8.First char is OK [07:35:53]request: POST /json_proto HTTP/1.0 [07:35:53]Method: POST [07:35:53]URL: /json_proto [07:35:53]Method is POST - this is cgi request [07:35:53]url: /json_proto [07:35:53]query_string will be loaded in cgi processing [07:35:53]execute_cgi json_proto POST (null) [07:35:53]execute_cgi path=json_proto method=POST [07:35:53]POST find Content-Length [07:35:53]Host: 172.17.35.3:8080 [07:35:53]Content-Length: 687 [07:35:53]Content-Type: application/json [07:35:53] [07:35:53]POST finish read [07:35:53]Found Content-Length = 687 [07:35:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359533", "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" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "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" ] } } [07:35:53]execute_script... [07:35: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)359533", "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" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "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" ] } } [07:35:53]POST & json_proto [07:35:53]process_json_proto [07:35:53]json parsed OK: [07:35:53]protocol is kg_v1.0 [07:35:53]action value=close_receipt [07:35:53]process_action close_receipt [07:35:53]cmd_close_receipt [07:35:53]MH_GetDate [07:35:53]Write to MH i2c: F0 00 00 5E 34 81 [07:35:53]Write i2c OK [07:35:53]MH_I2C_Read... [07:35:53]Read from MH i2c: F0 [07:35:53]MH_I2C_Read... [07:35:53]Read from MH i2c: F0 09 00 [07:35:53]MH_I2C_Read... [07:35:53]Read from MH i2c: F0 09 00 5E 34 00 67 9E 13 66 2B 11 66 64 0E [07:35:53]GetLastDocTimeStamp 1712558324 [07:35:53]current date 1712561767 [07:35:53]FM_GetShiftState [07:35:53]SAM_PROTO_GetShiftState [07:35:53]wFMCommunicate request_size=4 [07:35:53]MH_SAM_APDU [07:35:53]CAPDU: 80 13 01 00 [07:35:53]Write to MH i2c: E2 08 00 5F 34 80 13 01 00 00 00 00 00 10 [07:35:53]Write i2c OK [07:35:53]MH_I2C_Read... [07:35:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:35:53]Read from MH i2c: E2 [07:35:53]MH_I2C_Read... [07:35:53]Read from MH i2c: E2 0E 00 [07:35:53]MH_I2C_Read... [07:35:53]Read from MH i2c: E2 0E 00 5F 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 9D [07:35:53]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [07:35:53]wFMCommunicate OK [07:35:53]SAM_PROTO_GetShiftState done [07:35:53]FM_GetShiftState done [07:35:53]opened in 1712536270 [07:35:53]opened+sec_in_day 1712622670 [07:35:53]quantity*price = 200034 [07:35:53]sum+1 = 200036 [07:35:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.35 ИТОГО: 2000.00 ВнеÑено: 2000.00 СДÐЧÐ: 0.00 ÐСП 1% : 17.70 ÐДС 12% : 212.43 Ðаличными: 2000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 5 08.04.2024 07:36 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26792 ФПД: 93320802782829 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T073607&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26792&fm=93320802782829&tin=02508201610067®Number=0000000000091578&sum=200000 [07:35:54]StoreToDocumentArchive [07:35:54]shift 314 fd 26792 [07:35:54]save to /storage/0314/doc_00026792 [07:35:54]save last doc name /storage/0314/doc_00026792 to /storage/kkm_last_doc_name [07:35:54]save OK [07:35:54]Clear old archive folders... [07:35:54]ProcessDocumentItem done err = 0, tmpTLVsize=252 [07:35:54]tlvbuf is B6DB7010 [07:35:54]SAM_PROTO_ClearQueue [07:35:54]wFMCommunicate request_size=4 [07:35:54]MH_SAM_APDU [07:35:54]CAPDU: 80 09 00 00 [07:35:54]Write to MH i2c: E2 08 00 6C 34 80 09 00 00 00 00 00 00 12 [07:35:54]Write i2c OK [07:35:54]MH_I2C_Read... [07:35:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:35:54]Read from MH i2c: E2 [07:35:54]MH_I2C_Read... [07:35:54]Read from MH i2c: E2 03 00 [07:35:54]MH_I2C_Read... [07:35:54]Read from MH i2c: E2 03 00 6C 34 00 90 00 14 [07:35:54]RAPDU: 90 00 [07:35:54]wFMCommunicate OK [07:35:54]SAM_PROTO_ClearQueue done [07:35:54]KKMCreateOFDPacket [07:35:54]OFDProtocolAddRootSTLVToBuf [07:35:54]FM_MakeSignedData [07:35:54]FM_MakeSignedData [07:35:54]SAM_PROTO_SignData [07:35:54]wFMCommunicate request_size=4 [07:35:54]MH_SAM_APDU [07:35:54]CAPDU: 80 0D 01 02 [07:35:54]Write to MH i2c: E2 08 00 6D 34 80 0D 01 02 00 00 00 00 1A [07:35:54]Write i2c OK [07:35:54]MH_I2C_Read... [07:35:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:35:54]Read from MH i2c: E2 [07:35:54]MH_I2C_Read... [07:35:54]Read from MH i2c: E2 03 00 [07:35:54]MH_I2C_Read... [07:35:54]Read from MH i2c: E2 03 00 6D 34 00 90 00 15 [07:35:54]RAPDU: 90 00 [07:35:54]wFMCommunicate OK [07:35:54]wFMCommunicate request_size=255 [07:35:54]MH_SAM_APDU [07:35:54]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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 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 05 00 00 00 F4 03 04 00 67 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A8 68 00 00 35 04 06 00 [07:35:54]Write to MH i2c: E2 02 01 6E 34 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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 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 05 00 00 00 F4 03 04 00 67 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A8 68 00 00 35 04 06 00 00 00 EF [07:35:54]Write i2c OK [07:35:54]MH_I2C_Read... [07:35:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:35:55]Read from MH i2c: E2 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 03 00 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 03 00 6E 34 00 90 00 16 [07:35:55]RAPDU: 90 00 [07:35:55]wFMCommunicate OK [07:35:55]wFMCommunicate request_size=11 [07:35:55]MH_SAM_APDU [07:35:55]CAPDU: 80 0D 02 02 06 54 DF F1 4C CE 6D [07:35:55]Write to MH i2c: E2 0E 00 6F 34 80 0D 02 02 06 00 54 DF F1 4C CE 6D 00 00 D4 [07:35:55]Write i2c OK [07:35:55]MH_I2C_Read... [07:35:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:35:55]Read from MH i2c: E2 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 03 00 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 03 00 6F 34 00 90 00 17 [07:35:55]RAPDU: 90 00 [07:35:55]wFMCommunicate OK [07:35:55]wFMCommunicate request_size=4 [07:35:55]MH_SAM_APDU [07:35:55]CAPDU: 80 0D 03 02 [07:35:55]Write to MH i2c: E2 08 00 70 34 80 0D 03 02 00 00 00 00 1F [07:35:55]Write i2c OK [07:35:55]MH_I2C_Read... [07:35:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:35:55]Read from MH i2c: E2 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 0B 00 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 0B 00 70 34 00 47 8A B1 CC 1A 4C 6B F3 90 00 32 [07:35:55]RAPDU: 47 8A B1 CC 1A 4C 6B F3 90 00 [07:35:55]wFMCommunicate OK [07:35:55]SAM_PROTO_SignData done [07:35:55]FM_MakeSignedData done [07:35:55]CreateOFDProtocolMessage [07:35:55]wFMCommunicate request_size=4 [07:35:55]MH_SAM_APDU [07:35:55]CAPDU: 80 11 00 00 [07:35:55]Write to MH i2c: E2 08 00 71 34 80 11 00 00 00 00 00 00 1F [07:35:55]Write i2c OK [07:35:55]MH_I2C_Read... [07:35:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:35:55]Read from MH i2c: E2 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 17 00 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: E2 17 00 71 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 77 [07:35:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:35:55]wFMCommunicate OK [07:35:55]CreateOFDProtocolMessage done [07:35:55]OFDSenderStorePacket 26792 [07:35:55]StoreOFDPacket docnum=26792 [07:35:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 28 62 08 01 6F 43 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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 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 05 00 00 00 F4 03 04 00 67 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A8 68 00 00 35 04 06 00 54 DF F1 4C CE 6D 47 8A B1 CC 1A 4C 6B F3 [07:35:55]CheckFolder [07:35:55]dirname=/storage/ofd_packets [07:35:55]CheckFolder done [07:35:55]ProducePacketName [07:35:55]name=ofd_packets/00026792 [07:35:55]NVStorageSaveData ofd_packets/00026792 [07:35:55]File name is /storage/ofd_packets/00026792 [07:35:55]Write 302 bytes [07:35:55]NVStorageSaveData done [07:35:55]OFDSenderStorePacket done [07:35:55]KKMCreateOFDPacket done [07:35:55]NVStorageSaveData kkm_last_timestamp [07:35:55]File name is /storage/kkm_last_timestamp [07:35:55]Write 4 bytes [07:35:55]NVStorageSaveData done [07:35:55]ExternCall_PrintAddStr [07:35:55]wPrintStart [07:35:55]Write to MH i2c: 01 00 00 72 34 A6 [07:35:55]Write i2c OK [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: 01 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: 01 07 00 [07:35:55]MH_I2C_Read... [07:35:55]Read from MH i2c: 01 07 00 72 34 00 00 00 00 00 FF 0F BB [07:35:55]RasterBufferAndPrint [07:35:55]line Счет N : (1)359533 [07:35:55]line ИÐÐ: 02508201610067 [07:35:55]line Контрольно-КаÑÑовый Чек [07:35:55]line ПРОДÐЖР[07:35:55]line ТРК (МРК, ГÐК) : 11 [07:35:55]line Товар: 2710194210 [07:35:55]line ДТ(л)-К-5 [07:35:55]line 27.860 * 71.80 [07:35:55]line = 2000.35 [07:35:55]line ÐДС 12% ÐСП 1% [07:35:55]line > о реализуемом товаре [07:35:55]line ОКРУГЛЕÐИЕ: -0.35 [07:35:55]line ИТОГО: 2000.00 [07:35:55]line ВнеÑено: 2000.00 [07:35:55]line СДÐЧÐ: 0.00 [07:35:55]line ÐСП 1% : 17.70 [07:35:55]line ÐДС 12% : 212.43 [07:35:55]line Ðаличными: 2000.00 [07:35:55]line Безнал.: 0.00 [07:35:55]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [07:35:55]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [07:35:55]line СÐО: Общий режим [07:35:55]line Чек 5 08.04.2024 07:36 [07:35:55]line Смена: 314 ФФД: 1.0 [07:35:55]line ЗÐМ: 0300000147 [07:35:55]line РÐМ: 0000000000091578 [07:35:55]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:35:55]line ФМ: 0000000000874657 [07:35:55]line ФД: 26792 [07:35:55]line ФПД: 93320802782829 [07:35:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T073607&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26792&fm=93320802782829&tin=02508201610067®Number=0000000000091578&sum=200000 [07:35:55]OFD Sender: Processing packet 26792 [packets to send 44, broken 43] [07:35:55]ProducePacketName [07:35:55]name=ofd_packets/00026792 [07:35:55]OFD Sender: To server: ‡•öpG, [07:35:55]CommunicateWithHost lk.salyk.kg:30040 [07:35:55]ConnectInit lk.salyk.kg [07:35:55]written 0, free lines is 4095 [07:35:55]Connected sock=10 [07:35:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 28 62 08 01 6F 43 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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 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 05 00 00 00 F4 03 04 00 67 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A8 68 00 00 35 04 06 00 54 DF F1 4C CE 6D 47 8A B1 CC 1A 4C 6B F3 [07:35:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 0C 22 47 00 0D 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A8 68 00 00 F4 03 04 00 D1 45 13 66 B6 04 01 00 00 BD 20 71 02 C9 14 F5 D1 [07:35:55]CommunicateWithHost err = 0 [07:35:55]CheckOFDResponse [07:35:55]1017 (14) - 77093643461234 [07:35:55]1041 (16) - 0000000000874657 [07:35:55]1040 (4) - 26792 [07:35:55]1012 (4) - 08.04.2024 01:18 [07:35:55]1206 (1) - 0 [07:35:55]OFD Sender: Remove packet 26792 [07:35:55]ProducePacketName [07:35:55]name=ofd_packets/00026792 [07:35:55]NVStorageDeleteData [07:35:56]Write to MH i2c: 01 00 00 9D 34 D1 [07:35:56]Write i2c OK [07:35:56]MH_I2C_Read... [07:35:56]Read from MH i2c: 01 [07:35:56]MH_I2C_Read... [07:35:56]Read from MH i2c: 01 07 00 [07:35:56]MH_I2C_Read... [07:35:56]Read from MH i2c: 01 07 00 9D 34 00 00 00 00 00 64 0C 48 [07:35:56]RasterBufferAndPrint [07:35:56]line [07:35:56]line [07:35:56]line [07:35:56]line [07:35:56]line [07:35:56]written 0, free lines is 3177 [07:35:56]MH_Cut [07:35:56]Write to MH i2c: D1 01 00 A4 34 01 AA [07:35:56]Write i2c OK [07:35:56]MH_I2C_Read... [07:35:56]Read from MH i2c: D1 [07:35:56]MH_I2C_Read... [07:35:56]Read from MH i2c: D1 01 00 [07:35:56]MH_I2C_Read... [07:35:56]Read from MH i2c: D1 01 00 A4 34 00 A9 [07:35:56]Write to MH i2c: 01 00 00 A5 34 D9 [07:35:56]Write i2c OK [07:35:56]MH_I2C_Read... [07:35:56]OFD Sender: No OFD packet to send [07:35:57]*** Cut start [07:35:57]*** Partial cut [07:35:57]*** CUTSNS_PIN = 1 [07:35:57]*** CUTSNS_PIN = 0 [07:35:57]*** Brake cut motor [07:35:57]Read from MH i2c: 01 [07:35:57]MH_I2C_Read... [07:35:57]*** Stop cut motor [07:35:57]*** Cut end [07:35:57]Read from MH i2c: 01 07 00 [07:35:57]MH_I2C_Read... [07:35:57]Read from MH i2c: 01 07 00 A5 34 00 00 00 00 00 FF 0F EE [07:35:57]process_action close_receipt done [07:35:57]requested_data is exist [07:35:57]produce_requested_data [07:35:57]requested_item fm.sn is exist - process it [07:35:57]wFMCommunicate request_size=4 [07:35:57]MH_SAM_APDU [07:35:57]CAPDU: 80 11 00 00 [07:35:57]Write to MH i2c: E2 08 00 A6 34 80 11 00 00 00 00 00 00 54 [07:35:57]Write i2c OK [07:35:57]MH_I2C_Read... [07:35:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:35:58]Read from MH i2c: E2 [07:35:58]MH_I2C_Read... [07:35:58]Read from MH i2c: E2 17 00 [07:35:58]MH_I2C_Read... [07:35:58]Read from MH i2c: E2 17 00 A6 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AC [07:35:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:35:58]wFMCommunicate OK [07:35:58]requested_item fd.num is exist - process it [07:35:58]SAM_PROTO_GetFieldsCounters [07:35:58]wFMCommunicate request_size=4 [07:35:58]MH_SAM_APDU [07:35:58]CAPDU: 80 13 00 00 [07:35:58]Write to MH i2c: E2 08 00 A7 34 80 13 00 00 00 00 00 00 57 [07:35:58]Write i2c OK [07:35:58]MH_I2C_Read... [07:35:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:35:58]Read from MH i2c: E2 [07:35:58]MH_I2C_Read... [07:35:58]Read from MH i2c: E2 62 00 [07:35:58]MH_I2C_Read... [07:35:58]Read from MH i2c: E2 62 00 A7 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 DC [07:35:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:35:58]wFMCommunicate OK [07:35:58]SAM_PROTO_GetFieldsCounters done [07:35:58]requested_item shift.num is exist - process it [07:35:58]requested_item shift.opened is exist - process it [07:35:58]req_shift_opened [07:35:58]FM_GetShiftState [07:35:58]SAM_PROTO_GetShiftState [07:35:58]wFMCommunicate request_size=4 [07:35:58]MH_SAM_APDU [07:35:58]CAPDU: 80 13 01 00 [07:35:58]Write to MH i2c: E2 08 00 A8 34 80 13 01 00 00 00 00 00 59 [07:35:58]Write i2c OK [07:35:58]MH_I2C_Read... [07:35:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:35:58]Read from MH i2c: E2 [07:35:58]MH_I2C_Read... [07:35:58]Read from MH i2c: E2 0E 00 [07:35:58]MH_I2C_Read... [07:35:58]Read from MH i2c: E2 0E 00 A8 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E6 [07:35:58]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [07:35:58]wFMCommunicate OK [07:35:58]SAM_PROTO_GetShiftState done [07:35:58]FM_GetShiftState done [07:35:58]req_shift_opened done [07:35:58]requested_item shift.open_date is exist - process it [07:35:58]req_shift_open_date [07:35:58]req_shift_open_date done [07:35:58]produce_requested_data done [07:35:58]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26792,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [07:35:58]process_action_free close_receipt [07:35:58]json_value_free [07:35:58]json_value_free done [07:35:58]process_json_proto returns [07:35:58]Send response to host [07:35:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26792,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [07:35:58]free response buf [07:35:58]execute_script done [07:35:58]execute_script returns [07:35:58]free content buf [07:35:58]Sock 8.Close socket [07:35:58]Sock 8.Thread stoped [07:36:01]OFD Sender: No OFD packet to send [07:36:06]OFD Sender: No OFD packet to send [07:36:11]OFD Sender: No OFD packet to send [07:36:16]OFD Sender: No OFD packet to send [07:36:21]OFD Sender: No OFD packet to send [07:36:26]OFD Sender: No OFD packet to send [07:36:31]OFD Sender: No OFD packet to send [07:36:36]OFD Sender: No OFD packet to send [07:36:41]OFD Sender: No OFD packet to send [07:36:46]OFD Sender: No OFD packet to send [07:36:51]OFD Sender: No OFD packet to send [07:36:56]OFD Sender: No OFD packet to send [07:37:01]OFD Sender: No OFD packet to send [07:37:06]OFD Sender: No OFD packet to send [07:37:11]OFD Sender: No OFD packet to send [07:37:16]OFD Sender: No OFD packet to send [07:37:21]OFD Sender: No OFD packet to send [07:37:26]OFD Sender: No OFD packet to send [07:37:31]OFD Sender: No OFD packet to send [07:37:36]OFD Sender: No OFD packet to send [07:37:41]OFD Sender: No OFD packet to send [07:37:46]OFD Sender: No OFD packet to send [07:37:51]OFD Sender: No OFD packet to send [07:37:55]accept exits with 9 [07:37:55]New connection [07:37:55]New thread 3066871140 created [07:37:55]Thread 3067014500 joined [07:37:55]Waiting for new connection... [07:37:55] Sock 9.Parse request [07:37:55]Sock 9.Check first char [07:37:55]Sock 9.First char is OK [07:37:55]request: POST /json_proto HTTP/1.0 [07:37:55]Method: POST [07:37:55]URL: /json_proto [07:37:55]Method is POST - this is cgi request [07:37:55]url: /json_proto [07:37:55]query_string will be loaded in cgi processing [07:37:55]execute_cgi json_proto POST (null) [07:37:55]execute_cgi path=json_proto method=POST [07:37:55]POST find Content-Length [07:37:55]Host: 172.17.35.3:8080 [07:37:55]Content-Length: 677 [07:37:55]Content-Type: application/json [07:37:55] [07:37:55]POST finish read [07:37:55]Found Content-Length = 677 [07:37:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359534", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [07:37:55]execute_script... [07:37:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359534", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [07:37:55]POST & json_proto [07:37:55]process_json_proto [07:37:55]json parsed OK: [07:37:55]protocol is kg_v1.0 [07:37:55]action value=close_receipt [07:37:55]process_action close_receipt [07:37:55]cmd_close_receipt [07:37:55]MH_GetDate [07:37:55]Write to MH i2c: F0 00 00 A9 34 CC [07:37:55]Write i2c OK [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: F0 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: F0 09 00 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: F0 09 00 A9 34 00 E1 9E 13 66 2B 11 66 64 D3 [07:37:55]GetLastDocTimeStamp 1712561767 [07:37:55]current date 1712561889 [07:37:55]FM_GetShiftState [07:37:55]SAM_PROTO_GetShiftState [07:37:55]wFMCommunicate request_size=4 [07:37:55]MH_SAM_APDU [07:37:55]CAPDU: 80 13 01 00 [07:37:55]Write to MH i2c: E2 08 00 AA 34 80 13 01 00 00 00 00 00 5B [07:37:55]Write i2c OK [07:37:55]MH_I2C_Read... [07:37:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:37:55]Read from MH i2c: E2 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: E2 0E 00 [07:37:55]MH_I2C_Read... [07:37:55]Read from MH i2c: E2 0E 00 AA 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E8 [07:37:55]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [07:37:55]wFMCommunicate OK [07:37:55]SAM_PROTO_GetShiftState done [07:37:55]FM_GetShiftState done [07:37:55]opened in 1712536270 [07:37:55]opened+sec_in_day 1712622670 [07:37:55]quantity*price = 50022 [07:37:55]sum+1 = 50024 [07:37:55]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 6 08.04.2024 07:38 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26793 ФПД: 39338223100313 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T073809&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26793&fm=39338223100313&tin=02508201610067®Number=0000000000091578&sum=50000 [07:37:57]StoreToDocumentArchive [07:37:57]shift 314 fd 26793 [07:37:57]save to /storage/0314/doc_00026793 [07:37:57]save last doc name /storage/0314/doc_00026793 to /storage/kkm_last_doc_name [07:37:57]save OK [07:37:57]Clear old archive folders... [07:37:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [07:37:57]tlvbuf is 00EEB970 [07:37:57]SAM_PROTO_ClearQueue [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 09 00 00 [07:37:57]Write to MH i2c: E2 08 00 B7 34 80 09 00 00 00 00 00 00 5D [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 B7 34 00 90 00 5F [07:37:57]RAPDU: 90 00 [07:37:57]wFMCommunicate OK [07:37:57]SAM_PROTO_ClearQueue done [07:37:57]KKMCreateOFDPacket [07:37:57]OFDProtocolAddRootSTLVToBuf [07:37:57]FM_MakeSignedData [07:37:57]FM_MakeSignedData [07:37:57]SAM_PROTO_SignData [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 0D 01 02 [07:37:57]Write to MH i2c: E2 08 00 B8 34 80 0D 01 02 00 00 00 00 65 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 B8 34 00 90 00 60 [07:37:57]RAPDU: 90 00 [07:37:57]wFMCommunicate OK [07:37:57]wFMCommunicate request_size=255 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 06 00 00 00 F4 03 04 00 E1 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A9 68 00 00 35 04 06 00 23 [07:37:57]Write to MH i2c: E2 02 01 B9 34 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 06 00 00 00 F4 03 04 00 E1 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A9 68 00 00 35 04 06 00 23 00 00 92 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 B9 34 00 90 00 61 [07:37:57]RAPDU: 90 00 [07:37:57]wFMCommunicate OK [07:37:57]wFMCommunicate request_size=10 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 0D 02 02 05 C7 24 D0 61 99 [07:37:57]Write to MH i2c: E2 0D 00 BA 34 80 0D 02 02 05 00 C7 24 D0 61 99 00 00 27 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 03 00 BA 34 00 90 00 62 [07:37:57]RAPDU: 90 00 [07:37:57]wFMCommunicate OK [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 0D 03 02 [07:37:57]Write to MH i2c: E2 08 00 BB 34 80 0D 03 02 00 00 00 00 6A [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 0B 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 0B 00 BB 34 00 B1 F0 90 9F 7B 75 7E F2 90 00 9B [07:37:57]RAPDU: B1 F0 90 9F 7B 75 7E F2 90 00 [07:37:57]wFMCommunicate OK [07:37:57]SAM_PROTO_SignData done [07:37:57]FM_MakeSignedData done [07:37:57]CreateOFDProtocolMessage [07:37:57]wFMCommunicate request_size=4 [07:37:57]MH_SAM_APDU [07:37:57]CAPDU: 80 11 00 00 [07:37:57]Write to MH i2c: E2 08 00 BC 34 80 11 00 00 00 00 00 00 6A [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:37:57]Read from MH i2c: E2 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 17 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: E2 17 00 BC 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C2 [07:37:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:37:57]wFMCommunicate OK [07:37:57]CreateOFDProtocolMessage done [07:37:57]OFDSenderStorePacket 26793 [07:37:57]StoreOFDPacket docnum=26793 [07:37:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 2C 86 07 01 69 B4 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 06 00 00 00 F4 03 04 00 E1 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A9 68 00 00 35 04 06 00 23 C7 24 D0 61 99 B1 F0 90 9F 7B 75 7E F2 [07:37:57]CheckFolder [07:37:57]dirname=/storage/ofd_packets [07:37:57]CheckFolder done [07:37:57]ProducePacketName [07:37:57]name=ofd_packets/00026793 [07:37:57]NVStorageSaveData ofd_packets/00026793 [07:37:57]File name is /storage/ofd_packets/00026793 [07:37:57]Write 301 bytes [07:37:57]NVStorageSaveData done [07:37:57]OFDSenderStorePacket done [07:37:57]KKMCreateOFDPacket done [07:37:57]NVStorageSaveData kkm_last_timestamp [07:37:57]File name is /storage/kkm_last_timestamp [07:37:57]Write 4 bytes [07:37:57]NVStorageSaveData done [07:37:57]ExternCall_PrintAddStr [07:37:57]wPrintStart [07:37:57]Write to MH i2c: 01 00 00 BD 34 F1 [07:37:57]Write i2c OK [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: 01 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: 01 07 00 [07:37:57]MH_I2C_Read... [07:37:57]Read from MH i2c: 01 07 00 BD 34 00 00 00 00 00 FF 0F 06 [07:37:57]RasterBufferAndPrint [07:37:57]line Счет N : (1)359534 [07:37:57]line ИÐÐ: 02508201610067 [07:37:57]line Контрольно-КаÑÑовый Чек [07:37:57]line ПРОДÐЖР[07:37:57]line ТРК (МРК, ГÐК) : 51 [07:37:57]line Товар: 2710124130 [07:37:57]line Ðи-92-К-5 [07:37:57]line 7.890 * 63.40 [07:37:57]line = 500.23 [07:37:57]line ÐДС 12% ÐСП 1% [07:37:57]line > о реализуемом товаре [07:37:57]line ОКРУГЛЕÐИЕ: -0.23 [07:37:57]line ИТОГО: 500.00 [07:37:57]line ВнеÑено: 500.00 [07:37:57]line СДÐЧÐ: 0.00 [07:37:57]line ÐСП 1% : 4.43 [07:37:57]line ÐДС 12% : 53.12 [07:37:57]line Ðаличными: 500.00 [07:37:57]line Безнал.: 0.00 [07:37:57]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [07:37:57]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [07:37:57]line СÐО: Общий режим [07:37:57]line Чек 6 08.04.2024 07:38 [07:37:57]line Смена: 314 ФФД: 1.0 [07:37:57]line ЗÐМ: 0300000147 [07:37:57]line РÐМ: 0000000000091578 [07:37:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:37:57]line ФМ: 0000000000874657 [07:37:57]line ФД: 26793 [07:37:57]line ФПД: 39338223100313 [07:37:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T073809&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26793&fm=39338223100313&tin=02508201610067®Number=0000000000091578&sum=50000 [07:37:57]OFD Sender: Processing packet 26793 [packets to send 44, broken 43] [07:37:57]ProducePacketName [07:37:57]name=ofd_packets/00026793 [07:37:57]OFD Sender: To server: ‡•öpG, [07:37:57]CommunicateWithHost lk.salyk.kg:30040 [07:37:57]ConnectInit lk.salyk.kg [07:37:57]written 0, free lines is 4095 [07:37:57]Connected sock=11 [07:37:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 2C 86 07 01 69 B4 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 06 00 00 00 F4 03 04 00 E1 9E 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A9 68 00 00 35 04 06 00 23 C7 24 D0 61 99 B1 F0 90 9F 7B 75 7E F2 [07:37:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 F2 10 47 00 F3 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 A9 68 00 00 F4 03 04 00 4C 46 13 66 B6 04 01 00 00 9F 7B FC C0 ED 6A 31 22 [07:37:58]CommunicateWithHost err = 0 [07:37:58]CheckOFDResponse [07:37:58]1017 (14) - 77093643461234 [07:37:58]1041 (16) - 0000000000874657 [07:37:58]1040 (4) - 26793 [07:37:58]1012 (4) - 08.04.2024 01:20 [07:37:58]1206 (1) - 0 [07:37:58]OFD Sender: Remove packet 26793 [07:37:58]ProducePacketName [07:37:58]name=ofd_packets/00026793 [07:37:58]NVStorageDeleteData [07:37:58]Write to MH i2c: 01 00 00 E8 34 1C [07:37:58]Write i2c OK [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: 01 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: 01 07 00 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: 01 07 00 E8 34 00 00 00 00 00 70 0C 9F [07:37:58]RasterBufferAndPrint [07:37:58]line [07:37:58]line [07:37:58]line [07:37:58]line [07:37:58]line [07:37:58]written 0, free lines is 3186 [07:37:58]MH_Cut [07:37:58]Write to MH i2c: D1 01 00 EF 34 01 F5 [07:37:58]Write i2c OK [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: D1 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: D1 01 00 [07:37:58]MH_I2C_Read... [07:37:58]Read from MH i2c: D1 01 00 EF 34 00 F4 [07:37:58]Write to MH i2c: 01 00 00 F0 34 24 [07:37:58]Write i2c OK [07:37:58]MH_I2C_Read... [07:37:58]OFD Sender: No OFD packet to send [07:37:59]*** Cut start [07:37:59]*** Partial cut [07:37:59]*** CUTSNS_PIN = 1 [07:37:59]*** CUTSNS_PIN = 0 [07:37:59]*** Brake cut motor [07:38:00]Read from MH i2c: 01 [07:38:00]MH_I2C_Read... [07:38:00]*** Stop cut motor [07:38:00]*** Cut end [07:38:00]Read from MH i2c: 01 07 00 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: 01 07 00 F0 34 00 00 00 00 00 FF 0F 39 [07:38:00]process_action close_receipt done [07:38:00]requested_data is exist [07:38:00]produce_requested_data [07:38:00]requested_item fm.sn is exist - process it [07:38:00]wFMCommunicate request_size=4 [07:38:00]MH_SAM_APDU [07:38:00]CAPDU: 80 11 00 00 [07:38:00]Write to MH i2c: E2 08 00 F1 34 80 11 00 00 00 00 00 00 9F [07:38:00]Write i2c OK [07:38:00]MH_I2C_Read... [07:38:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:00]Read from MH i2c: E2 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 17 00 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 17 00 F1 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F7 [07:38:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:38:00]wFMCommunicate OK [07:38:00]requested_item fd.num is exist - process it [07:38:00]SAM_PROTO_GetFieldsCounters [07:38:00]wFMCommunicate request_size=4 [07:38:00]MH_SAM_APDU [07:38:00]CAPDU: 80 13 00 00 [07:38:00]Write to MH i2c: E2 08 00 F2 34 80 13 00 00 00 00 00 00 A2 [07:38:00]Write i2c OK [07:38:00]MH_I2C_Read... [07:38:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:38:00]Read from MH i2c: E2 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 62 00 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 62 00 F2 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [07:38:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 A9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:38:00]wFMCommunicate OK [07:38:00]SAM_PROTO_GetFieldsCounters done [07:38:00]requested_item shift.num is exist - process it [07:38:00]requested_item shift.opened is exist - process it [07:38:00]req_shift_opened [07:38:00]FM_GetShiftState [07:38:00]SAM_PROTO_GetShiftState [07:38:00]wFMCommunicate request_size=4 [07:38:00]MH_SAM_APDU [07:38:00]CAPDU: 80 13 01 00 [07:38:00]Write to MH i2c: E2 08 00 F3 34 80 13 01 00 00 00 00 00 A4 [07:38:00]Write i2c OK [07:38:00]MH_I2C_Read... [07:38:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:00]Read from MH i2c: E2 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 0E 00 [07:38:00]MH_I2C_Read... [07:38:00]Read from MH i2c: E2 0E 00 F3 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 31 [07:38:00]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [07:38:00]wFMCommunicate OK [07:38:00]SAM_PROTO_GetShiftState done [07:38:00]FM_GetShiftState done [07:38:00]req_shift_opened done [07:38:00]requested_item shift.open_date is exist - process it [07:38:00]req_shift_open_date [07:38:00]req_shift_open_date done [07:38:00]produce_requested_data done [07:38:00]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26793,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [07:38:00]process_action_free close_receipt [07:38:00]json_value_free [07:38:00]json_value_free done [07:38:00]process_json_proto returns [07:38:00]Send response to host [07:38:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26793,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [07:38:00]free response buf [07:38:00]execute_script done [07:38:00]execute_script returns [07:38:00]free content buf [07:38:00]Sock 9.Close socket [07:38:00]Sock 9.Thread stoped [07:38:03]OFD Sender: No OFD packet to send [07:38:08]OFD Sender: No OFD packet to send [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:28]OFD Sender: No OFD packet to send [07:42:33]OFD Sender: No OFD packet to send [07:42:38]OFD Sender: No OFD packet to send [07:42:43]OFD Sender: No OFD packet to send [07:42:48]OFD Sender: No OFD packet to send [07:42:53]OFD Sender: No OFD packet to send [07:42:58]OFD Sender: No OFD packet to send [07:43:03]OFD Sender: No OFD packet to send [07:43:08]OFD Sender: No OFD packet to send [07:43:13]OFD Sender: No OFD packet to send [07:43:18]OFD Sender: No OFD packet to send [07:43:23]OFD Sender: No OFD packet to send [07:43:28]OFD Sender: No OFD packet to send [07:43:33]OFD Sender: No OFD packet to send [07:43:38]OFD Sender: No OFD packet to send [07:43:43]OFD Sender: No OFD packet to send [07:43:48]OFD Sender: No OFD packet to send [07:43:53]OFD Sender: No OFD packet to send [07:43:58]OFD Sender: No OFD packet to send [07:44:03]OFD Sender: No OFD packet to send [07:44:08]OFD Sender: No OFD packet to send [07:44:13]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:41]accept exits with 8 [07:45:41]New connection [07:45:41]New thread 3067014500 created [07:45:41]Thread 3066871140 joined [07:45:41]Waiting for new connection... [07:45:41] Sock 8.Parse request [07:45:41]Sock 8.Check first char [07:45:41]Sock 8.First char is OK [07:45:41]request: POST /json_proto HTTP/1.0 [07:45:41]Method: POST [07:45:41]URL: /json_proto [07:45:41]Method is POST - this is cgi request [07:45:41]url: /json_proto [07:45:41]query_string will be loaded in cgi processing [07:45:41]execute_cgi json_proto POST (null) [07:45:41]execute_cgi path=json_proto method=POST [07:45:41]POST find Content-Length [07:45:41]Host: 172.17.35.3:8080 [07:45:41]Content-Length: 682 [07:45:41]Content-Type: application/json [07:45:41] [07:45:41]POST finish read [07:45:41]Found Content-Length = 682 [07:45:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359535", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [07:45:41]execute_script... [07:45:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359535", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [07:45:41]POST & json_proto [07:45:41]process_json_proto [07:45:41]json parsed OK: [07:45:41]protocol is kg_v1.0 [07:45:41]action value=close_receipt [07:45:41]process_action close_receipt [07:45:41]cmd_close_receipt [07:45:41]MH_GetDate [07:45:41]Write to MH i2c: F0 00 00 F4 34 17 [07:45:41]Write i2c OK [07:45:41]MH_I2C_Read... [07:45:41]Read from MH i2c: F0 [07:45:41]MH_I2C_Read... [07:45:41]Read from MH i2c: F0 09 00 [07:45:41]MH_I2C_Read... [07:45:41]Read from MH i2c: F0 09 00 F4 34 00 B3 A0 13 66 2B 11 66 64 F2 [07:45:41]GetLastDocTimeStamp 1712561889 [07:45:41]current date 1712562355 [07:45:41]FM_GetShiftState [07:45:41]SAM_PROTO_GetShiftState [07:45:41]wFMCommunicate request_size=4 [07:45:41]MH_SAM_APDU [07:45:41]CAPDU: 80 13 01 00 [07:45:41]Write to MH i2c: E2 08 00 F5 34 80 13 01 00 00 00 00 00 A6 [07:45:41]Write i2c OK [07:45:41]MH_I2C_Read... [07:45:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:41]Read from MH i2c: E2 [07:45:41]MH_I2C_Read... [07:45:41]Read from MH i2c: E2 0E 00 [07:45:41]MH_I2C_Read... [07:45:41]Read from MH i2c: E2 0E 00 F5 34 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 33 [07:45:41]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [07:45:41]wFMCommunicate OK [07:45:41]SAM_PROTO_GetShiftState done [07:45:41]FM_GetShiftState done [07:45:41]opened in 1712536270 [07:45:41]opened+sec_in_day 1712622670 [07:45:41]quantity*price = 50044 [07:45:41]sum+1 = 50046 [07:45:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 7 08.04.2024 07:45 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26794 ФПД: 48771961820960 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T074555&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26794&fm=48771961820960&tin=02508201610067®Number=0000000000091578&sum=50000 [07:45:42]StoreToDocumentArchive [07:45:42]shift 314 fd 26794 [07:45:42]save to /storage/0314/doc_00026794 [07:45:42]save last doc name /storage/0314/doc_00026794 to /storage/kkm_last_doc_name [07:45:42]save OK [07:45:42]Clear old archive folders... [07:45:42]ProcessDocumentItem done err = 0, tmpTLVsize=252 [07:45:42]tlvbuf is 00EE35C0 [07:45:42]SAM_PROTO_ClearQueue [07:45:42]wFMCommunicate request_size=4 [07:45:42]MH_SAM_APDU [07:45:42]CAPDU: 80 09 00 00 [07:45:42]Write to MH i2c: E2 08 00 02 35 80 09 00 00 00 00 00 00 A9 [07:45:42]Write i2c OK [07:45:42]MH_I2C_Read... [07:45:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:45:42]Read from MH i2c: E2 [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: E2 03 00 [07:45:42]MH_I2C_Read... [07:45:42]Read from MH i2c: E2 03 00 02 35 00 90 00 AB [07:45:42]RAPDU: 90 00 [07:45:42]wFMCommunicate OK [07:45:42]SAM_PROTO_ClearQueue done [07:45:42]KKMCreateOFDPacket [07:45:42]OFDProtocolAddRootSTLVToBuf [07:45:42]FM_MakeSignedData [07:45:42]FM_MakeSignedData [07:45:42]SAM_PROTO_SignData [07:45:42]wFMCommunicate request_size=4 [07:45:42]MH_SAM_APDU [07:45:42]CAPDU: 80 0D 01 02 [07:45:42]Write to MH i2c: E2 08 00 03 35 80 0D 01 02 00 00 00 00 B1 [07:45:42]Write i2c OK [07:45:42]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 03 35 00 90 00 AC [07:45:43]RAPDU: 90 00 [07:45:43]wFMCommunicate OK [07:45:43]wFMCommunicate request_size=255 [07:45:43]MH_SAM_APDU [07:45:43]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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 07 00 00 00 F4 03 04 00 B3 A0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AA 68 00 00 35 04 06 00 [07:45:43]Write to MH i2c: E2 02 01 04 35 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 07 00 00 00 F4 03 04 00 B3 A0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AA 68 00 00 35 04 06 00 00 00 95 [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 04 35 00 90 00 AD [07:45:43]RAPDU: 90 00 [07:45:43]wFMCommunicate OK [07:45:43]wFMCommunicate request_size=11 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 0D 02 02 06 2C 5B 9B 75 97 20 [07:45:43]Write to MH i2c: E2 0E 00 05 35 80 0D 02 02 06 00 2C 5B 9B 75 97 20 00 00 0E [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 03 00 05 35 00 90 00 AE [07:45:43]RAPDU: 90 00 [07:45:43]wFMCommunicate OK [07:45:43]wFMCommunicate request_size=4 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 0D 03 02 [07:45:43]Write to MH i2c: E2 08 00 06 35 80 0D 03 02 00 00 00 00 B6 [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 0B 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 0B 00 06 35 00 0C 6A AC 1A F3 C3 55 AF 90 00 AD [07:45:43]RAPDU: 0C 6A AC 1A F3 C3 55 AF 90 00 [07:45:43]wFMCommunicate OK [07:45:43]SAM_PROTO_SignData done [07:45:43]FM_MakeSignedData done [07:45:43]CreateOFDProtocolMessage [07:45:43]wFMCommunicate request_size=4 [07:45:43]MH_SAM_APDU [07:45:43]CAPDU: 80 11 00 00 [07:45:43]Write to MH i2c: E2 08 00 07 35 80 11 00 00 00 00 00 00 B6 [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:43]Read from MH i2c: E2 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 17 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: E2 17 00 07 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0E [07:45:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:45:43]wFMCommunicate OK [07:45:43]CreateOFDProtocolMessage done [07:45:43]OFDSenderStorePacket 26794 [07:45:43]StoreOFDPacket docnum=26794 [07:45:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 B0 2E 08 01 51 A5 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 07 00 00 00 F4 03 04 00 B3 A0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AA 68 00 00 35 04 06 00 2C 5B 9B 75 97 20 0C 6A AC 1A F3 C3 55 AF [07:45:43]CheckFolder [07:45:43]dirname=/storage/ofd_packets [07:45:43]CheckFolder done [07:45:43]ProducePacketName [07:45:43]name=ofd_packets/00026794 [07:45:43]NVStorageSaveData ofd_packets/00026794 [07:45:43]File name is /storage/ofd_packets/00026794 [07:45:43]Write 302 bytes [07:45:43]NVStorageSaveData done [07:45:43]OFDSenderStorePacket done [07:45:43]KKMCreateOFDPacket done [07:45:43]NVStorageSaveData kkm_last_timestamp [07:45:43]File name is /storage/kkm_last_timestamp [07:45:43]Write 4 bytes [07:45:43]NVStorageSaveData done [07:45:43]ExternCall_PrintAddStr [07:45:43]wPrintStart [07:45:43]Write to MH i2c: 01 00 00 08 35 3D [07:45:43]Write i2c OK [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: 01 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: 01 07 00 [07:45:43]MH_I2C_Read... [07:45:43]Read from MH i2c: 01 07 00 08 35 00 00 00 00 00 FF 0F 52 [07:45:43]RasterBufferAndPrint [07:45:43]line Счет N : (1)359535 [07:45:43]line ИÐÐ: 02508201610067 [07:45:43]line Контрольно-КаÑÑовый Чек [07:45:43]line ПРОДÐЖР[07:45:43]line ТРК (МРК, ГÐК) : 21 [07:45:43]line Товар: 2710194210 [07:45:43]line ДТ(л)-К-5 [07:45:43]line 6.970 * 71.80 [07:45:43]line = 500.45 [07:45:43]line ÐДС 12% ÐСП 1% [07:45:43]line > о реализуемом товаре [07:45:43]line ОКРУГЛЕÐИЕ: -0.45 [07:45:43]line ИТОГО: 500.00 [07:45:43]line ВнеÑено: 500.00 [07:45:43]line СДÐЧÐ: 0.00 [07:45:43]line ÐСП 1% : 4.43 [07:45:43]line ÐДС 12% : 53.14 [07:45:43]line Ðаличными: 500.00 [07:45:43]line Безнал.: 0.00 [07:45:43]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [07:45:43]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [07:45:43]line СÐО: Общий режим [07:45:43]line Чек 7 08.04.2024 07:45 [07:45:43]line Смена: 314 ФФД: 1.0 [07:45:43]line ЗÐМ: 0300000147 [07:45:43]line РÐМ: 0000000000091578 [07:45:43]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [07:45:43]line ФМ: 0000000000874657 [07:45:43]line ФД: 26794 [07:45:43]line ФПД: 48771961820960 [07:45:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T074555&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26794&fm=48771961820960&tin=02508201610067®Number=0000000000091578&sum=50000 [07:45:43]OFD Sender: Processing packet 26794 [packets to send 44, broken 43] [07:45:43]ProducePacketName [07:45:43]name=ofd_packets/00026794 [07:45:43]OFD Sender: To server: ‡•öpG, [07:45:43]CommunicateWithHost lk.salyk.kg:30040 [07:45:43]ConnectInit lk.salyk.kg [07:45:43]written 0, free lines is 4095 [07:45:43]Connected sock=10 [07:45:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 B0 2E 08 01 51 A5 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 07 00 00 00 F4 03 04 00 B3 A0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AA 68 00 00 35 04 06 00 2C 5B 9B 75 97 20 0C 6A AC 1A F3 C3 55 AF [07:45:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 AE 2A 47 00 3D 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AA 68 00 00 F4 03 04 00 1E 48 13 66 B6 04 01 00 00 17 BF CC CE 7D 42 76 8A [07:45:44]CommunicateWithHost err = 0 [07:45:44]CheckOFDResponse [07:45:44]1017 (14) - 77093643461234 [07:45:44]1041 (16) - 0000000000874657 [07:45:44]1040 (4) - 26794 [07:45:44]1012 (4) - 08.04.2024 01:27 [07:45:44]1206 (1) - 0 [07:45:44]OFD Sender: Remove packet 26794 [07:45:44]ProducePacketName [07:45:44]name=ofd_packets/00026794 [07:45:44]NVStorageDeleteData [07:45:44]Write to MH i2c: 01 00 00 33 35 68 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 07 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: 01 07 00 33 35 00 00 00 00 00 6C 0C E7 [07:45:44]RasterBufferAndPrint [07:45:44]line [07:45:44]line [07:45:44]line [07:45:44]line [07:45:44]line [07:45:44]written 0, free lines is 3184 [07:45:44]MH_Cut [07:45:44]Write to MH i2c: D1 01 00 3A 35 01 41 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: D1 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: D1 01 00 [07:45:44]MH_I2C_Read... [07:45:44]Read from MH i2c: D1 01 00 3A 35 00 40 [07:45:44]Write to MH i2c: 01 00 00 3B 35 70 [07:45:44]Write i2c OK [07:45:44]MH_I2C_Read... [07:45:44]OFD Sender: No OFD packet to send [07:45:45]*** Cut start [07:45:45]*** Partial cut [07:45:45]*** CUTSNS_PIN = 1 [07:45:45]*** CUTSNS_PIN = 0 [07:45:45]*** Brake cut motor [07:45:46]Read from MH i2c: 01 [07:45:46]MH_I2C_Read... [07:45:46]*** Stop cut motor [07:45:46]*** Cut end [07:45:46]Read from MH i2c: 01 07 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: 01 07 00 3B 35 00 00 00 00 00 FF 0F 85 [07:45:46]process_action close_receipt done [07:45:46]requested_data is exist [07:45:46]produce_requested_data [07:45:46]requested_item fm.sn is exist - process it [07:45:46]wFMCommunicate request_size=4 [07:45:46]MH_SAM_APDU [07:45:46]CAPDU: 80 11 00 00 [07:45:46]Write to MH i2c: E2 08 00 3C 35 80 11 00 00 00 00 00 00 EB [07:45:46]Write i2c OK [07:45:46]MH_I2C_Read... [07:45:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:46]Read from MH i2c: E2 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 17 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 17 00 3C 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 43 [07:45:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [07:45:46]wFMCommunicate OK [07:45:46]requested_item fd.num is exist - process it [07:45:46]SAM_PROTO_GetFieldsCounters [07:45:46]wFMCommunicate request_size=4 [07:45:46]MH_SAM_APDU [07:45:46]CAPDU: 80 13 00 00 [07:45:46]Write to MH i2c: E2 08 00 3D 35 80 13 00 00 00 00 00 00 EE [07:45:46]Write i2c OK [07:45:46]MH_I2C_Read... [07:45:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:45:46]Read from MH i2c: E2 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 62 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 62 00 3D 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 7B [07:45:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:45:46]wFMCommunicate OK [07:45:46]SAM_PROTO_GetFieldsCounters done [07:45:46]requested_item shift.num is exist - process it [07:45:46]requested_item shift.opened is exist - process it [07:45:46]req_shift_opened [07:45:46]FM_GetShiftState [07:45:46]SAM_PROTO_GetShiftState [07:45:46]wFMCommunicate request_size=4 [07:45:46]MH_SAM_APDU [07:45:46]CAPDU: 80 13 01 00 [07:45:46]Write to MH i2c: E2 08 00 3E 35 80 13 01 00 00 00 00 00 F0 [07:45:46]Write i2c OK [07:45:46]MH_I2C_Read... [07:45:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:46]Read from MH i2c: E2 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 0E 00 [07:45:46]MH_I2C_Read... [07:45:46]Read from MH i2c: E2 0E 00 3E 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7D [07:45:46]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [07:45:46]wFMCommunicate OK [07:45:46]SAM_PROTO_GetShiftState done [07:45:46]FM_GetShiftState done [07:45:46]req_shift_opened done [07:45:46]requested_item shift.open_date is exist - process it [07:45:46]req_shift_open_date [07:45:46]req_shift_open_date done [07:45:46]produce_requested_data done [07:45:46]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26794,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [07:45:46]process_action_free close_receipt [07:45:46]json_value_free [07:45:46]json_value_free done [07:45:46]process_json_proto returns [07:45:46]Send response to host [07:45:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26794,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [07:45:46]free response buf [07:45:46]execute_script done [07:45:46]execute_script returns [07:45:46]free content buf [07:45:46]Sock 8.Close socket [07:45:46]Sock 8.Thread stoped [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:53:49]OFD Sender: No OFD packet to send [07:53:54]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:50]OFD Sender: No OFD packet to send [08:03:55]OFD Sender: No OFD packet to send [08:04:00]OFD Sender: No OFD packet to send [08:04:05]OFD Sender: No OFD packet to send [08:04:10]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:26]OFD Sender: No OFD packet to send [08:12:31]OFD Sender: No OFD packet to send [08:12:36]OFD Sender: No OFD packet to send [08:12:41]OFD Sender: No OFD packet to send [08:12:46]OFD Sender: No OFD packet to send [08:12:51]OFD Sender: No OFD packet to send [08:12:56]OFD Sender: No OFD packet to send [08:13:01]OFD Sender: No OFD packet to send [08:13:06]OFD Sender: No OFD packet to send [08:13:11]OFD Sender: No OFD packet to send [08:13:16]OFD Sender: No OFD packet to send [08:13:21]OFD Sender: No OFD packet to send [08:13:26]OFD Sender: No OFD packet to send [08:13:31]OFD Sender: No OFD packet to send [08:13:36]OFD Sender: No OFD packet to send [08:13:41]OFD Sender: No OFD packet to send [08:13:46]OFD Sender: No OFD packet to send [08:13:51]OFD Sender: No OFD packet to send [08:13:56]OFD Sender: No OFD packet to send [08:13:58]accept exits with 9 [08:13:58]New connection [08:13:58]New thread 3066871140 created [08:13:58]Thread 3067014500 joined [08:13:58]Waiting for new connection... [08:13:58] Sock 9.Parse request [08:13:58]Sock 9.Check first char [08:13:58]Sock 9.First char is OK [08:13:58]request: POST /json_proto HTTP/1.0 [08:13:58]Method: POST [08:13:58]URL: /json_proto [08:13:58]Method is POST - this is cgi request [08:13:58]url: /json_proto [08:13:58]query_string will be loaded in cgi processing [08:13:58]execute_cgi json_proto POST (null) [08:13:58]execute_cgi path=json_proto method=POST [08:13:58]POST find Content-Length [08:13:58]Host: 172.17.35.3:8080 [08:13:58]Content-Length: 1096 [08:13:58]Content-Type: application/json [08:13:58] [08:13:58]POST finish read [08:13:58]Found Content-Length = 1096 [08:13:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 122\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A.\u000A\u0421\u0447\u0435\u0442 N : (1)359536\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.780 x 63.40\u000A\u0418\u0422\u041E\u0413: 1000.45\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A5736\u000A" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:13:58]execute_script... [08:13:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 122\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A.\u000A\u0421\u0447\u0435\u0442 N : (1)359536\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 15.780 x 63.40\u000A\u0418\u0422\u041E\u0413: 1000.45\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0430\u043B\u043E\u043D\u044B: \u0422\u043E\u043F\u043B\u0438\u0432\u043D\u0430\u044F \u041A\u0430\u0440\u0442\u0430\u000A5736\u000A" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:13:58]POST & json_proto [08:13:58]process_json_proto [08:13:58]json parsed OK: [08:13:58]protocol is kg_v1.0 [08:13:58]action value=print_text [08:13:58]process_action print_text [08:13:58]cmd_print_text [08:13:58]ExternCall_PrintAddStr [08:13:58]wPrintStart [08:13:58]Write to MH i2c: 01 00 00 3F 35 74 [08:13:58]Write i2c OK [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: 01 [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: 01 07 00 [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: 01 07 00 3F 35 00 00 00 00 00 FF 0F 89 [08:13:58]RasterBufferAndPrint [08:13:58]line *****ТОВÐРÐЫЙ ЧЕК***** [08:13:58]line ÐЗС 122 [08:13:58]line Партнер нефть [08:13:58]line 02508201610067 [08:13:58]line КаÑÑир : Эдилбаев К. [08:13:58]line Счет N : (1)359536 [08:13:58]line ПРОДÐЖР[08:13:58]line ТРК (МРК, ГÐК) : 61 [08:13:58]line Вид ГСМ : 2710124130 [08:13:58]line Ðи-92-К-5 [08:13:58]line 15.780 x 63.40 [08:13:58]line ИТОГ: 1000.45 [08:13:58]line Тип оплаты: Талоны: Ð¢Ð¾Ð¿Ð»Ð¸Ð²Ð½Ð°Ñ ÐšÐ°Ñ€Ñ‚Ð° [08:13:58]line 5736 [08:13:58]written 0, free lines is 4095 [08:13:58]Write to MH i2c: 01 00 00 50 35 85 [08:13:58]Write i2c OK [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: 01 [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: 01 07 00 [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: 01 07 00 50 35 00 00 00 00 00 5F 0E F9 [08:13:58]RasterBufferAndPrint [08:13:58]line [08:13:58]line [08:13:58]line [08:13:58]line [08:13:58]line [08:13:58]written 0, free lines is 3680 [08:13:58]MH_Cut [08:13:58]Write to MH i2c: D1 01 00 57 35 01 5E [08:13:58]Write i2c OK [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: D1 [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: D1 01 00 [08:13:58]MH_I2C_Read... [08:13:58]Read from MH i2c: D1 01 00 57 35 00 5D [08:13:58]Write to MH i2c: 01 00 00 58 35 8D [08:13:58]Write i2c OK [08:13:58]MH_I2C_Read... [08:13:59]*** Cut start [08:13:59]*** Partial cut [08:13:59]*** CUTSNS_PIN = 1 [08:13:59]*** CUTSNS_PIN = 0 [08:13:59]*** Brake cut motor [08:13:59]Read from MH i2c: 01 [08:13:59]MH_I2C_Read... [08:13:59]*** Stop cut motor [08:13:59]*** Cut end [08:13:59]Read from MH i2c: 01 07 00 [08:13:59]MH_I2C_Read... [08:13:59]Read from MH i2c: 01 07 00 58 35 00 00 00 00 00 FF 0F A2 [08:13:59]process_action print_text done [08:13:59]requested_data is exist [08:13:59]produce_requested_data [08:13:59]requested_item fm.sn is exist - process it [08:13:59]wFMCommunicate request_size=4 [08:13:59]MH_SAM_APDU [08:13:59]CAPDU: 80 11 00 00 [08:13:59]Write to MH i2c: E2 08 00 59 35 80 11 00 00 00 00 00 00 08 [08:13:59]Write i2c OK [08:13:59]MH_I2C_Read... [08:14:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:14:00]Read from MH i2c: E2 [08:14:00]MH_I2C_Read... [08:14:00]Read from MH i2c: E2 17 00 [08:14:00]MH_I2C_Read... [08:14:00]Read from MH i2c: E2 17 00 59 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 60 [08:14:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:14:00]wFMCommunicate OK [08:14:00]requested_item fd.num is exist - process it [08:14:00]SAM_PROTO_GetFieldsCounters [08:14:00]wFMCommunicate request_size=4 [08:14:00]MH_SAM_APDU [08:14:00]CAPDU: 80 13 00 00 [08:14:00]Write to MH i2c: E2 08 00 5A 35 80 13 00 00 00 00 00 00 0B [08:14:00]Write i2c OK [08:14:00]MH_I2C_Read... [08:14:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:14:00]Read from MH i2c: E2 [08:14:00]MH_I2C_Read... [08:14:00]Read from MH i2c: E2 62 00 [08:14:00]MH_I2C_Read... [08:14:00]Read from MH i2c: E2 62 00 5A 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [08:14:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:14:00]wFMCommunicate OK [08:14:00]SAM_PROTO_GetFieldsCounters done [08:14:00]requested_item shift.num is exist - process it [08:14:00]requested_item shift.opened is exist - process it [08:14:00]req_shift_opened [08:14:00]FM_GetShiftState [08:14:00]SAM_PROTO_GetShiftState [08:14:00]wFMCommunicate request_size=4 [08:14:00]MH_SAM_APDU [08:14:00]CAPDU: 80 13 01 00 [08:14:00]Write to MH i2c: E2 08 00 5B 35 80 13 01 00 00 00 00 00 0D [08:14:00]Write i2c OK [08:14:00]MH_I2C_Read... [08:14:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:14:00]Read from MH i2c: E2 [08:14:00]MH_I2C_Read... [08:14:00]Read from MH i2c: E2 0E 00 [08:14:00]MH_I2C_Read... [08:14:00]Read from MH i2c: E2 0E 00 5B 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 9A [08:14:00]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:14:00]wFMCommunicate OK [08:14:00]SAM_PROTO_GetShiftState done [08:14:00]FM_GetShiftState done [08:14:00]req_shift_opened done [08:14:00]requested_item shift.open_date is exist - process it [08:14:00]req_shift_open_date [08:14:00]req_shift_open_date done [08:14:00]produce_requested_data done [08:14:00]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26794,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:14:00]process_action_free print_text [08:14:00]json_value_free [08:14:00]json_value_free done [08:14:00]process_json_proto returns [08:14:00]Send response to host [08:14:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26794,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:14:00]free response buf [08:14:00]execute_script done [08:14:00]execute_script returns [08:14:00]free content buf [08:14:00]Sock 9.Close socket [08:14:00]Sock 9.Thread stoped [08:14:01]OFD Sender: No OFD packet to send [08:14:06]OFD Sender: No OFD packet to send [08:14:11]OFD Sender: No OFD packet to send [08:14:16]OFD Sender: No OFD packet to send [08:14:21]OFD Sender: No OFD packet to send [08:14:26]OFD Sender: No OFD packet to send [08:14:31]OFD Sender: No OFD packet to send [08:14:36]OFD Sender: No OFD packet to send [08:14:41]OFD Sender: No OFD packet to send [08:14:46]OFD Sender: No OFD packet to send [08:14:51]OFD Sender: No OFD packet to send [08:14:56]OFD Sender: No OFD packet to send [08:15:01]OFD Sender: No OFD packet to send [08:15:06]OFD Sender: No OFD packet to send [08:15:11]OFD Sender: No OFD packet to send [08:15:16]OFD Sender: No OFD packet to send [08:15:21]OFD Sender: No OFD packet to send [08:15:26]OFD Sender: No OFD packet to send [08:15:31]OFD Sender: No OFD packet to send [08:15:36]OFD Sender: No OFD packet to send [08:15:41]OFD Sender: No OFD packet to send [08:15:46]OFD Sender: No OFD packet to send [08:15:51]OFD Sender: No OFD packet to send [08:15:56]OFD Sender: No OFD packet to send [08:16:01]OFD Sender: No OFD packet to send [08:16:06]OFD Sender: No OFD packet to send [08:16:11]OFD Sender: No OFD packet to send [08:16:16]OFD Sender: No OFD packet to send [08:16:21]OFD Sender: No OFD packet to send [08:16:26]OFD Sender: No OFD packet to send [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:36]accept exits with 8 [08:16:36]New connection [08:16:36]New thread 3067014500 created [08:16:36]Thread 3066871140 joined [08:16:36]Waiting for new connection... [08:16:36] Sock 8.Parse request [08:16:36]Sock 8.Check first char [08:16:36]Sock 8.First char is OK [08:16:36]request: POST /json_proto HTTP/1.0 [08:16:36]Method: POST [08:16:36]URL: /json_proto [08:16:36]Method is POST - this is cgi request [08:16:36]url: /json_proto [08:16:36]query_string will be loaded in cgi processing [08:16:36]execute_cgi json_proto POST (null) [08:16:36]execute_cgi path=json_proto method=POST [08:16:36]POST find Content-Length [08:16:36]Host: 172.17.35.3:8080 [08:16:36]Content-Length: 640 [08:16:36]Content-Type: application/json [08:16:36] [08:16:36]POST finish read [08:16:36]Found Content-Length = 640 [08:16:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359537", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.000, "sum" : 634.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 634.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:36]execute_script... [08:16:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359537", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 10.000, "sum" : 634.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 634.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:36]POST & json_proto [08:16:36]process_json_proto [08:16:36]json parsed OK: [08:16:36]protocol is kg_v1.0 [08:16:36]action value=close_receipt [08:16:36]process_action close_receipt [08:16:36]cmd_close_receipt [08:16:36]MH_GetDate [08:16:36]Write to MH i2c: F0 00 00 5C 35 80 [08:16:36]Write i2c OK [08:16:36]MH_I2C_Read... [08:16:36]Read from MH i2c: F0 [08:16:36]MH_I2C_Read... [08:16:36]Read from MH i2c: F0 09 00 [08:16:36]MH_I2C_Read... [08:16:36]Read from MH i2c: F0 09 00 5C 35 00 F2 A7 13 66 2B 11 66 64 A1 [08:16:36]GetLastDocTimeStamp 1712562355 [08:16:36]current date 1712564210 [08:16:36]FM_GetShiftState [08:16:36]SAM_PROTO_GetShiftState [08:16:36]wFMCommunicate request_size=4 [08:16:36]MH_SAM_APDU [08:16:36]CAPDU: 80 13 01 00 [08:16:36]Write to MH i2c: E2 08 00 5D 35 80 13 01 00 00 00 00 00 0F [08:16:36]Write i2c OK [08:16:36]MH_I2C_Read... [08:16:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:36]Read from MH i2c: E2 [08:16:36]MH_I2C_Read... [08:16:36]Read from MH i2c: E2 0E 00 [08:16:36]MH_I2C_Read... [08:16:36]Read from MH i2c: E2 0E 00 5D 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 9C [08:16:36]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:16:36]wFMCommunicate OK [08:16:36]SAM_PROTO_GetShiftState done [08:16:36]FM_GetShiftState done [08:16:36]opened in 1712536270 [08:16:36]opened+sec_in_day 1712622670 [08:16:36]quantity*price = 63400 [08:16:36]sum+1 = 63401 [08:16:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 634.00 ÐСП 1% : 5.61 ÐДС 12% : 67.33 Ðаличными: 634.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 8 08.04.2024 08:16 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26795 ФПД: 122769394651734 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T081650&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26795&fm=122769394651734&tin=02508201610067®Number=0000000000091578&sum=63400 [08:16:38]StoreToDocumentArchive [08:16:38]shift 314 fd 26795 [08:16:38]save to /storage/0314/doc_00026795 [08:16:38]save last doc name /storage/0314/doc_00026795 to /storage/kkm_last_doc_name [08:16:38]save OK [08:16:38]Clear old archive folders... [08:16:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:16:38]tlvbuf is 00EF72A0 [08:16:38]SAM_PROTO_ClearQueue [08:16:38]wFMCommunicate request_size=4 [08:16:38]MH_SAM_APDU [08:16:38]CAPDU: 80 09 00 00 [08:16:38]Write to MH i2c: E2 08 00 6A 35 80 09 00 00 00 00 00 00 11 [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:16:38]Read from MH i2c: E2 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 6A 35 00 90 00 13 [08:16:38]RAPDU: 90 00 [08:16:38]wFMCommunicate OK [08:16:38]SAM_PROTO_ClearQueue done [08:16:38]KKMCreateOFDPacket [08:16:38]OFDProtocolAddRootSTLVToBuf [08:16:38]FM_MakeSignedData [08:16:38]FM_MakeSignedData [08:16:38]SAM_PROTO_SignData [08:16:38]wFMCommunicate request_size=4 [08:16:38]MH_SAM_APDU [08:16:38]CAPDU: 80 0D 01 02 [08:16:38]Write to MH i2c: E2 08 00 6B 35 80 0D 01 02 00 00 00 00 19 [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:16:38]Read from MH i2c: E2 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 6B 35 00 90 00 14 [08:16:38]RAPDU: 90 00 [08:16:38]wFMCommunicate OK [08:16:38]wFMCommunicate request_size=255 [08:16:38]MH_SAM_APDU [08:16:38]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 10 27 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 F2 A7 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AB 68 00 00 35 04 06 00 6F [08:16:38]Write to MH i2c: E2 02 01 6C 35 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 10 27 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 F2 A7 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AB 68 00 00 35 04 06 00 6F 00 00 8E [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:38]Read from MH i2c: E2 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 6C 35 00 90 00 15 [08:16:38]RAPDU: 90 00 [08:16:38]wFMCommunicate OK [08:16:38]wFMCommunicate request_size=10 [08:16:38]MH_SAM_APDU [08:16:38]CAPDU: 80 0D 02 02 05 A8 7A 28 52 56 [08:16:38]Write to MH i2c: E2 0D 00 6D 35 80 0D 02 02 05 00 A8 7A 28 52 56 00 00 18 [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:38]Read from MH i2c: E2 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 03 00 6D 35 00 90 00 16 [08:16:38]RAPDU: 90 00 [08:16:38]wFMCommunicate OK [08:16:38]wFMCommunicate request_size=4 [08:16:38]MH_SAM_APDU [08:16:38]CAPDU: 80 0D 03 02 [08:16:38]Write to MH i2c: E2 08 00 6E 35 80 0D 03 02 00 00 00 00 1E [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:16:38]Read from MH i2c: E2 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 0B 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 0B 00 6E 35 00 C5 AE 82 A9 49 CF 37 47 90 00 53 [08:16:38]RAPDU: C5 AE 82 A9 49 CF 37 47 90 00 [08:16:38]wFMCommunicate OK [08:16:38]SAM_PROTO_SignData done [08:16:38]FM_MakeSignedData done [08:16:38]CreateOFDProtocolMessage [08:16:38]wFMCommunicate request_size=4 [08:16:38]MH_SAM_APDU [08:16:38]CAPDU: 80 11 00 00 [08:16:38]Write to MH i2c: E2 08 00 6F 35 80 11 00 00 00 00 00 00 1E [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:38]Read from MH i2c: E2 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 17 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: E2 17 00 6F 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 76 [08:16:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:16:38]wFMCommunicate OK [08:16:38]CreateOFDProtocolMessage done [08:16:38]OFDSenderStorePacket 26795 [08:16:38]StoreOFDPacket docnum=26795 [08:16:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 09 E8 07 01 1B 8F 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 10 27 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 F2 A7 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AB 68 00 00 35 04 06 00 6F A8 7A 28 52 56 C5 AE 82 A9 49 CF 37 47 [08:16:38]CheckFolder [08:16:38]dirname=/storage/ofd_packets [08:16:38]CheckFolder done [08:16:38]ProducePacketName [08:16:38]name=ofd_packets/00026795 [08:16:38]NVStorageSaveData ofd_packets/00026795 [08:16:38]File name is /storage/ofd_packets/00026795 [08:16:38]Write 301 bytes [08:16:38]NVStorageSaveData done [08:16:38]OFDSenderStorePacket done [08:16:38]KKMCreateOFDPacket done [08:16:38]NVStorageSaveData kkm_last_timestamp [08:16:38]File name is /storage/kkm_last_timestamp [08:16:38]Write 4 bytes [08:16:38]NVStorageSaveData done [08:16:38]ExternCall_PrintAddStr [08:16:38]wPrintStart [08:16:38]Write to MH i2c: 01 00 00 70 35 A5 [08:16:38]Write i2c OK [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: 01 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: 01 07 00 [08:16:38]MH_I2C_Read... [08:16:38]Read from MH i2c: 01 07 00 70 35 00 00 00 00 00 FF 0F BA [08:16:38]RasterBufferAndPrint [08:16:38]line Счет N : (1)359537 [08:16:38]line ИÐÐ: 02508201610067 [08:16:38]line Контрольно-КаÑÑовый Чек [08:16:38]line ПРОДÐЖР[08:16:38]line ТРК (МРК, ГÐК) : 61 [08:16:38]line Товар: 2710124130 [08:16:38]line Ðи-92-К-5 [08:16:38]line 10.000 * 63.40 [08:16:38]line = 634.00 [08:16:38]line ÐДС 12% ÐСП 1% [08:16:38]line > о реализуемом товаре [08:16:38]line ИТОГО: 634.00 [08:16:38]line ÐСП 1% : 5.61 [08:16:38]line ÐДС 12% : 67.33 [08:16:38]line Ðаличными: 634.00 [08:16:38]line Безнал.: 0.00 [08:16:38]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:16:38]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:16:38]line СÐО: Общий режим [08:16:38]line Чек 8 08.04.2024 08:16 [08:16:38]line Смена: 314 ФФД: 1.0 [08:16:38]line ЗÐМ: 0300000147 [08:16:38]line РÐМ: 0000000000091578 [08:16:38]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:16:38]line ФМ: 0000000000874657 [08:16:38]line ФД: 26795 [08:16:38]line ФПД: 122769394651734 [08:16:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T081650&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26795&fm=122769394651734&tin=02508201610067®Number=0000000000091578&sum=63400 [08:16:38]OFD Sender: Processing packet 26795 [packets to send 44, broken 43] [08:16:38]ProducePacketName [08:16:38]name=ofd_packets/00026795 [08:16:38]OFD Sender: To server: ‡•öpG, [08:16:38]CommunicateWithHost lk.salyk.kg:30040 [08:16:38]ConnectInit lk.salyk.kg [08:16:38]written 0, free lines is 4095 [08:16:38]Connected sock=10 [08:16:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 09 E8 07 01 1B 8F 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 10 27 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A8 F7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 F7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4D 1A 00 00 00 00 07 04 06 00 A8 F7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 F2 A7 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AB 68 00 00 35 04 06 00 6F A8 7A 28 52 56 C5 AE 82 A9 49 CF 37 47 [08:16:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FE FB 47 00 5F 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 38 37 34 36 35 37 10 04 04 00 AB 68 00 00 F4 03 04 00 5D 4F 13 66 B6 04 01 00 00 26 A0 6B E8 87 F7 A3 BC [08:16:39]CommunicateWithHost err = 0 [08:16:39]CheckOFDResponse [08:16:39]1017 (14) - 77093643461234 [08:16:39]1041 (16) - 0000000000874657 [08:16:39]1040 (4) - 26795 [08:16:39]1012 (4) - 08.04.2024 01:58 [08:16:39]1206 (1) - 0 [08:16:39]OFD Sender: Remove packet 26795 [08:16:39]ProducePacketName [08:16:39]name=ofd_packets/00026795 [08:16:39]NVStorageDeleteData [08:16:39]Write to MH i2c: 01 00 00 98 35 CD [08:16:39]Write i2c OK [08:16:39]MH_I2C_Read... [08:16:39]Read from MH i2c: 01 [08:16:39]MH_I2C_Read... [08:16:39]Read from MH i2c: 01 07 00 [08:16:39]MH_I2C_Read... [08:16:39]Read from MH i2c: 01 07 00 98 35 00 00 00 00 00 AE 0C 8E [08:16:39]RasterBufferAndPrint [08:16:39]line [08:16:39]line [08:16:39]line [08:16:39]line [08:16:39]line [08:16:39]written 0, free lines is 3250 [08:16:39]MH_Cut [08:16:39]Write to MH i2c: D1 01 00 9F 35 01 A6 [08:16:39]Write i2c OK [08:16:39]MH_I2C_Read... [08:16:39]Read from MH i2c: D1 [08:16:39]MH_I2C_Read... [08:16:39]Read from MH i2c: D1 01 00 [08:16:39]MH_I2C_Read... [08:16:39]Read from MH i2c: D1 01 00 9F 35 00 A5 [08:16:39]Write to MH i2c: 01 00 00 A0 35 D5 [08:16:39]Write i2c OK [08:16:39]MH_I2C_Read... [08:16:39]OFD Sender: No OFD packet to send [08:16:40]*** Cut start [08:16:40]*** Partial cut [08:16:40]*** CUTSNS_PIN = 1 [08:16:40]*** CUTSNS_PIN = 0 [08:16:40]*** Brake cut motor [08:16:41]Read from MH i2c: 01 [08:16:41]MH_I2C_Read... [08:16:41]*** Stop cut motor [08:16:41]*** Cut end [08:16:41]Read from MH i2c: 01 07 00 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: 01 07 00 A0 35 00 00 00 00 00 FF 0F EA [08:16:41]process_action close_receipt done [08:16:41]requested_data is exist [08:16:41]produce_requested_data [08:16:41]requested_item fm.sn is exist - process it [08:16:41]wFMCommunicate request_size=4 [08:16:41]MH_SAM_APDU [08:16:41]CAPDU: 80 11 00 00 [08:16:41]Write to MH i2c: E2 08 00 A1 35 80 11 00 00 00 00 00 00 50 [08:16:41]Write i2c OK [08:16:41]MH_I2C_Read... [08:16:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:41]Read from MH i2c: E2 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: E2 17 00 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: E2 17 00 A1 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A8 [08:16:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:16:41]wFMCommunicate OK [08:16:41]requested_item fd.num is exist - process it [08:16:41]SAM_PROTO_GetFieldsCounters [08:16:41]wFMCommunicate request_size=4 [08:16:41]MH_SAM_APDU [08:16:41]CAPDU: 80 13 00 00 [08:16:41]Write to MH i2c: E2 08 00 A2 35 80 13 00 00 00 00 00 00 53 [08:16:41]Write i2c OK [08:16:41]MH_I2C_Read... [08:16:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:16:41]Read from MH i2c: E2 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: E2 62 00 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: E2 62 00 A2 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [08:16:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:16:41]wFMCommunicate OK [08:16:41]SAM_PROTO_GetFieldsCounters done [08:16:41]requested_item shift.num is exist - process it [08:16:41]requested_item shift.opened is exist - process it [08:16:41]req_shift_opened [08:16:41]FM_GetShiftState [08:16:41]SAM_PROTO_GetShiftState [08:16:41]wFMCommunicate request_size=4 [08:16:41]MH_SAM_APDU [08:16:41]CAPDU: 80 13 01 00 [08:16:41]Write to MH i2c: E2 08 00 A3 35 80 13 01 00 00 00 00 00 55 [08:16:41]Write i2c OK [08:16:41]MH_I2C_Read... [08:16:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:41]Read from MH i2c: E2 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: E2 0E 00 [08:16:41]MH_I2C_Read... [08:16:41]Read from MH i2c: E2 0E 00 A3 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E2 [08:16:41]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:16:41]wFMCommunicate OK [08:16:41]SAM_PROTO_GetShiftState done [08:16:41]FM_GetShiftState done [08:16:41]req_shift_opened done [08:16:41]requested_item shift.open_date is exist - process it [08:16:41]req_shift_open_date [08:16:41]req_shift_open_date done [08:16:41]produce_requested_data done [08:16:41]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26795,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:16:41]process_action_free close_receipt [08:16:41]json_value_free [08:16:41]json_value_free done [08:16:41]process_json_proto returns [08:16:41]Send response to host [08:16:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26795,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:16:41]free response buf [08:16:41]execute_script done [08:16:41]execute_script returns [08:16:41]free content buf [08:16:41]Sock 8.Close socket [08:16:41]Sock 8.Thread stoped [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:19]OFD Sender: No OFD packet to send [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:18]accept exits with 9 [08:19:18]New connection [08:19:18]New thread 3066871140 created [08:19:18]Thread 3067014500 joined [08:19:18]Waiting for new connection... [08:19:18] Sock 9.Parse request [08:19:18]Sock 9.Check first char [08:19:18]Sock 9.First char is OK [08:19:18]request: POST /json_proto HTTP/1.0 [08:19:18]Method: POST [08:19:18]URL: /json_proto [08:19:18]Method is POST - this is cgi request [08:19:18]url: /json_proto [08:19:18]query_string will be loaded in cgi processing [08:19:18]execute_cgi json_proto POST (null) [08:19:18]execute_cgi path=json_proto method=POST [08:19:18]POST find Content-Length [08:19:18]Host: 172.17.35.3:8080 [08:19:18]Content-Length: 682 [08:19:18]Content-Type: application/json [08:19:18] [08:19:18]POST finish read [08:19:18]Found Content-Length = 682 [08:19:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359538", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:19:18]execute_script... [08:19:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359538", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:19:18]POST & json_proto [08:19:18]process_json_proto [08:19:18]json parsed OK: [08:19:18]protocol is kg_v1.0 [08:19:18]action value=close_receipt [08:19:18]process_action close_receipt [08:19:18]cmd_close_receipt [08:19:18]MH_GetDate [08:19:18]Write to MH i2c: F0 00 00 A4 35 C8 [08:19:18]Write i2c OK [08:19:18]MH_I2C_Read... [08:19:18]Read from MH i2c: F0 [08:19:18]MH_I2C_Read... [08:19:18]Read from MH i2c: F0 09 00 [08:19:18]MH_I2C_Read... [08:19:18]Read from MH i2c: F0 09 00 A4 35 00 93 A8 13 66 2B 11 66 64 8B [08:19:18]GetLastDocTimeStamp 1712564210 [08:19:18]current date 1712564371 [08:19:18]FM_GetShiftState [08:19:18]SAM_PROTO_GetShiftState [08:19:18]wFMCommunicate request_size=4 [08:19:18]MH_SAM_APDU [08:19:18]CAPDU: 80 13 01 00 [08:19:18]Write to MH i2c: E2 08 00 A5 35 80 13 01 00 00 00 00 00 57 [08:19:18]Write i2c OK [08:19:18]MH_I2C_Read... [08:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:19:18]Read from MH i2c: E2 [08:19:18]MH_I2C_Read... [08:19:18]Read from MH i2c: E2 0E 00 [08:19:18]MH_I2C_Read... [08:19:18]Read from MH i2c: E2 0E 00 A5 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E4 [08:19:18]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:19:18]wFMCommunicate OK [08:19:18]SAM_PROTO_GetShiftState done [08:19:18]FM_GetShiftState done [08:19:18]opened in 1712536270 [08:19:18]opened+sec_in_day 1712622670 [08:19:18]quantity*price = 100012 [08:19:18]sum+1 = 100014 [08:19:18]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.13 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 9 08.04.2024 08:19 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26796 ФПД: 214762439771843 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T081931&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26796&fm=214762439771843&tin=02508201610067®Number=0000000000091578&sum=100000 [08:19:19]StoreToDocumentArchive [08:19:19]shift 314 fd 26796 [08:19:19]save to /storage/0314/doc_00026796 [08:19:19]save last doc name /storage/0314/doc_00026796 to /storage/kkm_last_doc_name [08:19:19]save OK [08:19:19]Clear old archive folders... [08:19:19]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:19:19]tlvbuf is 00EB6B40 [08:19:19]SAM_PROTO_ClearQueue [08:19:19]wFMCommunicate request_size=4 [08:19:19]MH_SAM_APDU [08:19:19]CAPDU: 80 09 00 00 [08:19:19]Write to MH i2c: E2 08 00 B2 35 80 09 00 00 00 00 00 00 59 [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:19:19]Read from MH i2c: E2 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 B2 35 00 90 00 5B [08:19:19]RAPDU: 90 00 [08:19:19]wFMCommunicate OK [08:19:19]SAM_PROTO_ClearQueue done [08:19:19]KKMCreateOFDPacket [08:19:19]OFDProtocolAddRootSTLVToBuf [08:19:19]FM_MakeSignedData [08:19:19]FM_MakeSignedData [08:19:19]SAM_PROTO_SignData [08:19:19]wFMCommunicate request_size=4 [08:19:19]MH_SAM_APDU [08:19:19]CAPDU: 80 0D 01 02 [08:19:19]Write to MH i2c: E2 08 00 B3 35 80 0D 01 02 00 00 00 00 61 [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:19:19]Read from MH i2c: E2 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 B3 35 00 90 00 5C [08:19:19]RAPDU: 90 00 [08:19:19]wFMCommunicate OK [08:19:19]wFMCommunicate request_size=255 [08:19:19]MH_SAM_APDU [08:19:19]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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 93 A8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AC 68 00 00 35 04 06 00 C3 [08:19:19]Write to MH i2c: E2 02 01 B4 35 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 93 A8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AC 68 00 00 35 04 06 00 C3 00 00 A6 [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:19:19]Read from MH i2c: E2 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 B4 35 00 90 00 5D [08:19:19]RAPDU: 90 00 [08:19:19]wFMCommunicate OK [08:19:19]wFMCommunicate request_size=10 [08:19:19]MH_SAM_APDU [08:19:19]CAPDU: 80 0D 02 02 05 53 46 EF 06 C3 [08:19:19]Write to MH i2c: E2 0D 00 B5 35 80 0D 02 02 05 00 53 46 EF 06 C3 00 00 BF [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:19:19]Read from MH i2c: E2 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 03 00 B5 35 00 90 00 5E [08:19:19]RAPDU: 90 00 [08:19:19]wFMCommunicate OK [08:19:19]wFMCommunicate request_size=4 [08:19:19]MH_SAM_APDU [08:19:19]CAPDU: 80 0D 03 02 [08:19:19]Write to MH i2c: E2 08 00 B6 35 80 0D 03 02 00 00 00 00 66 [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:19:19]Read from MH i2c: E2 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 0B 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 0B 00 B6 35 00 13 3B A3 C7 C4 08 A0 5F 90 00 EA [08:19:19]RAPDU: 13 3B A3 C7 C4 08 A0 5F 90 00 [08:19:19]wFMCommunicate OK [08:19:19]SAM_PROTO_SignData done [08:19:19]FM_MakeSignedData done [08:19:19]CreateOFDProtocolMessage [08:19:19]wFMCommunicate request_size=4 [08:19:19]MH_SAM_APDU [08:19:19]CAPDU: 80 11 00 00 [08:19:19]Write to MH i2c: E2 08 00 B7 35 80 11 00 00 00 00 00 00 66 [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:19:19]Read from MH i2c: E2 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 17 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: E2 17 00 B7 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 BE [08:19:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:19:19]wFMCommunicate OK [08:19:19]CreateOFDProtocolMessage done [08:19:19]OFDSenderStorePacket 26796 [08:19:19]StoreOFDPacket docnum=26796 [08:19:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D0 F8 07 01 D8 46 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 93 A8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AC 68 00 00 35 04 06 00 C3 53 46 EF 06 C3 13 3B A3 C7 C4 08 A0 5F [08:19:19]CheckFolder [08:19:19]dirname=/storage/ofd_packets [08:19:19]CheckFolder done [08:19:19]ProducePacketName [08:19:19]name=ofd_packets/00026796 [08:19:19]NVStorageSaveData ofd_packets/00026796 [08:19:19]File name is /storage/ofd_packets/00026796 [08:19:19]Write 301 bytes [08:19:19]NVStorageSaveData done [08:19:19]OFDSenderStorePacket done [08:19:19]KKMCreateOFDPacket done [08:19:19]NVStorageSaveData kkm_last_timestamp [08:19:19]File name is /storage/kkm_last_timestamp [08:19:19]Write 4 bytes [08:19:19]NVStorageSaveData done [08:19:19]ExternCall_PrintAddStr [08:19:19]wPrintStart [08:19:19]Write to MH i2c: 01 00 00 B8 35 ED [08:19:19]Write i2c OK [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: 01 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: 01 07 00 [08:19:19]MH_I2C_Read... [08:19:19]Read from MH i2c: 01 07 00 B8 35 00 00 00 00 00 FF 0F 02 [08:19:19]RasterBufferAndPrint [08:19:19]line Счет N : (1)359538 [08:19:19]line ИÐÐ: 02508201610067 [08:19:19]line Контрольно-КаÑÑовый Чек [08:19:19]line ПРОДÐЖР[08:19:19]line ТРК (МРК, ГÐК) : 53 [08:19:19]line Товар: 2710124500 [08:19:19]line Ðи-95-К-5 [08:19:19]line 13.910 * 71.90 [08:19:19]line = 1000.13 [08:19:19]line ÐДС 12% ÐСП 1% [08:19:19]line > о реализуемом товаре [08:19:19]line ОКРУГЛЕÐИЕ: -0.13 [08:19:19]line ИТОГО: 1000.00 [08:19:19]line ВнеÑено: 1000.00 [08:19:19]line СДÐЧÐ: 0.00 [08:19:19]line ÐСП 1% : 8.85 [08:19:19]line ÐДС 12% : 106.21 [08:19:19]line Ðаличными: 1000.00 [08:19:19]line Безнал.: 0.00 [08:19:19]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:19:19]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:19:19]line СÐО: Общий режим [08:19:19]line Чек 9 08.04.2024 08:19 [08:19:19]line Смена: 314 ФФД: 1.0 [08:19:19]line ЗÐМ: 0300000147 [08:19:19]line РÐМ: 0000000000091578 [08:19:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:19:19]line ФМ: 0000000000874657 [08:19:19]line ФД: 26796 [08:19:19]line ФПД: 214762439771843 [08:19:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T081931&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26796&fm=214762439771843&tin=02508201610067®Number=0000000000091578&sum=100000 [08:19:20]OFD Sender: Processing packet 26796 [packets to send 44, broken 43] [08:19:20]ProducePacketName [08:19:20]name=ofd_packets/00026796 [08:19:20]OFD Sender: To server: ‡•öpG, [08:19:20]CommunicateWithHost lk.salyk.kg:30040 [08:19:20]ConnectInit lk.salyk.kg [08:19:20]written 0, free lines is 4095 [08:19:20]Connected sock=10 [08:19:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D0 F8 07 01 D8 46 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 93 A8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AC 68 00 00 35 04 06 00 C3 53 46 EF 06 C3 13 3B A3 C7 C4 08 A0 5F [08:19:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 48 A5 47 00 0D 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AC 68 00 00 F4 03 04 00 FE 4F 13 66 B6 04 01 00 00 00 0E C6 96 0D 0B 3A 71 [08:19:20]CommunicateWithHost err = 0 [08:19:20]CheckOFDResponse [08:19:20]1017 (14) - 77093643461234 [08:19:20]1041 (16) - 0000000000874657 [08:19:20]1040 (4) - 26796 [08:19:20]1012 (4) - 08.04.2024 02:01 [08:19:20]1206 (1) - 0 [08:19:20]OFD Sender: Remove packet 26796 [08:19:20]ProducePacketName [08:19:20]name=ofd_packets/00026796 [08:19:20]NVStorageDeleteData [08:19:20]Write to MH i2c: 01 00 00 E3 35 18 [08:19:20]Write i2c OK [08:19:20]MH_I2C_Read... [08:19:20]Read from MH i2c: 01 [08:19:20]MH_I2C_Read... [08:19:20]Read from MH i2c: 01 07 00 [08:19:20]MH_I2C_Read... [08:19:20]Read from MH i2c: 01 07 00 E3 35 00 00 00 00 00 72 0C 9D [08:19:20]RasterBufferAndPrint [08:19:20]line [08:19:20]line [08:19:20]line [08:19:20]line [08:19:20]line [08:19:20]written 0, free lines is 3188 [08:19:20]MH_Cut [08:19:20]Write to MH i2c: D1 01 00 EA 35 01 F1 [08:19:20]Write i2c OK [08:19:20]MH_I2C_Read... [08:19:20]Read from MH i2c: D1 [08:19:20]MH_I2C_Read... [08:19:20]Read from MH i2c: D1 01 00 [08:19:20]MH_I2C_Read... [08:19:20]Read from MH i2c: D1 01 00 EA 35 00 F0 [08:19:20]Write to MH i2c: 01 00 00 EB 35 20 [08:19:20]Write i2c OK [08:19:20]MH_I2C_Read... [08:19:20]OFD Sender: No OFD packet to send [08:19:21]*** Cut start [08:19:21]*** Partial cut [08:19:21]*** CUTSNS_PIN = 1 [08:19:21]*** CUTSNS_PIN = 0 [08:19:22]*** Brake cut motor [08:19:22]Read from MH i2c: 01 [08:19:22]MH_I2C_Read... [08:19:22]*** Stop cut motor [08:19:22]*** Cut end [08:19:22]Read from MH i2c: 01 07 00 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: 01 07 00 EB 35 00 00 00 00 00 FF 0F 35 [08:19:22]process_action close_receipt done [08:19:22]requested_data is exist [08:19:22]produce_requested_data [08:19:22]requested_item fm.sn is exist - process it [08:19:22]wFMCommunicate request_size=4 [08:19:22]MH_SAM_APDU [08:19:22]CAPDU: 80 11 00 00 [08:19:22]Write to MH i2c: E2 08 00 EC 35 80 11 00 00 00 00 00 00 9B [08:19:22]Write i2c OK [08:19:22]MH_I2C_Read... [08:19:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:19:22]Read from MH i2c: E2 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: E2 17 00 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: E2 17 00 EC 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F3 [08:19:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:19:22]wFMCommunicate OK [08:19:22]requested_item fd.num is exist - process it [08:19:22]SAM_PROTO_GetFieldsCounters [08:19:22]wFMCommunicate request_size=4 [08:19:22]MH_SAM_APDU [08:19:22]CAPDU: 80 13 00 00 [08:19:22]Write to MH i2c: E2 08 00 ED 35 80 13 00 00 00 00 00 00 9E [08:19:22]Write i2c OK [08:19:22]MH_I2C_Read... [08:19:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:19:22]Read from MH i2c: E2 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: E2 62 00 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: E2 62 00 ED 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [08:19:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:19:22]wFMCommunicate OK [08:19:22]SAM_PROTO_GetFieldsCounters done [08:19:22]requested_item shift.num is exist - process it [08:19:22]requested_item shift.opened is exist - process it [08:19:22]req_shift_opened [08:19:22]FM_GetShiftState [08:19:22]SAM_PROTO_GetShiftState [08:19:22]wFMCommunicate request_size=4 [08:19:22]MH_SAM_APDU [08:19:22]CAPDU: 80 13 01 00 [08:19:22]Write to MH i2c: E2 08 00 EE 35 80 13 01 00 00 00 00 00 A0 [08:19:22]Write i2c OK [08:19:22]MH_I2C_Read... [08:19:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:19:22]Read from MH i2c: E2 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: E2 0E 00 [08:19:22]MH_I2C_Read... [08:19:22]Read from MH i2c: E2 0E 00 EE 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 2D [08:19:22]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:19:22]wFMCommunicate OK [08:19:22]SAM_PROTO_GetShiftState done [08:19:22]FM_GetShiftState done [08:19:22]req_shift_opened done [08:19:22]requested_item shift.open_date is exist - process it [08:19:22]req_shift_open_date [08:19:22]req_shift_open_date done [08:19:22]produce_requested_data done [08:19:22]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26796,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:19:22]process_action_free close_receipt [08:19:22]json_value_free [08:19:22]json_value_free done [08:19:22]process_json_proto returns [08:19:22]Send response to host [08:19:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26796,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:19:22]free response buf [08:19:22]execute_script done [08:19:22]execute_script returns [08:19:22]free content buf [08:19:22]Sock 9.Close socket [08:19:22]Sock 9.Thread stoped [08:19:25]OFD Sender: No OFD packet to send [08:19:30]OFD Sender: No OFD packet to send [08:19:35]OFD Sender: No OFD packet to send [08:19:40]OFD Sender: No OFD packet to send [08:19:45]OFD Sender: No OFD packet to send [08:19:50]OFD Sender: No OFD packet to send [08:19:55]OFD Sender: No OFD packet to send [08:20:00]OFD Sender: No OFD packet to send [08:20:05]OFD Sender: No OFD packet to send [08:20:10]OFD Sender: No OFD packet to send [08:20:15]OFD Sender: No OFD packet to send [08:20:20]OFD Sender: No OFD packet to send [08:20:25]OFD Sender: No OFD packet to send [08:20:30]OFD Sender: No OFD packet to send [08:20:35]OFD Sender: No OFD packet to send [08:20:40]OFD Sender: No OFD packet to send [08:20:45]OFD Sender: No OFD packet to send [08:20:50]OFD Sender: No OFD packet to send [08:20:55]OFD Sender: No OFD packet to send [08:21:00]OFD Sender: No OFD packet to send [08:21:05]OFD Sender: No OFD packet to send [08:21:10]OFD Sender: No OFD packet to send [08:21:15]OFD Sender: No OFD packet to send [08:21:20]OFD Sender: No OFD packet to send [08:21:25]OFD Sender: No OFD packet to send [08:21:30]OFD Sender: No OFD packet to send [08:21:35]OFD Sender: No OFD packet to send [08:21:40]OFD Sender: No OFD packet to send [08:21:45]OFD Sender: No OFD packet to send [08:21:50]OFD Sender: No OFD packet to send [08:21:55]OFD Sender: No OFD packet to send [08:22:00]OFD Sender: No OFD packet to send [08:22:05]OFD Sender: No OFD packet to send [08:22:10]OFD Sender: No OFD packet to send [08:22:15]OFD Sender: No OFD packet to send [08:22:20]OFD Sender: No OFD packet to send [08:22:25]OFD Sender: No OFD packet to send [08:22:30]OFD Sender: No OFD packet to send [08:22:35]OFD Sender: No OFD packet to send [08:22:40]OFD Sender: No OFD packet to send [08:22:45]OFD Sender: No OFD packet to send [08:22:50]OFD Sender: No OFD packet to send [08:22:56]OFD Sender: No OFD packet to send [08:23:01]OFD Sender: No OFD packet to send [08:23:06]OFD Sender: No OFD packet to send [08:23:11]OFD Sender: No OFD packet to send [08:23:16]OFD Sender: No OFD packet to send [08:23:21]OFD Sender: No OFD packet to send [08:23:26]OFD Sender: No OFD packet to send [08:23:31]OFD Sender: No OFD packet to send [08:23:36]OFD Sender: No OFD packet to send [08:23:41]OFD Sender: No OFD packet to send [08:23:46]OFD Sender: No OFD packet to send [08:23:51]OFD Sender: No OFD packet to send [08:23:56]OFD Sender: No OFD packet to send [08:24:01]OFD Sender: No OFD packet to send [08:24:06]OFD Sender: No OFD packet to send [08:24:11]OFD Sender: No OFD packet to send [08:24:16]OFD Sender: No OFD packet to send [08:24:21]OFD Sender: No OFD packet to send [08:24:26]OFD Sender: No OFD packet to send [08:24:31]OFD Sender: No OFD packet to send [08:24:36]OFD Sender: No OFD packet to send [08:24:41]OFD Sender: No OFD packet to send [08:24:46]OFD Sender: No OFD packet to send [08:24:51]OFD Sender: No OFD packet to send [08:24:56]OFD Sender: No OFD packet to send [08:25:01]OFD Sender: No OFD packet to send [08:25:06]OFD Sender: No OFD packet to send [08:25:11]OFD Sender: No OFD packet to send [08:25:16]OFD Sender: No OFD packet to send [08:25:21]OFD Sender: No OFD packet to send [08:25:26]OFD Sender: No OFD packet to send [08:25:31]OFD Sender: No OFD packet to send [08:25:36]OFD Sender: No OFD packet to send [08:25:41]OFD Sender: No OFD packet to send [08:25:46]OFD Sender: No OFD packet to send [08:25:51]OFD Sender: No OFD packet to send [08:25:56]OFD Sender: No OFD packet to send [08:26:01]OFD Sender: No OFD packet to send [08:26:06]OFD Sender: No OFD packet to send [08:26:11]OFD Sender: No OFD packet to send [08:26:16]OFD Sender: No OFD packet to send [08:26:21]OFD Sender: No OFD packet to send [08:26:26]OFD Sender: No OFD packet to send [08:26:31]OFD Sender: No OFD packet to send [08:26:36]OFD Sender: No OFD packet to send [08:26:41]OFD Sender: No OFD packet to send [08:26:46]OFD Sender: No OFD packet to send [08:26:51]OFD Sender: No OFD packet to send [08:26:56]OFD Sender: No OFD packet to send [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:24]accept exits with 8 [08:30:24]New connection [08:30:24]New thread 3067014500 created [08:30:24]Thread 3066871140 joined [08:30:24]Waiting for new connection... [08:30:24] Sock 8.Parse request [08:30:24]Sock 8.Check first char [08:30:24]Sock 8.First char is OK [08:30:24]request: POST /json_proto HTTP/1.0 [08:30:24]Method: POST [08:30:24]URL: /json_proto [08:30:24]Method is POST - this is cgi request [08:30:24]url: /json_proto [08:30:24]query_string will be loaded in cgi processing [08:30:24]execute_cgi json_proto POST (null) [08:30:24]execute_cgi path=json_proto method=POST [08:30:24]POST find Content-Length [08:30:24]Host: 172.17.35.3:8080 [08:30:24]Content-Length: 682 [08:30:24]Content-Type: application/json [08:30:24] [08:30:24]POST finish read [08:30:24]Found Content-Length = 682 [08:30:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359539", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:24]execute_script... [08:30:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359539", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:30:24]POST & json_proto [08:30:24]process_json_proto [08:30:24]json parsed OK: [08:30:24]protocol is kg_v1.0 [08:30:24]action value=close_receipt [08:30:24]process_action close_receipt [08:30:24]cmd_close_receipt [08:30:24]MH_GetDate [08:30:24]Write to MH i2c: F0 00 00 EF 35 13 [08:30:24]Write i2c OK [08:30:24]MH_I2C_Read... [08:30:24]Read from MH i2c: F0 [08:30:24]MH_I2C_Read... [08:30:24]Read from MH i2c: F0 09 00 [08:30:24]MH_I2C_Read... [08:30:24]Read from MH i2c: F0 09 00 EF 35 00 2E AB 13 66 2B 11 66 64 74 [08:30:24]GetLastDocTimeStamp 1712564371 [08:30:24]current date 1712565038 [08:30:24]FM_GetShiftState [08:30:24]SAM_PROTO_GetShiftState [08:30:24]wFMCommunicate request_size=4 [08:30:24]MH_SAM_APDU [08:30:24]CAPDU: 80 13 01 00 [08:30:24]Write to MH i2c: E2 08 00 F0 35 80 13 01 00 00 00 00 00 A2 [08:30:24]Write i2c OK [08:30:24]MH_I2C_Read... [08:30:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:24]Read from MH i2c: E2 [08:30:24]MH_I2C_Read... [08:30:24]Read from MH i2c: E2 0E 00 [08:30:24]MH_I2C_Read... [08:30:24]Read from MH i2c: E2 0E 00 F0 35 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 2F [08:30:24]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:30:24]wFMCommunicate OK [08:30:24]SAM_PROTO_GetShiftState done [08:30:24]FM_GetShiftState done [08:30:24]opened in 1712536270 [08:30:24]opened+sec_in_day 1712622670 [08:30:24]quantity*price = 50044 [08:30:24]sum+1 = 50046 [08:30:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 10 08.04.2024 08:30 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26797 ФПД: 110677059278658 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T083038&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26797&fm=110677059278658&tin=02508201610067®Number=0000000000091578&sum=50000 [08:30:25]StoreToDocumentArchive [08:30:25]shift 314 fd 26797 [08:30:25]save to /storage/0314/doc_00026797 [08:30:25]save last doc name /storage/0314/doc_00026797 to /storage/kkm_last_doc_name [08:30:25]save OK [08:30:25]Clear old archive folders... [08:30:25]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:30:25]tlvbuf is 00EB6AE0 [08:30:25]SAM_PROTO_ClearQueue [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 09 00 00 [08:30:25]Write to MH i2c: E2 08 00 FD 35 80 09 00 00 00 00 00 00 A4 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 [08:30:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 FD 35 00 90 00 A6 [08:30:25]RAPDU: 90 00 [08:30:25]wFMCommunicate OK [08:30:25]SAM_PROTO_ClearQueue done [08:30:25]KKMCreateOFDPacket [08:30:25]OFDProtocolAddRootSTLVToBuf [08:30:25]FM_MakeSignedData [08:30:25]FM_MakeSignedData [08:30:25]SAM_PROTO_SignData [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 0D 01 02 [08:30:25]Write to MH i2c: E2 08 00 FE 35 80 0D 01 02 00 00 00 00 AC [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 FE 35 00 90 00 A7 [08:30:25]RAPDU: 90 00 [08:30:25]wFMCommunicate OK [08:30:25]wFMCommunicate request_size=255 [08:30:25]MH_SAM_APDU [08:30:25]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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 0A 00 00 00 F4 03 04 00 2E AB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AD 68 00 00 35 04 06 00 [08:30:25]Write to MH i2c: E2 02 01 FF 35 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 0A 00 00 00 F4 03 04 00 2E AB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AD 68 00 00 35 04 06 00 00 00 1C [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 FF 35 00 90 00 A8 [08:30:25]RAPDU: 90 00 [08:30:25]wFMCommunicate OK [08:30:25]wFMCommunicate request_size=11 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 0D 02 02 06 64 A9 02 CD 97 42 [08:30:25]Write to MH i2c: E2 0E 00 00 36 80 0D 02 02 06 00 64 A9 02 CD 97 42 00 00 71 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 03 00 00 36 00 90 00 AA [08:30:25]RAPDU: 90 00 [08:30:25]wFMCommunicate OK [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 0D 03 02 [08:30:25]Write to MH i2c: E2 08 00 01 36 80 0D 03 02 00 00 00 00 B2 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:30:25]Read from MH i2c: E2 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 0B 00 [08:30:25]MH_I2C_Read... [08:30:25]Read from MH i2c: E2 0B 00 01 36 00 3A EB 7A 2E 83 CC C0 24 90 00 B3 [08:30:25]RAPDU: 3A EB 7A 2E 83 CC C0 24 90 00 [08:30:25]wFMCommunicate OK [08:30:25]SAM_PROTO_SignData done [08:30:25]FM_MakeSignedData done [08:30:25]CreateOFDProtocolMessage [08:30:25]wFMCommunicate request_size=4 [08:30:25]MH_SAM_APDU [08:30:25]CAPDU: 80 11 00 00 [08:30:25]Write to MH i2c: E2 08 00 02 36 80 11 00 00 00 00 00 00 B2 [08:30:25]Write i2c OK [08:30:25]MH_I2C_Read... [08:30:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:26]Read from MH i2c: E2 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: E2 17 00 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: E2 17 00 02 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0A [08:30:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:30:26]wFMCommunicate OK [08:30:26]CreateOFDProtocolMessage done [08:30:26]OFDSenderStorePacket 26797 [08:30:26]StoreOFDPacket docnum=26797 [08:30:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 D4 A4 08 01 DD 48 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 0A 00 00 00 F4 03 04 00 2E AB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AD 68 00 00 35 04 06 00 64 A9 02 CD 97 42 3A EB 7A 2E 83 CC C0 24 [08:30:26]CheckFolder [08:30:26]dirname=/storage/ofd_packets [08:30:26]CheckFolder done [08:30:26]ProducePacketName [08:30:26]name=ofd_packets/00026797 [08:30:26]NVStorageSaveData ofd_packets/00026797 [08:30:26]File name is /storage/ofd_packets/00026797 [08:30:26]Write 302 bytes [08:30:26]NVStorageSaveData done [08:30:26]OFDSenderStorePacket done [08:30:26]KKMCreateOFDPacket done [08:30:26]NVStorageSaveData kkm_last_timestamp [08:30:26]File name is /storage/kkm_last_timestamp [08:30:26]Write 4 bytes [08:30:26]NVStorageSaveData done [08:30:26]ExternCall_PrintAddStr [08:30:26]wPrintStart [08:30:26]Write to MH i2c: 01 00 00 03 36 39 [08:30:26]Write i2c OK [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: 01 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: 01 07 00 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: 01 07 00 03 36 00 00 00 00 00 FF 0F 4E [08:30:26]RasterBufferAndPrint [08:30:26]line Счет N : (1)359539 [08:30:26]line ИÐÐ: 02508201610067 [08:30:26]line Контрольно-КаÑÑовый Чек [08:30:26]line ПРОДÐЖР[08:30:26]line ТРК (МРК, ГÐК) : 21 [08:30:26]line Товар: 2710194210 [08:30:26]line ДТ(л)-К-5 [08:30:26]line 6.970 * 71.80 [08:30:26]line = 500.45 [08:30:26]line ÐДС 12% ÐСП 1% [08:30:26]line > о реализуемом товаре [08:30:26]line ОКРУГЛЕÐИЕ: -0.45 [08:30:26]line ИТОГО: 500.00 [08:30:26]line ВнеÑено: 500.00 [08:30:26]line СДÐЧÐ: 0.00 [08:30:26]line ÐСП 1% : 4.43 [08:30:26]line ÐДС 12% : 53.14 [08:30:26]line Ðаличными: 500.00 [08:30:26]line Безнал.: 0.00 [08:30:26]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:30:26]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:30:26]line СÐО: Общий режим [08:30:26]line Чек 10 08.04.2024 08:30 [08:30:26]line Смена: 314 ФФД: 1.0 [08:30:26]line ЗÐМ: 0300000147 [08:30:26]line РÐМ: 0000000000091578 [08:30:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:30:26]line ФМ: 0000000000874657 [08:30:26]line ФД: 26797 [08:30:26]line ФПД: 110677059278658 [08:30:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T083038&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26797&fm=110677059278658&tin=02508201610067®Number=0000000000091578&sum=50000 [08:30:26]OFD Sender: Processing packet 26797 [packets to send 44, broken 43] [08:30:26]ProducePacketName [08:30:26]name=ofd_packets/00026797 [08:30:26]OFD Sender: To server: ‡•öpG, [08:30:26]CommunicateWithHost lk.salyk.kg:30040 [08:30:26]ConnectInit lk.salyk.kg [08:30:26]written 0, free lines is 4095 [08:30:26]Connected sock=10 [08:30:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 D4 A4 08 01 DD 48 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 0A 00 00 00 F4 03 04 00 2E AB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AD 68 00 00 35 04 06 00 64 A9 02 CD 97 42 3A EB 7A 2E 83 CC C0 24 [08:30:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 99 D1 47 00 17 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AD 68 00 00 F4 03 04 00 98 52 13 66 B6 04 01 00 00 E5 73 C1 0E 94 D9 EE 1F [08:30:26]CommunicateWithHost err = 0 [08:30:26]CheckOFDResponse [08:30:26]1017 (14) - 77093643461234 [08:30:26]1041 (16) - 0000000000874657 [08:30:26]1040 (4) - 26797 [08:30:26]1012 (4) - 08.04.2024 02:12 [08:30:26]1206 (1) - 0 [08:30:26]OFD Sender: Remove packet 26797 [08:30:26]ProducePacketName [08:30:26]name=ofd_packets/00026797 [08:30:26]NVStorageDeleteData [08:30:26]Write to MH i2c: 01 00 00 2E 36 64 [08:30:26]Write i2c OK [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: 01 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: 01 07 00 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: 01 07 00 2E 36 00 00 00 00 00 6E 0C E5 [08:30:26]RasterBufferAndPrint [08:30:26]line [08:30:26]line [08:30:26]line [08:30:26]line [08:30:26]line [08:30:26]written 0, free lines is 3186 [08:30:26]MH_Cut [08:30:26]Write to MH i2c: D1 01 00 35 36 01 3D [08:30:26]Write i2c OK [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: D1 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: D1 01 00 [08:30:26]MH_I2C_Read... [08:30:26]Read from MH i2c: D1 01 00 35 36 00 3C [08:30:26]Write to MH i2c: 01 00 00 36 36 6C [08:30:26]Write i2c OK [08:30:26]MH_I2C_Read... [08:30:27]OFD Sender: No OFD packet to send [08:30:28]*** Cut start [08:30:28]*** Partial cut [08:30:28]*** CUTSNS_PIN = 1 [08:30:28]*** CUTSNS_PIN = 0 [08:30:28]*** Brake cut motor [08:30:28]Read from MH i2c: 01 [08:30:28]MH_I2C_Read... [08:30:28]*** Stop cut motor [08:30:28]*** Cut end [08:30:28]Read from MH i2c: 01 07 00 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: 01 07 00 36 36 00 00 00 00 00 FF 0F 81 [08:30:28]process_action close_receipt done [08:30:28]requested_data is exist [08:30:28]produce_requested_data [08:30:28]requested_item fm.sn is exist - process it [08:30:28]wFMCommunicate request_size=4 [08:30:28]MH_SAM_APDU [08:30:28]CAPDU: 80 11 00 00 [08:30:28]Write to MH i2c: E2 08 00 37 36 80 11 00 00 00 00 00 00 E7 [08:30:28]Write i2c OK [08:30:28]MH_I2C_Read... [08:30:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:30:28]Read from MH i2c: E2 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: E2 17 00 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: E2 17 00 37 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 3F [08:30:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:30:28]wFMCommunicate OK [08:30:28]requested_item fd.num is exist - process it [08:30:28]SAM_PROTO_GetFieldsCounters [08:30:28]wFMCommunicate request_size=4 [08:30:28]MH_SAM_APDU [08:30:28]CAPDU: 80 13 00 00 [08:30:28]Write to MH i2c: E2 08 00 38 36 80 13 00 00 00 00 00 00 EA [08:30:28]Write i2c OK [08:30:28]MH_I2C_Read... [08:30:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:30:28]Read from MH i2c: E2 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: E2 62 00 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: E2 62 00 38 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [08:30:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:30:28]wFMCommunicate OK [08:30:28]SAM_PROTO_GetFieldsCounters done [08:30:28]requested_item shift.num is exist - process it [08:30:28]requested_item shift.opened is exist - process it [08:30:28]req_shift_opened [08:30:28]FM_GetShiftState [08:30:28]SAM_PROTO_GetShiftState [08:30:28]wFMCommunicate request_size=4 [08:30:28]MH_SAM_APDU [08:30:28]CAPDU: 80 13 01 00 [08:30:28]Write to MH i2c: E2 08 00 39 36 80 13 01 00 00 00 00 00 EC [08:30:28]Write i2c OK [08:30:28]MH_I2C_Read... [08:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:30:28]Read from MH i2c: E2 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: E2 0E 00 [08:30:28]MH_I2C_Read... [08:30:28]Read from MH i2c: E2 0E 00 39 36 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 79 [08:30:28]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:30:28]wFMCommunicate OK [08:30:28]SAM_PROTO_GetShiftState done [08:30:28]FM_GetShiftState done [08:30:28]req_shift_opened done [08:30:28]requested_item shift.open_date is exist - process it [08:30:28]req_shift_open_date [08:30:28]req_shift_open_date done [08:30:28]produce_requested_data done [08:30:28]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26797,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:30:28]process_action_free close_receipt [08:30:28]json_value_free [08:30:28]json_value_free done [08:30:28]process_json_proto returns [08:30:28]Send response to host [08:30:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26797,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:30:28]free response buf [08:30:28]execute_script done [08:30:28]execute_script returns [08:30:28]free content buf [08:30:28]Sock 8.Close socket [08:30:28]Sock 8.Thread stoped [08:30:32]OFD Sender: No OFD packet to send [08:30:37]OFD Sender: No OFD packet to send [08:30:42]OFD Sender: No OFD packet to send [08:30:47]OFD Sender: No OFD packet to send [08:30:52]OFD Sender: No OFD packet to send [08:30:57]OFD Sender: No OFD packet to send [08:31:02]OFD Sender: No OFD packet to send [08:31:07]OFD Sender: No OFD packet to send [08:31:12]OFD Sender: No OFD packet to send [08:31:17]OFD Sender: No OFD packet to send [08:31:22]OFD Sender: No OFD packet to send [08:31:27]OFD Sender: No OFD packet to send [08:31:32]OFD Sender: No OFD packet to send [08:31:37]OFD Sender: No OFD packet to send [08:31:42]OFD Sender: No OFD packet to send [08:31:47]OFD Sender: No OFD packet to send [08:31:52]OFD Sender: No OFD packet to send [08:31:57]OFD Sender: No OFD packet to send [08:32:02]OFD Sender: No OFD packet to send [08:32:07]OFD Sender: No OFD packet to send [08:32:12]OFD Sender: No OFD packet to send [08:32:17]OFD Sender: No OFD packet to send [08:32:22]OFD Sender: No OFD packet to send [08:32:27]OFD Sender: No OFD packet to send [08:32:32]OFD Sender: No OFD packet to send [08:32:37]OFD Sender: No OFD packet to send [08:32:42]OFD Sender: No OFD packet to send [08:32:47]OFD Sender: No OFD packet to send [08:32:52]OFD Sender: No OFD packet to send [08:32:57]OFD Sender: No OFD packet to send [08:33:02]OFD Sender: No OFD packet to send [08:33:07]OFD Sender: No OFD packet to send [08:33:12]OFD Sender: No OFD packet to send [08:33:17]OFD Sender: No OFD packet to send [08:33:22]OFD Sender: No OFD packet to send [08:33:27]OFD Sender: No OFD packet to send [08:33:32]OFD Sender: No OFD packet to send [08:33:37]OFD Sender: No OFD packet to send [08:33:42]OFD Sender: No OFD packet to send [08:33:47]OFD Sender: No OFD packet to send [08:33:52]OFD Sender: No OFD packet to send [08:33:57]OFD Sender: No OFD packet to send [08:34:02]OFD Sender: No OFD packet to send [08:34:07]OFD Sender: No OFD packet to send [08:34:12]OFD Sender: No OFD packet to send [08:34:17]OFD Sender: No OFD packet to send [08:34:22]OFD Sender: No OFD packet to send [08:34:27]OFD Sender: No OFD packet to send [08:34:32]OFD Sender: No OFD packet to send [08:34:37]OFD Sender: No OFD packet to send [08:34:42]OFD Sender: No OFD packet to send [08:34:47]OFD Sender: No OFD packet to send [08:34:52]OFD Sender: No OFD packet to send [08:34:57]OFD Sender: No OFD packet to send [08:35:02]OFD Sender: No OFD packet to send [08:35:07]OFD Sender: No OFD packet to send [08:35:12]OFD Sender: No OFD packet to send [08:35:17]OFD Sender: No OFD packet to send [08:35:22]OFD Sender: No OFD packet to send [08:35:27]OFD Sender: No OFD packet to send [08:35:32]OFD Sender: No OFD packet to send [08:35:37]OFD Sender: No OFD packet to send [08:35:42]OFD Sender: No OFD packet to send [08:35:47]OFD Sender: No OFD packet to send [08:35:52]OFD Sender: No OFD packet to send [08:35:57]OFD Sender: No OFD packet to send [08:36:02]OFD Sender: No OFD packet to send [08:36:07]OFD Sender: No OFD packet to send [08:36:12]OFD Sender: No OFD packet to send [08:36:17]OFD Sender: No OFD packet to send [08:36:22]OFD Sender: No OFD packet to send [08:36:27]OFD Sender: No OFD packet to send [08:36:32]OFD Sender: No OFD packet to send [08:36:37]OFD Sender: No OFD packet to send [08:36:42]OFD Sender: No OFD packet to send [08:36:47]OFD Sender: No OFD packet to send [08:36:52]OFD Sender: No OFD packet to send [08:36:57]OFD Sender: No OFD packet to send [08:37:02]OFD Sender: No OFD packet to send [08:37:07]OFD Sender: No OFD packet to send [08:37:12]OFD Sender: No OFD packet to send [08:37:17]OFD Sender: No OFD packet to send [08:37:22]OFD Sender: No OFD packet to send [08:37:27]OFD Sender: No OFD packet to send [08:37:32]OFD Sender: No OFD packet to send [08:37:37]OFD Sender: No OFD packet to send [08:37:42]OFD Sender: No OFD packet to send [08:37:47]OFD Sender: No OFD packet to send [08:37:52]OFD Sender: No OFD packet to send [08:37:57]OFD Sender: No OFD packet to send [08:38:02]OFD Sender: No OFD packet to send [08:38:07]OFD Sender: No OFD packet to send [08:38:12]OFD Sender: No OFD packet to send [08:38:17]OFD Sender: No OFD packet to send [08:38:22]OFD Sender: No OFD packet to send [08:38:27]OFD Sender: No OFD packet to send [08:38:32]OFD Sender: No OFD packet to send [08:38:37]OFD Sender: No OFD packet to send [08:38:42]OFD Sender: No OFD packet to send [08:38:47]OFD Sender: No OFD packet to send [08:38:52]OFD Sender: No OFD packet to send [08:38:57]OFD Sender: No OFD packet to send [08:39:02]OFD Sender: No OFD packet to send [08:39:07]OFD Sender: No OFD packet to send [08:39:12]OFD Sender: No OFD packet to send [08:39:17]OFD Sender: No OFD packet to send [08:39:22]OFD Sender: No OFD packet to send [08:39:27]OFD Sender: No OFD packet to send [08:39:32]OFD Sender: No OFD packet to send [08:39:37]OFD Sender: No OFD packet to send [08:39:42]OFD Sender: No OFD packet to send [08:39:47]OFD Sender: No OFD packet to send [08:39:52]OFD Sender: No OFD packet to send [08:39:57]OFD Sender: No OFD packet to send [08:40:02]OFD Sender: No OFD packet to send [08:40:07]OFD Sender: No OFD packet to send [08:40:12]OFD Sender: No OFD packet to send [08:40:17]OFD Sender: No OFD packet to send [08:40:22]OFD Sender: No OFD packet to send [08:40:27]OFD Sender: No OFD packet to send [08:40:32]OFD Sender: No OFD packet to send [08:40:37]OFD Sender: No OFD packet to send [08:40:42]OFD Sender: No OFD packet to send [08:40:47]OFD Sender: No OFD packet to send [08:40:52]OFD Sender: No OFD packet to send [08:40:57]accept exits with 9 [08:40:57]New connection [08:40:57]New thread 3066871140 created [08:40:57]Thread 3067014500 joined [08:40:57]Waiting for new connection... [08:40:57] Sock 9.Parse request [08:40:57]Sock 9.Check first char [08:40:57]Sock 9.First char is OK [08:40:57]request: POST /json_proto HTTP/1.0 [08:40:57]Method: POST [08:40:57]URL: /json_proto [08:40:57]Method is POST - this is cgi request [08:40:57]url: /json_proto [08:40:57]query_string will be loaded in cgi processing [08:40:57]execute_cgi json_proto POST (null) [08:40:57]execute_cgi path=json_proto method=POST [08:40:57]POST find Content-Length [08:40:57]Host: 172.17.35.3:8080 [08:40:57]Content-Length: 687 [08:40:57]Content-Type: application/json [08:40:57] [08:40:57]POST finish read [08:40:57]Found Content-Length = 687 [08:40:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359540", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:57]execute_script... [08:40: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 : (1)359540", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:40:57]POST & json_proto [08:40:57]process_json_proto [08:40:57]json parsed OK: [08:40:57]protocol is kg_v1.0 [08:40:57]action value=close_receipt [08:40:57]process_action close_receipt [08:40:57]cmd_close_receipt [08:40:57]MH_GetDate [08:40:57]Write to MH i2c: F0 00 00 3A 36 5F [08:40:57]Write i2c OK [08:40:57]MH_I2C_Read... [08:40:57]Read from MH i2c: F0 [08:40:57]MH_I2C_Read... [08:40:57]Read from MH i2c: F0 09 00 [08:40:57]MH_I2C_Read... [08:40:57]Read from MH i2c: F0 09 00 3A 36 00 A7 AD 13 66 2B 11 66 64 3B [08:40:57]GetLastDocTimeStamp 1712565038 [08:40:57]current date 1712565671 [08:40:57]FM_GetShiftState [08:40:57]SAM_PROTO_GetShiftState [08:40:57]wFMCommunicate request_size=4 [08:40:57]MH_SAM_APDU [08:40:57]CAPDU: 80 13 01 00 [08:40:57]Write to MH i2c: E2 08 00 3B 36 80 13 01 00 00 00 00 00 EE [08:40:57]Write i2c OK [08:40:57]MH_I2C_Read... [08:40:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:57]Read from MH i2c: E2 [08:40:57]MH_I2C_Read... [08:40:57]Read from MH i2c: E2 0E 00 [08:40:57]MH_I2C_Read... [08:40:57]Read from MH i2c: E2 0E 00 3B 36 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7B [08:40:57]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:40:57]wFMCommunicate OK [08:40:57]SAM_PROTO_GetShiftState done [08:40:57]FM_GetShiftState done [08:40:57]opened in 1712536270 [08:40:57]opened+sec_in_day 1712622670 [08:40:57]quantity*price = 100017 [08:40:57]sum+1 = 100018 [08:40:57]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 11 08.04.2024 08:41 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26798 ФПД: 122848281319907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084111&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26798&fm=122848281319907&tin=02508201610067®Number=0000000000091578&sum=100000 [08:40:58]StoreToDocumentArchive [08:40:58]shift 314 fd 26798 [08:40:58]save to /storage/0314/doc_00026798 [08:40:58]save last doc name /storage/0314/doc_00026798 to /storage/kkm_last_doc_name [08:40:58]save OK [08:40:58]Clear old archive folders... [08:40:58]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:40:58]tlvbuf is 00E93060 [08:40:58]SAM_PROTO_ClearQueue [08:40:58]wFMCommunicate request_size=4 [08:40:58]MH_SAM_APDU [08:40:58]CAPDU: 80 09 00 00 [08:40:58]Write to MH i2c: E2 08 00 48 36 80 09 00 00 00 00 00 00 F0 [08:40:58]Write i2c OK [08:40:58]MH_I2C_Read... [08:40:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:58]Read from MH i2c: E2 [08:40:58]MH_I2C_Read... [08:40:58]Read from MH i2c: E2 03 00 [08:40:58]MH_I2C_Read... [08:40:58]Read from MH i2c: E2 03 00 48 36 00 90 00 F2 [08:40:58]RAPDU: 90 00 [08:40:58]wFMCommunicate OK [08:40:58]SAM_PROTO_ClearQueue done [08:40:58]KKMCreateOFDPacket [08:40:58]OFDProtocolAddRootSTLVToBuf [08:40:58]FM_MakeSignedData [08:40:58]FM_MakeSignedData [08:40:58]SAM_PROTO_SignData [08:40:58]wFMCommunicate request_size=4 [08:40:58]MH_SAM_APDU [08:40:58]CAPDU: 80 0D 01 02 [08:40:58]Write to MH i2c: E2 08 00 49 36 80 0D 01 02 00 00 00 00 F8 [08:40:58]Write i2c OK [08:40:58]MH_I2C_Read... [08:40:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:58]Read from MH i2c: E2 [08:40:58]MH_I2C_Read... [08:40:58]Read from MH i2c: E2 03 00 [08:40:58]MH_I2C_Read... [08:40:58]Read from MH i2c: E2 03 00 49 36 00 90 00 F3 [08:40:58]RAPDU: 90 00 [08:40:58]wFMCommunicate OK [08:40:58]wFMCommunicate request_size=255 [08:40:58]MH_SAM_APDU [08:40:58]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AE 68 00 00 35 04 06 00 [08:40:58]Write to MH i2c: E2 02 01 4A 36 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AE 68 00 00 35 04 06 00 00 00 DC [08:40:58]Write i2c OK [08:40:58]MH_I2C_Read... [08:40:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:59]Read from MH i2c: E2 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 03 00 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 03 00 4A 36 00 90 00 F4 [08:40:59]RAPDU: 90 00 [08:40:59]wFMCommunicate OK [08:40:59]wFMCommunicate request_size=11 [08:40:59]MH_SAM_APDU [08:40:59]CAPDU: 80 0D 02 02 06 6F BA D8 2B 59 E3 [08:40:59]Write to MH i2c: E2 0E 00 4B 36 80 0D 02 02 06 00 6F BA D8 2B 59 E3 00 00 6F [08:40:59]Write i2c OK [08:40:59]MH_I2C_Read... [08:40:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:59]Read from MH i2c: E2 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 03 00 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 03 00 4B 36 00 90 00 F5 [08:40:59]RAPDU: 90 00 [08:40:59]wFMCommunicate OK [08:40:59]wFMCommunicate request_size=4 [08:40:59]MH_SAM_APDU [08:40:59]CAPDU: 80 0D 03 02 [08:40:59]Write to MH i2c: E2 08 00 4C 36 80 0D 03 02 00 00 00 00 FD [08:40:59]Write i2c OK [08:40:59]MH_I2C_Read... [08:40:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:59]Read from MH i2c: E2 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 0B 00 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 0B 00 4C 36 00 81 2E F8 08 F9 64 13 60 90 00 7D [08:40:59]RAPDU: 81 2E F8 08 F9 64 13 60 90 00 [08:40:59]wFMCommunicate OK [08:40:59]SAM_PROTO_SignData done [08:40:59]FM_MakeSignedData done [08:40:59]CreateOFDProtocolMessage [08:40:59]wFMCommunicate request_size=4 [08:40:59]MH_SAM_APDU [08:40:59]CAPDU: 80 11 00 00 [08:40:59]Write to MH i2c: E2 08 00 4D 36 80 11 00 00 00 00 00 00 FD [08:40:59]Write i2c OK [08:40:59]MH_I2C_Read... [08:40:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:59]Read from MH i2c: E2 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 17 00 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: E2 17 00 4D 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 55 [08:40:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:40:59]wFMCommunicate OK [08:40:59]CreateOFDProtocolMessage done [08:40:59]OFDSenderStorePacket 26798 [08:40:59]StoreOFDPacket docnum=26798 [08:40:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 FB 03 08 01 DF F1 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AE 68 00 00 35 04 06 00 6F BA D8 2B 59 E3 81 2E F8 08 F9 64 13 60 [08:40:59]CheckFolder [08:40:59]dirname=/storage/ofd_packets [08:40:59]CheckFolder done [08:40:59]ProducePacketName [08:40:59]name=ofd_packets/00026798 [08:40:59]NVStorageSaveData ofd_packets/00026798 [08:40:59]File name is /storage/ofd_packets/00026798 [08:40:59]Write 302 bytes [08:40:59]NVStorageSaveData done [08:40:59]OFDSenderStorePacket done [08:40:59]KKMCreateOFDPacket done [08:40:59]NVStorageSaveData kkm_last_timestamp [08:40:59]File name is /storage/kkm_last_timestamp [08:40:59]Write 4 bytes [08:40:59]NVStorageSaveData done [08:40:59]ExternCall_PrintAddStr [08:40:59]wPrintStart [08:40:59]Write to MH i2c: 01 00 00 4E 36 84 [08:40:59]Write i2c OK [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: 01 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: 01 07 00 [08:40:59]MH_I2C_Read... [08:40:59]Read from MH i2c: 01 07 00 4E 36 00 00 00 00 00 FF 0F 99 [08:40:59]RasterBufferAndPrint [08:40:59]line Счет N : (1)359540 [08:40:59]line ИÐÐ: 02508201610067 [08:40:59]line Контрольно-КаÑÑовый Чек [08:40:59]line ПРОДÐЖР[08:40:59]line ТРК (МРК, ГÐК) : 21 [08:40:59]line Товар: 2710194210 [08:40:59]line ДТ(л)-К-5 [08:40:59]line 13.930 * 71.80 [08:40:59]line = 1000.17 [08:40:59]line ÐДС 12% ÐСП 1% [08:40:59]line > о реализуемом товаре [08:40:59]line ОКРУГЛЕÐИЕ: -0.17 [08:40:59]line ИТОГО: 1000.00 [08:40:59]line ВнеÑено: 1000.00 [08:40:59]line СДÐЧÐ: 0.00 [08:40:59]line ÐСП 1% : 8.85 [08:40:59]line ÐДС 12% : 106.21 [08:40:59]line Ðаличными: 1000.00 [08:40:59]line Безнал.: 0.00 [08:40:59]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:40:59]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:40:59]line СÐО: Общий режим [08:40:59]line Чек 11 08.04.2024 08:41 [08:40:59]line Смена: 314 ФФД: 1.0 [08:40:59]line ЗÐМ: 0300000147 [08:40:59]line РÐМ: 0000000000091578 [08:40:59]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:40:59]line ФМ: 0000000000874657 [08:40:59]line ФД: 26798 [08:40:59]line ФПД: 122848281319907 [08:40:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084111&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26798&fm=122848281319907&tin=02508201610067®Number=0000000000091578&sum=100000 [08:40:59]OFD Sender: Processing packet 26798 [packets to send 44, broken 43] [08:40:59]ProducePacketName [08:40:59]name=ofd_packets/00026798 [08:40:59]OFD Sender: To server: ‡•öpG, [08:40:59]CommunicateWithHost lk.salyk.kg:30040 [08:40:59]ConnectInit lk.salyk.kg [08:40:59]written 0, free lines is 4095 [08:40:59]Connected sock=10 [08:40:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 FB 03 08 01 DF F1 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 A7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AE 68 00 00 35 04 06 00 6F BA D8 2B 59 E3 81 2E F8 08 F9 64 13 60 [08:40:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 E4 E1 47 00 E0 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AE 68 00 00 F4 03 04 00 11 55 13 66 B6 04 01 00 00 C1 F2 27 30 2E 14 86 6B [08:40:59]CommunicateWithHost err = 0 [08:40:59]CheckOFDResponse [08:40:59]1017 (14) - 77093643461234 [08:40:59]1041 (16) - 0000000000874657 [08:40:59]1040 (4) - 26798 [08:40:59]1012 (4) - 08.04.2024 02:23 [08:40:59]1206 (1) - 0 [08:40:59]OFD Sender: Remove packet 26798 [08:40:59]ProducePacketName [08:40:59]name=ofd_packets/00026798 [08:40:59]NVStorageDeleteData [08:41:00]Write to MH i2c: 01 00 00 79 36 AF [08:41:00]Write i2c OK [08:41:00]MH_I2C_Read... [08:41:00]Read from MH i2c: 01 [08:41:00]MH_I2C_Read... [08:41:00]Read from MH i2c: 01 07 00 [08:41:00]MH_I2C_Read... [08:41:00]Read from MH i2c: 01 07 00 79 36 00 00 00 00 00 6E 0C 30 [08:41:00]RasterBufferAndPrint [08:41:00]line [08:41:00]line [08:41:00]line [08:41:00]line [08:41:00]line [08:41:00]written 0, free lines is 3186 [08:41:00]MH_Cut [08:41:00]Write to MH i2c: D1 01 00 80 36 01 88 [08:41:00]Write i2c OK [08:41:00]MH_I2C_Read... [08:41:00]Read from MH i2c: D1 [08:41:00]MH_I2C_Read... [08:41:00]Read from MH i2c: D1 01 00 [08:41:00]MH_I2C_Read... [08:41:00]Read from MH i2c: D1 01 00 80 36 00 87 [08:41:00]Write to MH i2c: 01 00 00 81 36 B7 [08:41:00]Write i2c OK [08:41:00]MH_I2C_Read... [08:41:00]OFD Sender: No OFD packet to send [08:41:01]*** Cut start [08:41:01]*** Partial cut [08:41:01]*** CUTSNS_PIN = 1 [08:41:01]*** CUTSNS_PIN = 0 [08:41:01]*** Brake cut motor [08:41:01]Read from MH i2c: 01 [08:41:01]MH_I2C_Read... [08:41:01]*** Stop cut motor [08:41:01]*** Cut end [08:41:01]Read from MH i2c: 01 07 00 [08:41:01]MH_I2C_Read... [08:41:01]Read from MH i2c: 01 07 00 81 36 00 00 00 00 00 FF 0F CC [08:41:01]process_action close_receipt done [08:41:01]requested_data is exist [08:41:01]produce_requested_data [08:41:01]requested_item fm.sn is exist - process it [08:41:01]wFMCommunicate request_size=4 [08:41:01]MH_SAM_APDU [08:41:01]CAPDU: 80 11 00 00 [08:41:01]Write to MH i2c: E2 08 00 82 36 80 11 00 00 00 00 00 00 32 [08:41:01]Write i2c OK [08:41:01]MH_I2C_Read... [08:41:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:02]Read from MH i2c: E2 [08:41:02]MH_I2C_Read... [08:41:02]Read from MH i2c: E2 17 00 [08:41:02]MH_I2C_Read... [08:41:02]Read from MH i2c: E2 17 00 82 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8A [08:41:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:41:02]wFMCommunicate OK [08:41:02]requested_item fd.num is exist - process it [08:41:02]SAM_PROTO_GetFieldsCounters [08:41:02]wFMCommunicate request_size=4 [08:41:02]MH_SAM_APDU [08:41:02]CAPDU: 80 13 00 00 [08:41:02]Write to MH i2c: E2 08 00 83 36 80 13 00 00 00 00 00 00 35 [08:41:02]Write i2c OK [08:41:02]MH_I2C_Read... [08:41:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:41:02]Read from MH i2c: E2 [08:41:02]MH_I2C_Read... [08:41:02]Read from MH i2c: E2 62 00 [08:41:02]MH_I2C_Read... [08:41:02]Read from MH i2c: E2 62 00 83 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 D2 [08:41:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:41:02]wFMCommunicate OK [08:41:02]SAM_PROTO_GetFieldsCounters done [08:41:02]requested_item shift.num is exist - process it [08:41:02]requested_item shift.opened is exist - process it [08:41:02]req_shift_opened [08:41:02]FM_GetShiftState [08:41:02]SAM_PROTO_GetShiftState [08:41:02]wFMCommunicate request_size=4 [08:41:02]MH_SAM_APDU [08:41:02]CAPDU: 80 13 01 00 [08:41:02]Write to MH i2c: E2 08 00 84 36 80 13 01 00 00 00 00 00 37 [08:41:02]Write i2c OK [08:41:02]MH_I2C_Read... [08:41:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:02]Read from MH i2c: E2 [08:41:02]MH_I2C_Read... [08:41:02]Read from MH i2c: E2 0E 00 [08:41:02]MH_I2C_Read... [08:41:02]Read from MH i2c: E2 0E 00 84 36 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C4 [08:41:02]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:41:02]wFMCommunicate OK [08:41:02]SAM_PROTO_GetShiftState done [08:41:02]FM_GetShiftState done [08:41:02]req_shift_opened done [08:41:02]requested_item shift.open_date is exist - process it [08:41:02]req_shift_open_date [08:41:02]req_shift_open_date done [08:41:02]produce_requested_data done [08:41:02]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26798,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:41:02]process_action_free close_receipt [08:41:02]json_value_free [08:41:02]json_value_free done [08:41:02]process_json_proto returns [08:41:02]Send response to host [08:41:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26798,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:41:02]free response buf [08:41:02]execute_script done [08:41:02]execute_script returns [08:41:02]free content buf [08:41:02]Sock 9.Close socket [08:41:02]Sock 9.Thread stoped [08:41:05]OFD Sender: No OFD packet to send [08:41:10]OFD Sender: No OFD packet to send [08:41:15]OFD Sender: No OFD packet to send [08:41:20]OFD Sender: No OFD packet to send [08:41:25]OFD Sender: No OFD packet to send [08:41:30]OFD Sender: No OFD packet to send [08:41:35]OFD Sender: No OFD packet to send [08:41:40]OFD Sender: No OFD packet to send [08:41:45]OFD Sender: No OFD packet to send [08:41:50]OFD Sender: No OFD packet to send [08:41:55]OFD Sender: No OFD packet to send [08:42:00]OFD Sender: No OFD packet to send [08:42:05]OFD Sender: No OFD packet to send [08:42:10]OFD Sender: No OFD packet to send [08:42:15]OFD Sender: No OFD packet to send [08:42:17]accept exits with 8 [08:42:17]New connection [08:42:17]New thread 3067014500 created [08:42:17]Thread 3066871140 joined [08:42:17]Waiting for new connection... [08:42:17] Sock 8.Parse request [08:42:17]Sock 8.Check first char [08:42:17]Sock 8.First char is OK [08:42:17]request: POST /json_proto HTTP/1.0 [08:42:17]Method: POST [08:42:17]URL: /json_proto [08:42:17]Method is POST - this is cgi request [08:42:17]url: /json_proto [08:42:17]query_string will be loaded in cgi processing [08:42:17]execute_cgi json_proto POST (null) [08:42:17]execute_cgi path=json_proto method=POST [08:42:17]POST find Content-Length [08:42:17]Host: 172.17.35.3:8080 [08:42:17]Content-Length: 677 [08:42:17]Content-Type: application/json [08:42:17] [08:42:17]POST finish read [08:42:17]Found Content-Length = 677 [08:42:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359541", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:17]execute_script... [08:42:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359541", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 500.00, "total" : 500.00, "payments": [ { "type": 0, "sum" : 500.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:42:17]POST & json_proto [08:42:17]process_json_proto [08:42:17]json parsed OK: [08:42:17]protocol is kg_v1.0 [08:42:17]action value=close_receipt [08:42:17]process_action close_receipt [08:42:17]cmd_close_receipt [08:42:17]MH_GetDate [08:42:17]Write to MH i2c: F0 00 00 85 36 AA [08:42:17]Write i2c OK [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: F0 [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: F0 09 00 [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: F0 09 00 85 36 00 F7 AD 13 66 2B 11 66 64 D6 [08:42:17]GetLastDocTimeStamp 1712565671 [08:42:17]current date 1712565751 [08:42:17]FM_GetShiftState [08:42:17]SAM_PROTO_GetShiftState [08:42:17]wFMCommunicate request_size=4 [08:42:17]MH_SAM_APDU [08:42:17]CAPDU: 80 13 01 00 [08:42:17]Write to MH i2c: E2 08 00 86 36 80 13 01 00 00 00 00 00 39 [08:42:17]Write i2c OK [08:42:17]MH_I2C_Read... [08:42:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:17]Read from MH i2c: E2 [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: E2 0E 00 [08:42:17]MH_I2C_Read... [08:42:17]Read from MH i2c: E2 0E 00 86 36 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C6 [08:42:17]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:42:17]wFMCommunicate OK [08:42:17]SAM_PROTO_GetShiftState done [08:42:17]FM_GetShiftState done [08:42:17]opened in 1712536270 [08:42:17]opened+sec_in_day 1712622670 [08:42:17]quantity*price = 50022 [08:42:17]sum+1 = 50024 [08:42:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 12 08.04.2024 08:42 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26799 ФПД: 99193770133214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084231&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26799&fm=99193770133214&tin=02508201610067®Number=0000000000091578&sum=50000 [08:42:18]StoreToDocumentArchive [08:42:18]shift 314 fd 26799 [08:42:18]save to /storage/0314/doc_00026799 [08:42:18]save last doc name /storage/0314/doc_00026799 to /storage/kkm_last_doc_name [08:42:18]save OK [08:42:18]Clear old archive folders... [08:42:18]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:42:18]tlvbuf is 00E33390 [08:42:18]SAM_PROTO_ClearQueue [08:42:18]wFMCommunicate request_size=4 [08:42:18]MH_SAM_APDU [08:42:18]CAPDU: 80 09 00 00 [08:42:18]Write to MH i2c: E2 08 00 93 36 80 09 00 00 00 00 00 00 3B [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 93 36 00 90 00 3D [08:42:18]RAPDU: 90 00 [08:42:18]wFMCommunicate OK [08:42:18]SAM_PROTO_ClearQueue done [08:42:18]KKMCreateOFDPacket [08:42:18]OFDProtocolAddRootSTLVToBuf [08:42:18]FM_MakeSignedData [08:42:18]FM_MakeSignedData [08:42:18]SAM_PROTO_SignData [08:42:18]wFMCommunicate request_size=4 [08:42:18]MH_SAM_APDU [08:42:18]CAPDU: 80 0D 01 02 [08:42:18]Write to MH i2c: E2 08 00 94 36 80 0D 01 02 00 00 00 00 43 [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:42:18]Read from MH i2c: E2 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 [08:42:18]MH_I2C_Read... [08:42:18]Read from MH i2c: E2 03 00 94 36 00 90 00 3E [08:42:18]RAPDU: 90 00 [08:42:18]wFMCommunicate OK [08:42:18]wFMCommunicate request_size=255 [08:42:18]MH_SAM_APDU [08:42:18]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 0C 00 00 00 F4 03 04 00 F7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AF 68 00 00 35 04 06 00 5A [08:42:18]Write to MH i2c: E2 02 01 95 36 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 0C 00 00 00 F4 03 04 00 F7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AF 68 00 00 35 04 06 00 5A 00 00 D8 [08:42:18]Write i2c OK [08:42:18]MH_I2C_Read... [08:42:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:19]Read from MH i2c: E2 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 03 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 03 00 95 36 00 90 00 3F [08:42:19]RAPDU: 90 00 [08:42:19]wFMCommunicate OK [08:42:19]wFMCommunicate request_size=10 [08:42:19]MH_SAM_APDU [08:42:19]CAPDU: 80 0D 02 02 05 37 59 6E C6 DE [08:42:19]Write to MH i2c: E2 0D 00 96 36 80 0D 02 02 05 00 37 59 6E C6 DE 00 00 F2 [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:42:19]Read from MH i2c: E2 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 03 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 03 00 96 36 00 90 00 40 [08:42:19]RAPDU: 90 00 [08:42:19]wFMCommunicate OK [08:42:19]wFMCommunicate request_size=4 [08:42:19]MH_SAM_APDU [08:42:19]CAPDU: 80 0D 03 02 [08:42:19]Write to MH i2c: E2 08 00 97 36 80 0D 03 02 00 00 00 00 48 [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:42:19]Read from MH i2c: E2 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 0B 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 0B 00 97 36 00 38 69 0B 12 EF E9 BD 0C 90 00 A8 [08:42:19]RAPDU: 38 69 0B 12 EF E9 BD 0C 90 00 [08:42:19]wFMCommunicate OK [08:42:19]SAM_PROTO_SignData done [08:42:19]FM_MakeSignedData done [08:42:19]CreateOFDProtocolMessage [08:42:19]wFMCommunicate request_size=4 [08:42:19]MH_SAM_APDU [08:42:19]CAPDU: 80 11 00 00 [08:42:19]Write to MH i2c: E2 08 00 98 36 80 11 00 00 00 00 00 00 48 [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:19]Read from MH i2c: E2 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 17 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: E2 17 00 98 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A0 [08:42:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:42:19]wFMCommunicate OK [08:42:19]CreateOFDProtocolMessage done [08:42:19]OFDSenderStorePacket 26799 [08:42:19]StoreOFDPacket docnum=26799 [08:42:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 91 1F 07 01 1A E8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 0C 00 00 00 F4 03 04 00 F7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AF 68 00 00 35 04 06 00 5A 37 59 6E C6 DE 38 69 0B 12 EF E9 BD 0C [08:42:19]CheckFolder [08:42:19]dirname=/storage/ofd_packets [08:42:19]CheckFolder done [08:42:19]ProducePacketName [08:42:19]name=ofd_packets/00026799 [08:42:19]NVStorageSaveData ofd_packets/00026799 [08:42:19]File name is /storage/ofd_packets/00026799 [08:42:19]Write 301 bytes [08:42:19]NVStorageSaveData done [08:42:19]OFDSenderStorePacket done [08:42:19]KKMCreateOFDPacket done [08:42:19]NVStorageSaveData kkm_last_timestamp [08:42:19]File name is /storage/kkm_last_timestamp [08:42:19]Write 4 bytes [08:42:19]NVStorageSaveData done [08:42:19]ExternCall_PrintAddStr [08:42:19]wPrintStart [08:42:19]Write to MH i2c: 01 00 00 99 36 CF [08:42:19]Write i2c OK [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: 01 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: 01 07 00 [08:42:19]MH_I2C_Read... [08:42:19]Read from MH i2c: 01 07 00 99 36 00 00 00 00 00 FF 0F E4 [08:42:19]RasterBufferAndPrint [08:42:19]line Счет N : (1)359541 [08:42:19]line ИÐÐ: 02508201610067 [08:42:19]line Контрольно-КаÑÑовый Чек [08:42:19]line ПРОДÐЖР[08:42:19]line ТРК (МРК, ГÐК) : 51 [08:42:19]line Товар: 2710124130 [08:42:19]line Ðи-92-К-5 [08:42:19]line 7.890 * 63.40 [08:42:19]line = 500.23 [08:42:19]line ÐДС 12% ÐСП 1% [08:42:19]line > о реализуемом товаре [08:42:19]line ОКРУГЛЕÐИЕ: -0.23 [08:42:19]line ИТОГО: 500.00 [08:42:19]line ВнеÑено: 500.00 [08:42:19]line СДÐЧÐ: 0.00 [08:42:19]line ÐСП 1% : 4.43 [08:42:19]line ÐДС 12% : 53.12 [08:42:19]line Ðаличными: 500.00 [08:42:19]line Безнал.: 0.00 [08:42:19]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:42:19]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:42:19]line СÐО: Общий режим [08:42:19]line Чек 12 08.04.2024 08:42 [08:42:19]line Смена: 314 ФФД: 1.0 [08:42:19]line ЗÐМ: 0300000147 [08:42:19]line РÐМ: 0000000000091578 [08:42:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:42:19]line ФМ: 0000000000874657 [08:42:19]line ФД: 26799 [08:42:19]line ФПД: 99193770133214 [08:42:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084231&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26799&fm=99193770133214&tin=02508201610067®Number=0000000000091578&sum=50000 [08:42:19]OFD Sender: Processing packet 26799 [packets to send 44, broken 43] [08:42:19]ProducePacketName [08:42:19]name=ofd_packets/00026799 [08:42:19]OFD Sender: To server: ‡•öpG, [08:42:19]CommunicateWithHost lk.salyk.kg:30040 [08:42:19]ConnectInit lk.salyk.kg [08:42:19]written 0, free lines is 4095 [08:42:19]Connected sock=10 [08:42:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 91 1F 07 01 1A E8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 0C 00 00 00 F4 03 04 00 F7 AD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AF 68 00 00 35 04 06 00 5A 37 59 6E C6 DE 38 69 0B 12 EF E9 BD 0C [08:42:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 7F F8 47 00 84 9E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 AF 68 00 00 F4 03 04 00 61 55 13 66 B6 04 01 00 00 B6 42 37 D0 50 7F 1E AF [08:42:19]CommunicateWithHost err = 0 [08:42:19]CheckOFDResponse [08:42:19]1017 (14) - 77093643461234 [08:42:19]1041 (16) - 0000000000874657 [08:42:19]1040 (4) - 26799 [08:42:19]1012 (4) - 08.04.2024 02:24 [08:42:19]1206 (1) - 0 [08:42:19]OFD Sender: Remove packet 26799 [08:42:19]ProducePacketName [08:42:19]name=ofd_packets/00026799 [08:42:19]NVStorageDeleteData [08:42:20]Write to MH i2c: 01 00 00 C4 36 FA [08:42:20]Write i2c OK [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: 01 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: 01 07 00 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: 01 07 00 C4 36 00 00 00 00 00 70 0C 7D [08:42:20]RasterBufferAndPrint [08:42:20]line [08:42:20]line [08:42:20]line [08:42:20]line [08:42:20]line [08:42:20]written 0, free lines is 3187 [08:42:20]MH_Cut [08:42:20]Write to MH i2c: D1 01 00 CB 36 01 D3 [08:42:20]Write i2c OK [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: D1 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: D1 01 00 [08:42:20]MH_I2C_Read... [08:42:20]Read from MH i2c: D1 01 00 CB 36 00 D2 [08:42:20]Write to MH i2c: 01 00 00 CC 36 02 [08:42:20]Write i2c OK [08:42:20]MH_I2C_Read... [08:42:20]OFD Sender: No OFD packet to send [08:42:21]*** Cut start [08:42:21]*** Partial cut [08:42:21]*** CUTSNS_PIN = 1 [08:42:21]*** CUTSNS_PIN = 0 [08:42:21]*** Brake cut motor [08:42:21]Read from MH i2c: 01 [08:42:21]MH_I2C_Read... [08:42:21]*** Stop cut motor [08:42:21]*** Cut end [08:42:21]Read from MH i2c: 01 07 00 [08:42:21]MH_I2C_Read... [08:42:21]Read from MH i2c: 01 07 00 CC 36 00 00 00 00 00 FF 0F 17 [08:42:21]process_action close_receipt done [08:42:21]requested_data is exist [08:42:21]produce_requested_data [08:42:21]requested_item fm.sn is exist - process it [08:42:21]wFMCommunicate request_size=4 [08:42:21]MH_SAM_APDU [08:42:21]CAPDU: 80 11 00 00 [08:42:21]Write to MH i2c: E2 08 00 CD 36 80 11 00 00 00 00 00 00 7D [08:42:21]Write i2c OK [08:42:21]MH_I2C_Read... [08:42:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:42:21]Read from MH i2c: E2 [08:42:21]MH_I2C_Read... [08:42:21]Read from MH i2c: E2 17 00 [08:42:21]MH_I2C_Read... [08:42:21]Read from MH i2c: E2 17 00 CD 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D5 [08:42:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:42:21]wFMCommunicate OK [08:42:21]requested_item fd.num is exist - process it [08:42:21]SAM_PROTO_GetFieldsCounters [08:42:21]wFMCommunicate request_size=4 [08:42:21]MH_SAM_APDU [08:42:21]CAPDU: 80 13 00 00 [08:42:21]Write to MH i2c: E2 08 00 CE 36 80 13 00 00 00 00 00 00 80 [08:42:21]Write i2c OK [08:42:21]MH_I2C_Read... [08:42:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:42:22]Read from MH i2c: E2 [08:42:22]MH_I2C_Read... [08:42:22]Read from MH i2c: E2 62 00 [08:42:22]MH_I2C_Read... [08:42:22]Read from MH i2c: E2 62 00 CE 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 21 [08:42:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 AF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:42:22]wFMCommunicate OK [08:42:22]SAM_PROTO_GetFieldsCounters done [08:42:22]requested_item shift.num is exist - process it [08:42:22]requested_item shift.opened is exist - process it [08:42:22]req_shift_opened [08:42:22]FM_GetShiftState [08:42:22]SAM_PROTO_GetShiftState [08:42:22]wFMCommunicate request_size=4 [08:42:22]MH_SAM_APDU [08:42:22]CAPDU: 80 13 01 00 [08:42:22]Write to MH i2c: E2 08 00 CF 36 80 13 01 00 00 00 00 00 82 [08:42:22]Write i2c OK [08:42:22]MH_I2C_Read... [08:42:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:42:22]Read from MH i2c: E2 [08:42:22]MH_I2C_Read... [08:42:22]Read from MH i2c: E2 0E 00 [08:42:22]MH_I2C_Read... [08:42:22]Read from MH i2c: E2 0E 00 CF 36 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0F [08:42:22]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:42:22]wFMCommunicate OK [08:42:22]SAM_PROTO_GetShiftState done [08:42:22]FM_GetShiftState done [08:42:22]req_shift_opened done [08:42:22]requested_item shift.open_date is exist - process it [08:42:22]req_shift_open_date [08:42:22]req_shift_open_date done [08:42:22]produce_requested_data done [08:42:22]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26799,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:42:22]process_action_free close_receipt [08:42:22]json_value_free [08:42:22]json_value_free done [08:42:22]process_json_proto returns [08:42:22]Send response to host [08:42:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26799,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:42:22]free response buf [08:42:22]execute_script done [08:42:22]execute_script returns [08:42:22]free content buf [08:42:22]Sock 8.Close socket [08:42:22]Sock 8.Thread stoped [08:42:25]OFD Sender: No OFD packet to send [08:42:30]OFD Sender: No OFD packet to send [08:42:35]OFD Sender: No OFD packet to send [08:42:40]OFD Sender: No OFD packet to send [08:42:45]OFD Sender: No OFD packet to send [08:42:50]OFD Sender: No OFD packet to send [08:42:55]OFD Sender: No OFD packet to send [08:43:00]OFD Sender: No OFD packet to send [08:43:05]OFD Sender: No OFD packet to send [08:43:10]OFD Sender: No OFD packet to send [08:43:15]OFD Sender: No OFD packet to send [08:43:20]OFD Sender: No OFD packet to send [08:43:25]OFD Sender: No OFD packet to send [08:43:30]OFD Sender: No OFD packet to send [08:43:35]OFD Sender: No OFD packet to send [08:43:40]OFD Sender: No OFD packet to send [08:43:45]OFD Sender: No OFD packet to send [08:43:50]OFD Sender: No OFD packet to send [08:43:55]OFD Sender: No OFD packet to send [08:44:00]OFD Sender: No OFD packet to send [08:44:05]OFD Sender: No OFD packet to send [08:44:10]OFD Sender: No OFD packet to send [08:44:15]OFD Sender: No OFD packet to send [08:44:20]OFD Sender: No OFD packet to send [08:44:25]OFD Sender: No OFD packet to send [08:44:26]accept exits with 9 [08:44:26]New connection [08:44:26]New thread 3066871140 created [08:44:26]Thread 3067014500 joined [08:44:26]Waiting for new connection... [08:44:26] Sock 9.Parse request [08:44:26]Sock 9.Check first char [08:44:26]Sock 9.First char is OK [08:44:26]request: POST /json_proto HTTP/1.0 [08:44:26]Method: POST [08:44:26]URL: /json_proto [08:44:26]Method is POST - this is cgi request [08:44:26]url: /json_proto [08:44:26]query_string will be loaded in cgi processing [08:44:26]execute_cgi json_proto POST (null) [08:44:26]execute_cgi path=json_proto method=POST [08:44:26]POST find Content-Length [08:44:26]Host: 172.17.35.3:8080 [08:44:26]Content-Length: 677 [08:44:26]Content-Type: application/json [08:44:26] [08:44:26]POST finish read [08:44:26]Found Content-Length = 677 [08:44:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359543", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "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" ] } } [08:44:26]execute_script... [08:44:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359543", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 6.310, "sum" : 400.05, "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" ] } } [08:44:26]POST & json_proto [08:44:26]process_json_proto [08:44:26]json parsed OK: [08:44:26]protocol is kg_v1.0 [08:44:26]action value=close_receipt [08:44:26]process_action close_receipt [08:44:26]cmd_close_receipt [08:44:26]MH_GetDate [08:44:26]Write to MH i2c: F0 00 00 D0 36 F5 [08:44:26]Write i2c OK [08:44:26]MH_I2C_Read... [08:44:26]Read from MH i2c: F0 [08:44:26]MH_I2C_Read... [08:44:26]Read from MH i2c: F0 09 00 [08:44:26]MH_I2C_Read... [08:44:26]Read from MH i2c: F0 09 00 D0 36 00 78 AE 13 66 2B 11 66 64 A3 [08:44:26]GetLastDocTimeStamp 1712565751 [08:44:26]current date 1712565880 [08:44:26]FM_GetShiftState [08:44:26]SAM_PROTO_GetShiftState [08:44:26]wFMCommunicate request_size=4 [08:44:26]MH_SAM_APDU [08:44:26]CAPDU: 80 13 01 00 [08:44:26]Write to MH i2c: E2 08 00 D1 36 80 13 01 00 00 00 00 00 84 [08:44:26]Write i2c OK [08:44:26]MH_I2C_Read... [08:44:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:26]Read from MH i2c: E2 [08:44:26]MH_I2C_Read... [08:44:26]Read from MH i2c: E2 0E 00 [08:44:26]MH_I2C_Read... [08:44:26]Read from MH i2c: E2 0E 00 D1 36 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 11 [08:44:26]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:44:26]wFMCommunicate OK [08:44:26]SAM_PROTO_GetShiftState done [08:44:26]FM_GetShiftState done [08:44:26]opened in 1712536270 [08:44:26]opened+sec_in_day 1712622670 [08:44:26]quantity*price = 40005 [08:44:26]sum+1 = 40006 [08:44:26]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.05 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.48 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 13 08.04.2024 08:44 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26800 ФПД: 55842513458951 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084440&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26800&fm=55842513458951&tin=02508201610067®Number=0000000000091578&sum=40000 [08:44:27]StoreToDocumentArchive [08:44:27]shift 314 fd 26800 [08:44:27]save to /storage/0314/doc_00026800 [08:44:27]save last doc name /storage/0314/doc_00026800 to /storage/kkm_last_doc_name [08:44:27]save OK [08:44:27]Clear old archive folders... [08:44:27]ProcessDocumentItem done err = 0, tmpTLVsize=251 [08:44:27]tlvbuf is 00E54B80 [08:44:27]SAM_PROTO_ClearQueue [08:44:27]wFMCommunicate request_size=4 [08:44:27]MH_SAM_APDU [08:44:27]CAPDU: 80 09 00 00 [08:44:27]Write to MH i2c: E2 08 00 DE 36 80 09 00 00 00 00 00 00 86 [08:44:27]Write i2c OK [08:44:27]MH_I2C_Read... [08:44:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:44:27]Read from MH i2c: E2 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 DE 36 00 90 00 88 [08:44:27]RAPDU: 90 00 [08:44:27]wFMCommunicate OK [08:44:27]SAM_PROTO_ClearQueue done [08:44:27]KKMCreateOFDPacket [08:44:27]OFDProtocolAddRootSTLVToBuf [08:44:27]FM_MakeSignedData [08:44:27]FM_MakeSignedData [08:44:27]SAM_PROTO_SignData [08:44:27]wFMCommunicate request_size=4 [08:44:27]MH_SAM_APDU [08:44:27]CAPDU: 80 0D 01 02 [08:44:27]Write to MH i2c: E2 08 00 DF 36 80 0D 01 02 00 00 00 00 8E [08:44:27]Write i2c OK [08:44:27]MH_I2C_Read... [08:44:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:44:27]Read from MH i2c: E2 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 DF 36 00 90 00 89 [08:44:27]RAPDU: 90 00 [08:44:27]wFMCommunicate OK [08:44:27]wFMCommunicate request_size=255 [08:44:27]MH_SAM_APDU [08:44:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 0D 00 00 00 F4 03 04 00 78 AE 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B0 68 00 00 35 04 06 00 32 [08:44:27]Write to MH i2c: E2 02 01 E0 36 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 0D 00 00 00 F4 03 04 00 78 AE 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B0 68 00 00 35 04 06 00 32 00 00 11 [08:44:27]Write i2c OK [08:44:27]MH_I2C_Read... [08:44:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:27]Read from MH i2c: E2 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 E0 36 00 90 00 8A [08:44:27]RAPDU: 90 00 [08:44:27]wFMCommunicate OK [08:44:27]wFMCommunicate request_size=10 [08:44:27]MH_SAM_APDU [08:44:27]CAPDU: 80 0D 02 02 05 C9 D9 2D 97 07 [08:44:27]Write to MH i2c: E2 0D 00 E1 36 80 0D 02 02 05 00 C9 D9 2D 97 07 00 00 08 [08:44:27]Write i2c OK [08:44:27]MH_I2C_Read... [08:44:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:27]Read from MH i2c: E2 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 03 00 E1 36 00 90 00 8B [08:44:27]RAPDU: 90 00 [08:44:27]wFMCommunicate OK [08:44:27]wFMCommunicate request_size=4 [08:44:27]MH_SAM_APDU [08:44:27]CAPDU: 80 0D 03 02 [08:44:27]Write to MH i2c: E2 08 00 E2 36 80 0D 03 02 00 00 00 00 93 [08:44:27]Write i2c OK [08:44:27]MH_I2C_Read... [08:44:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:44:27]Read from MH i2c: E2 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 0B 00 [08:44:27]MH_I2C_Read... [08:44:27]Read from MH i2c: E2 0B 00 E2 36 00 BC 02 47 34 92 5F F8 41 90 00 F7 [08:44:27]RAPDU: BC 02 47 34 92 5F F8 41 90 00 [08:44:27]wFMCommunicate OK [08:44:27]SAM_PROTO_SignData done [08:44:27]FM_MakeSignedData done [08:44:27]CreateOFDProtocolMessage [08:44:27]wFMCommunicate request_size=4 [08:44:27]MH_SAM_APDU [08:44:27]CAPDU: 80 11 00 00 [08:44:27]Write to MH i2c: E2 08 00 E3 36 80 11 00 00 00 00 00 00 93 [08:44:27]Write i2c OK [08:44:27]MH_I2C_Read... [08:44:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:28]Read from MH i2c: E2 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: E2 17 00 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: E2 17 00 E3 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EB [08:44:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:44:28]wFMCommunicate OK [08:44:28]CreateOFDProtocolMessage done [08:44:28]OFDSenderStorePacket 26800 [08:44:28]StoreOFDPacket docnum=26800 [08:44:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 7A 7A 07 01 6D 67 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 0D 00 00 00 F4 03 04 00 78 AE 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B0 68 00 00 35 04 06 00 32 C9 D9 2D 97 07 BC 02 47 34 92 5F F8 41 [08:44:28]CheckFolder [08:44:28]dirname=/storage/ofd_packets [08:44:28]CheckFolder done [08:44:28]ProducePacketName [08:44:28]name=ofd_packets/00026800 [08:44:28]NVStorageSaveData ofd_packets/00026800 [08:44:28]File name is /storage/ofd_packets/00026800 [08:44:28]Write 301 bytes [08:44:28]NVStorageSaveData done [08:44:28]OFDSenderStorePacket done [08:44:28]KKMCreateOFDPacket done [08:44:28]NVStorageSaveData kkm_last_timestamp [08:44:28]File name is /storage/kkm_last_timestamp [08:44:28]Write 4 bytes [08:44:28]NVStorageSaveData done [08:44:28]ExternCall_PrintAddStr [08:44:28]wPrintStart [08:44:28]Write to MH i2c: 01 00 00 E4 36 1A [08:44:28]Write i2c OK [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: 01 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: 01 07 00 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: 01 07 00 E4 36 00 00 00 00 00 FF 0F 2F [08:44:28]RasterBufferAndPrint [08:44:28]line Счет N : (1)359543 [08:44:28]line ИÐÐ: 02508201610067 [08:44:28]line Контрольно-КаÑÑовый Чек [08:44:28]line ПРОДÐЖР[08:44:28]line ТРК (МРК, ГÐК) : 61 [08:44:28]line Товар: 2710124130 [08:44:28]line Ðи-92-К-5 [08:44:28]line 6.310 * 63.40 [08:44:28]line = 400.05 [08:44:28]line ÐДС 12% ÐСП 1% [08:44:28]line > о реализуемом товаре [08:44:28]line ОКРУГЛЕÐИЕ: -0.05 [08:44:28]line ИТОГО: 400.00 [08:44:28]line ВнеÑено: 400.00 [08:44:28]line СДÐЧÐ: 0.00 [08:44:28]line ÐСП 1% : 3.54 [08:44:28]line ÐДС 12% : 42.48 [08:44:28]line Ðаличными: 400.00 [08:44:28]line Безнал.: 0.00 [08:44:28]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:44:28]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:44:28]line СÐО: Общий режим [08:44:28]line Чек 13 08.04.2024 08:44 [08:44:28]line Смена: 314 ФФД: 1.0 [08:44:28]line ЗÐМ: 0300000147 [08:44:28]line РÐМ: 0000000000091578 [08:44:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:44:28]line ФМ: 0000000000874657 [08:44:28]line ФД: 26800 [08:44:28]line ФПД: 55842513458951 [08:44:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084440&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26800&fm=55842513458951&tin=02508201610067®Number=0000000000091578&sum=40000 [08:44:28]OFD Sender: Processing packet 26800 [packets to send 44, broken 43] [08:44:28]ProducePacketName [08:44:28]name=ofd_packets/00026800 [08:44:28]OFD Sender: To server: ‡•öpG, [08:44:28]CommunicateWithHost lk.salyk.kg:30040 [08:44:28]ConnectInit lk.salyk.kg [08:44:28]written 0, free lines is 4095 [08:44:28]Connected sock=10 [08:44:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 7A 7A 07 01 6D 67 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 A6 18 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 45 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 0D 00 00 00 F4 03 04 00 78 AE 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B0 68 00 00 35 04 06 00 32 C9 D9 2D 97 07 BC 02 47 34 92 5F F8 41 [08:44:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 24 B2 47 00 F8 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B0 68 00 00 F4 03 04 00 E2 55 13 66 B6 04 01 00 00 35 AA 99 19 01 54 FB 9F [08:44:28]CommunicateWithHost err = 0 [08:44:28]CheckOFDResponse [08:44:28]1017 (14) - 77093643461234 [08:44:28]1041 (16) - 0000000000874657 [08:44:28]1040 (4) - 26800 [08:44:28]1012 (4) - 08.04.2024 02:26 [08:44:28]1206 (1) - 0 [08:44:28]OFD Sender: Remove packet 26800 [08:44:28]ProducePacketName [08:44:28]name=ofd_packets/00026800 [08:44:28]NVStorageDeleteData [08:44:28]Write to MH i2c: 01 00 00 0F 37 46 [08:44:28]Write i2c OK [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: 01 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: 01 07 00 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: 01 07 00 0F 37 00 00 00 00 00 69 0C C2 [08:44:28]RasterBufferAndPrint [08:44:28]line [08:44:28]line [08:44:28]line [08:44:28]line [08:44:28]line [08:44:28]written 0, free lines is 3181 [08:44:28]MH_Cut [08:44:28]Write to MH i2c: D1 01 00 16 37 01 1F [08:44:28]Write i2c OK [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: D1 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: D1 01 00 [08:44:28]MH_I2C_Read... [08:44:28]Read from MH i2c: D1 01 00 16 37 00 1E [08:44:28]Write to MH i2c: 01 00 00 17 37 4E [08:44:28]Write i2c OK [08:44:28]MH_I2C_Read... [08:44:29]OFD Sender: No OFD packet to send [08:44:30]*** Cut start [08:44:30]*** Partial cut [08:44:30]*** CUTSNS_PIN = 1 [08:44:30]*** CUTSNS_PIN = 0 [08:44:30]*** Brake cut motor [08:44:30]Read from MH i2c: 01 [08:44:30]MH_I2C_Read... [08:44:30]*** Stop cut motor [08:44:30]*** Cut end [08:44:30]Read from MH i2c: 01 07 00 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: 01 07 00 17 37 00 00 00 00 00 FF 0F 63 [08:44:30]process_action close_receipt done [08:44:30]requested_data is exist [08:44:30]produce_requested_data [08:44:30]requested_item fm.sn is exist - process it [08:44:30]wFMCommunicate request_size=4 [08:44:30]MH_SAM_APDU [08:44:30]CAPDU: 80 11 00 00 [08:44:30]Write to MH i2c: E2 08 00 18 37 80 11 00 00 00 00 00 00 C9 [08:44:30]Write i2c OK [08:44:30]MH_I2C_Read... [08:44:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:30]Read from MH i2c: E2 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: E2 17 00 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: E2 17 00 18 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 21 [08:44:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:44:30]wFMCommunicate OK [08:44:30]requested_item fd.num is exist - process it [08:44:30]SAM_PROTO_GetFieldsCounters [08:44:30]wFMCommunicate request_size=4 [08:44:30]MH_SAM_APDU [08:44:30]CAPDU: 80 13 00 00 [08:44:30]Write to MH i2c: E2 08 00 19 37 80 13 00 00 00 00 00 00 CC [08:44:30]Write i2c OK [08:44:30]MH_I2C_Read... [08:44:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:44:30]Read from MH i2c: E2 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: E2 62 00 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: E2 62 00 19 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [08:44:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:44:30]wFMCommunicate OK [08:44:30]SAM_PROTO_GetFieldsCounters done [08:44:30]requested_item shift.num is exist - process it [08:44:30]requested_item shift.opened is exist - process it [08:44:30]req_shift_opened [08:44:30]FM_GetShiftState [08:44:30]SAM_PROTO_GetShiftState [08:44:30]wFMCommunicate request_size=4 [08:44:30]MH_SAM_APDU [08:44:30]CAPDU: 80 13 01 00 [08:44:30]Write to MH i2c: E2 08 00 1A 37 80 13 01 00 00 00 00 00 CE [08:44:30]Write i2c OK [08:44:30]MH_I2C_Read... [08:44:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:30]Read from MH i2c: E2 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: E2 0E 00 [08:44:30]MH_I2C_Read... [08:44:30]Read from MH i2c: E2 0E 00 1A 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5B [08:44:30]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:44:30]wFMCommunicate OK [08:44:30]SAM_PROTO_GetShiftState done [08:44:30]FM_GetShiftState done [08:44:30]req_shift_opened done [08:44:30]requested_item shift.open_date is exist - process it [08:44:30]req_shift_open_date [08:44:30]req_shift_open_date done [08:44:30]produce_requested_data done [08:44:30]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26800,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:44:30]process_action_free close_receipt [08:44:30]json_value_free [08:44:30]json_value_free done [08:44:30]process_json_proto returns [08:44:30]Send response to host [08:44:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26800,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:44:30]free response buf [08:44:30]execute_script done [08:44:30]execute_script returns [08:44:30]free content buf [08:44:30]Sock 9.Close socket [08:44:30]Sock 9.Thread stoped [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]accept exits with 8 [08:47:39]New connection [08:47:39]New thread 3067014500 created [08:47:39]Thread 3066871140 joined [08:47:39]Waiting for new connection... [08:47:39] Sock 8.Parse request [08:47:39]Sock 8.Check first char [08:47:39]Sock 8.First char is OK [08:47:39]request: POST /json_proto HTTP/1.0 [08:47:39]Method: POST [08:47:39]URL: /json_proto [08:47:39]Method is POST - this is cgi request [08:47:39]url: /json_proto [08:47:39]query_string will be loaded in cgi processing [08:47:39]execute_cgi json_proto POST (null) [08:47:39]execute_cgi path=json_proto method=POST [08:47:39]POST find Content-Length [08:47:39]Host: 172.17.35.3:8080 [08:47:39]Content-Length: 687 [08:47:39]Content-Type: application/json [08:47:39] [08:47:39]POST finish read [08:47:39]Found Content-Length = 687 [08:47:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359544", "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" : 71.80, "quantity" : 20.900, "sum" : 1500.62, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" ] } } [08:47:39]execute_script... [08:47: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)359544", "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" : 71.80, "quantity" : 20.900, "sum" : 1500.62, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" ] } } [08:47:39]POST & json_proto [08:47:39]process_json_proto [08:47:39]json parsed OK: [08:47:39]protocol is kg_v1.0 [08:47:39]action value=close_receipt [08:47:39]process_action close_receipt [08:47:39]cmd_close_receipt [08:47:39]MH_GetDate [08:47:39]Write to MH i2c: F0 00 00 1B 37 41 [08:47:39]Write i2c OK [08:47:39]MH_I2C_Read... [08:47:39]Read from MH i2c: F0 [08:47:39]MH_I2C_Read... [08:47:39]Read from MH i2c: F0 09 00 [08:47:39]MH_I2C_Read... [08:47:39]Read from MH i2c: F0 09 00 1B 37 00 38 AF 13 66 2B 11 66 64 B0 [08:47:39]GetLastDocTimeStamp 1712565880 [08:47:39]current date 1712566072 [08:47:39]FM_GetShiftState [08:47:39]SAM_PROTO_GetShiftState [08:47:39]wFMCommunicate request_size=4 [08:47:39]MH_SAM_APDU [08:47:39]CAPDU: 80 13 01 00 [08:47:39]Write to MH i2c: E2 08 00 1C 37 80 13 01 00 00 00 00 00 D0 [08:47:39]Write i2c OK [08:47:39]MH_I2C_Read... [08:47:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:39]Read from MH i2c: E2 [08:47:39]MH_I2C_Read... [08:47:39]Read from MH i2c: E2 0E 00 [08:47:39]MH_I2C_Read... [08:47:39]Read from MH i2c: E2 0E 00 1C 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5D [08:47:39]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:47:39]wFMCommunicate OK [08:47:39]SAM_PROTO_GetShiftState done [08:47:39]FM_GetShiftState done [08:47:39]opened in 1712536270 [08:47:39]opened+sec_in_day 1712622670 [08:47:39]quantity*price = 150062 [08:47:39]sum+1 = 150063 [08:47:39]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.62 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.36 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 14 08.04.2024 08:47 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26801 ФПД: 164724464388055 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084752&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26801&fm=164724464388055&tin=02508201610067®Number=0000000000091578&sum=150000 [08:47:40]StoreToDocumentArchive [08:47:40]shift 314 fd 26801 [08:47:40]save to /storage/0314/doc_00026801 [08:47:40]save last doc name /storage/0314/doc_00026801 to /storage/kkm_last_doc_name [08:47:40]save OK [08:47:40]Clear old archive folders... [08:47:40]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:47:40]tlvbuf is 00E67890 [08:47:40]SAM_PROTO_ClearQueue [08:47:40]wFMCommunicate request_size=4 [08:47:40]MH_SAM_APDU [08:47:40]CAPDU: 80 09 00 00 [08:47:40]Write to MH i2c: E2 08 00 29 37 80 09 00 00 00 00 00 00 D2 [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:47:40]Read from MH i2c: E2 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 29 37 00 90 00 D4 [08:47:40]RAPDU: 90 00 [08:47:40]wFMCommunicate OK [08:47:40]SAM_PROTO_ClearQueue done [08:47:40]KKMCreateOFDPacket [08:47:40]OFDProtocolAddRootSTLVToBuf [08:47:40]FM_MakeSignedData [08:47:40]FM_MakeSignedData [08:47:40]SAM_PROTO_SignData [08:47:40]wFMCommunicate request_size=4 [08:47:40]MH_SAM_APDU [08:47:40]CAPDU: 80 0D 01 02 [08:47:40]Write to MH i2c: E2 08 00 2A 37 80 0D 01 02 00 00 00 00 DA [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 [08:47:40]MH_I2C_Read... [08:47:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:47:40]Read from MH i2c: E2 03 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 2A 37 00 90 00 D5 [08:47:40]RAPDU: 90 00 [08:47:40]wFMCommunicate OK [08:47:40]wFMCommunicate request_size=255 [08:47:40]MH_SAM_APDU [08:47: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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 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 40 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 0E 00 00 00 F4 03 04 00 38 AF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B1 68 00 00 35 04 06 00 [08:47:40]Write to MH i2c: E2 02 01 2B 37 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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 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 40 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 0E 00 00 00 F4 03 04 00 38 AF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B1 68 00 00 35 04 06 00 00 00 AB [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:47:40]Read from MH i2c: E2 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 2B 37 00 90 00 D6 [08:47:40]RAPDU: 90 00 [08:47:40]wFMCommunicate OK [08:47:40]wFMCommunicate request_size=11 [08:47:40]MH_SAM_APDU [08:47:40]CAPDU: 80 0D 02 02 06 95 D0 E7 2F 87 D7 [08:47:40]Write to MH i2c: E2 0E 00 2C 37 80 0D 02 02 06 00 95 D0 E7 2F 87 D7 00 00 C2 [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:47:40]Read from MH i2c: E2 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 03 00 2C 37 00 90 00 D7 [08:47:40]RAPDU: 90 00 [08:47:40]wFMCommunicate OK [08:47:40]wFMCommunicate request_size=4 [08:47:40]MH_SAM_APDU [08:47:40]CAPDU: 80 0D 03 02 [08:47:40]Write to MH i2c: E2 08 00 2D 37 80 0D 03 02 00 00 00 00 DF [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:47:40]Read from MH i2c: E2 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 0B 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 0B 00 2D 37 00 62 F5 FB AE 29 DF A2 B8 90 00 42 [08:47:40]RAPDU: 62 F5 FB AE 29 DF A2 B8 90 00 [08:47:40]wFMCommunicate OK [08:47:40]SAM_PROTO_SignData done [08:47:40]FM_MakeSignedData done [08:47:40]CreateOFDProtocolMessage [08:47:40]wFMCommunicate request_size=4 [08:47:40]MH_SAM_APDU [08:47:40]CAPDU: 80 11 00 00 [08:47:40]Write to MH i2c: E2 08 00 2E 37 80 11 00 00 00 00 00 00 DF [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:40]Read from MH i2c: E2 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 17 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: E2 17 00 2E 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 37 [08:47:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:47:40]wFMCommunicate OK [08:47:40]CreateOFDProtocolMessage done [08:47:40]OFDSenderStorePacket 26801 [08:47:40]StoreOFDPacket docnum=26801 [08:47:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 CF BC 08 01 3F E1 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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 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 40 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 0E 00 00 00 F4 03 04 00 38 AF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B1 68 00 00 35 04 06 00 95 D0 E7 2F 87 D7 62 F5 FB AE 29 DF A2 B8 [08:47:40]CheckFolder [08:47:40]dirname=/storage/ofd_packets [08:47:40]CheckFolder done [08:47:40]ProducePacketName [08:47:40]name=ofd_packets/00026801 [08:47:40]NVStorageSaveData ofd_packets/00026801 [08:47:40]File name is /storage/ofd_packets/00026801 [08:47:40]Write 302 bytes [08:47:40]NVStorageSaveData done [08:47:40]OFDSenderStorePacket done [08:47:40]KKMCreateOFDPacket done [08:47:40]NVStorageSaveData kkm_last_timestamp [08:47:40]File name is /storage/kkm_last_timestamp [08:47:40]Write 4 bytes [08:47:40]NVStorageSaveData done [08:47:40]ExternCall_PrintAddStr [08:47:40]wPrintStart [08:47:40]Write to MH i2c: 01 00 00 2F 37 66 [08:47:40]Write i2c OK [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: 01 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: 01 07 00 [08:47:40]MH_I2C_Read... [08:47:40]Read from MH i2c: 01 07 00 2F 37 00 00 00 00 00 FF 0F 7B [08:47:40]RasterBufferAndPrint [08:47:40]line Счет N : (1)359544 [08:47:40]line ИÐÐ: 02508201610067 [08:47:40]line Контрольно-КаÑÑовый Чек [08:47:40]line ПРОДÐЖР[08:47:40]line ТРК (МРК, ГÐК) : 11 [08:47:40]line Товар: 2710194210 [08:47:40]line ДТ(л)-К-5 [08:47:40]line 20.900 * 71.80 [08:47:40]line = 1500.62 [08:47:40]line ÐДС 12% ÐСП 1% [08:47:40]line > о реализуемом товаре [08:47:40]line ОКРУГЛЕÐИЕ: -0.62 [08:47:40]line ИТОГО: 1500.00 [08:47:40]line ВнеÑено: 1500.00 [08:47:40]line СДÐЧÐ: 0.00 [08:47:40]line ÐСП 1% : 13.28 [08:47:40]line ÐДС 12% : 159.36 [08:47:40]line Ðаличными: 1500.00 [08:47:40]line Безнал.: 0.00 [08:47:40]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:47:40]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:47:41]line СÐО: Общий режим [08:47:41]line Чек 14 08.04.2024 08:47 [08:47:41]line Смена: 314 ФФД: 1.0 [08:47:41]line ЗÐМ: 0300000147 [08:47:41]line РÐМ: 0000000000091578 [08:47:41]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:47:41]line ФМ: 0000000000874657 [08:47:41]line ФД: 26801 [08:47:41]line ФПД: 164724464388055 [08:47:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T084752&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26801&fm=164724464388055&tin=02508201610067®Number=0000000000091578&sum=150000 [08:47:41]OFD Sender: Processing packet 26801 [packets to send 44, broken 43] [08:47:41]ProducePacketName [08:47:41]name=ofd_packets/00026801 [08:47:41]OFD Sender: To server: ‡•öpG, [08:47:41]CommunicateWithHost lk.salyk.kg:30040 [08:47:41]ConnectInit lk.salyk.kg [08:47:41]written 0, free lines is 4095 [08:47:41]Connected sock=10 [08:47:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 CF BC 08 01 3F E1 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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 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 40 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 0E 00 00 00 F4 03 04 00 38 AF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B1 68 00 00 35 04 06 00 95 D0 E7 2F 87 D7 62 F5 FB AE 29 DF A2 B8 [08:47:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FB A2 47 00 00 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B1 68 00 00 F4 03 04 00 A3 56 13 66 B6 04 01 00 00 59 EA 1A 7B 02 30 9B 99 [08:47:41]CommunicateWithHost err = 0 [08:47:41]CheckOFDResponse [08:47:41]1017 (14) - 77093643461234 [08:47:41]1041 (16) - 0000000000874657 [08:47:41]1040 (4) - 26801 [08:47:41]1012 (4) - 08.04.2024 02:29 [08:47:41]1206 (1) - 0 [08:47:41]OFD Sender: Remove packet 26801 [08:47:41]ProducePacketName [08:47:41]name=ofd_packets/00026801 [08:47:41]NVStorageDeleteData [08:47:41]Write to MH i2c: 01 00 00 5A 37 91 [08:47:41]Write i2c OK [08:47:41]MH_I2C_Read... [08:47:41]Read from MH i2c: 01 [08:47:41]MH_I2C_Read... [08:47:41]Read from MH i2c: 01 07 00 [08:47:41]MH_I2C_Read... [08:47:41]Read from MH i2c: 01 07 00 5A 37 00 00 00 00 00 6F 0C 13 [08:47:41]RasterBufferAndPrint [08:47:41]line [08:47:41]line [08:47:41]line [08:47:41]line [08:47:41]line [08:47:41]written 0, free lines is 3186 [08:47:41]MH_Cut [08:47:41]Write to MH i2c: D1 01 00 61 37 01 6A [08:47:41]Write i2c OK [08:47:41]MH_I2C_Read... [08:47:41]Read from MH i2c: D1 [08:47:41]MH_I2C_Read... [08:47:41]Read from MH i2c: D1 01 00 [08:47:41]MH_I2C_Read... [08:47:41]Read from MH i2c: D1 01 00 61 37 00 69 [08:47:41]Write to MH i2c: 01 00 00 62 37 99 [08:47:41]Write i2c OK [08:47:41]MH_I2C_Read... [08:47:41]OFD Sender: No OFD packet to send [08:47:42]*** Cut start [08:47:42]*** Partial cut [08:47:42]*** CUTSNS_PIN = 1 [08:47:42]*** CUTSNS_PIN = 0 [08:47:43]*** Brake cut motor [08:47:43]Read from MH i2c: 01 [08:47:43]MH_I2C_Read... [08:47:43]*** Stop cut motor [08:47:43]*** Cut end [08:47:43]Read from MH i2c: 01 07 00 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: 01 07 00 62 37 00 00 00 00 00 FF 0F AE [08:47:43]process_action close_receipt done [08:47:43]requested_data is exist [08:47:43]produce_requested_data [08:47:43]requested_item fm.sn is exist - process it [08:47:43]wFMCommunicate request_size=4 [08:47:43]MH_SAM_APDU [08:47:43]CAPDU: 80 11 00 00 [08:47:43]Write to MH i2c: E2 08 00 63 37 80 11 00 00 00 00 00 00 14 [08:47:43]Write i2c OK [08:47:43]MH_I2C_Read... [08:47:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:47:43]Read from MH i2c: E2 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: E2 17 00 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: E2 17 00 63 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6C [08:47:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:47:43]wFMCommunicate OK [08:47:43]requested_item fd.num is exist - process it [08:47:43]SAM_PROTO_GetFieldsCounters [08:47:43]wFMCommunicate request_size=4 [08:47:43]MH_SAM_APDU [08:47:43]CAPDU: 80 13 00 00 [08:47:43]Write to MH i2c: E2 08 00 64 37 80 13 00 00 00 00 00 00 17 [08:47:43]Write i2c OK [08:47:43]MH_I2C_Read... [08:47:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:47:43]Read from MH i2c: E2 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: E2 62 00 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: E2 62 00 64 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [08:47:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:47:43]wFMCommunicate OK [08:47:43]SAM_PROTO_GetFieldsCounters done [08:47:43]requested_item shift.num is exist - process it [08:47:43]requested_item shift.opened is exist - process it [08:47:43]req_shift_opened [08:47:43]FM_GetShiftState [08:47:43]SAM_PROTO_GetShiftState [08:47:43]wFMCommunicate request_size=4 [08:47:43]MH_SAM_APDU [08:47:43]CAPDU: 80 13 01 00 [08:47:43]Write to MH i2c: E2 08 00 65 37 80 13 01 00 00 00 00 00 19 [08:47:43]Write i2c OK [08:47:43]MH_I2C_Read... [08:47:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:47:43]Read from MH i2c: E2 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: E2 0E 00 [08:47:43]MH_I2C_Read... [08:47:43]Read from MH i2c: E2 0E 00 65 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A6 [08:47:43]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:47:43]wFMCommunicate OK [08:47:43]SAM_PROTO_GetShiftState done [08:47:43]FM_GetShiftState done [08:47:43]req_shift_opened done [08:47:43]requested_item shift.open_date is exist - process it [08:47:43]req_shift_open_date [08:47:43]req_shift_open_date done [08:47:43]produce_requested_data done [08:47:43]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26801,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:47:43]process_action_free close_receipt [08:47:43]json_value_free [08:47:43]json_value_free done [08:47:43]process_json_proto returns [08:47:43]Send response to host [08:47:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26801,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:47:43]free response buf [08:47:43]execute_script done [08:47:43]execute_script returns [08:47:43]free content buf [08:47:43]Sock 8.Close socket [08:47:43]Sock 8.Thread stoped [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:22]OFD Sender: No OFD packet to send [08:50:27]OFD Sender: No OFD packet to send [08:50:32]OFD Sender: No OFD packet to send [08:50:37]OFD Sender: No OFD packet to send [08:50:42]OFD Sender: No OFD packet to send [08:50:47]OFD Sender: No OFD packet to send [08:50:52]OFD Sender: No OFD packet to send [08:50:57]OFD Sender: No OFD packet to send [08:51:02]OFD Sender: No OFD packet to send [08:51:07]OFD Sender: No OFD packet to send [08:51:12]OFD Sender: No OFD packet to send [08:51:17]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:00]accept exits with 9 [08:54:00]New connection [08:54:00]New thread 3066871140 created [08:54:00]Thread 3067014500 joined [08:54:00]Waiting for new connection... [08:54:00] Sock 9.Parse request [08:54:00]Sock 9.Check first char [08:54:00]Sock 9.First char is OK [08:54:00]request: POST /json_proto HTTP/1.0 [08:54:00]Method: POST [08:54:00]URL: /json_proto [08:54:00]Method is POST - this is cgi request [08:54:00]url: /json_proto [08:54:00]query_string will be loaded in cgi processing [08:54:00]execute_cgi json_proto POST (null) [08:54:00]execute_cgi path=json_proto method=POST [08:54:00]POST find Content-Length [08:54:00]Host: 172.17.35.3:8080 [08:54:00]Content-Length: 683 [08:54:00]Content-Type: application/json [08:54:00] [08:54:00]POST finish read [08:54:00]Found Content-Length = 683 [08:54:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359545", "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" : 71.80, "quantity" : 10.450, "sum" : 750.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 750.00, "total" : 750.00, "payments": [ { "type": 0, "sum" : 750.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:54:00]execute_script... [08:54:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359545", "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" : 71.80, "quantity" : 10.450, "sum" : 750.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 750.00, "total" : 750.00, "payments": [ { "type": 0, "sum" : 750.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:54:00]POST & json_proto [08:54:00]process_json_proto [08:54:00]json parsed OK: [08:54:00]protocol is kg_v1.0 [08:54:00]action value=close_receipt [08:54:00]process_action close_receipt [08:54:00]cmd_close_receipt [08:54:00]MH_GetDate [08:54:00]Write to MH i2c: F0 00 00 66 37 8C [08:54:00]Write i2c OK [08:54:00]MH_I2C_Read... [08:54:00]Read from MH i2c: F0 [08:54:00]MH_I2C_Read... [08:54:00]Read from MH i2c: F0 09 00 [08:54:00]MH_I2C_Read... [08:54:00]Read from MH i2c: F0 09 00 66 37 00 B6 B0 13 66 2B 11 66 64 7A [08:54:00]GetLastDocTimeStamp 1712566072 [08:54:00]current date 1712566454 [08:54:00]FM_GetShiftState [08:54:00]SAM_PROTO_GetShiftState [08:54:00]wFMCommunicate request_size=4 [08:54:00]MH_SAM_APDU [08:54:00]CAPDU: 80 13 01 00 [08:54:00]Write to MH i2c: E2 08 00 67 37 80 13 01 00 00 00 00 00 1B [08:54:00]Write i2c OK [08:54:00]MH_I2C_Read... [08:54:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:00]Read from MH i2c: E2 [08:54:00]MH_I2C_Read... [08:54:00]Read from MH i2c: E2 0E 00 [08:54:00]MH_I2C_Read... [08:54:00]Read from MH i2c: E2 0E 00 67 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A8 [08:54:00]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:54:00]wFMCommunicate OK [08:54:00]SAM_PROTO_GetShiftState done [08:54:00]FM_GetShiftState done [08:54:00]opened in 1712536270 [08:54:00]opened+sec_in_day 1712622670 [08:54:00]quantity*price = 75031 [08:54:00]sum+1 = 75032 [08:54:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.31 ИТОГО: 750.00 ВнеÑено: 750.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.64 ÐДС 12% : 79.68 Ðаличными: 750.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 15 08.04.2024 08:54 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26802 ФПД: 79594137913259 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T085414&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26802&fm=79594137913259&tin=02508201610067®Number=0000000000091578&sum=75000 [08:54:01]StoreToDocumentArchive [08:54:01]shift 314 fd 26802 [08:54:01]save to /storage/0314/doc_00026802 [08:54:01]save last doc name /storage/0314/doc_00026802 to /storage/kkm_last_doc_name [08:54:01]save OK [08:54:01]Clear old archive folders... [08:54:01]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:54:01]tlvbuf is 00EDB2A0 [08:54:01]SAM_PROTO_ClearQueue [08:54:01]wFMCommunicate request_size=4 [08:54:01]MH_SAM_APDU [08:54:01]CAPDU: 80 09 00 00 [08:54:01]Write to MH i2c: E2 08 00 74 37 80 09 00 00 00 00 00 00 1D [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:54:01]Read from MH i2c: E2 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 74 37 00 90 00 1F [08:54:01]RAPDU: 90 00 [08:54:01]wFMCommunicate OK [08:54:01]SAM_PROTO_ClearQueue done [08:54:01]KKMCreateOFDPacket [08:54:01]OFDProtocolAddRootSTLVToBuf [08:54:01]FM_MakeSignedData [08:54:01]FM_MakeSignedData [08:54:01]SAM_PROTO_SignData [08:54:01]wFMCommunicate request_size=4 [08:54:01]MH_SAM_APDU [08:54:01]CAPDU: 80 0D 01 02 [08:54:01]Write to MH i2c: E2 08 00 75 37 80 0D 01 02 00 00 00 00 25 [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:54:01]Read from MH i2c: E2 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 75 37 00 90 00 20 [08:54:01]RAPDU: 90 00 [08:54:01]wFMCommunicate OK [08:54:01]wFMCommunicate request_size=255 [08:54:01]MH_SAM_APDU [08:54:01]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 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 B6 B0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B2 68 00 00 35 04 06 00 [08:54:01]Write to MH i2c: E2 02 01 76 37 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 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 B6 B0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B2 68 00 00 35 04 06 00 00 00 29 [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:54:01]Read from MH i2c: E2 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 76 37 00 90 00 21 [08:54:01]RAPDU: 90 00 [08:54:01]wFMCommunicate OK [08:54:01]wFMCommunicate request_size=11 [08:54:01]MH_SAM_APDU [08:54:01]CAPDU: 80 0D 02 02 06 48 63 F4 51 07 AB [08:54:01]Write to MH i2c: E2 0E 00 77 37 80 0D 02 02 06 00 48 63 F4 51 07 AB 00 00 D6 [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:54:01]Read from MH i2c: E2 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 03 00 77 37 00 90 00 22 [08:54:01]RAPDU: 90 00 [08:54:01]wFMCommunicate OK [08:54:01]wFMCommunicate request_size=4 [08:54:01]MH_SAM_APDU [08:54:01]CAPDU: 80 0D 03 02 [08:54:01]Write to MH i2c: E2 08 00 78 37 80 0D 03 02 00 00 00 00 2A [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:54:01]Read from MH i2c: E2 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 0B 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 0B 00 78 37 00 88 F9 77 89 FB 58 8F D6 90 00 64 [08:54:01]RAPDU: 88 F9 77 89 FB 58 8F D6 90 00 [08:54:01]wFMCommunicate OK [08:54:01]SAM_PROTO_SignData done [08:54:01]FM_MakeSignedData done [08:54:01]CreateOFDProtocolMessage [08:54:01]wFMCommunicate request_size=4 [08:54:01]MH_SAM_APDU [08:54:01]CAPDU: 80 11 00 00 [08:54:01]Write to MH i2c: E2 08 00 79 37 80 11 00 00 00 00 00 00 2A [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:54:01]Read from MH i2c: E2 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 17 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: E2 17 00 79 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 82 [08:54:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:54:01]wFMCommunicate OK [08:54:01]CreateOFDProtocolMessage done [08:54:01]OFDSenderStorePacket 26802 [08:54:01]StoreOFDPacket docnum=26802 [08:54:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 B2 A4 08 01 7B 62 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 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 B6 B0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B2 68 00 00 35 04 06 00 48 63 F4 51 07 AB 88 F9 77 89 FB 58 8F D6 [08:54:01]CheckFolder [08:54:01]dirname=/storage/ofd_packets [08:54:01]CheckFolder done [08:54:01]ProducePacketName [08:54:01]name=ofd_packets/00026802 [08:54:01]NVStorageSaveData ofd_packets/00026802 [08:54:01]File name is /storage/ofd_packets/00026802 [08:54:01]Write 302 bytes [08:54:01]NVStorageSaveData done [08:54:01]OFDSenderStorePacket done [08:54:01]KKMCreateOFDPacket done [08:54:01]NVStorageSaveData kkm_last_timestamp [08:54:01]File name is /storage/kkm_last_timestamp [08:54:01]Write 4 bytes [08:54:01]NVStorageSaveData done [08:54:01]ExternCall_PrintAddStr [08:54:01]wPrintStart [08:54:01]Write to MH i2c: 01 00 00 7A 37 B1 [08:54:01]Write i2c OK [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: 01 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: 01 07 00 [08:54:01]MH_I2C_Read... [08:54:01]Read from MH i2c: 01 07 00 7A 37 00 00 00 00 00 FF 0F C6 [08:54:01]RasterBufferAndPrint [08:54:01]line Счет N : (1)359545 [08:54:01]line ИÐÐ: 02508201610067 [08:54:01]line Контрольно-КаÑÑовый Чек [08:54:01]line ПРОДÐЖР[08:54:01]line ТРК (МРК, ГÐК) : 11 [08:54:01]line Товар: 2710194210 [08:54:01]line ДТ(л)-К-5 [08:54:01]line 10.450 * 71.80 [08:54:01]line = 750.31 [08:54:01]line ÐДС 12% ÐСП 1% [08:54:01]line > о реализуемом товаре [08:54:01]line ОКРУГЛЕÐИЕ: -0.31 [08:54:01]line ИТОГО: 750.00 [08:54:01]line ВнеÑено: 750.00 [08:54:01]line СДÐЧÐ: 0.00 [08:54:01]line ÐСП 1% : 6.64 [08:54:01]line ÐДС 12% : 79.68 [08:54:01]line Ðаличными: 750.00 [08:54:01]line Безнал.: 0.00 [08:54:01]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [08:54:01]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [08:54:01]line СÐО: Общий режим [08:54:01]line Чек 15 08.04.2024 08:54 [08:54:01]line Смена: 314 ФФД: 1.0 [08:54:01]line ЗÐМ: 0300000147 [08:54:01]line РÐМ: 0000000000091578 [08:54:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [08:54:01]line ФМ: 0000000000874657 [08:54:01]line ФД: 26802 [08:54:01]line ФПД: 79594137913259 [08:54:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T085414&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26802&fm=79594137913259&tin=02508201610067®Number=0000000000091578&sum=75000 [08:54:02]OFD Sender: Processing packet 26802 [packets to send 44, broken 43] [08:54:02]ProducePacketName [08:54:02]name=ofd_packets/00026802 [08:54:02]OFD Sender: To server: ‡•öpG, [08:54:02]CommunicateWithHost lk.salyk.kg:30040 [08:54:02]ConnectInit lk.salyk.kg [08:54:02]written 0, free lines is 4095 [08:54:02]Connected sock=10 [08:54:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 B2 A4 08 01 7B 62 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 D2 28 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 17 25 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 24 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 98 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 1F 00 00 00 00 07 04 06 00 F8 24 01 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 B6 B0 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B2 68 00 00 35 04 06 00 48 63 F4 51 07 AB 88 F9 77 89 FB 58 8F D6 [08:54:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 30 E7 47 00 0B 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B2 68 00 00 F4 03 04 00 20 58 13 66 B6 04 01 00 00 29 FD 39 23 D4 12 7A A6 [08:54:02]CommunicateWithHost err = 0 [08:54:02]CheckOFDResponse [08:54:02]1017 (14) - 77093643461234 [08:54:02]1041 (16) - 0000000000874657 [08:54:02]1040 (4) - 26802 [08:54:02]1012 (4) - 08.04.2024 02:36 [08:54:02]1206 (1) - 0 [08:54:02]OFD Sender: Remove packet 26802 [08:54:02]ProducePacketName [08:54:02]name=ofd_packets/00026802 [08:54:02]NVStorageDeleteData [08:54:02]Write to MH i2c: 01 00 00 A5 37 DC [08:54:02]Write i2c OK [08:54:02]MH_I2C_Read... [08:54:02]Read from MH i2c: 01 [08:54:02]MH_I2C_Read... [08:54:02]Read from MH i2c: 01 07 00 [08:54:02]MH_I2C_Read... [08:54:02]Read from MH i2c: 01 07 00 A5 37 00 00 00 00 00 79 0C 68 [08:54:02]RasterBufferAndPrint [08:54:02]line [08:54:02]line [08:54:02]line [08:54:02]line [08:54:02]line [08:54:02]written 0, free lines is 3197 [08:54:02]MH_Cut [08:54:02]Write to MH i2c: D1 01 00 AC 37 01 B5 [08:54:02]Write i2c OK [08:54:02]MH_I2C_Read... [08:54:02]Read from MH i2c: D1 [08:54:02]MH_I2C_Read... [08:54:02]Read from MH i2c: D1 01 00 [08:54:02]MH_I2C_Read... [08:54:02]Read from MH i2c: D1 01 00 AC 37 00 B4 [08:54:02]Write to MH i2c: 01 00 00 AD 37 E4 [08:54:02]Write i2c OK [08:54:02]MH_I2C_Read... [08:54:03]OFD Sender: No OFD packet to send [08:54:03]*** Cut start [08:54:03]*** Partial cut [08:54:03]*** CUTSNS_PIN = 1 [08:54:03]*** CUTSNS_PIN = 0 [08:54:04]*** Brake cut motor [08:54:04]Read from MH i2c: 01 [08:54:04]MH_I2C_Read... [08:54:04]*** Stop cut motor [08:54:04]*** Cut end [08:54:04]Read from MH i2c: 01 07 00 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: 01 07 00 AD 37 00 00 00 00 00 FF 0F F9 [08:54:04]process_action close_receipt done [08:54:04]requested_data is exist [08:54:04]produce_requested_data [08:54:04]requested_item fm.sn is exist - process it [08:54:04]wFMCommunicate request_size=4 [08:54:04]MH_SAM_APDU [08:54:04]CAPDU: 80 11 00 00 [08:54:04]Write to MH i2c: E2 08 00 AE 37 80 11 00 00 00 00 00 00 5F [08:54:04]Write i2c OK [08:54:04]MH_I2C_Read... [08:54:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:54:04]Read from MH i2c: E2 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: E2 17 00 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: E2 17 00 AE 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B7 [08:54:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [08:54:04]wFMCommunicate OK [08:54:04]requested_item fd.num is exist - process it [08:54:04]SAM_PROTO_GetFieldsCounters [08:54:04]wFMCommunicate request_size=4 [08:54:04]MH_SAM_APDU [08:54:04]CAPDU: 80 13 00 00 [08:54:04]Write to MH i2c: E2 08 00 AF 37 80 13 00 00 00 00 00 00 62 [08:54:04]Write i2c OK [08:54:04]MH_I2C_Read... [08:54:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:54:04]Read from MH i2c: E2 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: E2 62 00 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: E2 62 00 AF 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [08:54:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:54:04]wFMCommunicate OK [08:54:04]SAM_PROTO_GetFieldsCounters done [08:54:04]requested_item shift.num is exist - process it [08:54:04]requested_item shift.opened is exist - process it [08:54:04]req_shift_opened [08:54:04]FM_GetShiftState [08:54:04]SAM_PROTO_GetShiftState [08:54:04]wFMCommunicate request_size=4 [08:54:04]MH_SAM_APDU [08:54:04]CAPDU: 80 13 01 00 [08:54:04]Write to MH i2c: E2 08 00 B0 37 80 13 01 00 00 00 00 00 64 [08:54:04]Write i2c OK [08:54:04]MH_I2C_Read... [08:54:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:54:04]Read from MH i2c: E2 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: E2 0E 00 [08:54:04]MH_I2C_Read... [08:54:04]Read from MH i2c: E2 0E 00 B0 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 F1 [08:54:04]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [08:54:04]wFMCommunicate OK [08:54:04]SAM_PROTO_GetShiftState done [08:54:04]FM_GetShiftState done [08:54:04]req_shift_opened done [08:54:04]requested_item shift.open_date is exist - process it [08:54:04]req_shift_open_date [08:54:04]req_shift_open_date done [08:54:04]produce_requested_data done [08:54:04]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26802,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [08:54:04]process_action_free close_receipt [08:54:04]json_value_free [08:54:04]json_value_free done [08:54:04]process_json_proto returns [08:54:04]Send response to host [08:54:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26802,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [08:54:04]free response buf [08:54:04]execute_script done [08:54:04]execute_script returns [08:54:04]free content buf [08:54:04]Sock 9.Close socket [08:54:04]Sock 9.Thread stoped [08:54:08]OFD Sender: No OFD packet to send [08:54:13]OFD Sender: No OFD packet to send [08:54:18]OFD Sender: No OFD packet to send [08:54:23]OFD Sender: No OFD packet to send [08:54:28]OFD Sender: No OFD packet to send [08:54:33]OFD Sender: No OFD packet to send [08:54:38]OFD Sender: No OFD packet to send [08:54:43]OFD Sender: No OFD packet to send [08:54:48]OFD Sender: No OFD packet to send [08:54:53]OFD Sender: No OFD packet to send [08:54:58]OFD Sender: No OFD packet to send [08:55:03]OFD Sender: No OFD packet to send [08:55:08]OFD Sender: No OFD packet to send [08:55:13]OFD Sender: No OFD packet to send [08:55:18]OFD Sender: No OFD packet to send [08:55:23]OFD Sender: No OFD packet to send [08:55:28]OFD Sender: No OFD packet to send [08:55:33]OFD Sender: No OFD packet to send [08:55:38]OFD Sender: No OFD packet to send [08:55:43]OFD Sender: No OFD packet to send [08:55:48]OFD Sender: No OFD packet to send [08:55:53]OFD Sender: No OFD packet to send [08:55:58]OFD Sender: No OFD packet to send [08:56:03]OFD Sender: No OFD packet to send [08:56:08]OFD Sender: No OFD packet to send [08:56:13]OFD Sender: No OFD packet to send [08:56:18]OFD Sender: No OFD packet to send [08:56:23]OFD Sender: No OFD packet to send [08:56:28]OFD Sender: No OFD packet to send [08:56:33]OFD Sender: No OFD packet to send [08:56:38]OFD Sender: No OFD packet to send [08:56:43]OFD Sender: No OFD packet to send [08:56:48]OFD Sender: No OFD packet to send [08:56:53]OFD Sender: No OFD packet to send [08:56:58]OFD Sender: No OFD packet to send [08:57:03]OFD Sender: No OFD packet to send [08:57:08]OFD Sender: No OFD packet to send [08:57:13]OFD Sender: No OFD packet to send [08:57:18]OFD Sender: No OFD packet to send [08:57:23]OFD Sender: No OFD packet to send [08:57:28]OFD Sender: No OFD packet to send [08:57:33]OFD Sender: No OFD packet to send [08:57:38]OFD Sender: No OFD packet to send [08:57:43]OFD Sender: No OFD packet to send [08:57:48]OFD Sender: No OFD packet to send [08:57:53]OFD Sender: No OFD packet to send [08:57:58]OFD Sender: No OFD packet to send [08:58:03]OFD Sender: No OFD packet to send [08:58:08]OFD Sender: No OFD packet to send [08:58:13]OFD Sender: No OFD packet to send [08:58:18]OFD Sender: No OFD packet to send [08:58:23]OFD Sender: No OFD packet to send [08:58:28]OFD Sender: No OFD packet to send [08:58:33]OFD Sender: No OFD packet to send [08:58:38]OFD Sender: No OFD packet to send [08:58:43]OFD Sender: No OFD packet to send [08:58:48]OFD Sender: No OFD packet to send [08:58:53]OFD Sender: No OFD packet to send [08:58:58]OFD Sender: No OFD packet to send [08:59:03]OFD Sender: No OFD packet to send [08:59:08]OFD Sender: No OFD packet to send [08:59:13]OFD Sender: No OFD packet to send [08:59:18]OFD Sender: No OFD packet to send [08:59:23]OFD Sender: No OFD packet to send [08:59:28]OFD Sender: No OFD packet to send [08:59:33]OFD Sender: No OFD packet to send [08:59:38]OFD Sender: No OFD packet to send [08:59:43]OFD Sender: No OFD packet to send [08:59:48]OFD Sender: No OFD packet to send [08:59:53]OFD Sender: No OFD packet to send [08:59:58]OFD Sender: No OFD packet to send [09:00:03]OFD Sender: No OFD packet to send [09:00:08]OFD Sender: No OFD packet to send [09:00:13]OFD Sender: No OFD packet to send [09:00:18]OFD Sender: No OFD packet to send [09:00:23]OFD Sender: No OFD packet to send [09:00:28]OFD Sender: No OFD packet to send [09:00:33]OFD Sender: No OFD packet to send [09:00:38]OFD Sender: No OFD packet to send [09:00:43]OFD Sender: No OFD packet to send [09:00:48]OFD Sender: No OFD packet to send [09:00:53]OFD Sender: No OFD packet to send [09:00:58]OFD Sender: No OFD packet to send [09:01:03]OFD Sender: No OFD packet to send [09:01:08]OFD Sender: No OFD packet to send [09:01:13]OFD Sender: No OFD packet to send [09:01:18]OFD Sender: No OFD packet to send [09:01:23]OFD Sender: No OFD packet to send [09:01:28]OFD Sender: No OFD packet to send [09:01:33]OFD Sender: No OFD packet to send [09:01:38]OFD Sender: No OFD packet to send [09:01:43]OFD Sender: No OFD packet to send [09:01:48]OFD Sender: No OFD packet to send [09:01:53]OFD Sender: No OFD packet to send [09:01:58]OFD Sender: No OFD packet to send [09:02:03]OFD Sender: No OFD packet to send [09:02:08]OFD Sender: No OFD packet to send [09:02:13]OFD Sender: No OFD packet to send [09:02:18]OFD Sender: No OFD packet to send [09:02:23]OFD Sender: No OFD packet to send [09:02:28]OFD Sender: No OFD packet to send [09:02:32]accept exits with 8 [09:02:32]New connection [09:02:32]New thread 3067014500 created [09:02:32]Thread 3066871140 joined [09:02:32]Waiting for new connection... [09:02:32] Sock 8.Parse request [09:02:32]Sock 8.Check first char [09:02:32]Sock 8.First char is OK [09:02:32]request: POST /json_proto HTTP/1.0 [09:02:32]Method: POST [09:02:32]URL: /json_proto [09:02:32]Method is POST - this is cgi request [09:02:32]url: /json_proto [09:02:32]query_string will be loaded in cgi processing [09:02:32]execute_cgi json_proto POST (null) [09:02:32]execute_cgi path=json_proto method=POST [09:02:32]POST find Content-Length [09:02:32]Host: 172.17.35.3:8080 [09:02:32]Content-Length: 800 [09:02:32]Content-Type: application/json [09:02:32] [09:02:32]POST finish read [09:02:32]Found Content-Length = 800 [09:02:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359546", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.52 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:32]execute_script... [09:02:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359546", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.52 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:02:32]POST & json_proto [09:02:32]process_json_proto [09:02:32]json parsed OK: [09:02:32]protocol is kg_v1.0 [09:02:32]action value=close_receipt [09:02:32]process_action close_receipt [09:02:32]cmd_close_receipt [09:02:32]MH_GetDate [09:02:32]Write to MH i2c: F0 00 00 B1 37 D7 [09:02:32]Write i2c OK [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: F0 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: F0 09 00 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: F0 09 00 B1 37 00 B6 B2 13 66 2B 11 66 64 C7 [09:02:32]GetLastDocTimeStamp 1712566454 [09:02:32]current date 1712566966 [09:02:32]FM_GetShiftState [09:02:32]SAM_PROTO_GetShiftState [09:02:32]wFMCommunicate request_size=4 [09:02:32]MH_SAM_APDU [09:02:32]CAPDU: 80 13 01 00 [09:02:32]Write to MH i2c: E2 08 00 B2 37 80 13 01 00 00 00 00 00 66 [09:02:32]Write i2c OK [09:02:32]MH_I2C_Read... [09:02:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:32]Read from MH i2c: E2 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 0E 00 [09:02:32]MH_I2C_Read... [09:02:32]Read from MH i2c: E2 0E 00 B2 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 F3 [09:02:32]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:02:32]wFMCommunicate OK [09:02:32]SAM_PROTO_GetShiftState done [09:02:32]FM_GetShiftState done [09:02:32]opened in 1712536270 [09:02:32]opened+sec_in_day 1712622670 [09:02:32]quantity*price = 30051 [09:02:32]sum+1 = 30053 [09:02:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.52 ÐСП 1% : 2.66 ÐДС 12% : 31.91 Ðаличными: 0.00 Безнал.: 300.52 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 16 08.04.2024 09:02 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26803 ФПД: 210249554139702 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T090246&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26803&fm=210249554139702&tin=02508201610067®Number=0000000000091578&sum=30052 [09:02:34]StoreToDocumentArchive [09:02:34]shift 314 fd 26803 [09:02:34]save to /storage/0314/doc_00026803 [09:02:34]save last doc name /storage/0314/doc_00026803 to /storage/kkm_last_doc_name [09:02:34]save OK [09:02:34]Clear old archive folders... [09:02:34]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:02:34]tlvbuf is 00EC8B80 [09:02:34]SAM_PROTO_ClearQueue [09:02:34]wFMCommunicate request_size=4 [09:02:34]MH_SAM_APDU [09:02:34]CAPDU: 80 09 00 00 [09:02:34]Write to MH i2c: E2 08 00 BF 37 80 09 00 00 00 00 00 00 68 [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:02:34]Read from MH i2c: E2 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 BF 37 00 90 00 6A [09:02:34]RAPDU: 90 00 [09:02:34]wFMCommunicate OK [09:02:34]SAM_PROTO_ClearQueue done [09:02:34]KKMCreateOFDPacket [09:02:34]OFDProtocolAddRootSTLVToBuf [09:02:34]FM_MakeSignedData [09:02:34]FM_MakeSignedData [09:02:34]SAM_PROTO_SignData [09:02:34]wFMCommunicate request_size=4 [09:02:34]MH_SAM_APDU [09:02:34]CAPDU: 80 0D 01 02 [09:02:34]Write to MH i2c: E2 08 00 C0 37 80 0D 01 02 00 00 00 00 70 [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:02:34]Read from MH i2c: E2 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 C0 37 00 90 00 6B [09:02:34]RAPDU: 90 00 [09:02:34]wFMCommunicate OK [09:02:34]wFMCommunicate request_size=255 [09:02:34]MH_SAM_APDU [09:02:34]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B6 B2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B3 68 00 00 35 04 06 00 BF [09:02:34]Write to MH i2c: E2 02 01 C1 37 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B6 B2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B3 68 00 00 35 04 06 00 BF 00 00 15 [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:34]Read from MH i2c: E2 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 C1 37 00 90 00 6C [09:02:34]RAPDU: 90 00 [09:02:34]wFMCommunicate OK [09:02:34]wFMCommunicate request_size=10 [09:02:34]MH_SAM_APDU [09:02:34]CAPDU: 80 0D 02 02 05 38 89 FD 1A 36 [09:02:34]Write to MH i2c: E2 0D 00 C2 37 80 0D 02 02 05 00 38 89 FD 1A 36 00 00 8B [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:02:34]Read from MH i2c: E2 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 03 00 C2 37 00 90 00 6D [09:02:34]RAPDU: 90 00 [09:02:34]wFMCommunicate OK [09:02:34]wFMCommunicate request_size=4 [09:02:34]MH_SAM_APDU [09:02:34]CAPDU: 80 0D 03 02 [09:02:34]Write to MH i2c: E2 08 00 C3 37 80 0D 03 02 00 00 00 00 75 [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:02:34]Read from MH i2c: E2 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 0B 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 0B 00 C3 37 00 38 C3 93 9D 20 90 93 0F 90 00 F3 [09:02:34]RAPDU: 38 C3 93 9D 20 90 93 0F 90 00 [09:02:34]wFMCommunicate OK [09:02:34]SAM_PROTO_SignData done [09:02:34]FM_MakeSignedData done [09:02:34]CreateOFDProtocolMessage [09:02:34]wFMCommunicate request_size=4 [09:02:34]MH_SAM_APDU [09:02:34]CAPDU: 80 11 00 00 [09:02:34]Write to MH i2c: E2 08 00 C4 37 80 11 00 00 00 00 00 00 75 [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:34]Read from MH i2c: E2 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 17 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: E2 17 00 C4 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CD [09:02:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:02:34]wFMCommunicate OK [09:02:34]CreateOFDProtocolMessage done [09:02:34]OFDSenderStorePacket 26803 [09:02:34]StoreOFDPacket docnum=26803 [09:02:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 BB 4E 07 01 D2 58 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B6 B2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B3 68 00 00 35 04 06 00 BF 38 89 FD 1A 36 38 C3 93 9D 20 90 93 0F [09:02:34]CheckFolder [09:02:34]dirname=/storage/ofd_packets [09:02:34]CheckFolder done [09:02:34]ProducePacketName [09:02:34]name=ofd_packets/00026803 [09:02:34]NVStorageSaveData ofd_packets/00026803 [09:02:34]File name is /storage/ofd_packets/00026803 [09:02:34]Write 301 bytes [09:02:34]NVStorageSaveData done [09:02:34]OFDSenderStorePacket done [09:02:34]KKMCreateOFDPacket done [09:02:34]NVStorageSaveData kkm_last_timestamp [09:02:34]File name is /storage/kkm_last_timestamp [09:02:34]Write 4 bytes [09:02:34]NVStorageSaveData done [09:02:34]ExternCall_PrintAddStr [09:02:34]wPrintStart [09:02:34]Write to MH i2c: 01 00 00 C5 37 FC [09:02:34]Write i2c OK [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: 01 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: 01 07 00 [09:02:34]MH_I2C_Read... [09:02:34]Read from MH i2c: 01 07 00 C5 37 00 00 00 00 00 FF 0F 11 [09:02:34]RasterBufferAndPrint [09:02:34]line Счет N : (1)359546 [09:02:34]line ИÐÐ: 02508201610067 [09:02:34]line Контрольно-КаÑÑовый Чек [09:02:34]line ПРОДÐЖР[09:02:34]line ТРК (МРК, ГÐК) : 51 [09:02:34]line Товар: 2710124130 [09:02:34]line Ðи-92-К-5 [09:02:34]line 4.740 * 63.40 [09:02:34]line = 300.52 [09:02:34]line ÐДС 12% ÐСП 1% [09:02:34]line > о реализуемом товаре [09:02:34]line ИТОГО: 300.52 [09:02:34]line ÐСП 1% : 2.66 [09:02:34]line ÐДС 12% : 31.91 [09:02:34]line Ðаличными: 0.00 [09:02:34]line Безнал.: 300.52 [09:02:34]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:02:34]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:02:34]line СÐО: Общий режим [09:02:34]line Чек 16 08.04.2024 09:02 [09:02:34]line Смена: 314 ФФД: 1.0 [09:02:34]line ЗÐМ: 0300000147 [09:02:34]line РÐМ: 0000000000091578 [09:02:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:02:34]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [09:02:34]line ФМ: 0000000000874657 [09:02:34]line ФД: 26803 [09:02:34]line ФПД: 210249554139702 [09:02:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T090246&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26803&fm=210249554139702&tin=02508201610067®Number=0000000000091578&sum=30052 [09:02:34]OFD Sender: Processing packet 26803 [packets to send 44, broken 43] [09:02:34]ProducePacketName [09:02:34]name=ofd_packets/00026803 [09:02:34]OFD Sender: To server: ‡•öpG, [09:02:34]CommunicateWithHost lk.salyk.kg:30040 [09:02:34]ConnectInit lk.salyk.kg [09:02:34]written 0, free lines is 4095 [09:02:35]Connected sock=10 [09:02:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 BB 4E 07 01 D2 58 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 B6 B2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B3 68 00 00 35 04 06 00 BF 38 89 FD 1A 36 38 C3 93 9D 20 90 93 0F [09:02:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 5C D4 47 00 F9 FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B3 68 00 00 F4 03 04 00 21 5A 13 66 B6 04 01 00 00 BD 93 E0 02 8E B3 00 F9 [09:02:35]CommunicateWithHost err = 0 [09:02:35]CheckOFDResponse [09:02:35]1017 (14) - 77093643461234 [09:02:35]1041 (16) - 0000000000874657 [09:02:35]1040 (4) - 26803 [09:02:35]1012 (4) - 08.04.2024 02:44 [09:02:35]1206 (1) - 0 [09:02:35]OFD Sender: Remove packet 26803 [09:02:35]ProducePacketName [09:02:35]name=ofd_packets/00026803 [09:02:35]NVStorageDeleteData [09:02:35]Write to MH i2c: 01 00 00 EF 37 26 [09:02:35]Write i2c OK [09:02:35]MH_I2C_Read... [09:02:35]Read from MH i2c: 01 [09:02:35]MH_I2C_Read... [09:02:35]Read from MH i2c: 01 07 00 [09:02:35]MH_I2C_Read... [09:02:35]Read from MH i2c: 01 07 00 EF 37 00 00 00 00 00 7E 0C B7 [09:02:35]RasterBufferAndPrint [09:02:35]line [09:02:35]line [09:02:35]line [09:02:35]line [09:02:35]line [09:02:35]written 0, free lines is 3202 [09:02:35]MH_Cut [09:02:35]Write to MH i2c: D1 01 00 F6 37 01 FF [09:02:35]Write i2c OK [09:02:35]MH_I2C_Read... [09:02:35]Read from MH i2c: D1 [09:02:35]MH_I2C_Read... [09:02:35]Read from MH i2c: D1 01 00 [09:02:35]MH_I2C_Read... [09:02:35]Read from MH i2c: D1 01 00 F6 37 00 FE [09:02:35]Write to MH i2c: 01 00 00 F7 37 2E [09:02:35]Write i2c OK [09:02:35]MH_I2C_Read... [09:02:35]OFD Sender: No OFD packet to send [09:02:36]*** Cut start [09:02:36]*** Partial cut [09:02:36]*** CUTSNS_PIN = 1 [09:02:36]*** CUTSNS_PIN = 0 [09:02:36]*** Brake cut motor [09:02:37]Read from MH i2c: 01 [09:02:37]MH_I2C_Read... [09:02:37]*** Stop cut motor [09:02:37]*** Cut end [09:02:37]Read from MH i2c: 01 07 00 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: 01 07 00 F7 37 00 00 00 00 00 FF 0F 43 [09:02:37]process_action close_receipt done [09:02:37]requested_data is exist [09:02:37]produce_requested_data [09:02:37]requested_item fm.sn is exist - process it [09:02:37]wFMCommunicate request_size=4 [09:02:37]MH_SAM_APDU [09:02:37]CAPDU: 80 11 00 00 [09:02:37]Write to MH i2c: E2 08 00 F8 37 80 11 00 00 00 00 00 00 A9 [09:02:37]Write i2c OK [09:02:37]MH_I2C_Read... [09:02:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:02:37]Read from MH i2c: E2 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: E2 17 00 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: E2 17 00 F8 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 01 [09:02:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:02:37]wFMCommunicate OK [09:02:37]requested_item fd.num is exist - process it [09:02:37]SAM_PROTO_GetFieldsCounters [09:02:37]wFMCommunicate request_size=4 [09:02:37]MH_SAM_APDU [09:02:37]CAPDU: 80 13 00 00 [09:02:37]Write to MH i2c: E2 08 00 F9 37 80 13 00 00 00 00 00 00 AC [09:02:37]Write i2c OK [09:02:37]MH_I2C_Read... [09:02:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:02:37]Read from MH i2c: E2 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: E2 62 00 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: E2 62 00 F9 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 5D [09:02:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:02:37]wFMCommunicate OK [09:02:37]SAM_PROTO_GetFieldsCounters done [09:02:37]requested_item shift.num is exist - process it [09:02:37]requested_item shift.opened is exist - process it [09:02:37]req_shift_opened [09:02:37]FM_GetShiftState [09:02:37]SAM_PROTO_GetShiftState [09:02:37]wFMCommunicate request_size=4 [09:02:37]MH_SAM_APDU [09:02:37]CAPDU: 80 13 01 00 [09:02:37]Write to MH i2c: E2 08 00 FA 37 80 13 01 00 00 00 00 00 AE [09:02:37]Write i2c OK [09:02:37]MH_I2C_Read... [09:02:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:02:37]Read from MH i2c: E2 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: E2 0E 00 [09:02:37]MH_I2C_Read... [09:02:37]Read from MH i2c: E2 0E 00 FA 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 3B [09:02:37]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:02:37]wFMCommunicate OK [09:02:37]SAM_PROTO_GetShiftState done [09:02:37]FM_GetShiftState done [09:02:37]req_shift_opened done [09:02:37]requested_item shift.open_date is exist - process it [09:02:37]req_shift_open_date [09:02:37]req_shift_open_date done [09:02:37]produce_requested_data done [09:02:37]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26803,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:02:37]process_action_free close_receipt [09:02:37]json_value_free [09:02:37]json_value_free done [09:02:37]process_json_proto returns [09:02:37]Send response to host [09:02:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26803,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:02:37]free response buf [09:02:37]execute_script done [09:02:37]execute_script returns [09:02:37]free content buf [09:02:37]Sock 8.Close socket [09:02:37]Sock 8.Thread stoped [09:02:40]OFD Sender: No OFD packet to send [09:02:45]OFD Sender: No OFD packet to send [09:02:50]OFD Sender: No OFD packet to send [09:02:55]OFD Sender: No OFD packet to send [09:03:00]OFD Sender: No OFD packet to send [09:03:05]OFD Sender: No OFD packet to send [09:03:10]OFD Sender: No OFD packet to send [09:03:15]OFD Sender: No OFD packet to send [09:03:20]OFD Sender: No OFD packet to send [09:03:25]OFD Sender: No OFD packet to send [09:03:30]OFD Sender: No OFD packet to send [09:03:35]OFD Sender: No OFD packet to send [09:03:40]OFD Sender: No OFD packet to send [09:03:45]OFD Sender: No OFD packet to send [09:03:50]OFD Sender: No OFD packet to send [09:03:55]OFD Sender: No OFD packet to send [09:04:00]OFD Sender: No OFD packet to send [09:04:05]OFD Sender: No OFD packet to send [09:04:10]OFD Sender: No OFD packet to send [09:04:15]OFD Sender: No OFD packet to send [09:04:20]OFD Sender: No OFD packet to send [09:04:25]OFD Sender: No OFD packet to send [09:04:30]OFD Sender: No OFD packet to send [09:04:35]OFD Sender: No OFD packet to send [09:04:40]OFD Sender: No OFD packet to send [09:04:45]OFD Sender: No OFD packet to send [09:04:50]OFD Sender: No OFD packet to send [09:04:55]OFD Sender: No OFD packet to send [09:05:00]OFD Sender: No OFD packet to send [09:05:05]OFD Sender: No OFD packet to send [09:05:10]OFD Sender: No OFD packet to send [09:05:15]OFD Sender: No OFD packet to send [09:05:20]OFD Sender: No OFD packet to send [09:05:25]OFD Sender: No OFD packet to send [09:05:30]OFD Sender: No OFD packet to send [09:05:35]OFD Sender: No OFD packet to send [09:05:40]OFD Sender: No OFD packet to send [09:05:45]OFD Sender: No OFD packet to send [09:05:50]OFD Sender: No OFD packet to send [09:05:55]OFD Sender: No OFD packet to send [09:05:56]accept exits with 9 [09:05:56]New connection [09:05:56]New thread 3066871140 created [09:05:56]Thread 3067014500 joined [09:05:56]Waiting for new connection... [09:05:56] Sock 9.Parse request [09:05:56]Sock 9.Check first char [09:05:56]Sock 9.First char is OK [09:05:56]request: POST /json_proto HTTP/1.0 [09:05:56]Method: POST [09:05:56]URL: /json_proto [09:05:56]Method is POST - this is cgi request [09:05:56]url: /json_proto [09:05:56]query_string will be loaded in cgi processing [09:05:56]execute_cgi json_proto POST (null) [09:05:56]execute_cgi path=json_proto method=POST [09:05:56]POST find Content-Length [09:05:56]Host: 172.17.35.3:8080 [09:05:56]Content-Length: 678 [09:05:56]Content-Type: application/json [09:05:56] [09:05:56]POST finish read [09:05:56]Found Content-Length = 678 [09:05:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359547", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 11.050, "sum" : 700.57, "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" ] } } [09:05:56]execute_script... [09:05: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)359547", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 11.050, "sum" : 700.57, "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" ] } } [09:05:56]POST & json_proto [09:05:56]process_json_proto [09:05:56]json parsed OK: [09:05:56]protocol is kg_v1.0 [09:05:56]action value=close_receipt [09:05:56]process_action close_receipt [09:05:56]cmd_close_receipt [09:05:56]MH_GetDate [09:05:56]Write to MH i2c: F0 00 00 FB 37 21 [09:05:56]Write i2c OK [09:05:56]MH_I2C_Read... [09:05:56]Read from MH i2c: F0 [09:05:56]MH_I2C_Read... [09:05:56]Read from MH i2c: F0 09 00 [09:05:56]MH_I2C_Read... [09:05:56]Read from MH i2c: F0 09 00 FB 37 00 82 B3 13 66 2B 11 66 64 DE [09:05:56]GetLastDocTimeStamp 1712566966 [09:05:56]current date 1712567170 [09:05:56]FM_GetShiftState [09:05:56]SAM_PROTO_GetShiftState [09:05:56]wFMCommunicate request_size=4 [09:05:56]MH_SAM_APDU [09:05:56]CAPDU: 80 13 01 00 [09:05:56]Write to MH i2c: E2 08 00 FC 37 80 13 01 00 00 00 00 00 B0 [09:05:56]Write i2c OK [09:05:56]MH_I2C_Read... [09:05:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:05:56]Read from MH i2c: E2 [09:05:56]MH_I2C_Read... [09:05:56]Read from MH i2c: E2 0E 00 [09:05:56]MH_I2C_Read... [09:05:56]Read from MH i2c: E2 0E 00 FC 37 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 3D [09:05:56]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:05:56]wFMCommunicate OK [09:05:56]SAM_PROTO_GetShiftState done [09:05:56]FM_GetShiftState done [09:05:56]opened in 1712536270 [09:05:56]opened+sec_in_day 1712622670 [09:05:56]quantity*price = 70057 [09:05:56]sum+1 = 70058 [09:05:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.57 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.40 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 17 08.04.2024 09:06 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26804 ФПД: 52650763149044 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T090610&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26804&fm=52650763149044&tin=02508201610067®Number=0000000000091578&sum=70000 [09:05:57]StoreToDocumentArchive [09:05:57]shift 314 fd 26804 [09:05:57]save to /storage/0314/doc_00026804 [09:05:57]save last doc name /storage/0314/doc_00026804 to /storage/kkm_last_doc_name [09:05:57]save OK [09:05:57]Clear old archive folders... [09:05:57]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:05:57]tlvbuf is 00E3B980 [09:05:57]SAM_PROTO_ClearQueue [09:05:57]wFMCommunicate request_size=4 [09:05:57]MH_SAM_APDU [09:05:57]CAPDU: 80 09 00 00 [09:05:57]Write to MH i2c: E2 08 00 09 38 80 09 00 00 00 00 00 00 B3 [09:05:57]Write i2c OK [09:05:57]MH_I2C_Read... [09:05:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:05:57]Read from MH i2c: E2 [09:05:57]MH_I2C_Read... [09:05:57]Read from MH i2c: E2 03 00 [09:05:57]MH_I2C_Read... [09:05:57]Read from MH i2c: E2 03 00 09 38 00 90 00 B5 [09:05:57]RAPDU: 90 00 [09:05:57]wFMCommunicate OK [09:05:57]SAM_PROTO_ClearQueue done [09:05:57]KKMCreateOFDPacket [09:05:57]OFDProtocolAddRootSTLVToBuf [09:05:57]FM_MakeSignedData [09:05:57]FM_MakeSignedData [09:05:57]SAM_PROTO_SignData [09:05:57]wFMCommunicate request_size=4 [09:05:57]MH_SAM_APDU [09:05:57]CAPDU: 80 0D 01 02 [09:05:57]Write to MH i2c: E2 08 00 0A 38 80 0D 01 02 00 00 00 00 BB [09:05:57]Write i2c OK [09:05:57]MH_I2C_Read... [09:05:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:05:57]Read from MH i2c: E2 [09:05:57]MH_I2C_Read... [09:05:57]Read from MH i2c: E2 03 00 [09:05:57]MH_I2C_Read... [09:05:57]Read from MH i2c: E2 03 00 0A 38 00 90 00 B6 [09:05:57]RAPDU: 90 00 [09:05:57]wFMCommunicate OK [09:05:57]wFMCommunicate request_size=255 [09:05:57]MH_SAM_APDU [09:05:57]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 11 00 00 00 F4 03 04 00 82 B3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B4 68 00 00 35 04 06 00 2F [09:05:57]Write to MH i2c: E2 02 01 0B 38 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 11 00 00 00 F4 03 04 00 82 B3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B4 68 00 00 35 04 06 00 2F 00 00 9F [09:05:57]Write i2c OK [09:05:57]MH_I2C_Read... [09:05:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:05:58]Read from MH i2c: E2 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 03 00 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 03 00 0B 38 00 90 00 B7 [09:05:58]RAPDU: 90 00 [09:05:58]wFMCommunicate OK [09:05:58]wFMCommunicate request_size=10 [09:05:58]MH_SAM_APDU [09:05:58]CAPDU: 80 0D 02 02 05 E2 B6 08 DE F4 [09:05:58]Write to MH i2c: E2 0D 00 0C 38 80 0D 02 02 05 00 E2 B6 08 DE F4 00 00 3A [09:05:58]Write i2c OK [09:05:58]MH_I2C_Read... [09:05:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:05:58]Read from MH i2c: E2 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 03 00 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 03 00 0C 38 00 90 00 B8 [09:05:58]RAPDU: 90 00 [09:05:58]wFMCommunicate OK [09:05:58]wFMCommunicate request_size=4 [09:05:58]MH_SAM_APDU [09:05:58]CAPDU: 80 0D 03 02 [09:05:58]Write to MH i2c: E2 08 00 0D 38 80 0D 03 02 00 00 00 00 C0 [09:05:58]Write i2c OK [09:05:58]MH_I2C_Read... [09:05:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:05:58]Read from MH i2c: E2 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 0B 00 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 0B 00 0D 38 00 32 40 68 FB B2 82 AD A9 90 00 20 [09:05:58]RAPDU: 32 40 68 FB B2 82 AD A9 90 00 [09:05:58]wFMCommunicate OK [09:05:58]SAM_PROTO_SignData done [09:05:58]FM_MakeSignedData done [09:05:58]CreateOFDProtocolMessage [09:05:58]wFMCommunicate request_size=4 [09:05:58]MH_SAM_APDU [09:05:58]CAPDU: 80 11 00 00 [09:05:58]Write to MH i2c: E2 08 00 0E 38 80 11 00 00 00 00 00 00 C0 [09:05:58]Write i2c OK [09:05:58]MH_I2C_Read... [09:05:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:05:58]Read from MH i2c: E2 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 17 00 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: E2 17 00 0E 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 18 [09:05:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:05:58]wFMCommunicate OK [09:05:58]CreateOFDProtocolMessage done [09:05:58]OFDSenderStorePacket 26804 [09:05:58]StoreOFDPacket docnum=26804 [09:05:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B8 6A 07 01 A7 2B 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 11 00 00 00 F4 03 04 00 82 B3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B4 68 00 00 35 04 06 00 2F E2 B6 08 DE F4 32 40 68 FB B2 82 AD A9 [09:05:58]CheckFolder [09:05:58]dirname=/storage/ofd_packets [09:05:58]CheckFolder done [09:05:58]ProducePacketName [09:05:58]name=ofd_packets/00026804 [09:05:58]NVStorageSaveData ofd_packets/00026804 [09:05:58]File name is /storage/ofd_packets/00026804 [09:05:58]Write 301 bytes [09:05:58]NVStorageSaveData done [09:05:58]OFDSenderStorePacket done [09:05:58]KKMCreateOFDPacket done [09:05:58]NVStorageSaveData kkm_last_timestamp [09:05:58]File name is /storage/kkm_last_timestamp [09:05:58]Write 4 bytes [09:05:58]NVStorageSaveData done [09:05:58]ExternCall_PrintAddStr [09:05:58]wPrintStart [09:05:58]Write to MH i2c: 01 00 00 0F 38 47 [09:05:58]Write i2c OK [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: 01 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: 01 07 00 [09:05:58]MH_I2C_Read... [09:05:58]Read from MH i2c: 01 07 00 0F 38 00 00 00 00 00 FF 0F 5C [09:05:58]RasterBufferAndPrint [09:05:58]line Счет N : (1)359547 [09:05:58]line ИÐÐ: 02508201610067 [09:05:58]line Контрольно-КаÑÑовый Чек [09:05:58]line ПРОДÐЖР[09:05:58]line ТРК (МРК, ГÐК) : 51 [09:05:58]line Товар: 2710124130 [09:05:58]line Ðи-92-К-5 [09:05:58]line 11.050 * 63.40 [09:05:58]line = 700.57 [09:05:58]line ÐДС 12% ÐСП 1% [09:05:58]line > о реализуемом товаре [09:05:58]line ОКРУГЛЕÐИЕ: -0.57 [09:05:58]line ИТОГО: 700.00 [09:05:58]line ВнеÑено: 700.00 [09:05:58]line СДÐЧÐ: 0.00 [09:05:58]line ÐСП 1% : 6.20 [09:05:58]line ÐДС 12% : 74.40 [09:05:58]line Ðаличными: 700.00 [09:05:58]line Безнал.: 0.00 [09:05:58]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:05:58]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:05:58]line СÐО: Общий режим [09:05:58]line Чек 17 08.04.2024 09:06 [09:05:58]line Смена: 314 ФФД: 1.0 [09:05:58]line ЗÐМ: 0300000147 [09:05:58]line РÐМ: 0000000000091578 [09:05:58]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:05:58]line ФМ: 0000000000874657 [09:05:58]line ФД: 26804 [09:05:58]line ФПД: 52650763149044 [09:05:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T090610&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26804&fm=52650763149044&tin=02508201610067®Number=0000000000091578&sum=70000 [09:05:58]written 0, free lines is 4095 [09:05:58]OFD Sender: Processing packet 26804 [packets to send 44, broken 43] [09:05:58]ProducePacketName [09:05:58]name=ofd_packets/00026804 [09:05:58]OFD Sender: To server: ‡•öpG, [09:05:58]CommunicateWithHost lk.salyk.kg:30040 [09:05:58]ConnectInit lk.salyk.kg [09:05:58]Connected sock=10 [09:05:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B8 6A 07 01 A7 2B 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 11 00 00 00 F4 03 04 00 82 B3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B4 68 00 00 35 04 06 00 2F E2 B6 08 DE F4 32 40 68 FB B2 82 AD A9 [09:05:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8F 2F 47 00 8E 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 38 37 34 36 35 37 10 04 04 00 B4 68 00 00 F4 03 04 00 ED 5A 13 66 B6 04 01 00 00 1F 97 E5 DD 31 86 B1 94 [09:05:58]CommunicateWithHost err = 0 [09:05:58]CheckOFDResponse [09:05:58]1017 (14) - 77093643461234 [09:05:58]1041 (16) - 0000000000874657 [09:05:58]1040 (4) - 26804 [09:05:58]1012 (4) - 08.04.2024 02:48 [09:05:58]1206 (1) - 0 [09:05:58]OFD Sender: Remove packet 26804 [09:05:58]ProducePacketName [09:05:58]name=ofd_packets/00026804 [09:05:58]NVStorageDeleteData [09:05:59]Write to MH i2c: 01 00 00 3A 38 72 [09:05:59]Write i2c OK [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: 01 [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: 01 07 00 [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: 01 07 00 3A 38 00 00 00 00 00 5E 0C E3 [09:05:59]RasterBufferAndPrint [09:05:59]line [09:05:59]line [09:05:59]line [09:05:59]line [09:05:59]line [09:05:59]written 0, free lines is 3170 [09:05:59]MH_Cut [09:05:59]Write to MH i2c: D1 01 00 41 38 01 4B [09:05:59]Write i2c OK [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: D1 [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: D1 01 00 [09:05:59]MH_I2C_Read... [09:05:59]Read from MH i2c: D1 01 00 41 38 00 4A [09:05:59]Write to MH i2c: 01 00 00 42 38 7A [09:05:59]Write i2c OK [09:05:59]MH_I2C_Read... [09:05:59]OFD Sender: No OFD packet to send [09:06:00]*** Cut start [09:06:00]*** Partial cut [09:06:00]*** CUTSNS_PIN = 1 [09:06:00]*** CUTSNS_PIN = 0 [09:06:00]*** Brake cut motor [09:06:00]Read from MH i2c: 01 [09:06:00]MH_I2C_Read... [09:06:00]*** Stop cut motor [09:06:00]*** Cut end [09:06:00]Read from MH i2c: 01 07 00 [09:06:00]MH_I2C_Read... [09:06:00]Read from MH i2c: 01 07 00 42 38 00 00 00 00 00 FF 0F 8F [09:06:00]process_action close_receipt done [09:06:00]requested_data is exist [09:06:00]produce_requested_data [09:06:00]requested_item fm.sn is exist - process it [09:06:00]wFMCommunicate request_size=4 [09:06:00]MH_SAM_APDU [09:06:00]CAPDU: 80 11 00 00 [09:06:00]Write to MH i2c: E2 08 00 43 38 80 11 00 00 00 00 00 00 F5 [09:06:00]Write i2c OK [09:06:00]MH_I2C_Read... [09:06:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:06:00]Read from MH i2c: E2 [09:06:00]MH_I2C_Read... [09:06:00]Read from MH i2c: E2 17 00 [09:06:00]MH_I2C_Read... [09:06:00]Read from MH i2c: E2 17 00 43 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4D [09:06:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:06:00]wFMCommunicate OK [09:06:00]requested_item fd.num is exist - process it [09:06:00]SAM_PROTO_GetFieldsCounters [09:06:00]wFMCommunicate request_size=4 [09:06:00]MH_SAM_APDU [09:06:00]CAPDU: 80 13 00 00 [09:06:00]Write to MH i2c: E2 08 00 44 38 80 13 00 00 00 00 00 00 F8 [09:06:00]Write i2c OK [09:06:00]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 62 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 62 00 44 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [09:06:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:06:01]wFMCommunicate OK [09:06:01]SAM_PROTO_GetFieldsCounters done [09:06:01]requested_item shift.num is exist - process it [09:06:01]requested_item shift.opened is exist - process it [09:06:01]req_shift_opened [09:06:01]FM_GetShiftState [09:06:01]SAM_PROTO_GetShiftState [09:06:01]wFMCommunicate request_size=4 [09:06:01]MH_SAM_APDU [09:06:01]CAPDU: 80 13 01 00 [09:06:01]Write to MH i2c: E2 08 00 45 38 80 13 01 00 00 00 00 00 FA [09:06:01]Write i2c OK [09:06:01]MH_I2C_Read... [09:06:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:06:01]Read from MH i2c: E2 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 0E 00 [09:06:01]MH_I2C_Read... [09:06:01]Read from MH i2c: E2 0E 00 45 38 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 87 [09:06:01]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:06:01]wFMCommunicate OK [09:06:01]SAM_PROTO_GetShiftState done [09:06:01]FM_GetShiftState done [09:06:01]req_shift_opened done [09:06:01]requested_item shift.open_date is exist - process it [09:06:01]req_shift_open_date [09:06:01]req_shift_open_date done [09:06:01]produce_requested_data done [09:06:01]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26804,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:06:01]process_action_free close_receipt [09:06:01]json_value_free [09:06:01]json_value_free done [09:06:01]process_json_proto returns [09:06:01]Send response to host [09:06:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26804,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:06:01]free response buf [09:06:01]execute_script done [09:06:01]execute_script returns [09:06:01]free content buf [09:06:01]Sock 9.Close socket [09:06:01]Sock 9.Thread stoped [09:06:04]OFD Sender: No OFD packet to send [09:06:09]OFD Sender: No OFD packet to send [09:06:14]OFD Sender: No OFD packet to send [09:06:19]OFD Sender: No OFD packet to send [09:06:24]OFD Sender: No OFD packet to send [09:06:29]OFD Sender: No OFD packet to send [09:06:34]OFD Sender: No OFD packet to send [09:06:39]OFD Sender: No OFD packet to send [09:06:44]OFD Sender: No OFD packet to send [09:06:49]OFD Sender: No OFD packet to send [09:06:54]OFD Sender: No OFD packet to send [09:06:59]OFD Sender: No OFD packet to send [09:07:04]OFD Sender: No OFD packet to send [09:07:09]OFD Sender: No OFD packet to send [09:07:14]OFD Sender: No OFD packet to send [09:07:19]OFD Sender: No OFD packet to send [09:07:24]OFD Sender: No OFD packet to send [09:07:29]OFD Sender: No OFD packet to send [09:07:34]OFD Sender: No OFD packet to send [09:07:39]OFD Sender: No OFD packet to send [09:07:44]OFD Sender: No OFD packet to send [09:07:49]OFD Sender: No OFD packet to send [09:07:54]OFD Sender: No OFD packet to send [09:07:59]OFD Sender: No OFD packet to send [09:08:04]OFD Sender: No OFD packet to send [09:08:05]accept exits with 8 [09:08:05]New connection [09:08:05]New thread 3067014500 created [09:08:05]Thread 3066871140 joined [09:08:05]Waiting for new connection... [09:08:05] Sock 8.Parse request [09:08:05]Sock 8.Check first char [09:08:05]Sock 8.First char is OK [09:08:05]request: POST /json_proto HTTP/1.0 [09:08:05]Method: POST [09:08:05]URL: /json_proto [09:08:05]Method is POST - this is cgi request [09:08:05]url: /json_proto [09:08:05]query_string will be loaded in cgi processing [09:08:05]execute_cgi json_proto POST (null) [09:08:05]execute_cgi path=json_proto method=POST [09:08:05]POST find Content-Length [09:08:05]Host: 172.17.35.3:8080 [09:08:05]Content-Length: 808 [09:08:05]Content-Type: application/json [09:08:05] [09:08:05]POST finish read [09:08:05]Found Content-Length = 808 [09:08:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359548", "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" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "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" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:05]execute_script... [09:08: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 : (1)359548", "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" : 71.80, "quantity" : 27.860, "sum" : 2000.35, "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" : 2000.35 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:05]POST & json_proto [09:08:05]process_json_proto [09:08:05]json parsed OK: [09:08:05]protocol is kg_v1.0 [09:08:05]action value=close_receipt [09:08:05]process_action close_receipt [09:08:05]cmd_close_receipt [09:08:05]MH_GetDate [09:08:05]Write to MH i2c: F0 00 00 46 38 6D [09:08:05]Write i2c OK [09:08:05]MH_I2C_Read... [09:08:05]Read from MH i2c: F0 [09:08:05]MH_I2C_Read... [09:08:05]Read from MH i2c: F0 09 00 [09:08:05]MH_I2C_Read... [09:08:05]Read from MH i2c: F0 09 00 46 38 00 03 B4 13 66 2B 11 66 64 AC [09:08:05]GetLastDocTimeStamp 1712567170 [09:08:05]current date 1712567299 [09:08:05]FM_GetShiftState [09:08:05]SAM_PROTO_GetShiftState [09:08:05]wFMCommunicate request_size=4 [09:08:05]MH_SAM_APDU [09:08:05]CAPDU: 80 13 01 00 [09:08:05]Write to MH i2c: E2 08 00 47 38 80 13 01 00 00 00 00 00 FC [09:08:05]Write i2c OK [09:08:05]MH_I2C_Read... [09:08:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:05]Read from MH i2c: E2 [09:08:05]MH_I2C_Read... [09:08:05]Read from MH i2c: E2 0E 00 [09:08:05]MH_I2C_Read... [09:08:05]Read from MH i2c: E2 0E 00 47 38 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 89 [09:08:05]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:08:05]wFMCommunicate OK [09:08:05]SAM_PROTO_GetShiftState done [09:08:05]FM_GetShiftState done [09:08:05]opened in 1712536270 [09:08:05]opened+sec_in_day 1712622670 [09:08:05]quantity*price = 200034 [09:08:05]sum+1 = 200036 [09:08:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.35 ÐСП 1% : 17.70 ÐДС 12% : 212.43 Ðаличными: 0.00 Безнал.: 2000.35 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 18 08.04.2024 09:08 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26805 ФПД: 125323595338256 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T090819&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26805&fm=125323595338256&tin=02508201610067®Number=0000000000091578&sum=200035 [09:08:06]StoreToDocumentArchive [09:08:06]shift 314 fd 26805 [09:08:06]save to /storage/0314/doc_00026805 [09:08:06]save last doc name /storage/0314/doc_00026805 to /storage/kkm_last_doc_name [09:08:06]save OK [09:08:06]Clear old archive folders... [09:08:06]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:08:06]tlvbuf is 00E9EF00 [09:08:06]SAM_PROTO_ClearQueue [09:08:06]wFMCommunicate request_size=4 [09:08:06]MH_SAM_APDU [09:08:06]CAPDU: 80 09 00 00 [09:08:06]Write to MH i2c: E2 08 00 54 38 80 09 00 00 00 00 00 00 FE [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:06]Read from MH i2c: E2 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 54 38 00 90 00 00 [09:08:06]RAPDU: 90 00 [09:08:06]wFMCommunicate OK [09:08:06]SAM_PROTO_ClearQueue done [09:08:06]KKMCreateOFDPacket [09:08:06]OFDProtocolAddRootSTLVToBuf [09:08:06]FM_MakeSignedData [09:08:06]FM_MakeSignedData [09:08:06]SAM_PROTO_SignData [09:08:06]wFMCommunicate request_size=4 [09:08:06]MH_SAM_APDU [09:08:06]CAPDU: 80 0D 01 02 [09:08:06]Write to MH i2c: E2 08 00 55 38 80 0D 01 02 00 00 00 00 06 [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:06]Read from MH i2c: E2 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 55 38 00 90 00 01 [09:08:06]RAPDU: 90 00 [09:08:06]wFMCommunicate OK [09:08:06]wFMCommunicate request_size=255 [09:08:06]MH_SAM_APDU [09:08:06]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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 03 B4 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B5 68 00 00 35 04 06 00 [09:08:06]Write to MH i2c: E2 02 01 56 38 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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 03 B4 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B5 68 00 00 35 04 06 00 00 00 ED [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:06]Read from MH i2c: E2 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 56 38 00 90 00 02 [09:08:06]RAPDU: 90 00 [09:08:06]wFMCommunicate OK [09:08:06]wFMCommunicate request_size=11 [09:08:06]MH_SAM_APDU [09:08:06]CAPDU: 80 0D 02 02 06 71 FB 2C 61 D2 10 [09:08:06]Write to MH i2c: E2 0E 00 57 38 80 0D 02 02 06 00 71 FB 2C 61 D2 10 00 00 F0 [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:06]Read from MH i2c: E2 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 03 00 57 38 00 90 00 03 [09:08:06]RAPDU: 90 00 [09:08:06]wFMCommunicate OK [09:08:06]wFMCommunicate request_size=4 [09:08:06]MH_SAM_APDU [09:08:06]CAPDU: 80 0D 03 02 [09:08:06]Write to MH i2c: E2 08 00 58 38 80 0D 03 02 00 00 00 00 0B [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:06]Read from MH i2c: E2 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 0B 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 0B 00 58 38 00 68 FB F8 76 61 4A 62 27 90 00 11 [09:08:06]RAPDU: 68 FB F8 76 61 4A 62 27 90 00 [09:08:06]wFMCommunicate OK [09:08:06]SAM_PROTO_SignData done [09:08:06]FM_MakeSignedData done [09:08:06]CreateOFDProtocolMessage [09:08:06]wFMCommunicate request_size=4 [09:08:06]MH_SAM_APDU [09:08:06]CAPDU: 80 11 00 00 [09:08:06]Write to MH i2c: E2 08 00 59 38 80 11 00 00 00 00 00 00 0B [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:06]Read from MH i2c: E2 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 17 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: E2 17 00 59 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 63 [09:08:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:08:06]wFMCommunicate OK [09:08:06]CreateOFDProtocolMessage done [09:08:06]OFDSenderStorePacket 26805 [09:08:06]StoreOFDPacket docnum=26805 [09:08:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 D8 BF 08 01 04 A4 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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 03 B4 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B5 68 00 00 35 04 06 00 71 FB 2C 61 D2 10 68 FB F8 76 61 4A 62 27 [09:08:06]CheckFolder [09:08:06]dirname=/storage/ofd_packets [09:08:06]CheckFolder done [09:08:06]ProducePacketName [09:08:06]name=ofd_packets/00026805 [09:08:06]NVStorageSaveData ofd_packets/00026805 [09:08:06]File name is /storage/ofd_packets/00026805 [09:08:06]Write 302 bytes [09:08:06]NVStorageSaveData done [09:08:06]OFDSenderStorePacket done [09:08:06]KKMCreateOFDPacket done [09:08:06]NVStorageSaveData kkm_last_timestamp [09:08:06]File name is /storage/kkm_last_timestamp [09:08:06]Write 4 bytes [09:08:06]NVStorageSaveData done [09:08:06]ExternCall_PrintAddStr [09:08:06]wPrintStart [09:08:06]Write to MH i2c: 01 00 00 5A 38 92 [09:08:06]Write i2c OK [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: 01 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: 01 07 00 [09:08:06]MH_I2C_Read... [09:08:06]Read from MH i2c: 01 07 00 5A 38 00 00 00 00 00 FF 0F A7 [09:08:06]RasterBufferAndPrint [09:08:06]line Счет N : (1)359548 [09:08:06]line ИÐÐ: 02508201610067 [09:08:06]line Контрольно-КаÑÑовый Чек [09:08:06]line ПРОДÐЖР[09:08:06]line ТРК (МРК, ГÐК) : 21 [09:08:06]line Товар: 2710194210 [09:08:06]line ДТ(л)-К-5 [09:08:06]line 27.860 * 71.80 [09:08:06]line = 2000.35 [09:08:06]line ÐДС 12% ÐСП 1% [09:08:06]line > о реализуемом товаре [09:08:06]line ИТОГО: 2000.35 [09:08:06]line ÐСП 1% : 17.70 [09:08:06]line ÐДС 12% : 212.43 [09:08:06]line Ðаличными: 0.00 [09:08:06]line Безнал.: 2000.35 [09:08:06]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:08:06]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:08:06]line СÐО: Общий режим [09:08:06]line Чек 18 08.04.2024 09:08 [09:08:06]line Смена: 314 ФФД: 1.0 [09:08:06]line ЗÐМ: 0300000147 [09:08:06]line РÐМ: 0000000000091578 [09:08:06]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:08:06]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [09:08:06]line ФМ: 0000000000874657 [09:08:06]line ФД: 26805 [09:08:06]line ФПД: 125323595338256 [09:08:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T090819&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26805&fm=125323595338256&tin=02508201610067®Number=0000000000091578&sum=200035 [09:08:07]OFD Sender: Processing packet 26805 [packets to send 44, broken 43] [09:08:07]ProducePacketName [09:08:07]name=ofd_packets/00026805 [09:08:07]OFD Sender: To server: ‡•öpG, [09:08:07]CommunicateWithHost lk.salyk.kg:30040 [09:08:07]ConnectInit lk.salyk.kg [09:08:07]written 0, free lines is 4095 [09:08:07]Connected sock=11 [09:08:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 D8 BF 08 01 04 A4 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 D4 6C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 63 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 63 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FB 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 63 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 03 B4 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B5 68 00 00 35 04 06 00 71 FB 2C 61 D2 10 68 FB F8 76 61 4A 62 27 [09:08:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 CA 60 47 00 09 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B5 68 00 00 F4 03 04 00 6D 5B 13 66 B6 04 01 00 00 1B 55 0A 39 0D E3 26 37 [09:08:07]CommunicateWithHost err = 0 [09:08:07]CheckOFDResponse [09:08:07]1017 (14) - 77093643461234 [09:08:07]1041 (16) - 0000000000874657 [09:08:07]1040 (4) - 26805 [09:08:07]1012 (4) - 08.04.2024 02:50 [09:08:07]1206 (1) - 0 [09:08:07]OFD Sender: Remove packet 26805 [09:08:07]ProducePacketName [09:08:07]name=ofd_packets/00026805 [09:08:07]NVStorageDeleteData [09:08:07]Write to MH i2c: 01 00 00 84 38 BC [09:08:07]Write i2c OK [09:08:07]MH_I2C_Read... [09:08:07]Read from MH i2c: 01 [09:08:07]MH_I2C_Read... [09:08:07]Read from MH i2c: 01 07 00 [09:08:07]MH_I2C_Read... [09:08:07]Read from MH i2c: 01 07 00 84 38 00 00 00 00 00 81 0C 50 [09:08:07]RasterBufferAndPrint [09:08:07]line [09:08:07]line [09:08:07]line [09:08:07]line [09:08:07]line [09:08:07]written 0, free lines is 3205 [09:08:07]MH_Cut [09:08:07]Write to MH i2c: D1 01 00 8B 38 01 95 [09:08:07]Write i2c OK [09:08:07]MH_I2C_Read... [09:08:07]Read from MH i2c: D1 [09:08:07]MH_I2C_Read... [09:08:07]Read from MH i2c: D1 01 00 [09:08:07]MH_I2C_Read... [09:08:07]Read from MH i2c: D1 01 00 8B 38 00 94 [09:08:07]Write to MH i2c: 01 00 00 8C 38 C4 [09:08:07]Write i2c OK [09:08:07]MH_I2C_Read... [09:08:08]OFD Sender: No OFD packet to send [09:08:08]int [09:08:08]*** FLAG_PRN_PAP2 set [09:08:08]*** Cut start [09:08:08]*** Partial cut [09:08:08]*** CUTSNS_PIN = 1 [09:08:08]*** CUTSNS_PIN = 0 [09:08:09]*** Brake cut motor [09:08:09]Read from MH i2c: 01 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: *** Stop cut motor [09:08:09]01 07 *** Cut end [09:08:09]00 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: 01 07 00 8C 38 00 02 00 00 00 FF 0F DB [09:08:09]process_action close_receipt done [09:08:09]requested_data is exist [09:08:09]produce_requested_data [09:08:09]requested_item fm.sn is exist - process it [09:08:09]wFMCommunicate request_size=4 [09:08:09]MH_SAM_APDU [09:08:09]CAPDU: 80 11 00 00 [09:08:09]Write to MH i2c: E2 08 00 8D 38 80 11 00 00 00 00 00 00 3F [09:08:09]Write i2c OK [09:08:09]MH_I2C_Read... [09:08:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:09]Read from MH i2c: E2 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: E2 17 00 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: E2 17 00 8D 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 97 [09:08:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:08:09]wFMCommunicate OK [09:08:09]requested_item fd.num is exist - process it [09:08:09]SAM_PROTO_GetFieldsCounters [09:08:09]wFMCommunicate request_size=4 [09:08:09]MH_SAM_APDU [09:08:09]CAPDU: 80 13 00 00 [09:08:09]Write to MH i2c: E2 08 00 8E 38 80 13 00 00 00 00 00 00 42 [09:08:09]Write i2c OK [09:08:09]MH_I2C_Read... [09:08:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:09]Read from MH i2c: E2 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: E2 62 00 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: E2 62 00 8E 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 FB [09:08:09]RAPDU: Write to MH i2c: 5D 01 00 00 B9 00 8F 04 38 01 C7 00 [09:08:09]01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 Write i2c OK [09:08:09]0D MH_I2C_Read... [09:08:09]04 Read from MH i2c: 10 01 00 [09:08:09]30 MH_I2C_Read... [09:08:09]30 30 Read from MH i2c: 30 01 30 07 30 00 30 [09:08:09]30 MH_I2C_Read... [09:08:09]30 30 30 39 31 35 37 Read from MH i2c: 38 01 10 07 04 00 04 8F 00 38 B5 00 68 02 00 00 00 00 0E 00 04 FF 0F 04 DE 00 [09:08:09]3A state=0 [09:08:09]01 Cover opened [09:08:09]00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:09]wFMCommunicate OK [09:08:09]SAM_PROTO_GetFieldsCounters done [09:08:09]requested_item shift.num is exist - process it [09:08:09]requested_item shift.opened is exist - process it [09:08:09]req_shift_opened [09:08:09]FM_GetShiftState [09:08:09]SAM_PROTO_GetShiftState [09:08:09]wFMCommunicate request_size=4 [09:08:09]MH_SAM_APDU [09:08:09]CAPDU: 80 13 01 00 [09:08:09]Write to MH i2c: E2 08 00 90 38 80 13 01 00 00 00 00 00 45 [09:08:09]Write i2c OK [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: E2 [09:08:09]MH_I2C_Read... [09:08:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:09]Read from MH i2c: E2 0E 00 [09:08:09]MH_I2C_Read... [09:08:09]Read from MH i2c: E2 0E 00 90 38 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 D2 [09:08:09]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:08:09]wFMCommunicate OK [09:08:09]SAM_PROTO_GetShiftState done [09:08:09]FM_GetShiftState done [09:08:09]req_shift_opened done [09:08:09]requested_item shift.open_date is exist - process it [09:08:09]req_shift_open_date [09:08:09]req_shift_open_date done [09:08:09]produce_requested_data done [09:08:09]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26805,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:08:09]process_action_free close_receipt [09:08:09]json_value_free [09:08:09]json_value_free done [09:08:09]process_json_proto returns [09:08:09]Send response to host [09:08:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26805,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:08:09]free response buf [09:08:09]execute_script done [09:08:09]execute_script returns [09:08:09]free content buf [09:08:09]Sock 8.Close socket [09:08:09]Sock 8.Thread stoped [09:08:13]OFD Sender: No OFD packet to send [09:08:14]Write to MH i2c: 01 00 00 91 38 C9 [09:08:14]Write i2c OK [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: 01 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: 01 07 00 [09:08:14]MH_I2C_Read... [09:08:14]Read from MH i2c: 01 07 00 91 38 00 02 00 00 00 FF 0F E0 [09:08:14]state=3 [09:08:14]Cover opened [09:08:18]OFD Sender: No OFD packet to send [09:08:19]Write to MH i2c: 01 00 00 92 38 CA [09:08:19]Write i2c OK [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: 01 [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: 01 07 00 [09:08:19]MH_I2C_Read... [09:08:19]Read from MH i2c: 01 07 00 92 38 00 02 00 00 00 FF 0F E1 [09:08:19]state=3 [09:08:19]Cover opened [09:08:23]OFD Sender: No OFD packet to send [09:08:24]Write to MH i2c: 01 00 00 93 38 CB [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 93 38 00 02 00 00 00 FF 0F E2 [09:08:24]state=3 [09:08:24]Cover opened [09:08:28]OFD Sender: No OFD packet to send [09:08:29]Write to MH i2c: 01 00 00 94 38 CC [09:08:29]Write i2c OK [09:08:29]MH_I2C_Read... [09:08:29]Read from MH i2c: 01 [09:08:29]MH_I2C_Read... [09:08:29]Read from MH i2c: 01 07 00 [09:08:29]MH_I2C_Read... [09:08:29]Read from MH i2c: 01 07 00 94 38 00 02 00 00 00 FF 0F E3 [09:08:29]state=3 [09:08:29]Cover opened [09:08:33]OFD Sender: No OFD packet to send [09:08:34]Write to MH i2c: 01 00 00 95 38 CD [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: 01 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: 01 07 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: 01 07 00 95 38 00 02 00 00 00 FF 0F E4 [09:08:34]state=3 [09:08:34]Cover opened [09:08:38]OFD Sender: No OFD packet to send [09:08:39]Write to MH i2c: 01 00 00 96 38 CE [09:08:39]Write i2c OK [09:08:39]MH_I2C_Read... [09:08:39]Read from MH i2c: 01 [09:08:39]MH_I2C_Read... [09:08:39]Read from MH i2c: 01 07 00 [09:08:39]MH_I2C_Read... [09:08:39]Read from MH i2c: 01 07 00 96 38 00 02 00 00 00 FF 0F E5 [09:08:39]state=3 [09:08:39]Cover opened [09:08:43]OFD Sender: No OFD packet to send [09:08:44]Write to MH i2c: 01 00 00 97 38 CF [09:08:44]Write i2c OK [09:08:44]MH_I2C_Read... [09:08:44]Read from MH i2c: 01 [09:08:44]MH_I2C_Read... [09:08:44]Read from MH i2c: 01 07 00 [09:08:44]MH_I2C_Read... [09:08:44]Read from MH i2c: 01 07 00 97 38 00 02 00 00 00 FF 0F E6 [09:08:44]state=3 [09:08:44]Cover opened [09:08:48]OFD Sender: No OFD packet to send [09:08:49]Write to MH i2c: 01 00 00 98 38 D0 [09:08:49]Write i2c OK [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: 01 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: 01 07 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: 01 07 00 98 38 00 02 00 00 00 FF 0F E7 [09:08:49]state=3 [09:08:49]Cover opened [09:08:53]OFD Sender: No OFD packet to send [09:08:54]Write to MH i2c: 01 00 00 99 38 D1 [09:08:54]Write i2c OK [09:08:54]MH_I2C_Read... [09:08:54]Read from MH i2c: 01 [09:08:54]MH_I2C_Read... [09:08:54]Read from MH i2c: 01 07 00 [09:08:54]MH_I2C_Read... [09:08:54]Read from MH i2c: 01 07 00 99 38 00 02 00 00 00 FF 0F E8 [09:08:54]state=3 [09:08:54]Cover opened [09:08:58]OFD Sender: No OFD packet to send [09:08:59]Write to MH i2c: 01 00 00 9A 38 D2 [09:08:59]Write i2c OK [09:08:59]MH_I2C_Read... [09:08:59]Read from MH i2c: 01 [09:08:59]MH_I2C_Read... [09:08:59]Read from MH i2c: 01 07 00 [09:08:59]MH_I2C_Read... [09:08:59]Read from MH i2c: 01 07 00 9A 38 00 02 00 00 00 FF 0F E9 [09:08:59]state=3 [09:08:59]Cover opened [09:09:03]OFD Sender: No OFD packet to send [09:09:04]Write to MH i2c: 01 00 00 9B 38 D3 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: 01 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: 01 07 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: 01 07 00 9B 38 00 02 00 00 00 FF 0F EA [09:09:04]state=3 [09:09:04]Cover opened [09:09:08]OFD Sender: No OFD packet to send [09:09:09]Write to MH i2c: 01 00 00 9C 38 D4 [09:09:09]Write i2c OK [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: 01 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: 01 07 00 [09:09:09]MH_I2C_Read... [09:09:09]Read from MH i2c: 01 07 00 9C 38 00 02 00 00 00 FF 0F EB [09:09:09]state=3 [09:09:09]Cover opened [09:09:13]OFD Sender: No OFD packet to send [09:09:14]Write to MH i2c: 01 00 00 9D 38 D5 [09:09:14]Write i2c OK [09:09:14]MH_I2C_Read... [09:09:14]Read from MH i2c: 01 [09:09:14]MH_I2C_Read... [09:09:14]Read from MH i2c: 01 07 00 [09:09:14]MH_I2C_Read... [09:09:14]Read from MH i2c: 01 07 00 9D 38 00 02 00 00 00 FF 0F EC [09:09:14]state=3 [09:09:14]Cover opened [09:09:18]OFD Sender: No OFD packet to send [09:09:19]Write to MH i2c: 01 00 00 9E 38 D6 [09:09:19]Write i2c OK [09:09:19]MH_I2C_Read... [09:09:19]Read from MH i2c: 01 [09:09:19]MH_I2C_Read... [09:09:19]Read from MH i2c: 01 07 00 [09:09:19]MH_I2C_Read... [09:09:19]Read from MH i2c: 01 07 00 9E 38 00 02 00 00 00 FF 0F ED [09:09:19]state=3 [09:09:19]Cover opened [09:09:23]OFD Sender: No OFD packet to send [09:09:24]Write to MH i2c: 01 00 00 9F 38 D7 [09:09:24]Write i2c OK [09:09:24]MH_I2C_Read... [09:09:24]Read from MH i2c: 01 [09:09:24]MH_I2C_Read... [09:09:24]Read from MH i2c: 01 07 00 [09:09:24]MH_I2C_Read... [09:09:24]Read from MH i2c: 01 07 00 9F 38 00 02 00 00 00 FF 0F EE [09:09:24]state=3 [09:09:24]Cover opened [09:09:28]OFD Sender: No OFD packet to send [09:09:29]Write to MH i2c: 01 00 00 A0 38 D8 [09:09:29]Write i2c OK [09:09:29]MH_I2C_Read... [09:09:29]Read from MH i2c: 01 [09:09:29]MH_I2C_Read... [09:09:29]Read from MH i2c: 01 07 00 [09:09:29]MH_I2C_Read... [09:09:29]Read from MH i2c: 01 07 00 A0 38 00 02 00 00 00 FF 0F EF [09:09:29]state=3 [09:09:29]Cover opened [09:09:33]OFD Sender: No OFD packet to send [09:09:34]Write to MH i2c: 01 00 00 A1 38 D9 [09:09:34]Write i2c OK [09:09:34]MH_I2C_Read... [09:09:34]Read from MH i2c: 01 [09:09:34]MH_I2C_Read... [09:09:34]Read from MH i2c: 01 07 00 [09:09:34]MH_I2C_Read... [09:09:34]Read from MH i2c: 01 07 00 A1 38 00 02 00 00 00 FF 0F F0 [09:09:34]state=3 [09:09:34]Cover opened [09:09:38]OFD Sender: No OFD packet to send [09:09:39]Write to MH i2c: 01 00 00 A2 38 DA [09:09:39]Write i2c OK [09:09:39]MH_I2C_Read... [09:09:39]Read from MH i2c: 01 [09:09:39]MH_I2C_Read... [09:09:39]Read from MH i2c: 01 07 00 [09:09:39]MH_I2C_Read... [09:09:39]Read from MH i2c: 01 07 00 A2 38 00 02 00 00 00 FF 0F F1 [09:09:39]state=3 [09:09:39]Cover opened [09:09:43]OFD Sender: No OFD packet to send [09:09:44]Write to MH i2c: 01 00 00 A3 38 DB [09:09:44]Write i2c OK [09:09:44]MH_I2C_Read... [09:09:44]Read from MH i2c: 01 [09:09:44]MH_I2C_Read... [09:09:44]Read from MH i2c: 01 07 00 [09:09:44]MH_I2C_Read... [09:09:44]Read from MH i2c: 01 07 00 A3 38 00 02 00 00 00 FF 0F F2 [09:09:44]state=3 [09:09:44]Cover opened [09:09:48]OFD Sender: No OFD packet to send [09:09:49]Write to MH i2c: 01 00 00 A4 38 DC [09:09:49]Write i2c OK [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: 01 [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: 01 07 00 [09:09:49]MH_I2C_Read... [09:09:49]Read from MH i2c: 01 07 00 A4 38 00 02 00 00 00 FF 0F F3 [09:09:49]state=3 [09:09:49]Cover opened [09:09:53]OFD Sender: No OFD packet to send [09:09:54]Write to MH i2c: 01 00 00 A5 38 DD [09:09:54]Write i2c OK [09:09:54]MH_I2C_Read... [09:09:54]Read from MH i2c: 01 [09:09:54]MH_I2C_Read... [09:09:54]Read from MH i2c: 01 07 00 [09:09:54]MH_I2C_Read... [09:09:54]Read from MH i2c: 01 07 00 A5 38 00 02 00 00 00 FF 0F F4 [09:09:54]state=3 [09:09:54]Cover opened [09:09:58]OFD Sender: No OFD packet to send [09:09:59]Write to MH i2c: 01 00 00 A6 38 DE [09:09:59]Write i2c OK [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: 01 [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: 01 07 00 [09:09:59]MH_I2C_Read... [09:09:59]Read from MH i2c: 01 07 00 A6 38 00 02 00 00 00 FF 0F F5 [09:09:59]state=3 [09:09:59]Cover opened [09:10:03]OFD Sender: No OFD packet to send [09:10:04]Write to MH i2c: 01 00 00 A7 38 DF [09:10:04]Write i2c OK [09:10:04]MH_I2C_Read... [09:10:04]Read from MH i2c: 01 [09:10:04]MH_I2C_Read... [09:10:04]Read from MH i2c: 01 07 00 [09:10:04]MH_I2C_Read... [09:10:04]Read from MH i2c: 01 07 00 A7 38 00 02 00 00 00 FF 0F F6 [09:10:04]state=3 [09:10:04]Cover opened [09:10:08]OFD Sender: No OFD packet to send [09:10:09]Write to MH i2c: 01 00 00 A8 38 E0 [09:10:09]Write i2c OK [09:10:09]MH_I2C_Read... [09:10:09]Read from MH i2c: 01 [09:10:09]MH_I2C_Read... [09:10:09]Read from MH i2c: 01 07 00 [09:10:09]MH_I2C_Read... [09:10:09]Read from MH i2c: 01 07 00 A8 38 00 02 00 00 00 FF 0F F7 [09:10:09]state=3 [09:10:09]Cover opened [09:10:13]OFD Sender: No OFD packet to send [09:10:14]Write to MH i2c: 01 00 00 A9 38 E1 [09:10:14]Write i2c OK [09:10:14]MH_I2C_Read... [09:10:14]Read from MH i2c: 01 [09:10:14]MH_I2C_Read... [09:10:14]Read from MH i2c: 01 07 00 [09:10:14]MH_I2C_Read... [09:10:14]Read from MH i2c: 01 07 00 A9 38 00 02 00 00 00 FF 0F F8 [09:10:14]state=3 [09:10:14]Cover opened [09:10:18]OFD Sender: No OFD packet to send [09:10:19]Write to MH i2c: 01 00 00 AA 38 E2 [09:10:19]Write i2c OK [09:10:19]MH_I2C_Read... [09:10:19]Read from MH i2c: 01 [09:10:19]MH_I2C_Read... [09:10:19]Read from MH i2c: 01 07 00 [09:10:19]MH_I2C_Read... [09:10:19]Read from MH i2c: 01 07 00 AA 38 00 02 00 00 00 FF 0F F9 [09:10:19]state=3 [09:10:19]Cover opened [09:10:23]OFD Sender: No OFD packet to send [09:10:24]Write to MH i2c: 01 00 00 AB 38 E3 [09:10:24]Write i2c OK [09:10:24]MH_I2C_Read... [09:10:24]Read from MH i2c: 01 [09:10:24]MH_I2C_Read... [09:10:24]Read from MH i2c: 01 07 00 [09:10:24]MH_I2C_Read... [09:10:24]Read from MH i2c: 01 07 00 AB 38 00 02 00 00 00 FF 0F FA [09:10:24]state=3 [09:10:24]Cover opened [09:10:28]OFD Sender: No OFD packet to send [09:10:29]Write to MH i2c: 01 00 00 AC 38 E4 [09:10:29]Write i2c OK [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: 01 [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: 01 07 00 [09:10:29]MH_I2C_Read... [09:10:29]Read from MH i2c: 01 07 00 AC 38 00 02 00 00 00 FF 0F FB [09:10:29]state=3 [09:10:29]Cover opened [09:10:33]OFD Sender: No OFD packet to send [09:10:34]Write to MH i2c: 01 00 00 AD 38 E5 [09:10:34]Write i2c OK [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: 01 [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: 01 07 00 [09:10:34]MH_I2C_Read... [09:10:34]Read from MH i2c: 01 07 00 AD 38 00 02 00 00 00 FF 0F FC [09:10:34]state=3 [09:10:34]Cover opened [09:10:38]OFD Sender: No OFD packet to send [09:10:39]Write to MH i2c: 01 00 00 AE 38 E6 [09:10:39]Write i2c OK [09:10:39]MH_I2C_Read... [09:10:39]Read from MH i2c: 01 [09:10:39]MH_I2C_Read... [09:10:39]Read from MH i2c: 01 07 00 [09:10:39]MH_I2C_Read... [09:10:39]Read from MH i2c: 01 07 00 AE 38 00 02 00 00 00 FF 0F FD [09:10:39]state=3 [09:10:39]Cover opened [09:10:43]OFD Sender: No OFD packet to send [09:10:44]Write to MH i2c: 01 00 00 AF 38 E7 [09:10:44]Write i2c OK [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: 01 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: 01 07 00 [09:10:44]MH_I2C_Read... [09:10:44]Read from MH i2c: 01 07 00 AF 38 00 02 00 00 00 FF 0F FE [09:10:44]state=3 [09:10:44]Cover opened [09:10:48]OFD Sender: No OFD packet to send [09:10:49]Write to MH i2c: 01 00 00 B0 38 E8 [09:10:49]Write i2c OK [09:10:49]MH_I2C_Read... [09:10:49]Read from MH i2c: 01 [09:10:49]MH_I2C_Read... [09:10:49]Read from MH i2c: 01 07 00 [09:10:49]MH_I2C_Read... [09:10:49]Read from MH i2c: 01 07 00 B0 38 00 02 00 00 00 FF 0F FF [09:10:49]state=3 [09:10:49]Cover opened [09:10:53]OFD Sender: No OFD packet to send [09:10:54]Write to MH i2c: 01 00 00 B1 38 E9 [09:10:54]Write i2c OK [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: 01 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: 01 07 00 [09:10:54]MH_I2C_Read... [09:10:54]Read from MH i2c: 01 07 00 B1 38 00 02 00 00 00 FF 0F 00 [09:10:54]state=3 [09:10:54]Cover opened [09:10:58]OFD Sender: No OFD packet to send [09:10:59]Write to MH i2c: 01 00 00 B2 38 EA [09:10:59]Write i2c OK [09:10:59]MH_I2C_Read... [09:10:59]Read from MH i2c: 01 [09:10:59]MH_I2C_Read... [09:10:59]Read from MH i2c: 01 07 00 [09:10:59]MH_I2C_Read... [09:10:59]Read from MH i2c: 01 07 00 B2 38 00 02 00 00 00 FF 0F 01 [09:10:59]state=3 [09:10:59]Cover opened [09:11:03]OFD Sender: No OFD packet to send [09:11:04]Write to MH i2c: 01 00 00 B3 38 EB [09:11:04]Write i2c OK [09:11:04]MH_I2C_Read... [09:11:04]Read from MH i2c: 01 [09:11:04]MH_I2C_Read... [09:11:04]Read from MH i2c: 01 07 00 [09:11:04]MH_I2C_Read... [09:11:04]Read from MH i2c: 01 07 00 B3 38 00 02 00 00 00 FF 0F 02 [09:11:04]state=3 [09:11:04]Cover opened [09:11:08]OFD Sender: No OFD packet to send [09:11:09]Write to MH i2c: 01 00 00 B4 38 EC [09:11:09]Write i2c OK [09:11:09]MH_I2C_Read... [09:11:09]Read from MH i2c: 01 [09:11:09]MH_I2C_Read... [09:11:09]Read from MH i2c: 01 07 00 [09:11:09]MH_I2C_Read... [09:11:09]Read from MH i2c: 01 07 00 B4 38 00 02 00 00 00 FF 0F 03 [09:11:09]state=3 [09:11:09]Cover opened [09:11:13]OFD Sender: No OFD packet to send [09:11:14]Write to MH i2c: 01 00 00 B5 38 ED [09:11:14]Write i2c OK [09:11:14]MH_I2C_Read... [09:11:14]Read from MH i2c: 01 [09:11:14]MH_I2C_Read... [09:11:14]Read from MH i2c: 01 07 00 [09:11:14]MH_I2C_Read... [09:11:14]Read from MH i2c: 01 07 00 B5 38 00 02 00 00 00 FF 0F 04 [09:11:14]state=3 [09:11:14]Cover opened [09:11:18]OFD Sender: No OFD packet to send [09:11:19]Write to MH i2c: 01 00 00 B6 38 EE [09:11:19]Write i2c OK [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: 01 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: 01 07 00 [09:11:19]MH_I2C_Read... [09:11:19]Read from MH i2c: 01 07 00 B6 38 00 02 00 00 00 FF 0F 05 [09:11:19]state=3 [09:11:19]Cover opened [09:11:23]OFD Sender: No OFD packet to send [09:11:24]Write to MH i2c: 01 00 00 B7 38 EF [09:11:24]Write i2c OK [09:11:24]MH_I2C_Read... [09:11:24]Read from MH i2c: 01 [09:11:24]MH_I2C_Read... [09:11:24]Read from MH i2c: 01 07 00 [09:11:24]MH_I2C_Read... [09:11:24]Read from MH i2c: 01 07 00 B7 38 00 02 00 00 00 FF 0F 06 [09:11:24]state=3 [09:11:24]Cover opened [09:11:28]OFD Sender: No OFD packet to send [09:11:29]Write to MH i2c: 01 00 00 B8 38 F0 [09:11:29]Write i2c OK [09:11:29]MH_I2C_Read... [09:11:29]Read from MH i2c: 01 [09:11:29]MH_I2C_Read... [09:11:29]Read from MH i2c: 01 07 00 [09:11:29]MH_I2C_Read... [09:11:29]Read from MH i2c: 01 07 00 B8 38 00 02 00 00 00 FF 0F 07 [09:11:29]state=3 [09:11:29]Cover opened [09:11:33]OFD Sender: No OFD packet to send [09:11:34]Write to MH i2c: 01 00 00 B9 38 F1 [09:11:34]Write i2c OK [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: 01 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: 01 07 00 [09:11:34]MH_I2C_Read... [09:11:34]Read from MH i2c: 01 07 00 B9 38 00 02 00 00 00 FF 0F 08 [09:11:34]state=3 [09:11:34]Cover opened [09:11:38]OFD Sender: No OFD packet to send [09:11:39]Write to MH i2c: 01 00 00 BA 38 F2 [09:11:39]Write i2c OK [09:11:39]MH_I2C_Read... [09:11:39]Read from MH i2c: 01 [09:11:39]MH_I2C_Read... [09:11:39]Read from MH i2c: 01 07 00 [09:11:39]MH_I2C_Read... [09:11:39]Read from MH i2c: 01 07 00 BA 38 00 02 00 00 00 FF 0F 09 [09:11:39]state=3 [09:11:39]Cover opened [09:11:43]OFD Sender: No OFD packet to send [09:11:44]Write to MH i2c: 01 00 00 BB 38 F3 [09:11:44]Write i2c OK [09:11:44]MH_I2C_Read... [09:11:44]Read from MH i2c: 01 [09:11:44]MH_I2C_Read... [09:11:44]Read from MH i2c: 01 07 00 [09:11:44]MH_I2C_Read... [09:11:44]Read from MH i2c: 01 07 00 BB 38 00 02 00 00 00 FF 0F 0A [09:11:44]state=3 [09:11:44]Cover opened [09:11:48]OFD Sender: No OFD packet to send [09:11:49]Write to MH i2c: 01 00 00 BC 38 F4 [09:11:49]Write i2c OK [09:11:49]MH_I2C_Read... [09:11:49]Read from MH i2c: 01 [09:11:49]MH_I2C_Read... [09:11:49]Read from MH i2c: 01 07 00 [09:11:49]MH_I2C_Read... [09:11:49]Read from MH i2c: 01 07 00 BC 38 00 02 00 00 00 FF 0F 0B [09:11:49]state=3 [09:11:49]Cover opened [09:11:53]OFD Sender: No OFD packet to send [09:11:54]Write to MH i2c: 01 00 00 BD 38 F5 [09:11:54]Write i2c OK [09:11:54]MH_I2C_Read... [09:11:54]Read from MH i2c: 01 [09:11:54]MH_I2C_Read... [09:11:54]Read from MH i2c: 01 07 00 [09:11:54]MH_I2C_Read... [09:11:54]Read from MH i2c: 01 07 00 BD 38 00 02 00 00 00 FF 0F 0C [09:11:54]state=3 [09:11:54]Cover opened [09:11:58]OFD Sender: No OFD packet to send [09:11:59]Write to MH i2c: 01 00 00 BE 38 F6 [09:11:59]Write i2c OK [09:11:59]MH_I2C_Read... [09:11:59]Read from MH i2c: 01 [09:11:59]MH_I2C_Read... [09:11:59]Read from MH i2c: 01 07 00 [09:11:59]MH_I2C_Read... [09:11:59]Read from MH i2c: 01 07 00 BE 38 00 02 00 00 00 FF 0F 0D [09:11:59]state=3 [09:11:59]Cover opened [09:12:03]OFD Sender: No OFD packet to send [09:12:04]Write to MH i2c: 01 00 00 BF 38 F7 [09:12:04]Write i2c OK [09:12:04]MH_I2C_Read... [09:12:04]Read from MH i2c: 01 [09:12:04]MH_I2C_Read... [09:12:04]Read from MH i2c: 01 07 00 [09:12:04]MH_I2C_Read... [09:12:04]Read from MH i2c: 01 07 00 BF 38 00 02 00 00 00 FF 0F 0E [09:12:04]state=3 [09:12:04]Cover opened [09:12:08]OFD Sender: No OFD packet to send [09:12:09]Write to MH i2c: 01 00 00 C0 38 F8 [09:12:09]Write i2c OK [09:12:09]MH_I2C_Read... [09:12:09]Read from MH i2c: 01 [09:12:09]MH_I2C_Read... [09:12:09]Read from MH i2c: 01 07 00 [09:12:09]MH_I2C_Read... [09:12:09]Read from MH i2c: 01 07 00 C0 38 00 02 00 00 00 FF 0F 0F [09:12:09]state=3 [09:12:09]Cover opened [09:12:13]OFD Sender: No OFD packet to send [09:12:14]Write to MH i2c: 01 00 00 C1 38 F9 [09:12:14]Write i2c OK [09:12:14]MH_I2C_Read... [09:12:14]Read from MH i2c: 01 [09:12:14]MH_I2C_Read... [09:12:14]Read from MH i2c: 01 07 00 [09:12:14]MH_I2C_Read... [09:12:14]Read from MH i2c: 01 07 00 C1 38 00 02 00 00 00 FF 0F 10 [09:12:14]state=3 [09:12:14]Cover opened [09:12:18]OFD Sender: No OFD packet to send [09:12:19]Write to MH i2c: 01 00 00 C2 38 FA [09:12:19]Write i2c OK [09:12:19]MH_I2C_Read... [09:12:19]Read from MH i2c: 01 [09:12:19]MH_I2C_Read... [09:12:19]Read from MH i2c: 01 07 00 [09:12:19]MH_I2C_Read... [09:12:19]Read from MH i2c: 01 07 00 C2 38 00 02 00 00 00 FF 0F 11 [09:12:19]state=3 [09:12:19]Cover opened [09:12:23]OFD Sender: No OFD packet to send [09:12:24]Write to MH i2c: 01 00 00 C3 38 FB [09:12:24]Write i2c OK [09:12:24]MH_I2C_Read... [09:12:24]Read from MH i2c: 01 [09:12:24]MH_I2C_Read... [09:12:24]Read from MH i2c: 01 07 00 [09:12:24]MH_I2C_Read... [09:12:24]Read from MH i2c: 01 07 00 C3 38 00 02 00 00 00 FF 0F 12 [09:12:24]state=3 [09:12:24]Cover opened [09:12:28]OFD Sender: No OFD packet to send [09:12:29]Write to MH i2c: 01 00 00 C4 38 FC [09:12:29]Write i2c OK [09:12:29]MH_I2C_Read... [09:12:29]Read from MH i2c: 01 [09:12:29]MH_I2C_Read... [09:12:29]Read from MH i2c: 01 07 00 [09:12:29]MH_I2C_Read... [09:12:29]Read from MH i2c: 01 07 00 C4 38 00 02 00 00 00 FF 0F 13 [09:12:29]state=3 [09:12:29]Cover opened [09:12:33]OFD Sender: No OFD packet to send [09:12:34]Write to MH i2c: 01 00 00 C5 38 FD [09:12:34]Write i2c OK [09:12:34]MH_I2C_Read... [09:12:34]Read from MH i2c: 01 [09:12:34]MH_I2C_Read... [09:12:34]Read from MH i2c: 01 07 00 [09:12:34]MH_I2C_Read... [09:12:34]Read from MH i2c: 01 07 00 C5 38 00 02 00 00 00 FF 0F 14 [09:12:34]state=3 [09:12:34]Cover opened [09:12:38]OFD Sender: No OFD packet to send [09:12:39]Write to MH i2c: 01 00 00 C6 38 FE [09:12:39]Write i2c OK [09:12:39]MH_I2C_Read... [09:12:39]Read from MH i2c: 01 [09:12:39]MH_I2C_Read... [09:12:39]Read from MH i2c: 01 07 00 [09:12:39]MH_I2C_Read... [09:12:39]Read from MH i2c: 01 07 00 C6 38 00 02 00 00 00 FF 0F 15 [09:12:39]state=3 [09:12:39]Cover opened [09:12:43]OFD Sender: No OFD packet to send [09:12:44]Write to MH i2c: 01 00 00 C7 38 FF [09:12:44]Write i2c OK [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: 01 [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: 01 07 00 [09:12:44]MH_I2C_Read... [09:12:44]Read from MH i2c: 01 07 00 C7 38 00 02 00 00 00 FF 0F 16 [09:12:44]state=3 [09:12:44]Cover opened [09:12:48]OFD Sender: No OFD packet to send [09:12:49]Write to MH i2c: 01 00 00 C8 38 00 [09:12:49]Write i2c OK [09:12:49]MH_I2C_Read... [09:12:49]Read from MH i2c: 01 [09:12:49]MH_I2C_Read... [09:12:49]Read from MH i2c: 01 07 00 [09:12:49]MH_I2C_Read... [09:12:49]Read from MH i2c: 01 07 00 C8 38 00 02 00 00 00 FF 0F 17 [09:12:49]state=3 [09:12:49]Cover opened [09:12:53]OFD Sender: No OFD packet to send [09:12:54]Write to MH i2c: 01 00 00 C9 38 01 [09:12:54]Write i2c OK [09:12:54]MH_I2C_Read... [09:12:54]Read from MH i2c: 01 [09:12:54]MH_I2C_Read... [09:12:54]Read from MH i2c: 01 07 00 [09:12:54]MH_I2C_Read... [09:12:54]Read from MH i2c: 01 07 00 C9 38 00 02 00 00 00 FF 0F 18 [09:12:54]state=3 [09:12:54]Cover opened [09:12:58]OFD Sender: No OFD packet to send [09:12:59]Write to MH i2c: 01 00 00 CA 38 02 [09:12:59]Write i2c OK [09:12:59]MH_I2C_Read... [09:12:59]Read from MH i2c: 01 [09:12:59]MH_I2C_Read... [09:12:59]Read from MH i2c: 01 07 00 [09:12:59]MH_I2C_Read... [09:12:59]Read from MH i2c: 01 07 00 CA 38 00 02 00 00 00 FF 0F 19 [09:12:59]state=3 [09:12:59]Cover opened [09:13:03]OFD Sender: No OFD packet to send [09:13:04]Write to MH i2c: 01 00 00 CB 38 03 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: 01 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: 01 07 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: 01 07 00 CB 38 00 02 00 00 00 FF 0F 1A [09:13:04]state=3 [09:13:04]Cover opened [09:13:08]OFD Sender: No OFD packet to send [09:13:10]Write to MH i2c: 01 00 00 CC 38 04 [09:13:10]Write i2c OK [09:13:10]MH_I2C_Read... [09:13:10]Read from MH i2c: 01 [09:13:10]MH_I2C_Read... [09:13:10]Read from MH i2c: 01 07 00 [09:13:10]MH_I2C_Read... [09:13:10]Read from MH i2c: 01 07 00 CC 38 00 02 00 00 00 FF 0F 1B [09:13:10]state=3 [09:13:10]Cover opened [09:13:13]OFD Sender: No OFD packet to send [09:13:15]Write to MH i2c: 01 00 00 CD 38 05 [09:13:15]Write i2c OK [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: 01 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: 01 07 00 [09:13:15]MH_I2C_Read... [09:13:15]Read from MH i2c: 01 07 00 CD 38 00 02 00 00 00 FF 0F 1C [09:13:15]state=3 [09:13:15]Cover opened [09:13:18]OFD Sender: No OFD packet to send [09:13:20]Write to MH i2c: 01 00 00 CE 38 06 [09:13:20]Write i2c OK [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: 01 [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: 01 07 00 [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: 01 07 00 CE 38 00 02 00 00 00 FF 0F 1D [09:13:20]state=3 [09:13:20]Cover opened [09:13:23]OFD Sender: No OFD packet to send [09:13:25]Write to MH i2c: 01 00 00 CF 38 07 [09:13:25]Write i2c OK [09:13:25]MH_I2C_Read... [09:13:25]Read from MH i2c: 01 [09:13:25]MH_I2C_Read... [09:13:25]Read from MH i2c: 01 07 00 [09:13:25]MH_I2C_Read... [09:13:25]Read from MH i2c: 01 07 00 CF 38 00 02 00 00 00 FF 0F 1E [09:13:25]state=3 [09:13:25]Cover opened [09:13:28]OFD Sender: No OFD packet to send [09:13:30]Write to MH i2c: 01 00 00 D0 38 08 [09:13:30]Write i2c OK [09:13:30]MH_I2C_Read... [09:13:30]Read from MH i2c: 01 [09:13:30]MH_I2C_Read... [09:13:30]Read from MH i2c: 01 07 00 [09:13:30]MH_I2C_Read... [09:13:30]Read from MH i2c: 01 07 00 D0 38 00 02 00 00 00 FF 0F 1F [09:13:30]state=3 [09:13:30]Cover opened [09:13:33]OFD Sender: No OFD packet to send [09:13:35]Write to MH i2c: 01 00 00 D1 38 09 [09:13:35]Write i2c OK [09:13:35]MH_I2C_Read... [09:13:35]Read from MH i2c: 01 [09:13:35]MH_I2C_Read... [09:13:35]Read from MH i2c: 01 07 00 [09:13:35]MH_I2C_Read... [09:13:35]Read from MH i2c: 01 07 00 D1 38 00 02 00 00 00 FF 0F 20 [09:13:35]state=3 [09:13:35]Cover opened [09:13:38]OFD Sender: No OFD packet to send [09:13:40]Write to MH i2c: 01 00 00 D2 38 0A [09:13:40]Write i2c OK [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: 01 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: 01 07 00 [09:13:40]MH_I2C_Read... [09:13:40]Read from MH i2c: 01 07 00 D2 38 00 02 00 00 00 FF 0F 21 [09:13:40]state=3 [09:13:40]Cover opened [09:13:43]OFD Sender: No OFD packet to send [09:13:45]Write to MH i2c: 01 00 00 D3 38 0B [09:13:45]Write i2c OK [09:13:45]MH_I2C_Read... [09:13:45]Read from MH i2c: 01 [09:13:45]MH_I2C_Read... [09:13:45]Read from MH i2c: 01 07 00 [09:13:45]MH_I2C_Read... [09:13:45]Read from MH i2c: 01 07 00 D3 38 00 02 00 00 00 FF 0F 22 [09:13:45]state=3 [09:13:45]Cover opened [09:13:48]OFD Sender: No OFD packet to send [09:13:50]Write to MH i2c: 01 00 00 D4 38 0C [09:13:50]Write i2c OK [09:13:50]MH_I2C_Read... [09:13:50]Read from MH i2c: 01 [09:13:50]MH_I2C_Read... [09:13:50]Read from MH i2c: 01 07 00 [09:13:50]MH_I2C_Read... [09:13:50]Read from MH i2c: 01 07 00 D4 38 00 02 00 00 00 FF 0F 23 [09:13:50]state=3 [09:13:50]Cover opened [09:13:53]OFD Sender: No OFD packet to send [09:13:55]Write to MH i2c: 01 00 00 D5 38 0D [09:13:55]Write i2c OK [09:13:55]MH_I2C_Read... [09:13:55]Read from MH i2c: 01 [09:13:55]MH_I2C_Read... [09:13:55]Read from MH i2c: 01 07 00 [09:13:55]MH_I2C_Read... [09:13:55]Read from MH i2c: 01 07 00 D5 38 00 02 00 00 00 FF 0F 24 [09:13:55]state=3 [09:13:55]Cover opened [09:13:58]OFD Sender: No OFD packet to send [09:14:00]Write to MH i2c: 01 00 00 D6 38 0E [09:14:00]Write i2c OK [09:14:00]MH_I2C_Read... [09:14:00]Read from MH i2c: 01 [09:14:00]MH_I2C_Read... [09:14:00]Read from MH i2c: 01 07 00 [09:14:00]MH_I2C_Read... [09:14:00]Read from MH i2c: 01 07 00 D6 38 00 02 00 00 00 FF 0F 25 [09:14:00]state=3 [09:14:00]Cover opened [09:14:03]OFD Sender: No OFD packet to send [09:14:05]Write to MH i2c: 01 00 00 D7 38 0F [09:14:05]Write i2c OK [09:14:05]MH_I2C_Read... [09:14:05]Read from MH i2c: 01 [09:14:05]MH_I2C_Read... [09:14:05]Read from MH i2c: 01 07 00 [09:14:05]MH_I2C_Read... [09:14:05]Read from MH i2c: 01 07 00 D7 38 00 02 00 00 00 FF 0F 26 [09:14:05]state=3 [09:14:05]Cover opened [09:14:08]OFD Sender: No OFD packet to send [09:14:10]Write to MH i2c: 01 00 00 D8 38 10 [09:14:10]Write i2c OK [09:14:10]MH_I2C_Read... [09:14:10]Read from MH i2c: 01 [09:14:10]MH_I2C_Read... [09:14:10]Read from MH i2c: 01 07 00 [09:14:10]MH_I2C_Read... [09:14:10]Read from MH i2c: 01 07 00 D8 38 00 02 00 00 00 FF 0F 27 [09:14:10]state=3 [09:14:10]Cover opened [09:14:13]OFD Sender: No OFD packet to send [09:14:15]Write to MH i2c: 01 00 00 D9 38 11 [09:14:15]Write i2c OK [09:14:15]MH_I2C_Read... [09:14:15]Read from MH i2c: 01 [09:14:15]MH_I2C_Read... [09:14:15]Read from MH i2c: 01 07 00 [09:14:15]MH_I2C_Read... [09:14:15]Read from MH i2c: 01 07 00 D9 38 00 02 00 00 00 FF 0F 28 [09:14:15]state=3 [09:14:15]Cover opened [09:14:18]OFD Sender: No OFD packet to send [09:14:20]Write to MH i2c: 01 00 00 DA 38 12 [09:14:20]Write i2c OK [09:14:20]MH_I2C_Read... [09:14:20]Read from MH i2c: 01 [09:14:20]MH_I2C_Read... [09:14:20]Read from MH i2c: 01 07 00 [09:14:20]MH_I2C_Read... [09:14:20]Read from MH i2c: 01 07 00 DA 38 00 02 00 00 00 FF 0F 29 [09:14:20]state=3 [09:14:20]Cover opened [09:14:23]OFD Sender: No OFD packet to send [09:14:25]Write to MH i2c: 01 00 00 DB 38 13 [09:14:25]Write i2c OK [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: 01 [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: 01 07 00 [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: 01 07 00 DB 38 00 02 00 00 00 FF 0F 2A [09:14:25]state=3 [09:14:25]Cover opened [09:14:28]OFD Sender: No OFD packet to send [09:14:30]Write to MH i2c: 01 00 00 DC 38 14 [09:14:30]Write i2c OK [09:14:30]MH_I2C_Read... [09:14:30]Read from MH i2c: 01 [09:14:30]MH_I2C_Read... [09:14:30]Read from MH i2c: 01 07 00 [09:14:30]MH_I2C_Read... [09:14:30]Read from MH i2c: 01 07 00 DC 38 00 02 00 00 00 FF 0F 2B [09:14:30]state=3 [09:14:30]Cover opened [09:14:33]OFD Sender: No OFD packet to send [09:14:35]Write to MH i2c: 01 00 00 DD 38 15 [09:14:35]Write i2c OK [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: 01 [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: 01 07 00 [09:14:35]MH_I2C_Read... [09:14:35]Read from MH i2c: 01 07 00 DD 38 00 02 00 00 00 FF 0F 2C [09:14:35]state=3 [09:14:35]Cover opened [09:14:38]OFD Sender: No OFD packet to send [09:14:40]Write to MH i2c: 01 00 00 DE 38 16 [09:14:40]Write i2c OK [09:14:40]MH_I2C_Read... [09:14:40]Read from MH i2c: 01 [09:14:40]MH_I2C_Read... [09:14:40]Read from MH i2c: 01 07 00 [09:14:40]MH_I2C_Read... [09:14:40]Read from MH i2c: 01 07 00 DE 38 00 02 00 00 00 FF 0F 2D [09:14:40]state=3 [09:14:40]Cover opened [09:14:43]OFD Sender: No OFD packet to send [09:14:45]Write to MH i2c: 01 00 00 DF 38 17 [09:14:45]Write i2c OK [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: 01 [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: 01 07 00 [09:14:45]MH_I2C_Read... [09:14:45]Read from MH i2c: 01 07 00 DF 38 00 02 00 00 00 FF 0F 2E [09:14:45]state=3 [09:14:45]Cover opened [09:14:48]OFD Sender: No OFD packet to send [09:14:50]Write to MH i2c: 01 00 00 E0 38 18 [09:14:50]Write i2c OK [09:14:50]MH_I2C_Read... [09:14:50]Read from MH i2c: 01 [09:14:50]MH_I2C_Read... [09:14:50]Read from MH i2c: 01 07 00 [09:14:50]MH_I2C_Read... [09:14:50]Read from MH i2c: 01 07 00 E0 38 00 02 00 00 00 FF 0F 2F [09:14:50]state=3 [09:14:50]Cover opened [09:14:53]OFD Sender: No OFD packet to send [09:14:55]Write to MH i2c: 01 00 00 E1 38 19 [09:14:55]Write i2c OK [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 07 00 [09:14:55]MH_I2C_Read... [09:14:55]Read from MH i2c: 01 07 00 E1 38 00 02 00 00 00 FF 0F 30 [09:14:55]state=3 [09:14:55]Cover opened [09:14:58]OFD Sender: No OFD packet to send [09:15:00]Write to MH i2c: 01 00 00 E2 38 1A [09:15:00]Write i2c OK [09:15:00]MH_I2C_Read... [09:15:00]Read from MH i2c: 01 [09:15:00]MH_I2C_Read... [09:15:00]Read from MH i2c: 01 07 00 [09:15:00]MH_I2C_Read... [09:15:00]Read from MH i2c: 01 07 00 E2 38 00 02 00 00 00 FF 0F 31 [09:15:00]state=3 [09:15:00]Cover opened [09:15:03]OFD Sender: No OFD packet to send [09:15:05]Write to MH i2c: 01 00 00 E3 38 1B [09:15:05]Write i2c OK [09:15:05]MH_I2C_Read... [09:15:05]Read from MH i2c: 01 [09:15:05]MH_I2C_Read... [09:15:05]Read from MH i2c: 01 07 00 [09:15:05]MH_I2C_Read... [09:15:05]Read from MH i2c: 01 07 00 E3 38 00 02 00 00 00 FF 0F 32 [09:15:05]state=3 [09:15:05]Cover opened [09:15:08]OFD Sender: No OFD packet to send [09:15:10]Write to MH i2c: 01 00 00 E4 38 1C [09:15:10]Write i2c OK [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: 01 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: 01 07 00 [09:15:10]MH_I2C_Read... [09:15:10]Read from MH i2c: 01 07 00 E4 38 00 02 00 00 00 FF 0F 33 [09:15:10]state=3 [09:15:10]Cover opened [09:15:13]OFD Sender: No OFD packet to send [09:15:15]Write to MH i2c: 01 00 00 E5 38 1D [09:15:15]Write i2c OK [09:15:15]MH_I2C_Read... [09:15:15]Read from MH i2c: 01 [09:15:15]MH_I2C_Read... [09:15:15]Read from MH i2c: 01 07 00 [09:15:15]MH_I2C_Read... [09:15:15]Read from MH i2c: 01 07 00 E5 38 00 02 00 00 00 FF 0F 34 [09:15:15]state=3 [09:15:15]Cover opened [09:15:18]OFD Sender: No OFD packet to send [09:15:20]Write to MH i2c: 01 00 00 E6 38 1E [09:15:20]Write i2c OK [09:15:20]MH_I2C_Read... [09:15:20]Read from MH i2c: 01 [09:15:20]MH_I2C_Read... [09:15:20]Read from MH i2c: 01 07 00 [09:15:20]MH_I2C_Read... [09:15:20]Read from MH i2c: 01 07 00 E6 38 00 02 00 00 00 FF 0F 35 [09:15:20]state=3 [09:15:20]Cover opened [09:15:23]OFD Sender: No OFD packet to send [09:15:25]Write to MH i2c: 01 00 00 E7 38 1F [09:15:25]Write i2c OK [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: 01 [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: 01 07 00 [09:15:25]MH_I2C_Read... [09:15:25]Read from MH i2c: 01 07 00 E7 38 00 02 00 00 00 FF 0F 36 [09:15:25]state=3 [09:15:25]Cover opened [09:15:28]OFD Sender: No OFD packet to send [09:15:30]Write to MH i2c: 01 00 00 E8 38 20 [09:15:30]Write i2c OK [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: 01 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: 01 07 00 [09:15:30]MH_I2C_Read... [09:15:30]Read from MH i2c: 01 07 00 E8 38 00 02 00 00 00 FF 0F 37 [09:15:30]state=3 [09:15:30]Cover opened [09:15:33]OFD Sender: No OFD packet to send [09:15:35]Write to MH i2c: 01 00 00 E9 38 21 [09:15:35]Write i2c OK [09:15:35]MH_I2C_Read... [09:15:35]Read from MH i2c: 01 [09:15:35]MH_I2C_Read... [09:15:35]Read from MH i2c: 01 07 00 [09:15:35]MH_I2C_Read... [09:15:35]Read from MH i2c: 01 07 00 E9 38 00 02 00 00 00 FF 0F 38 [09:15:35]state=3 [09:15:35]Cover opened [09:15:38]OFD Sender: No OFD packet to send [09:15:40]Write to MH i2c: 01 00 00 EA 38 22 [09:15:40]Write i2c OK [09:15:40]MH_I2C_Read... [09:15:40]Read from MH i2c: 01 [09:15:40]MH_I2C_Read... [09:15:40]Read from MH i2c: 01 07 00 [09:15:40]MH_I2C_Read... [09:15:40]Read from MH i2c: 01 07 00 EA 38 00 02 00 00 00 FF 0F 39 [09:15:40]state=3 [09:15:40]Cover opened [09:15:43]OFD Sender: No OFD packet to send [09:15:45]Write to MH i2c: 01 00 00 EB 38 23 [09:15:45]Write i2c OK [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: 01 [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: 01 07 00 [09:15:45]MH_I2C_Read... [09:15:45]Read from MH i2c: 01 07 00 EB 38 00 02 00 00 00 FF 0F 3A [09:15:45]state=3 [09:15:45]Cover opened [09:15:48]OFD Sender: No OFD packet to send [09:15:50]Write to MH i2c: 01 00 00 EC 38 24 [09:15:50]Write i2c OK [09:15:50]MH_I2C_Read... [09:15:50]Read from MH i2c: 01 [09:15:50]MH_I2C_Read... [09:15:50]Read from MH i2c: 01 07 00 [09:15:50]MH_I2C_Read... [09:15:50]Read from MH i2c: 01 07 00 EC 38 00 02 00 00 00 FF 0F 3B [09:15:50]state=3 [09:15:50]Cover opened [09:15:53]OFD Sender: No OFD packet to send [09:15:55]Write to MH i2c: 01 00 00 ED 38 25 [09:15:55]Write i2c OK [09:15:55]MH_I2C_Read... [09:15:55]Read from MH i2c: 01 [09:15:55]MH_I2C_Read... [09:15:55]Read from MH i2c: 01 07 00 [09:15:55]MH_I2C_Read... [09:15:55]Read from MH i2c: 01 07 00 ED 38 00 02 00 00 00 FF 0F 3C [09:15:55]state=3 [09:15:55]Cover opened [09:15:58]OFD Sender: No OFD packet to send [09:16:00]Write to MH i2c: 01 00 00 EE 38 26 [09:16:00]Write i2c OK [09:16:00]MH_I2C_Read... [09:16:00]Read from MH i2c: 01 [09:16:00]MH_I2C_Read... [09:16:00]Read from MH i2c: 01 07 00 [09:16:00]MH_I2C_Read... [09:16:00]Read from MH i2c: 01 07 00 EE 38 00 02 00 00 00 FF 0F 3D [09:16:00]state=3 [09:16:00]Cover opened [09:16:03]OFD Sender: No OFD packet to send [09:16:05]Write to MH i2c: 01 00 00 EF 38 27 [09:16:05]Write i2c OK [09:16:05]MH_I2C_Read... [09:16:05]Read from MH i2c: 01 [09:16:05]MH_I2C_Read... [09:16:05]Read from MH i2c: 01 07 00 [09:16:05]MH_I2C_Read... [09:16:05]Read from MH i2c: 01 07 00 EF 38 00 02 00 00 00 FF 0F 3E [09:16:05]state=3 [09:16:05]Cover opened [09:16:08]OFD Sender: No OFD packet to send [09:16:10]Write to MH i2c: 01 00 00 F0 38 28 [09:16:10]Write i2c OK [09:16:10]MH_I2C_Read... [09:16:10]Read from MH i2c: 01 [09:16:10]MH_I2C_Read... [09:16:10]Read from MH i2c: 01 07 00 [09:16:10]MH_I2C_Read... [09:16:10]Read from MH i2c: 01 07 00 F0 38 00 02 00 00 00 FF 0F 3F [09:16:10]state=3 [09:16:10]Cover opened [09:16:13]OFD Sender: No OFD packet to send [09:16:15]Write to MH i2c: 01 00 00 F1 38 29 [09:16:15]Write i2c OK [09:16:15]MH_I2C_Read... [09:16:15]Read from MH i2c: 01 [09:16:15]MH_I2C_Read... [09:16:15]Read from MH i2c: 01 07 00 [09:16:15]MH_I2C_Read... [09:16:15]Read from MH i2c: 01 07 00 F1 38 00 02 00 00 00 FF 0F 40 [09:16:15]state=3 [09:16:15]Cover opened [09:16:15]accept exits with 9 [09:16:15]New connection [09:16:15]New thread 3066871140 created [09:16:15]Thread 3067014500 joined [09:16:15]Waiting for new connection... [09:16:15] Sock 9.Parse request [09:16:15]Sock 9.Check first char [09:16:15]Sock 9.First char is OK [09:16:15]request: POST /json_proto HTTP/1.0 [09:16:15]Method: POST [09:16:15]URL: /json_proto [09:16:15]Method is POST - this is cgi request [09:16:15]url: /json_proto [09:16:15]query_string will be loaded in cgi processing [09:16:15]execute_cgi json_proto POST (null) [09:16:15]execute_cgi path=json_proto method=POST [09:16:15]POST find Content-Length [09:16:15]Host: 172.17.35.3:8080 [09:16:15]Content-Length: 687 [09:16:15]Content-Type: application/json [09:16:15] [09:16:15]POST finish read [09:16:15]Found Content-Length = 687 [09:16:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359549", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:15]execute_script... [09:16:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359549", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:15]POST & json_proto [09:16:15]process_json_proto [09:16:15]json parsed OK: [09:16:15]protocol is kg_v1.0 [09:16:15]action value=close_receipt [09:16:15]process_action close_receipt [09:16:15]cmd_close_receipt [09:16:15]MH_GetDate [09:16:15]Write to MH i2c: F0 00 00 F2 38 19 [09:16:15]Write i2c OK [09:16:15]MH_I2C_Read... [09:16:15]Read from MH i2c: F0 [09:16:15]MH_I2C_Read... [09:16:15]Read from MH i2c: F0 09 00 [09:16:15]MH_I2C_Read... [09:16:15]Read from MH i2c: F0 09 00 F2 38 00 ED B5 13 66 2B 11 66 64 43 [09:16:15]GetLastDocTimeStamp 1712567299 [09:16:15]current date 1712567789 [09:16:15]FM_GetShiftState [09:16:15]SAM_PROTO_GetShiftState [09:16:15]wFMCommunicate request_size=4 [09:16:15]MH_SAM_APDU [09:16:15]CAPDU: 80 13 01 00 [09:16:15]Write to MH i2c: E2 08 00 F3 38 80 13 01 00 00 00 00 00 A8 [09:16:15]Write i2c OK [09:16:15]MH_I2C_Read... [09:16:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:16]Read from MH i2c: E2 [09:16:16]MH_I2C_Read... [09:16:16]Read from MH i2c: E2 0E 00 [09:16:16]MH_I2C_Read... [09:16:16]Read from MH i2c: E2 0E 00 F3 38 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 35 [09:16:16]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:16:16]wFMCommunicate OK [09:16:16]SAM_PROTO_GetShiftState done [09:16:16]FM_GetShiftState done [09:16:16]opened in 1712536270 [09:16:16]opened+sec_in_day 1712622670 [09:16:16]quantity*price = 100017 [09:16:16]sum+1 = 100018 [09:16:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 19 08.04.2024 09:16 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26806 ФПД: 48206681237625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T091629&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26806&fm=48206681237625&tin=02508201610067®Number=0000000000091578&sum=100000 [09:16:17]StoreToDocumentArchive [09:16:17]shift 314 fd 26806 [09:16:17]save to /storage/0314/doc_00026806 [09:16:17]save last doc name /storage/0314/doc_00026806 to /storage/kkm_last_doc_name [09:16:17]save OK [09:16:17]Clear old archive folders... [09:16:17]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:16:17]tlvbuf is B6DB70E0 [09:16:17]SAM_PROTO_ClearQueue [09:16:17]wFMCommunicate request_size=4 [09:16:17]MH_SAM_APDU [09:16:17]CAPDU: 80 09 00 00 [09:16:17]Write to MH i2c: E2 08 00 00 39 80 09 00 00 00 00 00 00 AB [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:16:17]Read from MH i2c: E2 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 00 39 00 90 00 AD [09:16:17]RAPDU: 90 00 [09:16:17]wFMCommunicate OK [09:16:17]SAM_PROTO_ClearQueue done [09:16:17]KKMCreateOFDPacket [09:16:17]OFDProtocolAddRootSTLVToBuf [09:16:17]FM_MakeSignedData [09:16:17]FM_MakeSignedData [09:16:17]SAM_PROTO_SignData [09:16:17]wFMCommunicate request_size=4 [09:16:17]MH_SAM_APDU [09:16:17]CAPDU: 80 0D 01 02 [09:16:17]Write to MH i2c: E2 08 00 01 39 80 0D 01 02 00 00 00 00 B3 [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:16:17]Read from MH i2c: E2 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 01 39 00 90 00 AE [09:16:17]RAPDU: 90 00 [09:16:17]wFMCommunicate OK [09:16:17]wFMCommunicate request_size=255 [09:16:17]MH_SAM_APDU [09:16:17]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 ED B5 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B6 68 00 00 35 04 06 00 [09:16:17]Write to MH i2c: E2 02 01 02 39 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 ED B5 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B6 68 00 00 35 04 06 00 00 00 F5 [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:17]Read from MH i2c: E2 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 02 39 00 90 00 AF [09:16:17]RAPDU: 90 00 [09:16:17]wFMCommunicate OK [09:16:17]wFMCommunicate request_size=11 [09:16:17]MH_SAM_APDU [09:16:17]CAPDU: 80 0D 02 02 06 2B D7 FE 1C 68 79 [09:16:17]Write to MH i2c: E2 0E 00 03 39 80 0D 02 02 06 00 2B D7 FE 1C 68 79 00 00 BF [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:17]Read from MH i2c: E2 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 03 00 03 39 00 90 00 B0 [09:16:17]RAPDU: 90 00 [09:16:17]wFMCommunicate OK [09:16:17]wFMCommunicate request_size=4 [09:16:17]MH_SAM_APDU [09:16:17]CAPDU: 80 0D 03 02 [09:16:17]Write to MH i2c: E2 08 00 04 39 80 0D 03 02 00 00 00 00 B8 [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:16:17]Read from MH i2c: E2 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 0B 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 0B 00 04 39 00 25 41 20 A2 69 B4 13 10 90 00 21 [09:16:17]RAPDU: 25 41 20 A2 69 B4 13 10 90 00 [09:16:17]wFMCommunicate OK [09:16:17]SAM_PROTO_SignData done [09:16:17]FM_MakeSignedData done [09:16:17]CreateOFDProtocolMessage [09:16:17]wFMCommunicate request_size=4 [09:16:17]MH_SAM_APDU [09:16:17]CAPDU: 80 11 00 00 [09:16:17]Write to MH i2c: E2 08 00 05 39 80 11 00 00 00 00 00 00 B8 [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:17]Read from MH i2c: E2 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 17 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: E2 17 00 05 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 10 [09:16:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:16:17]wFMCommunicate OK [09:16:17]CreateOFDProtocolMessage done [09:16:17]OFDSenderStorePacket 26806 [09:16:17]StoreOFDPacket docnum=26806 [09:16:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 89 4B 08 01 15 34 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 ED B5 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B6 68 00 00 35 04 06 00 2B D7 FE 1C 68 79 25 41 20 A2 69 B4 13 10 [09:16:17]CheckFolder [09:16:17]dirname=/storage/ofd_packets [09:16:17]CheckFolder done [09:16:17]ProducePacketName [09:16:17]name=ofd_packets/00026806 [09:16:17]NVStorageSaveData ofd_packets/00026806 [09:16:17]File name is /storage/ofd_packets/00026806 [09:16:17]Write 302 bytes [09:16:17]NVStorageSaveData done [09:16:17]OFDSenderStorePacket done [09:16:17]KKMCreateOFDPacket done [09:16:17]NVStorageSaveData kkm_last_timestamp [09:16:17]File name is /storage/kkm_last_timestamp [09:16:17]Write 4 bytes [09:16:17]NVStorageSaveData done [09:16:17]ExternCall_PrintAddStr [09:16:17]wPrintStart [09:16:17]Write to MH i2c: 01 00 00 06 39 3F [09:16:17]Write i2c OK [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: 01 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: 01 07 00 [09:16:17]MH_I2C_Read... [09:16:17]Read from MH i2c: 01 07 00 06 39 00 02 00 00 00 FF 0F 56 [09:16:17]RasterBufferAndPrint [09:16:17]line Счет N : (1)359549 [09:16:17]line ИÐÐ: 02508201610067 [09:16:17]line Контрольно-КаÑÑовый Чек [09:16:17]line ПРОДÐЖР[09:16:17]line ТРК (МРК, ГÐК) : 11 [09:16:17]line Товар: 2710194210 [09:16:17]line ДТ(л)-К-5 [09:16:17]line 13.930 * 71.80 [09:16:17]line = 1000.17 [09:16:17]line ÐДС 12% ÐСП 1% [09:16:17]line > о реализуемом товаре [09:16:17]line ОКРУГЛЕÐИЕ: -0.17 [09:16:17]line ИТОГО: 1000.00 [09:16:17]line ВнеÑено: 1000.00 [09:16:17]line СДÐЧÐ: 0.00 [09:16:17]line ÐСП 1% : 8.85 [09:16:17]line ÐДС 12% : 106.21 [09:16:17]line Ðаличными: 1000.00 [09:16:17]line Безнал.: 0.00 [09:16:17]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:16:17]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:16:17]line СÐО: Общий режим [09:16:17]line Чек 19 08.04.2024 09:16 [09:16:17]line Смена: 314 ФФД: 1.0 [09:16:17]line ЗÐМ: 0300000147 [09:16:17]line РÐМ: 0000000000091578 [09:16:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:16:17]line ФМ: 0000000000874657 [09:16:17]line ФД: 26806 [09:16:17]line ФПД: 48206681237625 [09:16:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T091629&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26806&fm=48206681237625&tin=02508201610067®Number=0000000000091578&sum=100000 [09:16:18]OFD Sender: Processing packet 26806 [packets to send 44, broken 43] [09:16:18]ProducePacketName [09:16:18]name=ofd_packets/00026806 [09:16:18]OFD Sender: To server: ‡•öpG, [09:16:18]CommunicateWithHost lk.salyk.kg:30040 [09:16:18]ConnectInit lk.salyk.kg [09:16:18]written 0, free lines is 4095 [09:16:18]Error from MH - 05 [09:16:18]process_action_free close_receipt [09:16:18]json_value_free [09:16:18]json_value_free done [09:16:18]process_json_proto returns [09:16:18]Send response to host [09:16:18]{"protocol":"kg_v1.0","response":{"error":1033,"error_desc":"No paper"}} [09:16:18]free response buf [09:16:18]execute_script done [09:16:18]execute_script returns [09:16:18]free content buf [09:16:18]Sock 9.Close socket [09:16:18]Sock 9.Thread stoped [09:16:18]Connected sock=8 [09:16:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 89 4B 08 01 15 34 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 ED B5 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B6 68 00 00 35 04 06 00 2B D7 FE 1C 68 79 25 41 20 A2 69 B4 13 10 [09:16:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 07 E5 47 00 D9 F1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B6 68 00 00 F4 03 04 00 58 5D 13 66 B6 04 01 00 00 D0 CA AB C2 57 5E B3 3D [09:16:18]CommunicateWithHost err = 0 [09:16:18]CheckOFDResponse [09:16:18]1017 (14) - 77093643461234 [09:16:18]1041 (16) - 0000000000874657 [09:16:18]1040 (4) - 26806 [09:16:18]1012 (4) - 08.04.2024 02:58 [09:16:18]1206 (1) - 0 [09:16:18]OFD Sender: Remove packet 26806 [09:16:18]ProducePacketName [09:16:18]name=ofd_packets/00026806 [09:16:18]NVStorageDeleteData [09:16:18]OFD Sender: No OFD packet to send [09:16:20]Write to MH i2c: 01 00 00 09 39 42 [09:16:20]Write i2c OK [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: 01 [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: 01 07 00 [09:16:20]MH_I2C_Read... [09:16:20]Read from MH i2c: 01 07 00 09 39 00 02 00 00 00 FF 0F 59 [09:16:20]state=3 [09:16:20]Cover opened [09:16:23]OFD Sender: No OFD packet to send [09:16:24]int [09:16:24]Write to MH i2c: 01 00 00 0A 39 43 [09:16:24]*** FLAG_PRN_PAP1 set [09:16:24]Write i2c OK [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: 01 [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: 01 07 00 [09:16:24]MH_I2C_Read... [09:16:24]Read from MH i2c: 01 07 00 0A 39 00 03 00 00 00 FF 0F 5B [09:16:24]state=3 [09:16:24]No paper [09:16:24]Cover opened [09:16:25]int [09:16:25]Write to MH i2c: 01 00 00 0B 39 44 [09:16:25]*** FLAG_PRN_PAP2 reset [09:16:25]Write i2c OK [09:16:25]MH_I2C_Read... [09:16:25]Read from MH i2c: 01 [09:16:25]MH_I2C_Read... [09:16:25]Read from MH i2c: 01 07 00 [09:16:25]MH_I2C_Read... [09:16:25]Read from MH i2c: 01 07 00 0B 39 00 01 00 00 00 FF 0F 5A [09:16:25]state=3 [09:16:25]No paper [09:16:25]Cover closed [09:16:25]int [09:16:25]Write to MH i2c: 01 00 00 0C 39 45 [09:16:25]*** FLAG_PRN_PAP2 set [09:16:25]Write i2c OK [09:16:25]MH_I2C_Read... [09:16:25]Read from MH i2c: 01 [09:16:25]MH_I2C_Read... [09:16:25]Read from MH i2c: 01 07 00 [09:16:25]MH_I2C_Read... [09:16:25]Read from MH i2c: 01 07 00 0C 39 00 03 00 00 00 FF 0F 5D [09:16:25]state=0 [09:16:25]No paper [09:16:25]Cover opened [09:16:28]OFD Sender: No OFD packet to send [09:16:30]Write to MH i2c: 01 00 00 0D 39 46 [09:16:30]Write i2c OK [09:16:30]MH_I2C_Read... [09:16:30]Read from MH i2c: 01 [09:16:30]MH_I2C_Read... [09:16:30]Read from MH i2c: 01 07 00 [09:16:30]MH_I2C_Read... [09:16:30]Read from MH i2c: 01 07 00 0D 39 00 03 00 00 00 FF 0F 5E [09:16:30]state=3 [09:16:30]No paper [09:16:30]Cover opened [09:16:33]OFD Sender: No OFD packet to send [09:16:35]Write to MH i2c: 01 00 00 0E 39 47 [09:16:35]Write i2c OK [09:16:35]MH_I2C_Read... [09:16:35]Read from MH i2c: 01 [09:16:35]MH_I2C_Read... [09:16:35]Read from MH i2c: 01 07 00 [09:16:35]MH_I2C_Read... [09:16:35]Read from MH i2c: 01 07 00 0E 39 00 03 00 00 00 FF 0F 5F [09:16:35]state=3 [09:16:35]No paper [09:16:35]Cover opened [09:16:38]OFD Sender: No OFD packet to send [09:16:40]Write to MH i2c: 01 00 00 0F 39 48 [09:16:40]Write i2c OK [09:16:40]MH_I2C_Read... [09:16:40]Read from MH i2c: 01 [09:16:40]MH_I2C_Read... [09:16:40]Read from MH i2c: 01 07 00 [09:16:40]MH_I2C_Read... [09:16:40]Read from MH i2c: 01 07 00 0F 39 00 03 00 00 00 FF 0F 60 [09:16:40]state=3 [09:16:40]No paper [09:16:40]Cover opened [09:16:42]int [09:16:42]Write to MH i2c: 01 00 00 10 39 49 [09:16:42]*** FLAG_PRN_PAP1 reset [09:16:42]Write i2c OK [09:16:42]MH_I2C_Read... [09:16:42]Read from MH i2c: 01 [09:16:42]MH_I2C_Read... [09:16:42]Read from MH i2c: 01 07 00 [09:16:42]MH_I2C_Read... [09:16:42]Read from MH i2c: 01 07 00 10 39 00 02 00 00 00 FF 0F 60 [09:16:42]state=3 [09:16:42]Cover opened [09:16:42]int [09:16:42]Write to MH i2c: 01 00 00 11 39 4A [09:16:42]*** FLAG_PRN_PAP2 reset [09:16:42]Write i2c OK [09:16:42]MH_I2C_Read... [09:16:42]Read from MH i2c: 01 [09:16:42]MH_I2C_Read... [09:16:42]Read from MH i2c: 01 07 00 [09:16:42]MH_I2C_Read... [09:16:42]Read from MH i2c: 01 07 00 11 39 00 00 00 00 00 FF 0F 5F [09:16:42]state=3 [09:16:42]Cover closed [09:16:43]int [09:16:43]Write to MH i2c: 01 00 00 12 39 4B [09:16:43]*** FLAG_PRN_KEY set [09:16:43]Write i2c OK [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 07 00 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 07 00 12 39 00 08 00 00 00 FF 0F 68 [09:16:43]state=0 [09:16:43]Key pressed [09:16:43]Feed [09:16:43]Write to MH i2c: D8 00 00 13 39 23 [09:16:43]Write i2c OK [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: D8 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: D8 01 00 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: D8 01 00 13 39 00 24 [09:16:43]int [09:16:43]Write to MH i2c: 01 00 00 14 39 4D [09:16:43]Write i2c OK [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 07 00 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 07 00 14 39 00 48 00 00 00 3C 00 D8 [09:16:43]state=2 [09:16:43]Key pressed [09:16:43]OFD Sender: No OFD packet to send [09:16:43]int [09:16:43]Write to MH i2c: 01 00 00 15 39 4E [09:16:43]*** FLAG_PRN_KEY reset [09:16:43]Write i2c OK [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 07 00 [09:16:43]MH_I2C_Read... [09:16:43]Read from MH i2c: 01 07 00 15 39 00 00 00 00 00 F6 0F 5A [09:16:43]state=2 [09:16:43]Stop feed [09:16:48]OFD Sender: No OFD packet to send [09:16:49]accept exits with 10 [09:16:49]New connection [09:16:49]New thread 3067014500 created [09:16:49]Thread 3066871140 joined [09:16:49]Waiting for new connection... [09:16:49] Sock 10.Parse request [09:16:49]Sock 10.Check first char [09:16:49]Sock 10.First char is OK [09:16:49]request: POST /json_proto HTTP/1.0 [09:16:49]Method: POST [09:16:49]URL: /json_proto [09:16:49]Method is POST - this is cgi request [09:16:49]url: /json_proto [09:16:49]query_string will be loaded in cgi processing [09:16:49]execute_cgi json_proto POST (null) [09:16:49]execute_cgi path=json_proto method=POST [09:16:49]POST find Content-Length [09:16:49]Host: 172.17.35.3:8080 [09:16:49]Content-Length: 215 [09:16:49]Content-Type: application/json [09:16:49] [09:16:49]POST finish read [09:16:49]Found Content-Length = 215 [09:16:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:49]execute_script... [09:16:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:49]POST & json_proto [09:16:49]process_json_proto [09:16:49]json parsed OK: [09:16:49]protocol is kg_v1.0 [09:16:49]action value=get_value [09:16:49]process_action get_value [09:16:49]cmd_get_value [09:16:49]process_action get_value done [09:16:49]requested_data is exist [09:16:49]produce_requested_data [09:16:49]requested_item kkm.sn is exist - process it [09:16:49]requested_item kkm.ver is exist - process it [09:16:49]requested_item fm.sn is exist - process it [09:16:49]wFMCommunicate request_size=4 [09:16:49]MH_SAM_APDU [09:16:49]CAPDU: 80 11 00 00 [09:16:49]Write to MH i2c: E2 08 00 16 39 80 11 00 00 00 00 00 00 C9 [09:16:49]Write i2c OK [09:16:49]MH_I2C_Read... [09:16:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:49]Read from MH i2c: E2 [09:16:49]MH_I2C_Read... [09:16:49]Read from MH i2c: E2 17 00 [09:16:49]MH_I2C_Read... [09:16:49]Read from MH i2c: E2 17 00 16 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 21 [09:16:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:16:49]wFMCommunicate OK [09:16:49]requested_item fd.num is exist - process it [09:16:49]SAM_PROTO_GetFieldsCounters [09:16:49]wFMCommunicate request_size=4 [09:16:49]MH_SAM_APDU [09:16:49]CAPDU: 80 13 00 00 [09:16:49]Write to MH i2c: E2 08 00 17 39 80 13 00 00 00 00 00 00 CC [09:16:49]Write i2c OK [09:16:49]MH_I2C_Read... [09:16:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:16:49]Read from MH i2c: E2 [09:16:49]MH_I2C_Read... [09:16:49]Read from MH i2c: E2 62 00 [09:16:49]MH_I2C_Read... [09:16:49]Read from MH i2c: E2 62 00 17 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 89 [09:16:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:16:49]wFMCommunicate OK [09:16:49]SAM_PROTO_GetFieldsCounters done [09:16:49]requested_item shift.num is exist - process it [09:16:49]requested_item shift.opened is exist - process it [09:16:49]req_shift_opened [09:16:49]FM_GetShiftState [09:16:49]SAM_PROTO_GetShiftState [09:16:49]wFMCommunicate request_size=4 [09:16:49]MH_SAM_APDU [09:16:49]CAPDU: 80 13 01 00 [09:16:49]Write to MH i2c: E2 08 00 18 39 80 13 01 00 00 00 00 00 CE [09:16:49]Write i2c OK [09:16:49]MH_I2C_Read... [09:16:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:49]Read from MH i2c: E2 [09:16:49]MH_I2C_Read... [09:16:49]Read from MH i2c: E2 0E 00 [09:16:49]MH_I2C_Read... [09:16:49]Read from MH i2c: E2 0E 00 18 39 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5B [09:16:49]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:16:49]wFMCommunicate OK [09:16:49]SAM_PROTO_GetShiftState done [09:16:49]FM_GetShiftState done [09:16:49]req_shift_opened done [09:16:49]requested_item shift.open_date is exist - process it [09:16:49]req_shift_open_date [09:16:49]req_shift_open_date done [09:16:49]produce_requested_data done [09:16:49]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26806,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:16:49]process_action_free get_value [09:16:49]json_value_free [09:16:49]json_value_free done [09:16:49]process_json_proto returns [09:16:49]Send response to host [09:16:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26806,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:16:49]free response buf [09:16:49]execute_script done [09:16:49]execute_script returns [09:16:49]free content buf [09:16:49]Sock 10.Close socket [09:16:49]Sock 10.Thread stoped [09:16:49]accept exits with 8 [09:16:49]New connection [09:16:49]New thread 3066871140 created [09:16:49]Thread 3067014500 joined [09:16:49]Waiting for new connection... [09:16:49] Sock 8.Parse request [09:16:49]Sock 8.Check first char [09:16:49]Sock 8.First char is OK [09:16:49]request: POST /json_proto HTTP/1.0 [09:16:49]Method: POST [09:16:49]URL: /json_proto [09:16:49]Method is POST - this is cgi request [09:16:49]url: /json_proto [09:16:49]query_string will be loaded in cgi processing [09:16:49]execute_cgi json_proto POST (null) [09:16:49]execute_cgi path=json_proto method=POST [09:16:49]POST find Content-Length [09:16:49]Host: 172.17.35.3:8080 [09:16:49]Content-Length: 331 [09:16:49]Content-Type: application/json [09:16:49] [09:16:49]POST finish read [09:16:49]Found Content-Length = 331 [09:16:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:16:49]execute_script... [09:16:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [09:16:50]POST & json_proto [09:16:50]process_json_proto [09:16:50]json parsed OK: [09:16:50]protocol is kg_v1.0 [09:16:50]action value=get_value [09:16:50]process_action get_value [09:16:50]cmd_get_value [09:16:50]process_action get_value done [09:16:50]requested_data is exist [09:16:50]produce_requested_data [09:16:50]requested_item fm.sale.total is exist - process it [09:16:50]SAM_PROTO_GetFMData [09:16:50]wFMCommunicate request_size=4 [09:16:50]MH_SAM_APDU [09:16:50]CAPDU: 80 13 03 00 [09:16:50]Write to MH i2c: E2 08 00 19 39 80 13 03 00 00 00 00 00 D1 [09:16:50]Write i2c OK [09:16:50]MH_I2C_Read... [09:16:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:16:50]Read from MH i2c: E2 [09:16:50]MH_I2C_Read... [09:16:50]Read from MH i2c: E2 FD 00 [09:16:50]MH_I2C_Read... [09:16:50]Read from MH i2c: E2 FD 00 19 39 00 C0 04 85 04 BC 04 6E 04 04 00 42 66 00 00 69 04 A1 00 6F 04 04 00 00 66 00 00 B1 04 04 00 93 7A 62 9B 70 04 04 00 20 60 A0 7F 72 04 04 00 73 1A C2 1B 00 04 7D 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 57 46 81 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BE 14 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 3B [09:16:50]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 42 66 00 00 69 04 A1 00 6F 04 04 00 00 66 00 00 B1 04 04 00 93 7A 62 9B 70 04 04 00 20 60 A0 7F 72 04 04 00 73 1A C2 1B 00 04 7D 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 57 46 81 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 BE 14 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 42 00 00 00 B1 04 03 00 A4 6D BB 70 04 03 00 A4 6D BB 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0B E8 13 EF 03 09 00 F6 03 01 00 90 00 [09:16:50]wFMCommunicate OK [09:16:50]wFMCommunicate request_size=4 [09:16:50]MH_SAM_APDU [09:16:50]CAPDU: 80 17 00 00 [09:16:50]Write to MH i2c: E2 08 00 1A 39 80 17 00 00 00 00 00 00 D3 [09:16:50]Write i2c OK [09:16:50]MH_I2C_Read... [09:16:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:16:50]Read from MH i2c: E2 [09:16:50]MH_I2C_Read... [09:16:50]Read from MH i2c: E2 FD 00 [09:16:50]MH_I2C_Read... [09:16:50]Read from MH i2c: E2 FD 00 1A 39 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 53 [09:16:50]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 A7 A8 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [09:16:50]wFMCommunicate OK [09:16:50]wFMCommunicate request_size=4 [09:16:50]MH_SAM_APDU [09:16:50]CAPDU: 80 17 00 00 [09:16:50]Write to MH i2c: E2 08 00 1B 39 80 17 00 00 00 00 00 00 D4 [09:16:50]Write i2c OK [09:16:50]MH_I2C_Read... [09:16:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:16:51]Read from MH i2c: E2 [09:16:51]MH_I2C_Read... [09:16:51]Read from MH i2c: E2 FD 00 [09:16:51]MH_I2C_Read... [09:16:51]Read from MH i2c: E2 FD 00 1B 39 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 77 [09:16:51]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [09:16:51]wFMCommunicate OK [09:16:51]wFMCommunicate request_size=4 [09:16:51]MH_SAM_APDU [09:16:51]CAPDU: 80 17 00 00 [09:16:51]Write to MH i2c: E2 08 00 1C 39 80 17 00 00 00 00 00 00 D5 [09:16:51]Write i2c OK [09:16:51]MH_I2C_Read... [09:16:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:16:51]Read from MH i2c: E2 [09:16:51]MH_I2C_Read... [09:16:51]Read from MH i2c: E2 FD 00 [09:16:51]MH_I2C_Read... [09:16:51]Read from MH i2c: E2 FD 00 1C 39 00 01 00 04 F7 03 00 00 EF 03 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 90 00 4D [09:16:51]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:16:51]wFMCommunicate OK [09:16:51]wFMCommunicate request_size=4 [09:16:51]MH_SAM_APDU [09:16:51]CAPDU: 80 17 00 00 [09:16:51]Write to MH i2c: E2 08 00 1D 39 80 17 00 00 00 00 00 00 D6 [09:16:51]Write i2c OK [09:16:51]MH_I2C_Read... [09:16:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [09:16:51]Read from MH i2c: E2 [09:16:51]MH_I2C_Read... [09:16:51]Read from MH i2c: E2 DD 00 [09:16:51]MH_I2C_Read... [09:16:51]Read from MH i2c: E2 DD 00 1D 39 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 BE [09:16:51]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:16:51]wFMCommunicate OK [09:16:51]SAM_PROTO_GetFMData done [09:16:51]requested_item fm.sale_refund.total is exist - process it [09:16:51]requested_item fm.buy.total is exist - process it [09:16:51]requested_item shift.sale.total is exist - process it [09:16:51]SAM_PROTO_GetShiftData [09:16:51]wFMCommunicate request_size=4 [09:16:51]MH_SAM_APDU [09:16:51]CAPDU: 80 13 02 00 [09:16:51]Write to MH i2c: E2 08 00 1E 39 80 13 02 00 00 00 00 00 D5 [09:16:51]Write i2c OK [09:16:51]MH_I2C_Read... [09:16:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:16:52]Read from MH i2c: E2 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 1E 39 00 AE 04 AA 04 AA 04 6E 04 04 00 13 00 00 00 69 04 9B 00 6F 04 04 00 13 00 00 00 B1 04 03 00 FF E4 18 70 04 03 00 38 62 15 72 04 03 00 C7 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F6 A4 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6A 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 F0 [09:16:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 13 00 00 00 69 04 9B 00 6F 04 04 00 13 00 00 00 B1 04 03 00 FF E4 18 70 04 03 00 38 62 15 72 04 03 00 C7 82 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 F6 A4 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6A 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [09:16:52]wFMCommunicate OK [09:16:52]wFMCommunicate request_size=4 [09:16:52]MH_SAM_APDU [09:16:52]CAPDU: 80 17 00 00 [09:16:52]Write to MH i2c: E2 08 00 1F 39 80 17 00 00 00 00 00 00 D8 [09:16:52]Write i2c OK [09:16:52]MH_I2C_Read... [09:16:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:16:52]Read from MH i2c: E2 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 1F 39 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 FA [09:16:52]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 [09:16:52]wFMCommunicate OK [09:16:52]wFMCommunicate request_size=4 [09:16:52]MH_SAM_APDU [09:16:52]CAPDU: 80 17 00 00 [09:16:52]Write to MH i2c: E2 08 00 20 39 80 17 00 00 00 00 00 00 D9 [09:16:52]Write i2c OK [09:16:52]MH_I2C_Read... [09:16:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:16:52]Read from MH i2c: E2 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 20 39 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 90 [09:16:52]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [09:16:52]wFMCommunicate OK [09:16:52]wFMCommunicate request_size=4 [09:16:52]MH_SAM_APDU [09:16:52]CAPDU: 80 17 00 00 [09:16:52]Write to MH i2c: E2 08 00 21 39 80 17 00 00 00 00 00 00 DA [09:16:52]Write i2c OK [09:16:52]MH_I2C_Read... [09:16:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:16:52]Read from MH i2c: E2 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 [09:16:52]MH_I2C_Read... [09:16:52]Read from MH i2c: E2 FD 00 21 39 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 4C [09:16:52]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [09:16:52]wFMCommunicate OK [09:16:52]wFMCommunicate request_size=4 [09:16:52]MH_SAM_APDU [09:16:52]CAPDU: 80 17 00 00 [09:16:52]Write to MH i2c: E2 08 00 22 39 80 17 00 00 00 00 00 00 DB [09:16:52]Write i2c OK [09:16:52]MH_I2C_Read... [09:16:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [09:16:53]Read from MH i2c: E2 [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: E2 CB 00 [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: E2 CB 00 22 39 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 C4 [09:16:53]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 [09:16:53]wFMCommunicate OK [09:16:53]SAM_PROTO_GetShiftData done [09:16:53]requested_item shift.sale.total_cash is exist - process it [09:16:53]requested_item shift.sale_refund.total is exist - process it [09:16:53]requested_item shift.sale_refund.total_cash is exist - process it [09:16:53]requested_item shift.buy.total is exist - process it [09:16:53]requested_item shift.buy.total_cash is exist - process it [09:16:53]produce_requested_data done [09:16:53]produce_requested_data return {"fm.sale.total":26069223.87,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":16314.87,"shift.sale.total_cash":14014.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [09:16:53]process_action_free get_value [09:16:53]json_value_free [09:16:53]json_value_free done [09:16:53]process_json_proto returns [09:16:53]Send response to host [09:16:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26069223.87,"fm.sale_refund.total":122833.00,"fm.buy.total":0.00,"shift.sale.total":16314.87,"shift.sale.total_cash":14014.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [09:16:53]free response buf [09:16:53]execute_script done [09:16:53]execute_script returns [09:16:53]free content buf [09:16:53]Sock 8.Close socket [09:16:53]Sock 8.Thread stoped [09:16:53]accept exits with 9 [09:16:53]New connection [09:16:53]New thread 3067014500 created [09:16:53]Thread 3066871140 joined [09:16:53]Waiting for new connection... [09:16:53] Sock 9.Parse request [09:16:53]Sock 9.Check first char [09:16:53]Sock 9.First char is OK [09:16:53]request: POST /json_proto HTTP/1.0 [09:16:53]Method: POST [09:16:53]URL: /json_proto [09:16:53]Method is POST - this is cgi request [09:16:53]url: /json_proto [09:16:53]query_string will be loaded in cgi processing [09:16:53]execute_cgi json_proto POST (null) [09:16:53]execute_cgi path=json_proto method=POST [09:16:53]POST find Content-Length [09:16:53]Host: 172.17.35.3:8080 [09:16:53]Content-Length: 687 [09:16:53]Content-Type: application/json [09:16:53] [09:16:53]POST finish read [09:16:53]Found Content-Length = 687 [09:16:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359550", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:53]execute_script... [09:16: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)359550", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:16:53]POST & json_proto [09:16:53]process_json_proto [09:16:53]json parsed OK: [09:16:53]protocol is kg_v1.0 [09:16:53]action value=close_receipt [09:16:53]process_action close_receipt [09:16:53]cmd_close_receipt [09:16:53]MH_GetDate [09:16:53]Write to MH i2c: F0 00 00 23 39 4B [09:16:53]Write i2c OK [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: F0 [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: F0 09 00 [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: F0 09 00 23 39 00 13 B6 13 66 2B 11 66 64 9C [09:16:53]GetLastDocTimeStamp 1712567789 [09:16:53]current date 1712567827 [09:16:53]FM_GetShiftState [09:16:53]SAM_PROTO_GetShiftState [09:16:53]wFMCommunicate request_size=4 [09:16:53]MH_SAM_APDU [09:16:53]CAPDU: 80 13 01 00 [09:16:53]Write to MH i2c: E2 08 00 24 39 80 13 01 00 00 00 00 00 DA [09:16:53]Write i2c OK [09:16:53]MH_I2C_Read... [09:16:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:53]Read from MH i2c: E2 [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: E2 0E 00 [09:16:53]MH_I2C_Read... [09:16:53]Read from MH i2c: E2 0E 00 24 39 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 67 [09:16:53]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:16:53]wFMCommunicate OK [09:16:53]SAM_PROTO_GetShiftState done [09:16:53]FM_GetShiftState done [09:16:53]opened in 1712536270 [09:16:53]opened+sec_in_day 1712622670 [09:16:53]quantity*price = 100017 [09:16:53]sum+1 = 100018 [09:16:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 20 08.04.2024 09:17 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26807 ФПД: 269490614151484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T091707&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26807&fm=269490614151484&tin=02508201610067®Number=0000000000091578&sum=100000 [09:16:54]StoreToDocumentArchive [09:16:54]shift 314 fd 26807 [09:16:54]save to /storage/0314/doc_00026807 [09:16:54]save last doc name /storage/0314/doc_00026807 to /storage/kkm_last_doc_name [09:16:54]save OK [09:16:54]Clear old archive folders... [09:16:54]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:16:54]tlvbuf is 00F829C0 [09:16:54]SAM_PROTO_ClearQueue [09:16:54]wFMCommunicate request_size=4 [09:16:54]MH_SAM_APDU [09:16:54]CAPDU: 80 09 00 00 [09:16:54]Write to MH i2c: E2 08 00 31 39 80 09 00 00 00 00 00 00 DC [09:16:54]Write i2c OK [09:16:54]MH_I2C_Read... [09:16:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:16:54]Read from MH i2c: E2 [09:16:54]MH_I2C_Read... [09:16:54]Read from MH i2c: E2 03 00 [09:16:54]MH_I2C_Read... [09:16:54]Read from MH i2c: E2 03 00 31 39 00 90 00 DE [09:16:54]RAPDU: 90 00 [09:16:54]wFMCommunicate OK [09:16:54]SAM_PROTO_ClearQueue done [09:16:54]KKMCreateOFDPacket [09:16:54]OFDProtocolAddRootSTLVToBuf [09:16:54]FM_MakeSignedData [09:16:54]FM_MakeSignedData [09:16:54]SAM_PROTO_SignData [09:16:54]wFMCommunicate request_size=4 [09:16:54]MH_SAM_APDU [09:16:54]CAPDU: 80 0D 01 02 [09:16:54]Write to MH i2c: E2 08 00 32 39 80 0D 01 02 00 00 00 00 E4 [09:16:54]Write i2c OK [09:16:54]MH_I2C_Read... [09:16:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:16:54]Read from MH i2c: E2 [09:16:54]MH_I2C_Read... [09:16:54]Read from MH i2c: E2 03 00 [09:16:54]MH_I2C_Read... [09:16:54]Read from MH i2c: E2 03 00 32 39 00 90 00 DF [09:16:54]RAPDU: 90 00 [09:16:54]wFMCommunicate OK [09:16:54]wFMCommunicate request_size=255 [09:16:54]MH_SAM_APDU [09:16:54]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 13 B6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B7 68 00 00 35 04 06 00 [09:16:55]Write to MH i2c: E2 02 01 33 39 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 13 B6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B7 68 00 00 35 04 06 00 00 00 4F [09:16:55]Write i2c OK [09:16:55]MH_I2C_Read... [09:16:55]int [09:16:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:55]*** FLAG_PRN_KEY set [09:16:55]Read from MH i2c: E2 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 03 00 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 03 00 33 39 00 90 00 E0 [09:16:55]RAPDU: 90 00 [09:16:55]wFMCommunicate OK [09:16:55]wFMCommunicate request_size=11 [09:16:55]MH_SAM_APDU [09:16:55]CAPDU: 80 0D 02 02 06 F5 19 AC 53 A9 3C [09:16:55]Write to MH i2c: E2 0E 00 34 39 80 0D 02 02 06 00 F5 19 AC 53 A9 3C 00 00 E5 [09:16:55]Write i2c OK [09:16:55]MH_I2C_Read... [09:16:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:16:55]*** FLAG_PRN_KEY reset [09:16:55]Read from MH i2c: E2 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 03 00 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 03 00 34 39 00 90 00 E1 [09:16:55]RAPDU: 90 00 [09:16:55]wFMCommunicate OK [09:16:55]wFMCommunicate request_size=4 [09:16:55]MH_SAM_APDU [09:16:55]CAPDU: 80 0D 03 02 [09:16:55]Write to MH i2c: E2 08 00 35 39 80 0D 03 02 00 00 00 00 E9 [09:16:55]Write i2c OK [09:16:55]MH_I2C_Read... [09:16:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:16:55]Read from MH i2c: E2 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 0B 00 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 0B 00 35 39 00 70 98 47 E7 64 80 CB 14 90 00 E3 [09:16:55]RAPDU: 70 98 47 E7 64 80 CB 14 90 00 [09:16:55]wFMCommunicate OK [09:16:55]SAM_PROTO_SignData done [09:16:55]FM_MakeSignedData done [09:16:55]CreateOFDProtocolMessage [09:16:55]wFMCommunicate request_size=4 [09:16:55]MH_SAM_APDU [09:16:55]CAPDU: 80 11 00 00 [09:16:55]Write to MH i2c: 01 00 00 36 39 6F [09:16:55]Write i2c OK [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: 01 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: 01 07 00 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: 01 07 00 36 39 00 00 00 00 00 FF 0F 84 [09:16:55]state=0 [09:16:55]Write to MH i2c: E2 08 00 37 39 80 11 00 00 00 00 00 00 EA [09:16:55]Write i2c OK [09:16:55]MH_I2C_Read... [09:16:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:55]Read from MH i2c: E2 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 17 00 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: E2 17 00 37 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 42 [09:16:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:16:55]wFMCommunicate OK [09:16:55]CreateOFDProtocolMessage done [09:16:55]OFDSenderStorePacket 26807 [09:16:55]StoreOFDPacket docnum=26807 [09:16:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 35 23 08 01 B3 0B 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 13 B6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B7 68 00 00 35 04 06 00 F5 19 AC 53 A9 3C 70 98 47 E7 64 80 CB 14 [09:16:55]CheckFolder [09:16:55]dirname=/storage/ofd_packets [09:16:55]CheckFolder done [09:16:55]ProducePacketName [09:16:55]name=ofd_packets/00026807 [09:16:55]NVStorageSaveData ofd_packets/00026807 [09:16:55]File name is /storage/ofd_packets/00026807 [09:16:55]Write 302 bytes [09:16:55]NVStorageSaveData done [09:16:55]OFDSenderStorePacket done [09:16:55]KKMCreateOFDPacket done [09:16:55]NVStorageSaveData kkm_last_timestamp [09:16:55]File name is /storage/kkm_last_timestamp [09:16:55]Write 4 bytes [09:16:55]NVStorageSaveData done [09:16:55]ExternCall_PrintAddStr [09:16:55]wPrintStart [09:16:55]Write to MH i2c: 01 00 00 38 39 71 [09:16:55]Write i2c OK [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: 01 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: 01 07 00 [09:16:55]MH_I2C_Read... [09:16:55]Read from MH i2c: 01 07 00 38 39 00 00 00 00 00 FF 0F 86 [09:16:55]RasterBufferAndPrint [09:16:55]line Счет N : (1)359550 [09:16:55]line ИÐÐ: 02508201610067 [09:16:55]line Контрольно-КаÑÑовый Чек [09:16:55]line ПРОДÐЖР[09:16:55]line ТРК (МРК, ГÐК) : 11 [09:16:55]line Товар: 2710194210 [09:16:55]line ДТ(л)-К-5 [09:16:55]line 13.930 * 71.80 [09:16:55]line = 1000.17 [09:16:55]line ÐДС 12% ÐСП 1% [09:16:55]line > о реализуемом товаре [09:16:55]line ОКРУГЛЕÐИЕ: -0.17 [09:16:55]line ИТОГО: 1000.00 [09:16:55]line ВнеÑено: 1000.00 [09:16:55]line СДÐЧÐ: 0.00 [09:16:55]line ÐСП 1% : 8.85 [09:16:55]line ÐДС 12% : 106.21 [09:16:55]line Ðаличными: 1000.00 [09:16:55]line Безнал.: 0.00 [09:16:55]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:16:55]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:16:55]line СÐО: Общий режим [09:16:55]line Чек 20 08.04.2024 09:17 [09:16:55]line Смена: 314 ФФД: 1.0 [09:16:55]line ЗÐМ: 0300000147 [09:16:55]line РÐМ: 0000000000091578 [09:16:55]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:16:55]line ФМ: 0000000000874657 [09:16:55]line ФД: 26807 [09:16:55]line ФПД: 269490614151484 [09:16:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T091707&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26807&fm=269490614151484&tin=02508201610067®Number=0000000000091578&sum=100000 [09:16:55]OFD Sender: Processing packet 26807 [packets to send 44, broken 43] [09:16:55]ProducePacketName [09:16:55]name=ofd_packets/00026807 [09:16:55]OFD Sender: To server: ‡•öpG, [09:16:55]CommunicateWithHost lk.salyk.kg:30040 [09:16:55]ConnectInit lk.salyk.kg [09:16:55]written 0, free lines is 4095 [09:16:55]Connected sock=10 [09:16:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 35 23 08 01 B3 0B 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 13 B6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B7 68 00 00 35 04 06 00 F5 19 AC 53 A9 3C 70 98 47 E7 64 80 CB 14 [09:16:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9B DF 47 00 4F FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B7 68 00 00 F4 03 04 00 7E 5D 13 66 B6 04 01 00 00 8E 2D 28 43 7A 69 2B 79 [09:16:56]CommunicateWithHost err = 0 [09:16:56]CheckOFDResponse [09:16:56]1017 (14) - 77093643461234 [09:16:56]1041 (16) - 0000000000874657 [09:16:56]1040 (4) - 26807 [09:16:56]1012 (4) - 08.04.2024 02:59 [09:16:56]1206 (1) - 0 [09:16:56]OFD Sender: Remove packet 26807 [09:16:56]ProducePacketName [09:16:56]name=ofd_packets/00026807 [09:16:56]NVStorageDeleteData [09:16:56]Write to MH i2c: 01 00 00 63 39 9C [09:16:56]Write i2c OK [09:16:56]MH_I2C_Read... [09:16:56]Read from MH i2c: 01 [09:16:56]MH_I2C_Read... [09:16:56]Read from MH i2c: 01 07 00 [09:16:56]MH_I2C_Read... [09:16:56]Read from MH i2c: 01 07 00 63 39 00 00 00 00 00 77 0C 26 [09:16:56]RasterBufferAndPrint [09:16:56]line [09:16:56]line [09:16:56]line [09:16:56]line [09:16:56]line [09:16:56]written 0, free lines is 3201 [09:16:56]MH_Cut [09:16:56]Write to MH i2c: D1 01 00 6A 39 01 75 [09:16:56]Write i2c OK [09:16:56]MH_I2C_Read... [09:16:56]Read from MH i2c: D1 [09:16:56]MH_I2C_Read... [09:16:56]Read from MH i2c: D1 01 00 [09:16:56]MH_I2C_Read... [09:16:56]Read from MH i2c: D1 01 00 6A 39 00 74 [09:16:56]Write to MH i2c: 01 00 00 6B 39 A4 [09:16:56]Write i2c OK [09:16:56]MH_I2C_Read... [09:16:56]OFD Sender: No OFD packet to send [09:16:57]*** Cut start [09:16:57]*** Partial cut [09:16:57]*** CUTSNS_PIN = 1 [09:16:57]*** CUTSNS_PIN = 0 [09:16:57]*** Brake cut motor [09:16:58]Read from MH i2c: 01 [09:16:58]MH_I2C_Read... [09:16:58]*** Stop cut motor [09:16:58]*** Cut end [09:16:58]Read from MH i2c: 01 07 00 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: 01 07 00 6B 39 00 00 00 00 00 FF 0F B9 [09:16:58]process_action close_receipt done [09:16:58]requested_data is exist [09:16:58]produce_requested_data [09:16:58]requested_item fm.sn is exist - process it [09:16:58]wFMCommunicate request_size=4 [09:16:58]MH_SAM_APDU [09:16:58]CAPDU: 80 11 00 00 [09:16:58]Write to MH i2c: E2 08 00 6C 39 80 11 00 00 00 00 00 00 1F [09:16:58]Write i2c OK [09:16:58]MH_I2C_Read... [09:16:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:16:58]Read from MH i2c: E2 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: E2 17 00 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: E2 17 00 6C 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 77 [09:16:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:16:58]wFMCommunicate OK [09:16:58]requested_item fd.num is exist - process it [09:16:58]SAM_PROTO_GetFieldsCounters [09:16:58]wFMCommunicate request_size=4 [09:16:58]MH_SAM_APDU [09:16:58]CAPDU: 80 13 00 00 [09:16:58]Write to MH i2c: E2 08 00 6D 39 80 13 00 00 00 00 00 00 22 [09:16:58]Write i2c OK [09:16:58]MH_I2C_Read... [09:16:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:16:58]Read from MH i2c: E2 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: E2 62 00 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: E2 62 00 6D 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 E3 [09:16:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:16:58]wFMCommunicate OK [09:16:58]SAM_PROTO_GetFieldsCounters done [09:16:58]requested_item shift.num is exist - process it [09:16:58]requested_item shift.opened is exist - process it [09:16:58]req_shift_opened [09:16:58]FM_GetShiftState [09:16:58]SAM_PROTO_GetShiftState [09:16:58]wFMCommunicate request_size=4 [09:16:58]MH_SAM_APDU [09:16:58]CAPDU: 80 13 01 00 [09:16:58]Write to MH i2c: E2 08 00 6E 39 80 13 01 00 00 00 00 00 24 [09:16:58]Write i2c OK [09:16:58]MH_I2C_Read... [09:16:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:16:58]Read from MH i2c: E2 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: E2 0E 00 [09:16:58]MH_I2C_Read... [09:16:58]Read from MH i2c: E2 0E 00 6E 39 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B1 [09:16:58]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:16:58]wFMCommunicate OK [09:16:58]SAM_PROTO_GetShiftState done [09:16:58]FM_GetShiftState done [09:16:58]req_shift_opened done [09:16:58]requested_item shift.open_date is exist - process it [09:16:58]req_shift_open_date [09:16:58]req_shift_open_date done [09:16:58]produce_requested_data done [09:16:58]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26807,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:16:58]process_action_free close_receipt [09:16:58]json_value_free [09:16:58]json_value_free done [09:16:58]process_json_proto returns [09:16:58]Send response to host [09:16:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26807,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:16:58]free response buf [09:16:58]execute_script done [09:16:58]execute_script returns [09:16:58]free content buf [09:16:58]Sock 9.Close socket [09:16:58]Sock 9.Thread stoped [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:52]OFD Sender: No OFD packet to send [09:25:57]OFD Sender: No OFD packet to send [09:26:02]OFD Sender: No OFD packet to send [09:26:07]OFD Sender: No OFD packet to send [09:26:12]OFD Sender: No OFD packet to send [09:26:17]OFD Sender: No OFD packet to send [09:26:22]OFD Sender: No OFD packet to send [09:26:27]OFD Sender: No OFD packet to send [09:26:32]OFD Sender: No OFD packet to send [09:26:37]OFD Sender: No OFD packet to send [09:26:42]OFD Sender: No OFD packet to send [09:26:47]OFD Sender: No OFD packet to send [09:26:52]OFD Sender: No OFD packet to send [09:26:57]OFD Sender: No OFD packet to send [09:27:02]OFD Sender: No OFD packet to send [09:27:07]OFD Sender: No OFD packet to send [09:27:12]OFD Sender: No OFD packet to send [09:27:17]OFD Sender: No OFD packet to send [09:27:19]accept exits with 8 [09:27:19]New connection [09:27:19]New thread 3066871140 created [09:27:19]Thread 3067014500 joined [09:27:19]Waiting for new connection... [09:27:19] Sock 8.Parse request [09:27:19]Sock 8.Check first char [09:27:19]Sock 8.First char is OK [09:27:19]request: POST /json_proto HTTP/1.0 [09:27:19]Method: POST [09:27:19]URL: /json_proto [09:27:19]Method is POST - this is cgi request [09:27:19]url: /json_proto [09:27:19]query_string will be loaded in cgi processing [09:27:19]execute_cgi json_proto POST (null) [09:27:19]execute_cgi path=json_proto method=POST [09:27:19]POST find Content-Length [09:27:19]Host: 172.17.35.3:8080 [09:27:19]Content-Length: 805 [09:27:19]Content-Type: application/json [09:27:19] [09:27:19]POST finish read [09:27:19]Found Content-Length = 805 [09:27:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359551", "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" : 71.80, "quantity" : 5.020, "sum" : 360.44, "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" : 360.44 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:19]execute_script... [09:27: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)359551", "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" : 71.80, "quantity" : 5.020, "sum" : 360.44, "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" : 360.44 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:27:19]POST & json_proto [09:27:19]process_json_proto [09:27:19]json parsed OK: [09:27:19]protocol is kg_v1.0 [09:27:19]action value=close_receipt [09:27:19]process_action close_receipt [09:27:19]cmd_close_receipt [09:27:19]MH_GetDate [09:27:19]Write to MH i2c: F0 00 00 6F 39 97 [09:27:19]Write i2c OK [09:27:19]MH_I2C_Read... [09:27:19]Read from MH i2c: F0 [09:27:19]MH_I2C_Read... [09:27:19]Read from MH i2c: F0 09 00 [09:27:19]MH_I2C_Read... [09:27:19]Read from MH i2c: F0 09 00 6F 39 00 85 B8 13 66 2B 11 66 64 5C [09:27:19]GetLastDocTimeStamp 1712567827 [09:27:19]current date 1712568453 [09:27:19]FM_GetShiftState [09:27:19]SAM_PROTO_GetShiftState [09:27:19]wFMCommunicate request_size=4 [09:27:19]MH_SAM_APDU [09:27:19]CAPDU: 80 13 01 00 [09:27:19]Write to MH i2c: E2 08 00 70 39 80 13 01 00 00 00 00 00 26 [09:27:19]Write i2c OK [09:27:19]MH_I2C_Read... [09:27:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:19]Read from MH i2c: E2 [09:27:19]MH_I2C_Read... [09:27:19]Read from MH i2c: E2 0E 00 [09:27:19]MH_I2C_Read... [09:27:19]Read from MH i2c: E2 0E 00 70 39 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B3 [09:27:19]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:27:19]wFMCommunicate OK [09:27:19]SAM_PROTO_GetShiftState done [09:27:19]FM_GetShiftState done [09:27:19]opened in 1712536270 [09:27:19]opened+sec_in_day 1712622670 [09:27:19]quantity*price = 36043 [09:27:19]sum+1 = 36045 [09:27:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 360.44 ÐСП 1% : 3.19 ÐДС 12% : 38.28 Ðаличными: 0.00 Безнал.: 360.44 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 21 08.04.2024 09:27 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26808 ФПД: 24995801473046 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T092733&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26808&fm=24995801473046&tin=02508201610067®Number=0000000000091578&sum=36044 [09:27:20]StoreToDocumentArchive [09:27:20]shift 314 fd 26808 [09:27:20]save to /storage/0314/doc_00026808 [09:27:20]save last doc name /storage/0314/doc_00026808 to /storage/kkm_last_doc_name [09:27:20]save OK [09:27:20]Clear old archive folders... [09:27:20]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:27:20]tlvbuf is 00EE3420 [09:27:20]SAM_PROTO_ClearQueue [09:27:20]wFMCommunicate request_size=4 [09:27:20]MH_SAM_APDU [09:27:20]CAPDU: 80 09 00 00 [09:27:20]Write to MH i2c: E2 08 00 7D 39 80 09 00 00 00 00 00 00 28 [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:27:20]Read from MH i2c: E2 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 7D 39 00 90 00 2A [09:27:20]RAPDU: 90 00 [09:27:20]wFMCommunicate OK [09:27:20]SAM_PROTO_ClearQueue done [09:27:20]KKMCreateOFDPacket [09:27:20]OFDProtocolAddRootSTLVToBuf [09:27:20]FM_MakeSignedData [09:27:20]FM_MakeSignedData [09:27:20]SAM_PROTO_SignData [09:27:20]wFMCommunicate request_size=4 [09:27:20]MH_SAM_APDU [09:27:20]CAPDU: 80 0D 01 02 [09:27:20]Write to MH i2c: E2 08 00 7E 39 80 0D 01 02 00 00 00 00 30 [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:27:20]Read from MH i2c: E2 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 7E 39 00 90 00 2B [09:27:20]RAPDU: 90 00 [09:27:20]wFMCommunicate OK [09:27:20]wFMCommunicate request_size=255 [09:27:20]MH_SAM_APDU [09:27:20]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 9C 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 CC 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 85 B8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B8 68 00 00 35 04 06 00 [09:27:20]Write to MH i2c: E2 02 01 7F 39 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 9C 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 CC 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 85 B8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B8 68 00 00 35 04 06 00 00 00 C6 [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:20]Read from MH i2c: E2 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 7F 39 00 90 00 2C [09:27:20]RAPDU: 90 00 [09:27:20]wFMCommunicate OK [09:27:20]wFMCommunicate request_size=11 [09:27:20]MH_SAM_APDU [09:27:20]CAPDU: 80 0D 02 02 06 16 BB C9 DE 20 16 [09:27:20]Write to MH i2c: E2 0E 00 80 39 80 0D 02 02 06 00 16 BB C9 DE 20 16 00 00 ED [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:27:20]Read from MH i2c: E2 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 03 00 80 39 00 90 00 2D [09:27:20]RAPDU: 90 00 [09:27:20]wFMCommunicate OK [09:27:20]wFMCommunicate request_size=4 [09:27:20]MH_SAM_APDU [09:27:20]CAPDU: 80 0D 03 02 [09:27:20]Write to MH i2c: E2 08 00 81 39 80 0D 03 02 00 00 00 00 35 [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:27:20]Read from MH i2c: E2 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 0B 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 0B 00 81 39 00 1B 21 F5 0E 95 41 A1 36 90 00 22 [09:27:20]RAPDU: 1B 21 F5 0E 95 41 A1 36 90 00 [09:27:20]wFMCommunicate OK [09:27:20]SAM_PROTO_SignData done [09:27:20]FM_MakeSignedData done [09:27:20]CreateOFDProtocolMessage [09:27:20]wFMCommunicate request_size=4 [09:27:20]MH_SAM_APDU [09:27:20]CAPDU: 80 11 00 00 [09:27:20]Write to MH i2c: E2 08 00 82 39 80 11 00 00 00 00 00 00 35 [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:20]Read from MH i2c: E2 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 17 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: E2 17 00 82 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8D [09:27:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:27:20]wFMCommunicate OK [09:27:20]CreateOFDProtocolMessage done [09:27:20]OFDSenderStorePacket 26808 [09:27:20]StoreOFDPacket docnum=26808 [09:27:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 47 E6 08 01 24 27 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 9C 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 CC 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 85 B8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B8 68 00 00 35 04 06 00 16 BB C9 DE 20 16 1B 21 F5 0E 95 41 A1 36 [09:27:20]CheckFolder [09:27:20]dirname=/storage/ofd_packets [09:27:20]CheckFolder done [09:27:20]ProducePacketName [09:27:20]name=ofd_packets/00026808 [09:27:20]NVStorageSaveData ofd_packets/00026808 [09:27:20]File name is /storage/ofd_packets/00026808 [09:27:20]Write 302 bytes [09:27:20]NVStorageSaveData done [09:27:20]OFDSenderStorePacket done [09:27:20]KKMCreateOFDPacket done [09:27:20]NVStorageSaveData kkm_last_timestamp [09:27:20]File name is /storage/kkm_last_timestamp [09:27:20]Write 4 bytes [09:27:20]NVStorageSaveData done [09:27:20]ExternCall_PrintAddStr [09:27:20]wPrintStart [09:27:20]Write to MH i2c: 01 00 00 83 39 BC [09:27:20]Write i2c OK [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: 01 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: 01 07 00 [09:27:20]MH_I2C_Read... [09:27:20]Read from MH i2c: 01 07 00 83 39 00 00 00 00 00 FF 0F D1 [09:27:20]RasterBufferAndPrint [09:27:20]line Счет N : (1)359551 [09:27:20]line ИÐÐ: 02508201610067 [09:27:20]line Контрольно-КаÑÑовый Чек [09:27:20]line ПРОДÐЖР[09:27:20]line ТРК (МРК, ГÐК) : 11 [09:27:20]line Товар: 2710194210 [09:27:20]line ДТ(л)-К-5 [09:27:20]line 5.020 * 71.80 [09:27:20]line = 360.44 [09:27:20]line ÐДС 12% ÐСП 1% [09:27:20]line > о реализуемом товаре [09:27:20]line ИТОГО: 360.44 [09:27:20]line ÐСП 1% : 3.19 [09:27:20]line ÐДС 12% : 38.28 [09:27:20]line Ðаличными: 0.00 [09:27:20]line Безнал.: 360.44 [09:27:20]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:27:20]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:27:20]line СÐО: Общий режим [09:27:20]line Чек 21 08.04.2024 09:27 [09:27:20]line Смена: 314 ФФД: 1.0 [09:27:20]line ЗÐМ: 0300000147 [09:27:20]line РÐМ: 0000000000091578 [09:27:20]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:27:20]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [09:27:20]line ФМ: 0000000000874657 [09:27:20]line ФД: 26808 [09:27:20]line ФПД: 24995801473046 [09:27:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T092733&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26808&fm=24995801473046&tin=02508201610067®Number=0000000000091578&sum=36044 [09:27:21]OFD Sender: Processing packet 26808 [packets to send 44, broken 43] [09:27:21]ProducePacketName [09:27:21]name=ofd_packets/00026808 [09:27:21]OFD Sender: To server: ‡•öpG, [09:27:21]CommunicateWithHost lk.salyk.kg:30040 [09:27:21]ConnectInit lk.salyk.kg [09:27:21]written 0, free lines is 4095 [09:27:21]Connected sock=10 [09:27:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 47 E6 08 01 24 27 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 9C 13 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 CC 8C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F4 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CC 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 85 B8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B8 68 00 00 35 04 06 00 16 BB C9 DE 20 16 1B 21 F5 0E 95 41 A1 36 [09:27:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 6A F3 47 00 79 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B8 68 00 00 F4 03 04 00 EF 5F 13 66 B6 04 01 00 00 B9 2D FE 2B F0 B6 B7 BE [09:27:21]CommunicateWithHost err = 0 [09:27:21]CheckOFDResponse [09:27:21]1017 (14) - 77093643461234 [09:27:21]1041 (16) - 0000000000874657 [09:27:21]1040 (4) - 26808 [09:27:21]1012 (4) - 08.04.2024 03:09 [09:27:21]1206 (1) - 0 [09:27:21]OFD Sender: Remove packet 26808 [09:27:21]ProducePacketName [09:27:21]name=ofd_packets/00026808 [09:27:21]NVStorageDeleteData [09:27:21]Write to MH i2c: 01 00 00 AD 39 E6 [09:27:21]Write i2c OK [09:27:21]MH_I2C_Read... [09:27:21]Read from MH i2c: 01 [09:27:21]MH_I2C_Read... [09:27:21]Read from MH i2c: 01 07 00 [09:27:21]MH_I2C_Read... [09:27:21]Read from MH i2c: 01 07 00 AD 39 00 00 00 00 00 75 0C 6E [09:27:21]RasterBufferAndPrint [09:27:21]line [09:27:21]line [09:27:21]line [09:27:21]line [09:27:21]line [09:27:21]written 0, free lines is 3194 [09:27:21]MH_Cut [09:27:21]Write to MH i2c: D1 01 00 B4 39 01 BF [09:27:21]Write i2c OK [09:27:21]MH_I2C_Read... [09:27:21]Read from MH i2c: D1 [09:27:21]MH_I2C_Read... [09:27:21]Read from MH i2c: D1 01 00 [09:27:21]MH_I2C_Read... [09:27:21]Read from MH i2c: D1 01 00 B4 39 00 BE [09:27:21]Write to MH i2c: 01 00 00 B5 39 EE [09:27:21]Write i2c OK [09:27:21]MH_I2C_Read... [09:27:22]OFD Sender: No OFD packet to send [09:27:22]*** Cut start [09:27:22]*** Partial cut [09:27:22]*** CUTSNS_PIN = 1 [09:27:22]*** CUTSNS_PIN = 0 [09:27:23]*** Brake cut motor [09:27:23]Read from MH i2c: 01 [09:27:23]MH_I2C_Read... [09:27:23]*** Stop cut motor [09:27:23]*** Cut end [09:27:23]Read from MH i2c: 01 07 00 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: 01 07 00 B5 39 00 00 00 00 00 FF 0F 03 [09:27:23]process_action close_receipt done [09:27:23]requested_data is exist [09:27:23]produce_requested_data [09:27:23]requested_item fm.sn is exist - process it [09:27:23]wFMCommunicate request_size=4 [09:27:23]MH_SAM_APDU [09:27:23]CAPDU: 80 11 00 00 [09:27:23]Write to MH i2c: E2 08 00 B6 39 80 11 00 00 00 00 00 00 69 [09:27:23]Write i2c OK [09:27:23]MH_I2C_Read... [09:27:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:27:23]Read from MH i2c: E2 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 17 00 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 17 00 B6 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C1 [09:27:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:27:23]wFMCommunicate OK [09:27:23]requested_item fd.num is exist - process it [09:27:23]SAM_PROTO_GetFieldsCounters [09:27:23]wFMCommunicate request_size=4 [09:27:23]MH_SAM_APDU [09:27:23]CAPDU: 80 13 00 00 [09:27:23]Write to MH i2c: E2 08 00 B7 39 80 13 00 00 00 00 00 00 6C [09:27:23]Write i2c OK [09:27:23]MH_I2C_Read... [09:27:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:27:23]Read from MH i2c: E2 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 62 00 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 62 00 B7 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 31 [09:27:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:27:23]wFMCommunicate OK [09:27:23]SAM_PROTO_GetFieldsCounters done [09:27:23]requested_item shift.num is exist - process it [09:27:23]requested_item shift.opened is exist - process it [09:27:23]req_shift_opened [09:27:23]FM_GetShiftState [09:27:23]SAM_PROTO_GetShiftState [09:27:23]wFMCommunicate request_size=4 [09:27:23]MH_SAM_APDU [09:27:23]CAPDU: 80 13 01 00 [09:27:23]Write to MH i2c: E2 08 00 B8 39 80 13 01 00 00 00 00 00 6E [09:27:23]Write i2c OK [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 [09:27:23]MH_I2C_Read... [09:27:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:27:23]Read from MH i2c: E2 0E 00 [09:27:23]MH_I2C_Read... [09:27:23]Read from MH i2c: E2 0E 00 B8 39 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 FB [09:27:23]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:27:23]wFMCommunicate OK [09:27:23]SAM_PROTO_GetShiftState done [09:27:23]FM_GetShiftState done [09:27:23]req_shift_opened done [09:27:23]requested_item shift.open_date is exist - process it [09:27:23]req_shift_open_date [09:27:23]req_shift_open_date done [09:27:23]produce_requested_data done [09:27:23]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26808,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:27:23]process_action_free close_receipt [09:27:23]json_value_free [09:27:23]json_value_free done [09:27:23]process_json_proto returns [09:27:23]Send response to host [09:27:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26808,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:27:23]free response buf [09:27:23]execute_script done [09:27:23]execute_script returns [09:27:23]free content buf [09:27:23]Sock 8.Close socket [09:27:23]Sock 8.Thread stoped [09:27:27]OFD Sender: No OFD packet to send [09:27:32]OFD Sender: No OFD packet to send [09:27:37]OFD Sender: No OFD packet to send [09:27:42]OFD Sender: No OFD packet to send [09:27:47]OFD Sender: No OFD packet to send [09:27:52]OFD Sender: No OFD packet to send [09:27:57]OFD Sender: No OFD packet to send [09:28:02]OFD Sender: No OFD packet to send [09:28:07]OFD Sender: No OFD packet to send [09:28:12]OFD Sender: No OFD packet to send [09:28:17]OFD Sender: No OFD packet to send [09:28:22]OFD Sender: No OFD packet to send [09:28:27]OFD Sender: No OFD packet to send [09:28:32]OFD Sender: No OFD packet to send [09:28:37]OFD Sender: No OFD packet to send [09:28:42]OFD Sender: No OFD packet to send [09:28:47]OFD Sender: No OFD packet to send [09:28:52]OFD Sender: No OFD packet to send [09:28:57]OFD Sender: No OFD packet to send [09:29:02]OFD Sender: No OFD packet to send [09:29:07]OFD Sender: No OFD packet to send [09:29:12]OFD Sender: No OFD packet to send [09:29:17]OFD Sender: No OFD packet to send [09:29:22]OFD Sender: No OFD packet to send [09:29:27]OFD Sender: No OFD packet to send [09:29:32]OFD Sender: No OFD packet to send [09:29:37]OFD Sender: No OFD packet to send [09:29:42]OFD Sender: No OFD packet to send [09:29:47]OFD Sender: No OFD packet to send [09:29:52]OFD Sender: No OFD packet to send [09:29:57]OFD Sender: No OFD packet to send [09:30:02]OFD Sender: No OFD packet to send [09:30:07]OFD Sender: No OFD packet to send [09:30:12]OFD Sender: No OFD packet to send [09:30:17]OFD Sender: No OFD packet to send [09:30:22]OFD Sender: No OFD packet to send [09:30:27]OFD Sender: No OFD packet to send [09:30:32]OFD Sender: No OFD packet to send [09:30:37]OFD Sender: No OFD packet to send [09:30:42]OFD Sender: No OFD packet to send [09:30:47]OFD Sender: No OFD packet to send [09:30:52]OFD Sender: No OFD packet to send [09:30:57]OFD Sender: No OFD packet to send [09:31:02]OFD Sender: No OFD packet to send [09:31:07]OFD Sender: No OFD packet to send [09:31:12]OFD Sender: No OFD packet to send [09:31:17]OFD Sender: No OFD packet to send [09:31:22]OFD Sender: No OFD packet to send [09:31:27]OFD Sender: No OFD packet to send [09:31:32]OFD Sender: No OFD packet to send [09:31:37]OFD Sender: No OFD packet to send [09:31:42]OFD Sender: No OFD packet to send [09:31:47]OFD Sender: No OFD packet to send [09:31:52]OFD Sender: No OFD packet to send [09:31:57]OFD Sender: No OFD packet to send [09:32:02]OFD Sender: No OFD packet to send [09:32:07]OFD Sender: No OFD packet to send [09:32:12]OFD Sender: No OFD packet to send [09:32:17]OFD Sender: No OFD packet to send [09:32:22]OFD Sender: No OFD packet to send [09:32:27]OFD Sender: No OFD packet to send [09:32:32]OFD Sender: No OFD packet to send [09:32:37]OFD Sender: No OFD packet to send [09:32:42]OFD Sender: No OFD packet to send [09:32:47]OFD Sender: No OFD packet to send [09:32:52]OFD Sender: No OFD packet to send [09:32:57]OFD Sender: No OFD packet to send [09:33:02]OFD Sender: No OFD packet to send [09:33:07]OFD Sender: No OFD packet to send [09:33:12]OFD Sender: No OFD packet to send [09:33:17]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:06]accept exits with 9 [09:34:06]New connection [09:34:06]New thread 3067014500 created [09:34:06]Thread 3066871140 joined [09:34:06]Waiting for new connection... [09:34:06] Sock 9.Parse request [09:34:06]Sock 9.Check first char [09:34:06]Sock 9.First char is OK [09:34:06]request: POST /json_proto HTTP/1.0 [09:34:06]Method: POST [09:34:06]URL: /json_proto [09:34:06]Method is POST - this is cgi request [09:34:06]url: /json_proto [09:34:06]query_string will be loaded in cgi processing [09:34:06]execute_cgi json_proto POST (null) [09:34:06]execute_cgi path=json_proto method=POST [09:34:06]POST find Content-Length [09:34:06]Host: 172.17.35.3:8080 [09:34:06]Content-Length: 808 [09:34:06]Content-Type: application/json [09:34:06] [09:34:06]POST finish read [09:34:06]Found Content-Length = 808 [09:34:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359552", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:06]execute_script... [09:34: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 : (1)359552", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:34:06]POST & json_proto [09:34:06]process_json_proto [09:34:06]json parsed OK: [09:34:06]protocol is kg_v1.0 [09:34:06]action value=close_receipt [09:34:06]process_action close_receipt [09:34:06]cmd_close_receipt [09:34:06]MH_GetDate [09:34:06]Write to MH i2c: F0 00 00 B9 39 E1 [09:34:06]Write i2c OK [09:34:06]MH_I2C_Read... [09:34:06]Read from MH i2c: F0 [09:34:06]MH_I2C_Read... [09:34:06]Read from MH i2c: F0 09 00 [09:34:06]MH_I2C_Read... [09:34:06]Read from MH i2c: F0 09 00 B9 39 00 1C BA 13 66 2B 11 66 64 3F [09:34:06]GetLastDocTimeStamp 1712568453 [09:34:06]current date 1712568860 [09:34:06]FM_GetShiftState [09:34:06]SAM_PROTO_GetShiftState [09:34:06]wFMCommunicate request_size=4 [09:34:06]MH_SAM_APDU [09:34:06]CAPDU: 80 13 01 00 [09:34:06]Write to MH i2c: E2 08 00 BA 39 80 13 01 00 00 00 00 00 70 [09:34:06]Write i2c OK [09:34:06]MH_I2C_Read... [09:34:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:06]Read from MH i2c: E2 [09:34:06]MH_I2C_Read... [09:34:06]Read from MH i2c: E2 0E 00 [09:34:06]MH_I2C_Read... [09:34:06]Read from MH i2c: E2 0E 00 BA 39 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 FD [09:34:06]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:34:06]wFMCommunicate OK [09:34:06]SAM_PROTO_GetShiftState done [09:34:06]FM_GetShiftState done [09:34:06]opened in 1712536270 [09:34:06]opened+sec_in_day 1712622670 [09:34:06]quantity*price = 100017 [09:34:06]sum+1 = 100018 [09:34:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 22 08.04.2024 09:34 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26809 ФПД: 223366111527765 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T093420&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26809&fm=223366111527765&tin=02508201610067®Number=0000000000091578&sum=100017 [09:34:07]StoreToDocumentArchive [09:34:07]shift 314 fd 26809 [09:34:07]save to /storage/0314/doc_00026809 [09:34:07]save last doc name /storage/0314/doc_00026809 to /storage/kkm_last_doc_name [09:34:07]save OK [09:34:07]Clear old archive folders... [09:34:07]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:34:07]tlvbuf is 00E54B00 [09:34:07]SAM_PROTO_ClearQueue [09:34:07]wFMCommunicate request_size=4 [09:34:07]MH_SAM_APDU [09:34:07]CAPDU: 80 09 00 00 [09:34:07]Write to MH i2c: E2 08 00 C7 39 80 09 00 00 00 00 00 00 72 [09:34:07]OFD Sender: No OFD packet to send [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:34:07]Read from MH i2c: E2 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 C7 39 00 90 00 74 [09:34:07]RAPDU: 90 00 [09:34:07]wFMCommunicate OK [09:34:07]SAM_PROTO_ClearQueue done [09:34:07]KKMCreateOFDPacket [09:34:07]OFDProtocolAddRootSTLVToBuf [09:34:07]FM_MakeSignedData [09:34:07]FM_MakeSignedData [09:34:07]SAM_PROTO_SignData [09:34:07]wFMCommunicate request_size=4 [09:34:07]MH_SAM_APDU [09:34:07]CAPDU: 80 0D 01 02 [09:34:07]Write to MH i2c: E2 08 00 C8 39 80 0D 01 02 00 00 00 00 7A [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:34:07]Read from MH i2c: E2 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 C8 39 00 90 00 75 [09:34:07]RAPDU: 90 00 [09:34:07]wFMCommunicate OK [09:34:07]wFMCommunicate request_size=255 [09:34:07]MH_SAM_APDU [09:34:07]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1C BA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B9 68 00 00 35 04 06 00 [09:34:07]Write to MH i2c: E2 02 01 C9 39 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1C BA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B9 68 00 00 35 04 06 00 00 00 18 [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:34:07]Read from MH i2c: E2 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 C9 39 00 90 00 76 [09:34:07]RAPDU: 90 00 [09:34:07]wFMCommunicate OK [09:34:07]wFMCommunicate request_size=11 [09:34:07]MH_SAM_APDU [09:34:07]CAPDU: 80 0D 02 02 06 CB 26 79 BB 83 55 [09:34:07]Write to MH i2c: E2 0E 00 CA 39 80 0D 02 02 06 00 CB 26 79 BB 83 55 00 00 86 [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:34:07]Read from MH i2c: E2 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 03 00 CA 39 00 90 00 77 [09:34:07]RAPDU: 90 00 [09:34:07]wFMCommunicate OK [09:34:07]wFMCommunicate request_size=4 [09:34:07]MH_SAM_APDU [09:34:07]CAPDU: 80 0D 03 02 [09:34:07]Write to MH i2c: E2 08 00 CB 39 80 0D 03 02 00 00 00 00 7F [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:34:07]Read from MH i2c: E2 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 0B 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 0B 00 CB 39 00 0B 4D 63 14 15 97 F4 D2 90 00 C1 [09:34:07]RAPDU: 0B 4D 63 14 15 97 F4 D2 90 00 [09:34:07]wFMCommunicate OK [09:34:07]SAM_PROTO_SignData done [09:34:07]FM_MakeSignedData done [09:34:07]CreateOFDProtocolMessage [09:34:07]wFMCommunicate request_size=4 [09:34:07]MH_SAM_APDU [09:34:07]CAPDU: 80 11 00 00 [09:34:07]Write to MH i2c: E2 08 00 CC 39 80 11 00 00 00 00 00 00 7F [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:07]Read from MH i2c: E2 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 17 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: E2 17 00 CC 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D7 [09:34:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:34:07]wFMCommunicate OK [09:34:07]CreateOFDProtocolMessage done [09:34:07]OFDSenderStorePacket 26809 [09:34:07]StoreOFDPacket docnum=26809 [09:34:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 41 2C 08 01 C8 6D 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1C BA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B9 68 00 00 35 04 06 00 CB 26 79 BB 83 55 0B 4D 63 14 15 97 F4 D2 [09:34:07]CheckFolder [09:34:07]dirname=/storage/ofd_packets [09:34:07]CheckFolder done [09:34:07]ProducePacketName [09:34:07]name=ofd_packets/00026809 [09:34:07]NVStorageSaveData ofd_packets/00026809 [09:34:07]File name is /storage/ofd_packets/00026809 [09:34:07]Write 302 bytes [09:34:07]NVStorageSaveData done [09:34:07]OFDSenderStorePacket done [09:34:07]KKMCreateOFDPacket done [09:34:07]NVStorageSaveData kkm_last_timestamp [09:34:07]File name is /storage/kkm_last_timestamp [09:34:07]Write 4 bytes [09:34:07]NVStorageSaveData done [09:34:07]ExternCall_PrintAddStr [09:34:07]wPrintStart [09:34:07]Write to MH i2c: 01 00 00 CD 39 06 [09:34:07]OFD Sender: Processing packet 26809 [packets to send 44, broken 43] [09:34:07]ProducePacketName [09:34:07]name=ofd_packets/00026809 [09:34:07]OFD Sender: To server: ‡•öpG, [09:34:07]CommunicateWithHost lk.salyk.kg:30040 [09:34:07]ConnectInit lk.salyk.kg [09:34:07]Write i2c OK [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: 01 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: 01 07 00 [09:34:07]MH_I2C_Read... [09:34:07]Read from MH i2c: 01 07 00 CD 39 00 00 00 00 00 FF 0F 1B [09:34:07]RasterBufferAndPrint [09:34:07]line Счет N : (1)359552 [09:34:07]line ИÐÐ: 02508201610067 [09:34:07]line Контрольно-КаÑÑовый Чек [09:34:07]line ПРОДÐЖР[09:34:07]line ТРК (МРК, ГÐК) : 11 [09:34:07]line Товар: 2710194210 [09:34:07]line ДТ(л)-К-5 [09:34:07]line 13.930 * 71.80 [09:34:07]line = 1000.17 [09:34:07]line ÐДС 12% ÐСП 1% [09:34:07]line > о реализуемом товаре [09:34:07]line ИТОГО: 1000.17 [09:34:07]line ÐСП 1% : 8.85 [09:34:07]line ÐДС 12% : 106.21 [09:34:07]line Ðаличными: 0.00 [09:34:07]line Безнал.: 1000.17 [09:34:07]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:34:07]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:34:07]line СÐО: Общий режим [09:34:07]line Чек 22 08.04.2024 09:34 [09:34:07]line Смена: 314 ФФД: 1.0 [09:34:07]line ЗÐМ: 0300000147 [09:34:07]line РÐМ: 0000000000091578 [09:34:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:34:07]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [09:34:07]line ФМ: 0000000000874657 [09:34:07]line ФД: 26809 [09:34:07]line ФПД: 223366111527765 [09:34:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T093420&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26809&fm=223366111527765&tin=02508201610067®Number=0000000000091578&sum=100017 [09:34:08]Connected sock=10 [09:34:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 41 2C 08 01 C8 6D 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 1C BA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B9 68 00 00 35 04 06 00 CB 26 79 BB 83 55 0B 4D 63 14 15 97 F4 D2 [09:34:08]written 0, free lines is 4095 [09:34:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 0A BE 47 00 1C 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 B9 68 00 00 F4 03 04 00 86 61 13 66 B6 04 01 00 00 D1 10 1F D3 4E 9A D5 31 [09:34:08]CommunicateWithHost err = 0 [09:34:08]CheckOFDResponse [09:34:08]1017 (14) - 77093643461234 [09:34:08]1041 (16) - 0000000000874657 [09:34:08]1040 (4) - 26809 [09:34:08]1012 (4) - 08.04.2024 03:16 [09:34:08]1206 (1) - 0 [09:34:08]OFD Sender: Remove packet 26809 [09:34:08]ProducePacketName [09:34:08]name=ofd_packets/00026809 [09:34:08]NVStorageDeleteData [09:34:08]Write to MH i2c: 01 00 00 F7 39 30 [09:34:08]Write i2c OK [09:34:08]MH_I2C_Read... [09:34:08]Read from MH i2c: 01 [09:34:08]MH_I2C_Read... [09:34:08]Read from MH i2c: 01 07 00 [09:34:08]MH_I2C_Read... [09:34:08]Read from MH i2c: 01 07 00 F7 39 00 00 00 00 00 7B 0C BE [09:34:08]RasterBufferAndPrint [09:34:08]line [09:34:08]line [09:34:08]line [09:34:08]line [09:34:08]line [09:34:08]written 0, free lines is 3199 [09:34:08]MH_Cut [09:34:08]Write to MH i2c: D1 01 00 FE 39 01 09 [09:34:08]Write i2c OK [09:34:08]MH_I2C_Read... [09:34:08]Read from MH i2c: D1 [09:34:08]MH_I2C_Read... [09:34:08]Read from MH i2c: D1 01 00 [09:34:08]MH_I2C_Read... [09:34:08]Read from MH i2c: D1 01 00 FE 39 00 08 [09:34:08]Write to MH i2c: 01 00 00 FF 39 38 [09:34:08]Write i2c OK [09:34:08]MH_I2C_Read... [09:34:08]OFD Sender: No OFD packet to send [09:34:09]*** Cut start [09:34:09]*** Partial cut [09:34:09]*** CUTSNS_PIN = 1 [09:34:09]*** CUTSNS_PIN = 0 [09:34:10]*** Brake cut motor [09:34:10]Read from MH i2c: 01 [09:34:10]MH_I2C_Read... [09:34:10]*** Stop cut motor [09:34:10]*** Cut end [09:34:10]Read from MH i2c: 01 07 00 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: 01 07 00 FF 39 00 00 00 00 00 FF 0F 4D [09:34:10]process_action close_receipt done [09:34:10]requested_data is exist [09:34:10]produce_requested_data [09:34:10]requested_item fm.sn is exist - process it [09:34:10]wFMCommunicate request_size=4 [09:34:10]MH_SAM_APDU [09:34:10]CAPDU: 80 11 00 00 [09:34:10]Write to MH i2c: E2 08 00 00 3A 80 11 00 00 00 00 00 00 B4 [09:34:10]Write i2c OK [09:34:10]MH_I2C_Read... [09:34:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:34:10]Read from MH i2c: E2 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: E2 17 00 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: E2 17 00 00 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0C [09:34:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:34:10]wFMCommunicate OK [09:34:10]requested_item fd.num is exist - process it [09:34:10]SAM_PROTO_GetFieldsCounters [09:34:10]wFMCommunicate request_size=4 [09:34:10]MH_SAM_APDU [09:34:10]CAPDU: 80 13 00 00 [09:34:10]Write to MH i2c: E2 08 00 01 3A 80 13 00 00 00 00 00 00 B7 [09:34:10]Write i2c OK [09:34:10]MH_I2C_Read... [09:34:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:34:10]Read from MH i2c: E2 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: E2 62 00 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: E2 62 00 01 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [09:34:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 B9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:34:10]wFMCommunicate OK [09:34:10]SAM_PROTO_GetFieldsCounters done [09:34:10]requested_item shift.num is exist - process it [09:34:10]requested_item shift.opened is exist - process it [09:34:10]req_shift_opened [09:34:10]FM_GetShiftState [09:34:10]SAM_PROTO_GetShiftState [09:34:10]wFMCommunicate request_size=4 [09:34:10]MH_SAM_APDU [09:34:10]CAPDU: 80 13 01 00 [09:34:10]Write to MH i2c: E2 08 00 02 3A 80 13 01 00 00 00 00 00 B9 [09:34:10]Write i2c OK [09:34:10]MH_I2C_Read... [09:34:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:34:10]Read from MH i2c: E2 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: E2 0E 00 [09:34:10]MH_I2C_Read... [09:34:10]Read from MH i2c: E2 0E 00 02 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 46 [09:34:10]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:34:10]wFMCommunicate OK [09:34:10]SAM_PROTO_GetShiftState done [09:34:10]FM_GetShiftState done [09:34:10]req_shift_opened done [09:34:10]requested_item shift.open_date is exist - process it [09:34:10]req_shift_open_date [09:34:10]req_shift_open_date done [09:34:10]produce_requested_data done [09:34:10]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26809,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:34:10]process_action_free close_receipt [09:34:10]json_value_free [09:34:10]json_value_free done [09:34:10]process_json_proto returns [09:34:10]Send response to host [09:34:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26809,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:34:10]free response buf [09:34:10]execute_script done [09:34:10]execute_script returns [09:34:10]free content buf [09:34:10]Sock 9.Close socket [09:34:10]Sock 9.Thread stoped [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:14]OFD Sender: No OFD packet to send [09:37:19]OFD Sender: No OFD packet to send [09:37:24]OFD Sender: No OFD packet to send [09:37:29]OFD Sender: No OFD packet to send [09:37:34]OFD Sender: No OFD packet to send [09:37:39]OFD Sender: No OFD packet to send [09:37:44]OFD Sender: No OFD packet to send [09:37:49]OFD Sender: No OFD packet to send [09:37:54]OFD Sender: No OFD packet to send [09:37:59]OFD Sender: No OFD packet to send [09:38:04]OFD Sender: No OFD packet to send [09:38:09]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:32]accept exits with 8 [09:38:32]New connection [09:38:32]New thread 3066871140 created [09:38:32]Thread 3067014500 joined [09:38:32]Waiting for new connection... [09:38:32] Sock 8.Parse request [09:38:32]Sock 8.Check first char [09:38:32]Sock 8.First char is OK [09:38:32]request: POST /json_proto HTTP/1.0 [09:38:32]Method: POST [09:38:32]URL: /json_proto [09:38:32]Method is POST - this is cgi request [09:38:32]url: /json_proto [09:38:32]query_string will be loaded in cgi processing [09:38:32]execute_cgi json_proto POST (null) [09:38:32]execute_cgi path=json_proto method=POST [09:38:32]POST find Content-Length [09:38:32]Host: 172.17.35.3:8080 [09:38:32]Content-Length: 805 [09:38:32]Content-Type: application/json [09:38:32] [09:38:32]POST finish read [09:38:32]Found Content-Length = 805 [09:38:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359553", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:32]execute_script... [09:38:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359553", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:38:32]POST & json_proto [09:38:32]process_json_proto [09:38:32]json parsed OK: [09:38:32]protocol is kg_v1.0 [09:38:32]action value=close_receipt [09:38:32]process_action close_receipt [09:38:32]cmd_close_receipt [09:38:32]MH_GetDate [09:38:32]Write to MH i2c: F0 00 00 03 3A 2C [09:38:32]Write i2c OK [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: F0 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: F0 09 00 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: F0 09 00 03 3A 00 26 BB 13 66 2B 11 66 64 95 [09:38:32]GetLastDocTimeStamp 1712568860 [09:38:32]current date 1712569126 [09:38:32]FM_GetShiftState [09:38:32]SAM_PROTO_GetShiftState [09:38:32]wFMCommunicate request_size=4 [09:38:32]MH_SAM_APDU [09:38:32]CAPDU: 80 13 01 00 [09:38:32]Write to MH i2c: E2 08 00 04 3A 80 13 01 00 00 00 00 00 BB [09:38:32]Write i2c OK [09:38:32]MH_I2C_Read... [09:38:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:32]Read from MH i2c: E2 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: E2 0E 00 [09:38:32]MH_I2C_Read... [09:38:32]Read from MH i2c: E2 0E 00 04 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 48 [09:38:32]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:38:32]wFMCommunicate OK [09:38:32]SAM_PROTO_GetShiftState done [09:38:32]FM_GetShiftState done [09:38:32]opened in 1712536270 [09:38:32]opened+sec_in_day 1712622670 [09:38:32]quantity*price = 50044 [09:38:32]sum+1 = 50046 [09:38:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.45 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 0.00 Безнал.: 500.45 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 23 08.04.2024 09:38 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26810 ФПД: 35506221771996 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T093846&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26810&fm=35506221771996&tin=02508201610067®Number=0000000000091578&sum=50045 [09:38:33]StoreToDocumentArchive [09:38:33]shift 314 fd 26810 [09:38:33]save to /storage/0314/doc_00026810 [09:38:33]save last doc name /storage/0314/doc_00026810 to /storage/kkm_last_doc_name [09:38:33]save OK [09:38:33]Clear old archive folders... [09:38:33]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:38:33]tlvbuf is B6EE96E0 [09:38:33]SAM_PROTO_ClearQueue [09:38:33]wFMCommunicate request_size=4 [09:38:33]MH_SAM_APDU [09:38:33]CAPDU: 80 09 00 00 [09:38:33]Write to MH i2c: E2 08 00 11 3A 80 09 00 00 00 00 00 00 BD [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:38:33]Read from MH i2c: E2 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 11 3A 00 90 00 BF [09:38:33]RAPDU: 90 00 [09:38:33]wFMCommunicate OK [09:38:33]SAM_PROTO_ClearQueue done [09:38:33]KKMCreateOFDPacket [09:38:33]OFDProtocolAddRootSTLVToBuf [09:38:33]FM_MakeSignedData [09:38:33]FM_MakeSignedData [09:38:33]SAM_PROTO_SignData [09:38:33]wFMCommunicate request_size=4 [09:38:33]MH_SAM_APDU [09:38:33]CAPDU: 80 0D 01 02 [09:38:33]Write to MH i2c: E2 08 00 12 3A 80 0D 01 02 00 00 00 00 C5 [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:38:33]Read from MH i2c: E2 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 [09:38:33]MH_I2C_Read... [09:38:33]Read from MH i2c: E2 03 00 12 3A 00 90 00 C0 [09:38:33]RAPDU: 90 00 [09:38:33]wFMCommunicate OK [09:38:33]wFMCommunicate request_size=255 [09:38:33]MH_SAM_APDU [09:38:33]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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 26 BB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BA 68 00 00 35 04 06 00 [09:38:33]Write to MH i2c: E2 02 01 13 3A 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 26 BB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BA 68 00 00 35 04 06 00 00 00 B1 [09:38:33]Write i2c OK [09:38:33]MH_I2C_Read... [09:38:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:34]OFD Sender: No OFD packet to send [09:38:34]Read from MH i2c: E2 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 03 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 03 00 13 3A 00 90 00 C1 [09:38:34]RAPDU: 90 00 [09:38:34]wFMCommunicate OK [09:38:34]wFMCommunicate request_size=11 [09:38:34]MH_SAM_APDU [09:38:34]CAPDU: 80 0D 02 02 06 20 4A EF BC 6C DC [09:38:34]Write to MH i2c: E2 0E 00 14 3A 80 0D 02 02 06 00 20 4A EF BC 6C DC 00 00 31 [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:38:34]Read from MH i2c: E2 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 03 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 03 00 14 3A 00 90 00 C2 [09:38:34]RAPDU: 90 00 [09:38:34]wFMCommunicate OK [09:38:34]wFMCommunicate request_size=4 [09:38:34]MH_SAM_APDU [09:38:34]CAPDU: 80 0D 03 02 [09:38:34]Write to MH i2c: E2 08 00 15 3A 80 0D 03 02 00 00 00 00 CA [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:38:34]Read from MH i2c: E2 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 0B 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 0B 00 15 3A 00 0E 4F 54 E4 13 01 B4 AB 90 00 D3 [09:38:34]RAPDU: 0E 4F 54 E4 13 01 B4 AB 90 00 [09:38:34]wFMCommunicate OK [09:38:34]SAM_PROTO_SignData done [09:38:34]FM_MakeSignedData done [09:38:34]CreateOFDProtocolMessage [09:38:34]wFMCommunicate request_size=4 [09:38:34]MH_SAM_APDU [09:38:34]CAPDU: 80 11 00 00 [09:38:34]Write to MH i2c: E2 08 00 16 3A 80 11 00 00 00 00 00 00 CA [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:34]Read from MH i2c: E2 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 17 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: E2 17 00 16 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 22 [09:38:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:38:34]wFMCommunicate OK [09:38:34]CreateOFDProtocolMessage done [09:38:34]OFDSenderStorePacket 26810 [09:38:34]StoreOFDPacket docnum=26810 [09:38:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 22 B3 08 01 C7 E2 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 26 BB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BA 68 00 00 35 04 06 00 20 4A EF BC 6C DC 0E 4F 54 E4 13 01 B4 AB [09:38:34]CheckFolder [09:38:34]dirname=/storage/ofd_packets [09:38:34]CheckFolder done [09:38:34]ProducePacketName [09:38:34]name=ofd_packets/00026810 [09:38:34]NVStorageSaveData ofd_packets/00026810 [09:38:34]File name is /storage/ofd_packets/00026810 [09:38:34]Write 302 bytes [09:38:34]NVStorageSaveData done [09:38:34]OFDSenderStorePacket done [09:38:34]KKMCreateOFDPacket done [09:38:34]NVStorageSaveData kkm_last_timestamp [09:38:34]File name is /storage/kkm_last_timestamp [09:38:34]Write 4 bytes [09:38:34]NVStorageSaveData done [09:38:34]ExternCall_PrintAddStr [09:38:34]wPrintStart [09:38:34]Write to MH i2c: 01 00 00 17 3A 51 [09:38:34]Write i2c OK [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: 01 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: 01 07 00 [09:38:34]MH_I2C_Read... [09:38:34]Read from MH i2c: 01 07 00 17 3A 00 00 00 00 00 FF 0F 66 [09:38:34]RasterBufferAndPrint [09:38:34]line Счет N : (1)359553 [09:38:34]line ИÐÐ: 02508201610067 [09:38:34]line Контрольно-КаÑÑовый Чек [09:38:34]line ПРОДÐЖР[09:38:34]line ТРК (МРК, ГÐК) : 21 [09:38:34]line Товар: 2710194210 [09:38:34]line ДТ(л)-К-5 [09:38:34]line 6.970 * 71.80 [09:38:34]line = 500.45 [09:38:34]line ÐДС 12% ÐСП 1% [09:38:34]line > о реализуемом товаре [09:38:34]line ИТОГО: 500.45 [09:38:34]line ÐСП 1% : 4.43 [09:38:34]line ÐДС 12% : 53.14 [09:38:34]line Ðаличными: 0.00 [09:38:34]line Безнал.: 500.45 [09:38:34]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:38:34]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:38:34]line СÐО: Общий режим [09:38:34]line Чек 23 08.04.2024 09:38 [09:38:34]line Смена: 314 ФФД: 1.0 [09:38:34]line ЗÐМ: 0300000147 [09:38:34]line РÐМ: 0000000000091578 [09:38:34]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:38:34]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [09:38:34]line ФМ: 0000000000874657 [09:38:34]line ФД: 26810 [09:38:34]line ФПД: 35506221771996 [09:38:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T093846&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26810&fm=35506221771996&tin=02508201610067®Number=0000000000091578&sum=50045 [09:38:34]OFD Sender: Processing packet 26810 [packets to send 44, broken 43] [09:38:34]ProducePacketName [09:38:34]name=ofd_packets/00026810 [09:38:34]OFD Sender: To server: ‡•öpG, [09:38:34]CommunicateWithHost lk.salyk.kg:30040 [09:38:34]ConnectInit lk.salyk.kg [09:38:34]written 0, free lines is 4095 [09:38:34]Connected sock=10 [09:38:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 22 B3 08 01 C7 E2 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 26 BB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BA 68 00 00 35 04 06 00 20 4A EF BC 6C DC 0E 4F 54 E4 13 01 B4 AB [09:38:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 DD F0 47 00 B4 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BA 68 00 00 F4 03 04 00 91 62 13 66 B6 04 01 00 00 75 ED A5 9A 83 55 10 A7 [09:38:35]CommunicateWithHost err = 0 [09:38:35]CheckOFDResponse [09:38:35]1017 (14) - 77093643461234 [09:38:35]1041 (16) - 0000000000874657 [09:38:35]1040 (4) - 26810 [09:38:35]1012 (4) - 08.04.2024 03:20 [09:38:35]1206 (1) - 0 [09:38:35]OFD Sender: Remove packet 26810 [09:38:35]ProducePacketName [09:38:35]name=ofd_packets/00026810 [09:38:35]NVStorageDeleteData [09:38:35]Write to MH i2c: 01 00 00 41 3A 7B [09:38:35]Write i2c OK [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: 01 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: 01 07 00 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: 01 07 00 41 3A 00 00 00 00 00 79 0C 07 [09:38:35]RasterBufferAndPrint [09:38:35]line [09:38:35]line [09:38:35]line [09:38:35]line [09:38:35]line [09:38:35]written 0, free lines is 3197 [09:38:35]MH_Cut [09:38:35]Write to MH i2c: D1 01 00 48 3A 01 54 [09:38:35]Write i2c OK [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: D1 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: D1 01 00 [09:38:35]MH_I2C_Read... [09:38:35]Read from MH i2c: D1 01 00 48 3A 00 53 [09:38:35]Write to MH i2c: 01 00 00 49 3A 83 [09:38:35]Write i2c OK [09:38:35]MH_I2C_Read... [09:38:35]OFD Sender: No OFD packet to send [09:38:36]*** Cut start [09:38:36]*** Partial cut [09:38:36]*** CUTSNS_PIN = 1 [09:38:36]*** CUTSNS_PIN = 0 [09:38:36]*** Brake cut motor [09:38:37]Read from MH i2c: 01 [09:38:37]MH_I2C_Read... [09:38:37]*** Stop cut motor [09:38:37]*** Cut end [09:38:37]Read from MH i2c: 01 07 00 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: 01 07 00 49 3A 00 00 00 00 00 FF 0F 98 [09:38:37]process_action close_receipt done [09:38:37]requested_data is exist [09:38:37]produce_requested_data [09:38:37]requested_item fm.sn is exist - process it [09:38:37]wFMCommunicate request_size=4 [09:38:37]MH_SAM_APDU [09:38:37]CAPDU: 80 11 00 00 [09:38:37]Write to MH i2c: E2 08 00 4A 3A 80 11 00 00 00 00 00 00 FE [09:38:37]Write i2c OK [09:38:37]MH_I2C_Read... [09:38:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:38:37]Read from MH i2c: E2 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: E2 17 00 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: E2 17 00 4A 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 56 [09:38:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:38:37]wFMCommunicate OK [09:38:37]requested_item fd.num is exist - process it [09:38:37]SAM_PROTO_GetFieldsCounters [09:38:37]wFMCommunicate request_size=4 [09:38:37]MH_SAM_APDU [09:38:37]CAPDU: 80 13 00 00 [09:38:37]Write to MH i2c: E2 08 00 4B 3A 80 13 00 00 00 00 00 00 01 [09:38:37]Write i2c OK [09:38:37]MH_I2C_Read... [09:38:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:38:37]Read from MH i2c: E2 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: E2 62 00 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: E2 62 00 4B 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 CE [09:38:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:38:37]wFMCommunicate OK [09:38:37]SAM_PROTO_GetFieldsCounters done [09:38:37]requested_item shift.num is exist - process it [09:38:37]requested_item shift.opened is exist - process it [09:38:37]req_shift_opened [09:38:37]FM_GetShiftState [09:38:37]SAM_PROTO_GetShiftState [09:38:37]wFMCommunicate request_size=4 [09:38:37]MH_SAM_APDU [09:38:37]CAPDU: 80 13 01 00 [09:38:37]Write to MH i2c: E2 08 00 4C 3A 80 13 01 00 00 00 00 00 03 [09:38:37]Write i2c OK [09:38:37]MH_I2C_Read... [09:38:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:38:37]Read from MH i2c: E2 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: E2 0E 00 [09:38:37]MH_I2C_Read... [09:38:37]Read from MH i2c: E2 0E 00 4C 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 90 [09:38:37]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:38:37]wFMCommunicate OK [09:38:37]SAM_PROTO_GetShiftState done [09:38:37]FM_GetShiftState done [09:38:37]req_shift_opened done [09:38:37]requested_item shift.open_date is exist - process it [09:38:37]req_shift_open_date [09:38:37]req_shift_open_date done [09:38:37]produce_requested_data done [09:38:37]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26810,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:38:37]process_action_free close_receipt [09:38:37]json_value_free [09:38:37]json_value_free done [09:38:37]process_json_proto returns [09:38:37]Send response to host [09:38:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26810,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:38:37]free response buf [09:38:37]execute_script done [09:38:37]execute_script returns [09:38:37]free content buf [09:38:37]Sock 8.Close socket [09:38:37]Sock 8.Thread stoped [09:38:40]OFD Sender: No OFD packet to send [09:38:45]OFD Sender: No OFD packet to send [09:38:50]OFD Sender: No OFD packet to send [09:38:55]OFD Sender: No OFD packet to send [09:39:00]OFD Sender: No OFD packet to send [09:39:05]OFD Sender: No OFD packet to send [09:39:10]OFD Sender: No OFD packet to send [09:39:15]OFD Sender: No OFD packet to send [09:39:20]OFD Sender: No OFD packet to send [09:39:25]OFD Sender: No OFD packet to send [09:39:30]OFD Sender: No OFD packet to send [09:39:35]OFD Sender: No OFD packet to send [09:39:40]OFD Sender: No OFD packet to send [09:39:45]OFD Sender: No OFD packet to send [09:39:50]OFD Sender: No OFD packet to send [09:39:55]OFD Sender: No OFD packet to send [09:40:00]OFD Sender: No OFD packet to send [09:40:05]OFD Sender: No OFD packet to send [09:40:10]OFD Sender: No OFD packet to send [09:40:15]OFD Sender: No OFD packet to send [09:40:20]OFD Sender: No OFD packet to send [09:40:25]OFD Sender: No OFD packet to send [09:40:30]OFD Sender: No OFD packet to send [09:40:35]OFD Sender: No OFD packet to send [09:40:40]OFD Sender: No OFD packet to send [09:40:45]OFD Sender: No OFD packet to send [09:40:50]OFD Sender: No OFD packet to send [09:40:55]OFD Sender: No OFD packet to send [09:41:00]OFD Sender: No OFD packet to send [09:41:05]OFD Sender: No OFD packet to send [09:41:10]OFD Sender: No OFD packet to send [09:41:15]OFD Sender: No OFD packet to send [09:41:20]OFD Sender: No OFD packet to send [09:41:25]OFD Sender: No OFD packet to send [09:41:30]OFD Sender: No OFD packet to send [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]OFD Sender: No OFD packet to send [09:43:25]OFD Sender: No OFD packet to send [09:43:30]OFD Sender: No OFD packet to send [09:43:31]recv_with_timeout no data received [09:43:35]OFD Sender: No OFD packet to send [09:43:40]OFD Sender: No OFD packet to send [09:43:45]OFD Sender: No OFD packet to send [09:43:50]OFD Sender: No OFD packet to send [09:43:55]OFD Sender: No OFD packet to send [09:44:00]OFD Sender: No OFD packet to send [09:44:05]OFD Sender: No OFD packet to send [09:44:10]OFD Sender: No OFD packet to send [09:44:15]OFD Sender: No OFD packet to send [09:44:20]OFD Sender: No OFD packet to send [09:44:25]OFD Sender: No OFD packet to send [09:44:30]OFD Sender: No OFD packet to send [09:44:35]OFD Sender: No OFD packet to send [09:44:40]OFD Sender: No OFD packet to send [09:44:45]OFD Sender: No OFD packet to send [09:44:50]OFD Sender: No OFD packet to send [09:44:55]OFD Sender: No OFD packet to send [09:45:00]OFD Sender: No OFD packet to send [09:45:05]OFD Sender: No OFD packet to send [09:45:10]OFD Sender: No OFD packet to send [09:45:15]OFD Sender: No OFD packet to send [09:45:20]OFD Sender: No OFD packet to send [09:45:25]OFD Sender: No OFD packet to send [09:45:30]OFD Sender: No OFD packet to send [09:45:35]OFD Sender: No OFD packet to send [09:45:40]OFD Sender: No OFD packet to send [09:45:45]OFD Sender: No OFD packet to send [09:45:50]OFD Sender: No OFD packet to send [09:45:55]OFD Sender: No OFD packet to send [09:46:00]OFD Sender: No OFD packet to send [09:46:05]OFD Sender: No OFD packet to send [09:46:10]OFD Sender: No OFD packet to send [09:46:15]OFD Sender: No OFD packet to send [09:46:20]OFD Sender: No OFD packet to send [09:46:25]OFD Sender: No OFD packet to send [09:46:30]OFD Sender: No OFD packet to send [09:46:35]OFD Sender: No OFD packet to send [09:46:40]OFD Sender: No OFD packet to send [09:46:45]OFD Sender: No OFD packet to send [09:46:50]OFD Sender: No OFD packet to send [09:46:55]OFD Sender: No OFD packet to send [09:47:00]OFD Sender: No OFD packet to send [09:47:05]OFD Sender: No OFD packet to send [09:47:10]OFD Sender: No OFD packet to send [09:47:15]OFD Sender: No OFD packet to send [09:47:20]OFD Sender: No OFD packet to send [09:47:25]OFD Sender: No OFD packet to send [09:47:30]OFD Sender: No OFD packet to send [09:47:35]OFD Sender: No OFD packet to send [09:47:41]OFD Sender: No OFD packet to send [09:47:46]OFD Sender: No OFD packet to send [09:47:51]OFD Sender: No OFD packet to send [09:47:56]OFD Sender: No OFD packet to send [09:48:01]OFD Sender: No OFD packet to send [09:48:06]OFD Sender: No OFD packet to send [09:48:11]OFD Sender: No OFD packet to send [09:48:16]OFD Sender: No OFD packet to send [09:48:21]OFD Sender: No OFD packet to send [09:48:26]OFD Sender: No OFD packet to send [09:48:31]OFD Sender: No OFD packet to send [09:48:36]OFD Sender: No OFD packet to send [09:48:41]OFD Sender: No OFD packet to send [09:48:46]OFD Sender: No OFD packet to send [09:48:51]OFD Sender: No OFD packet to send [09:48:56]OFD Sender: No OFD packet to send [09:49:01]OFD Sender: No OFD packet to send [09:49:06]OFD Sender: No OFD packet to send [09:49:11]OFD Sender: No OFD packet to send [09:49:16]OFD Sender: No OFD packet to send [09:49:21]OFD Sender: No OFD packet to send [09:49:26]OFD Sender: No OFD packet to send [09:49:31]OFD Sender: No OFD packet to send [09:49:36]OFD Sender: No OFD packet to send [09:49:41]OFD Sender: No OFD packet to send [09:49:46]OFD Sender: No OFD packet to send [09:49:51]OFD Sender: No OFD packet to send [09:49:56]OFD Sender: No OFD packet to send [09:50:01]OFD Sender: No OFD packet to send [09:50:06]OFD Sender: No OFD packet to send [09:50:11]OFD Sender: No OFD packet to send [09:50:16]OFD Sender: No OFD packet to send [09:50:21]OFD Sender: No OFD packet to send [09:50:26]OFD Sender: No OFD packet to send [09:50:31]OFD Sender: No OFD packet to send [09:50:36]OFD Sender: No OFD packet to send [09:50:41]OFD Sender: No OFD packet to send [09:50:46]OFD Sender: No OFD packet to send [09:50:51]OFD Sender: No OFD packet to send [09:50:56]OFD Sender: No OFD packet to send [09:51:01]OFD Sender: No OFD packet to send [09:51:06]OFD Sender: No OFD packet to send [09:51:11]OFD Sender: No OFD packet to send [09:51:16]OFD Sender: No OFD packet to send [09:51:21]OFD Sender: No OFD packet to send [09:51:26]OFD Sender: No OFD packet to send [09:51:31]OFD Sender: No OFD packet to send [09:51:36]OFD Sender: No OFD packet to send [09:51:41]OFD Sender: No OFD packet to send [09:51:46]OFD Sender: No OFD packet to send [09:51:51]OFD Sender: No OFD packet to send [09:51:56]OFD Sender: No OFD packet to send [09:52:01]OFD Sender: No OFD packet to send [09:52:06]OFD Sender: No OFD packet to send [09:52:11]OFD Sender: No OFD packet to send [09:52:16]OFD Sender: No OFD packet to send [09:52:21]OFD Sender: No OFD packet to send [09:52:26]OFD Sender: No OFD packet to send [09:52:31]OFD Sender: No OFD packet to send [09:52:36]OFD Sender: No OFD packet to send [09:52:41]OFD Sender: No OFD packet to send [09:52:46]OFD Sender: No OFD packet to send [09:52:51]OFD Sender: No OFD packet to send [09:52:56]OFD Sender: No OFD packet to send [09:53:01]OFD Sender: No OFD packet to send [09:53:06]OFD Sender: No OFD packet to send [09:53:11]OFD Sender: No OFD packet to send [09:53:16]OFD Sender: No OFD packet to send [09:53:21]OFD Sender: No OFD packet to send [09:53:26]OFD Sender: No OFD packet to send [09:53:31]OFD Sender: No OFD packet to send [09:53:36]OFD Sender: No OFD packet to send [09:53:41]OFD Sender: No OFD packet to send [09:53:46]OFD Sender: No OFD packet to send [09:53:51]OFD Sender: No OFD packet to send [09:53:56]OFD Sender: No OFD packet to send [09:54:01]OFD Sender: No OFD packet to send [09:54:06]OFD Sender: No OFD packet to send [09:54:11]OFD Sender: No OFD packet to send [09:54:16]OFD Sender: No OFD packet to send [09:54:21]OFD Sender: No OFD packet to send [09:54:26]OFD Sender: No OFD packet to send [09:54:31]OFD Sender: No OFD packet to send [09:54:36]OFD Sender: No OFD packet to send [09:54:41]OFD Sender: No OFD packet to send [09:54:46]OFD Sender: No OFD packet to send [09:54:51]OFD Sender: No OFD packet to send [09:54:56]OFD Sender: No OFD packet to send [09:55:01]OFD Sender: No OFD packet to send [09:55:06]OFD Sender: No OFD packet to send [09:55:11]OFD Sender: No OFD packet to send [09:55:16]OFD Sender: No OFD packet to send [09:55:21]OFD Sender: No OFD packet to send [09:55:26]OFD Sender: No OFD packet to send [09:55:31]OFD Sender: No OFD packet to send [09:55:36]OFD Sender: No OFD packet to send [09:55:41]OFD Sender: No OFD packet to send [09:55:46]OFD Sender: No OFD packet to send [09:55:51]OFD Sender: No OFD packet to send [09:55:56]OFD Sender: No OFD packet to send [09:56:01]OFD Sender: No OFD packet to send [09:56:06]OFD Sender: No OFD packet to send [09:56:11]OFD Sender: No OFD packet to send [09:56:16]OFD Sender: No OFD packet to send [09:56:21]OFD Sender: No OFD packet to send [09:56:26]OFD Sender: No OFD packet to send [09:56:31]OFD Sender: No OFD packet to send [09:56:36]OFD Sender: No OFD packet to send [09:56:41]OFD Sender: No OFD packet to send [09:56:46]OFD Sender: No OFD packet to send [09:56:51]OFD Sender: No OFD packet to send [09:56:56]OFD Sender: No OFD packet to send [09:57:01]OFD Sender: No OFD packet to send [09:57:06]OFD Sender: No OFD packet to send [09:57:11]OFD Sender: No OFD packet to send [09:57:12]accept exits with 9 [09:57:12]New connection [09:57:12]New thread 3067014500 created [09:57:12]Thread 3066871140 joined [09:57:12]Waiting for new connection... [09:57:12] Sock 9.Parse request [09:57:12]Sock 9.Check first char [09:57:12]Sock 9.First char is OK [09:57:12]request: POST /json_proto HTTP/1.0 [09:57:12]Method: POST [09:57:12]URL: /json_proto [09:57:12]Method is POST - this is cgi request [09:57:12]url: /json_proto [09:57:12]query_string will be loaded in cgi processing [09:57:12]execute_cgi json_proto POST (null) [09:57:12]execute_cgi path=json_proto method=POST [09:57:12]POST find Content-Length [09:57:12]Host: 172.17.35.3:8080 [09:57:12]Content-Length: 805 [09:57:12]Content-Type: application/json [09:57:12] [09:57:12]POST finish read [09:57:12]Found Content-Length = 805 [09:57:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359554", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:12]execute_script... [09:57:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359554", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 500.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:57:12]POST & json_proto [09:57:12]process_json_proto [09:57:12]json parsed OK: [09:57:12]protocol is kg_v1.0 [09:57:12]action value=close_receipt [09:57:12]process_action close_receipt [09:57:12]cmd_close_receipt [09:57:12]MH_GetDate [09:57:12]Write to MH i2c: F0 00 00 4D 3A 76 [09:57:12]Write i2c OK [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: F0 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: F0 09 00 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: F0 09 00 4D 3A 00 86 BF 13 66 2B 11 66 64 43 [09:57:12]GetLastDocTimeStamp 1712569126 [09:57:12]current date 1712570246 [09:57:12]FM_GetShiftState [09:57:12]SAM_PROTO_GetShiftState [09:57:12]wFMCommunicate request_size=4 [09:57:12]MH_SAM_APDU [09:57:12]CAPDU: 80 13 01 00 [09:57:12]Write to MH i2c: E2 08 00 4E 3A 80 13 01 00 00 00 00 00 05 [09:57:12]Write i2c OK [09:57:12]MH_I2C_Read... [09:57:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:12]Read from MH i2c: E2 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 0E 00 [09:57:12]MH_I2C_Read... [09:57:12]Read from MH i2c: E2 0E 00 4E 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 92 [09:57:12]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:57:12]wFMCommunicate OK [09:57:12]SAM_PROTO_GetShiftState done [09:57:12]FM_GetShiftState done [09:57:12]opened in 1712536270 [09:57:12]opened+sec_in_day 1712622670 [09:57:12]quantity*price = 50044 [09:57:12]sum+1 = 50046 [09:57:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.45 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 0.00 Безнал.: 500.45 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 24 08.04.2024 09:57 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26811 ФПД: 278809842386914 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T095726&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26811&fm=278809842386914&tin=02508201610067®Number=0000000000091578&sum=50045 [09:57:13]StoreToDocumentArchive [09:57:13]shift 314 fd 26811 [09:57:13]save to /storage/0314/doc_00026811 [09:57:13]save last doc name /storage/0314/doc_00026811 to /storage/kkm_last_doc_name [09:57:13]save OK [09:57:13]Clear old archive folders... [09:57:13]ProcessDocumentItem done err = 0, tmpTLVsize=252 [09:57:13]tlvbuf is 00EE5B10 [09:57:13]SAM_PROTO_ClearQueue [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 09 00 00 [09:57:13]Write to MH i2c: E2 08 00 5B 3A 80 09 00 00 00 00 00 00 07 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 5B 3A 00 90 00 09 [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]SAM_PROTO_ClearQueue done [09:57:13]KKMCreateOFDPacket [09:57:13]OFDProtocolAddRootSTLVToBuf [09:57:13]FM_MakeSignedData [09:57:13]FM_MakeSignedData [09:57:13]SAM_PROTO_SignData [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 01 02 [09:57:13]Write to MH i2c: E2 08 00 5C 3A 80 0D 01 02 00 00 00 00 0F [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 5C 3A 00 90 00 0A [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]wFMCommunicate request_size=255 [09:57:13]MH_SAM_APDU [09:57:13]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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 86 BF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BB 68 00 00 35 04 06 00 [09:57:13]Write to MH i2c: E2 02 01 5D 3A 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 86 BF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BB 68 00 00 35 04 06 00 00 00 61 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 5D 3A 00 90 00 0B [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]wFMCommunicate request_size=11 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 02 02 06 FD 93 79 9D 87 E2 [09:57:13]Write to MH i2c: E2 0E 00 5E 3A 80 0D 02 02 06 00 FD 93 79 9D 87 E2 00 00 2D [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 03 00 5E 3A 00 90 00 0C [09:57:13]RAPDU: 90 00 [09:57:13]wFMCommunicate OK [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 0D 03 02 [09:57:13]Write to MH i2c: E2 08 00 5F 3A 80 0D 03 02 00 00 00 00 14 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 0B 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 0B 00 5F 3A 00 91 B4 5E 43 91 4D 9A CE 90 00 41 [09:57:13]RAPDU: 91 B4 5E 43 91 4D 9A CE 90 00 [09:57:13]wFMCommunicate OK [09:57:13]SAM_PROTO_SignData done [09:57:13]FM_MakeSignedData done [09:57:13]CreateOFDProtocolMessage [09:57:13]wFMCommunicate request_size=4 [09:57:13]MH_SAM_APDU [09:57:13]CAPDU: 80 11 00 00 [09:57:13]Write to MH i2c: E2 08 00 60 3A 80 11 00 00 00 00 00 00 14 [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:13]Read from MH i2c: E2 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 17 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: E2 17 00 60 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6C [09:57:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:57:13]wFMCommunicate OK [09:57:13]CreateOFDProtocolMessage done [09:57:13]OFDSenderStorePacket 26811 [09:57:13]StoreOFDPacket docnum=26811 [09:57:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 04 42 08 01 3F AC 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 86 BF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BB 68 00 00 35 04 06 00 FD 93 79 9D 87 E2 91 B4 5E 43 91 4D 9A CE [09:57:13]CheckFolder [09:57:13]dirname=/storage/ofd_packets [09:57:13]CheckFolder done [09:57:13]ProducePacketName [09:57:13]name=ofd_packets/00026811 [09:57:13]NVStorageSaveData ofd_packets/00026811 [09:57:13]File name is /storage/ofd_packets/00026811 [09:57:13]Write 302 bytes [09:57:13]NVStorageSaveData done [09:57:13]OFDSenderStorePacket done [09:57:13]KKMCreateOFDPacket done [09:57:13]NVStorageSaveData kkm_last_timestamp [09:57:13]File name is /storage/kkm_last_timestamp [09:57:13]Write 4 bytes [09:57:13]NVStorageSaveData done [09:57:13]ExternCall_PrintAddStr [09:57:13]wPrintStart [09:57:13]Write to MH i2c: 01 00 00 61 3A 9B [09:57:13]Write i2c OK [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: 01 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: 01 07 00 [09:57:13]MH_I2C_Read... [09:57:13]Read from MH i2c: 01 07 00 61 3A 00 00 00 00 00 FF 0F B0 [09:57:13]RasterBufferAndPrint [09:57:13]line Счет N : (1)359554 [09:57:13]line ИÐÐ: 02508201610067 [09:57:13]line Контрольно-КаÑÑовый Чек [09:57:13]line ПРОДÐЖР[09:57:13]line ТРК (МРК, ГÐК) : 11 [09:57:13]line Товар: 2710194210 [09:57:13]line ДТ(л)-К-5 [09:57:13]line 6.970 * 71.80 [09:57:13]line = 500.45 [09:57:13]line ÐДС 12% ÐСП 1% [09:57:13]line > о реализуемом товаре [09:57:13]line ИТОГО: 500.45 [09:57:13]line ÐСП 1% : 4.43 [09:57:13]line ÐДС 12% : 53.14 [09:57:13]line Ðаличными: 0.00 [09:57:13]line Безнал.: 500.45 [09:57:13]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [09:57:13]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [09:57:13]line СÐО: Общий режим [09:57:13]line Чек 24 08.04.2024 09:57 [09:57:13]line Смена: 314 ФФД: 1.0 [09:57:13]line ЗÐМ: 0300000147 [09:57:13]line РÐМ: 0000000000091578 [09:57:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [09:57:13]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [09:57:13]line ФМ: 0000000000874657 [09:57:13]line ФД: 26811 [09:57:13]line ФПД: 278809842386914 [09:57:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T095726&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26811&fm=278809842386914&tin=02508201610067®Number=0000000000091578&sum=50045 [09:57:14]OFD Sender: Processing packet 26811 [packets to send 44, broken 43] [09:57:14]ProducePacketName [09:57:14]name=ofd_packets/00026811 [09:57:14]OFD Sender: To server: ‡•öpG, [09:57:14]CommunicateWithHost lk.salyk.kg:30040 [09:57:14]ConnectInit lk.salyk.kg [09:57:14]written 0, free lines is 4095 [09:57:14]Connected sock=10 [09:57:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 04 42 08 01 3F AC 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7D 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 00 00 00 00 00 00 39 04 06 00 7D C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 86 BF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BB 68 00 00 35 04 06 00 FD 93 79 9D 87 E2 91 B4 5E 43 91 4D 9A CE [09:57:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 31 6B 47 00 53 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BB 68 00 00 F4 03 04 00 F0 66 13 66 B6 04 01 00 00 30 E9 34 B4 C6 A3 3A 1F [09:57:14]CommunicateWithHost err = 0 [09:57:14]CheckOFDResponse [09:57:14]1017 (14) - 77093643461234 [09:57:14]1041 (16) - 0000000000874657 [09:57:14]1040 (4) - 26811 [09:57:14]1012 (4) - 08.04.2024 03:39 [09:57:14]1206 (1) - 0 [09:57:14]OFD Sender: Remove packet 26811 [09:57:14]ProducePacketName [09:57:14]name=ofd_packets/00026811 [09:57:14]NVStorageDeleteData [09:57:14]Write to MH i2c: 01 00 00 8B 3A C5 [09:57:14]Write i2c OK [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: 01 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: 01 07 00 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: 01 07 00 8B 3A 00 00 00 00 00 81 0C 59 [09:57:14]RasterBufferAndPrint [09:57:14]line [09:57:14]line [09:57:14]line [09:57:14]line [09:57:14]line [09:57:14]written 0, free lines is 3205 [09:57:14]MH_Cut [09:57:14]Write to MH i2c: D1 01 00 92 3A 01 9E [09:57:14]Write i2c OK [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: D1 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: D1 01 00 [09:57:14]MH_I2C_Read... [09:57:14]Read from MH i2c: D1 01 00 92 3A 00 9D [09:57:14]Write to MH i2c: 01 00 00 93 3A CD [09:57:14]Write i2c OK [09:57:14]MH_I2C_Read... [09:57:14]OFD Sender: No OFD packet to send [09:57:15]*** Cut start [09:57:15]*** Partial cut [09:57:15]*** CUTSNS_PIN = 1 [09:57:15]*** CUTSNS_PIN = 0 [09:57:16]*** Brake cut motor [09:57:16]Read from MH i2c: 01 [09:57:16]MH_I2C_Read... [09:57:16]*** Stop cut motor [09:57:16]*** Cut end [09:57:16]Read from MH i2c: 01 07 00 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: 01 07 00 93 3A 00 00 00 00 00 FF 0F E2 [09:57:16]process_action close_receipt done [09:57:16]requested_data is exist [09:57:16]produce_requested_data [09:57:16]requested_item fm.sn is exist - process it [09:57:16]wFMCommunicate request_size=4 [09:57:16]MH_SAM_APDU [09:57:16]CAPDU: 80 11 00 00 [09:57:16]Write to MH i2c: E2 08 00 94 3A 80 11 00 00 00 00 00 00 48 [09:57:16]Write i2c OK [09:57:16]MH_I2C_Read... [09:57:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:57:16]Read from MH i2c: E2 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: E2 17 00 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: E2 17 00 94 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A0 [09:57:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [09:57:16]wFMCommunicate OK [09:57:16]requested_item fd.num is exist - process it [09:57:16]SAM_PROTO_GetFieldsCounters [09:57:16]wFMCommunicate request_size=4 [09:57:16]MH_SAM_APDU [09:57:16]CAPDU: 80 13 00 00 [09:57:16]Write to MH i2c: E2 08 00 95 3A 80 13 00 00 00 00 00 00 4B [09:57:16]Write i2c OK [09:57:16]MH_I2C_Read... [09:57:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:57:16]Read from MH i2c: E2 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: E2 62 00 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: E2 62 00 95 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [09:57:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:57:16]wFMCommunicate OK [09:57:16]SAM_PROTO_GetFieldsCounters done [09:57:16]requested_item shift.num is exist - process it [09:57:16]requested_item shift.opened is exist - process it [09:57:16]req_shift_opened [09:57:16]FM_GetShiftState [09:57:16]SAM_PROTO_GetShiftState [09:57:16]wFMCommunicate request_size=4 [09:57:16]MH_SAM_APDU [09:57:16]CAPDU: 80 13 01 00 [09:57:16]Write to MH i2c: E2 08 00 96 3A 80 13 01 00 00 00 00 00 4D [09:57:16]Write i2c OK [09:57:16]MH_I2C_Read... [09:57:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:57:16]Read from MH i2c: E2 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: E2 0E 00 [09:57:16]MH_I2C_Read... [09:57:16]Read from MH i2c: E2 0E 00 96 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 DA [09:57:16]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [09:57:16]wFMCommunicate OK [09:57:16]SAM_PROTO_GetShiftState done [09:57:16]FM_GetShiftState done [09:57:16]req_shift_opened done [09:57:16]requested_item shift.open_date is exist - process it [09:57:16]req_shift_open_date [09:57:16]req_shift_open_date done [09:57:16]produce_requested_data done [09:57:16]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26811,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [09:57:16]process_action_free close_receipt [09:57:16]json_value_free [09:57:16]json_value_free done [09:57:16]process_json_proto returns [09:57:16]Send response to host [09:57:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26811,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [09:57:16]free response buf [09:57:16]execute_script done [09:57:16]execute_script returns [09:57:16]free content buf [09:57:16]Sock 9.Close socket [09:57:16]Sock 9.Thread stoped [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:35]OFD Sender: No OFD packet to send [09:59:40]OFD Sender: No OFD packet to send [09:59:45]OFD Sender: No OFD packet to send [09:59:50]OFD Sender: No OFD packet to send [09:59:55]OFD Sender: No OFD packet to send [10:00:00]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:30]int [10:00:30]Write to MH i2c: 01 00 00 97 3A D1 [10:00:30]*** FLAG_PRN_KEY set [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 97 3A 00 08 00 00 00 FF 0F EE [10:00:30]state=0 [10:00:30]Key pressed [10:00:30]Feed [10:00:30]Write to MH i2c: D8 00 00 98 3A A9 [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: D8 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: D8 01 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: D8 01 00 98 3A 00 AA [10:00:30]int [10:00:30]Write to MH i2c: 01 00 00 99 3A D3 [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 99 3A 00 48 00 00 00 3C 00 5E [10:00:30]state=2 [10:00:30]Key pressed [10:00:30]int [10:00:30]Write to MH i2c: 01 00 00 9A 3A D4 [10:00:30]*** FLAG_PRN_KEY reset [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 9A 3A 00 00 00 00 00 F6 0F E0 [10:00:30]state=2 [10:00:30]Stop feed [10:00:30]int [10:00:30]Write to MH i2c: 01 00 00 9B 3A D5 [10:00:30]*** FLAG_PRN_KEY set [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 9B 3A 00 08 00 00 00 FC 0F EF [10:00:30]state=0 [10:00:30]Key pressed [10:00:30]Feed [10:00:30]Write to MH i2c: D8 00 00 9C 3A AD [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: D8 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: D8 01 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: D8 01 00 9C 3A 00 AE [10:00:30]int [10:00:30]Write to MH i2c: 01 00 00 9D 3A D7 [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 9D 3A 00 48 00 00 00 3C 00 62 [10:00:30]state=2 [10:00:30]Key pressed [10:00:30]int [10:00:30]Write to MH i2c: 01 00 00 9E 3A D8 [10:00:30]*** FLAG_PRN_KEY reset [10:00:30]Write i2c OK [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 [10:00:30]MH_I2C_Read... [10:00:30]Read from MH i2c: 01 07 00 9E 3A 00 00 00 00 00 F6 0F E4 [10:00:30]state=2 [10:00:30]Stop feed [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:00:56]int [10:00:56]Write to MH i2c: 01 00 00 9F 3A D9 [10:00:56]*** FLAG_PRN_KEY set [10:00:56]Write i2c OK [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: 01 [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: 01 07 00 [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: 01 07 00 9F 3A 00 08 00 00 00 FF 0F F6 [10:00:56]state=0 [10:00:56]Key pressed [10:00:56]Feed [10:00:56]Write to MH i2c: D8 00 00 A0 3A B1 [10:00:56]Write i2c OK [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: D8 [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: D8 01 00 [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: D8 01 00 A0 3A 00 B2 [10:00:56]int [10:00:56]Write to MH i2c: 01 00 00 A1 3A DB [10:00:56]Write i2c OK [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: 01 [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: 01 07 00 [10:00:56]MH_I2C_Read... [10:00:56]Read from MH i2c: 01 07 00 A1 3A 00 48 00 00 00 3D 00 67 [10:00:56]state=2 [10:00:56]Key pressed [10:00:57]int [10:00:57]Write to MH i2c: 01 00 00 A2 3A DC [10:00:57]*** FLAG_PRN_KEY reset [10:00:57]Write i2c OK [10:00:57]MH_I2C_Read... [10:00:57]Read from MH i2c: 01 [10:00:57]MH_I2C_Read... [10:00:57]Read from MH i2c: 01 07 00 [10:00:57]MH_I2C_Read... [10:00:57]Read from MH i2c: 01 07 00 A2 3A 00 00 00 00 00 F6 0F E8 [10:00:57]state=2 [10:00:57]Stop feed [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:15]accept exits with 8 [10:06:15]New connection [10:06:15]New thread 3066871140 created [10:06:15]Thread 3067014500 joined [10:06:15]Waiting for new connection... [10:06:15] Sock 8.Parse request [10:06:15]Sock 8.Check first char [10:06:15]Sock 8.First char is OK [10:06:15]request: POST /json_proto HTTP/1.0 [10:06:15]Method: POST [10:06:15]URL: /json_proto [10:06:15]Method is POST - this is cgi request [10:06:15]url: /json_proto [10:06:15]query_string will be loaded in cgi processing [10:06:15]execute_cgi json_proto POST (null) [10:06:15]execute_cgi path=json_proto method=POST [10:06:15]POST find Content-Length [10:06:15]Host: 172.17.35.3:8080 [10:06:15]Content-Length: 808 [10:06:15]Content-Type: application/json [10:06:15] [10:06:15]POST finish read [10:06:15]Found Content-Length = 808 [10:06:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359555", "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" : 71.80, "quantity" : 26.610, "sum" : 1910.60, "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" : 1910.60 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:15]execute_script... [10:06:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359555", "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" : 71.80, "quantity" : 26.610, "sum" : 1910.60, "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" : 1910.60 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:15]POST & json_proto [10:06:15]process_json_proto [10:06:15]json parsed OK: [10:06:15]protocol is kg_v1.0 [10:06:15]action value=close_receipt [10:06:15]process_action close_receipt [10:06:15]cmd_close_receipt [10:06:15]MH_GetDate [10:06:15]Write to MH i2c: F0 00 00 A3 3A CC [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: F0 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: F0 09 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: F0 09 00 A3 3A 00 A6 C1 13 66 2B 11 66 64 BB [10:06:15]GetLastDocTimeStamp 1712570246 [10:06:15]current date 1712570790 [10:06:15]FM_GetShiftState [10:06:15]SAM_PROTO_GetShiftState [10:06:15]wFMCommunicate request_size=4 [10:06:15]MH_SAM_APDU [10:06:15]CAPDU: 80 13 01 00 [10:06:15]Write to MH i2c: E2 08 00 A4 3A 80 13 01 00 00 00 00 00 5B [10:06:15]Write i2c OK [10:06:15]MH_I2C_Read... [10:06:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:15]Read from MH i2c: E2 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 0E 00 [10:06:15]MH_I2C_Read... [10:06:15]Read from MH i2c: E2 0E 00 A4 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E8 [10:06:15]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:06:15]wFMCommunicate OK [10:06:15]SAM_PROTO_GetShiftState done [10:06:15]FM_GetShiftState done [10:06:15]opened in 1712536270 [10:06:15]opened+sec_in_day 1712622670 [10:06:15]quantity*price = 191059 [10:06:15]sum+1 = 191061 [10:06:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1910.60 ÐСП 1% : 16.91 ÐДС 12% : 202.90 Ðаличными: 0.00 Безнал.: 1910.60 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 25 08.04.2024 10:06 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26812 ФПД: 180280502361432 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T100630&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26812&fm=180280502361432&tin=02508201610067®Number=0000000000091578&sum=191060 [10:06:17]StoreToDocumentArchive [10:06:17]shift 314 fd 26812 [10:06:17]save to /storage/0314/doc_00026812 [10:06:17]save last doc name /storage/0314/doc_00026812 to /storage/kkm_last_doc_name [10:06:17]save OK [10:06:17]Clear old archive folders... [10:06:17]ProcessDocumentItem done err = 0, tmpTLVsize=252 [10:06:17]tlvbuf is 00F75800 [10:06:17]SAM_PROTO_ClearQueue [10:06:17]wFMCommunicate request_size=4 [10:06:17]MH_SAM_APDU [10:06:17]CAPDU: 80 09 00 00 [10:06:17]Write to MH i2c: E2 08 00 B1 3A 80 09 00 00 00 00 00 00 5D [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:06:17]Read from MH i2c: E2 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 B1 3A 00 90 00 5F [10:06:17]RAPDU: 90 00 [10:06:17]wFMCommunicate OK [10:06:17]SAM_PROTO_ClearQueue done [10:06:17]KKMCreateOFDPacket [10:06:17]OFDProtocolAddRootSTLVToBuf [10:06:17]FM_MakeSignedData [10:06:17]FM_MakeSignedData [10:06:17]SAM_PROTO_SignData [10:06:17]wFMCommunicate request_size=4 [10:06:17]MH_SAM_APDU [10:06:17]CAPDU: 80 0D 01 02 [10:06:17]Write to MH i2c: E2 08 00 B2 3A 80 0D 01 02 00 00 00 00 65 [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:06:17]Read from MH i2c: E2 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 B2 3A 00 90 00 60 [10:06:17]RAPDU: 90 00 [10:06:17]wFMCommunicate OK [10:06:17]wFMCommunicate request_size=255 [10:06:17]MH_SAM_APDU [10:06:17]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 F2 67 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 54 EA 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EA 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 4F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 EA 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 A6 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BC 68 00 00 35 04 06 00 [10:06:17]Write to MH i2c: E2 02 01 B3 3A 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 F2 67 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 54 EA 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EA 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 4F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 EA 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 A6 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BC 68 00 00 35 04 06 00 00 00 7F [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:17]Read from MH i2c: E2 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 B3 3A 00 90 00 61 [10:06:17]RAPDU: 90 00 [10:06:17]wFMCommunicate OK [10:06:17]wFMCommunicate request_size=11 [10:06:17]MH_SAM_APDU [10:06:17]CAPDU: 80 0D 02 02 06 A3 F6 D3 4D 9D 58 [10:06:17]Write to MH i2c: E2 0E 00 B4 3A 80 0D 02 02 06 00 A3 F6 D3 4D 9D 58 00 00 22 [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:17]Read from MH i2c: E2 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 03 00 B4 3A 00 90 00 62 [10:06:17]RAPDU: 90 00 [10:06:17]wFMCommunicate OK [10:06:17]wFMCommunicate request_size=4 [10:06:17]MH_SAM_APDU [10:06:17]CAPDU: 80 0D 03 02 [10:06:17]Write to MH i2c: E2 08 00 B5 3A 80 0D 03 02 00 00 00 00 6A [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:06:17]Read from MH i2c: E2 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 0B 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 0B 00 B5 3A 00 50 0E 3D AF 3F 58 E5 43 90 00 74 [10:06:17]RAPDU: 50 0E 3D AF 3F 58 E5 43 90 00 [10:06:17]wFMCommunicate OK [10:06:17]SAM_PROTO_SignData done [10:06:17]FM_MakeSignedData done [10:06:17]CreateOFDProtocolMessage [10:06:17]wFMCommunicate request_size=4 [10:06:17]MH_SAM_APDU [10:06:17]CAPDU: 80 11 00 00 [10:06:17]Write to MH i2c: E2 08 00 B6 3A 80 11 00 00 00 00 00 00 6A [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:17]Read from MH i2c: E2 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 17 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: E2 17 00 B6 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C2 [10:06:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:06:17]wFMCommunicate OK [10:06:17]CreateOFDProtocolMessage done [10:06:17]OFDSenderStorePacket 26812 [10:06:17]StoreOFDPacket docnum=26812 [10:06:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C9 5D 08 01 34 62 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 F2 67 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 54 EA 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EA 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 4F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 EA 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 A6 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BC 68 00 00 35 04 06 00 A3 F6 D3 4D 9D 58 50 0E 3D AF 3F 58 E5 43 [10:06:17]CheckFolder [10:06:17]dirname=/storage/ofd_packets [10:06:17]CheckFolder done [10:06:17]ProducePacketName [10:06:17]name=ofd_packets/00026812 [10:06:17]NVStorageSaveData ofd_packets/00026812 [10:06:17]File name is /storage/ofd_packets/00026812 [10:06:17]Write 302 bytes [10:06:17]NVStorageSaveData done [10:06:17]OFDSenderStorePacket done [10:06:17]KKMCreateOFDPacket done [10:06:17]NVStorageSaveData kkm_last_timestamp [10:06:17]File name is /storage/kkm_last_timestamp [10:06:17]Write 4 bytes [10:06:17]NVStorageSaveData done [10:06:17]ExternCall_PrintAddStr [10:06:17]wPrintStart [10:06:17]Write to MH i2c: 01 00 00 B7 3A F1 [10:06:17]Write i2c OK [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: 01 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: 01 07 00 [10:06:17]MH_I2C_Read... [10:06:17]Read from MH i2c: 01 07 00 B7 3A 00 00 00 00 00 FF 0F 06 [10:06:17]RasterBufferAndPrint [10:06:17]line Счет N : (1)359555 [10:06:17]line ИÐÐ: 02508201610067 [10:06:17]line Контрольно-КаÑÑовый Чек [10:06:17]line ПРОДÐЖР[10:06:17]line ТРК (МРК, ГÐК) : 11 [10:06:17]line Товар: 2710194210 [10:06:17]line ДТ(л)-К-5 [10:06:17]line 26.610 * 71.80 [10:06:17]line = 1910.60 [10:06:17]line ÐДС 12% ÐСП 1% [10:06:17]line > о реализуемом товаре [10:06:17]line ИТОГО: 1910.60 [10:06:17]line ÐСП 1% : 16.91 [10:06:17]line ÐДС 12% : 202.90 [10:06:17]line Ðаличными: 0.00 [10:06:17]line Безнал.: 1910.60 [10:06:17]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:06:17]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:06:17]line СÐО: Общий режим [10:06:17]line Чек 25 08.04.2024 10:06 [10:06:17]line Смена: 314 ФФД: 1.0 [10:06:17]line ЗÐМ: 0300000147 [10:06:17]line РÐМ: 0000000000091578 [10:06:17]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:06:17]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [10:06:17]line ФМ: 0000000000874657 [10:06:17]line ФД: 26812 [10:06:17]line ФПД: 180280502361432 [10:06:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T100630&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26812&fm=180280502361432&tin=02508201610067®Number=0000000000091578&sum=191060 [10:06:17]OFD Sender: Processing packet 26812 [packets to send 44, broken 43] [10:06:17]ProducePacketName [10:06:17]name=ofd_packets/00026812 [10:06:17]OFD Sender: To server: ‡•öpG, [10:06:17]CommunicateWithHost lk.salyk.kg:30040 [10:06:17]ConnectInit lk.salyk.kg [10:06:17]written 0, free lines is 4095 [10:06:17]Connected sock=10 [10:06:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C9 5D 08 01 34 62 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 F2 67 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 54 EA 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 EA 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9B 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 42 4F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 54 EA 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 A6 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BC 68 00 00 35 04 06 00 A3 F6 D3 4D 9D 58 50 0E 3D AF 3F 58 E5 43 [10:06:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 A6 C6 47 00 E3 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BC 68 00 00 F4 03 04 00 10 69 13 66 B6 04 01 00 00 D9 FE F9 29 AD E5 EC D7 [10:06:18]CommunicateWithHost err = 0 [10:06:18]CheckOFDResponse [10:06:18]1017 (14) - 77093643461234 [10:06:18]1041 (16) - 0000000000874657 [10:06:18]1040 (4) - 26812 [10:06:18]1012 (4) - 08.04.2024 03:48 [10:06:18]1206 (1) - 0 [10:06:18]OFD Sender: Remove packet 26812 [10:06:18]ProducePacketName [10:06:18]name=ofd_packets/00026812 [10:06:18]NVStorageDeleteData [10:06:18]Write to MH i2c: 01 00 00 E1 3A 1B [10:06:18]Write i2c OK [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: 01 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: 01 07 00 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: 01 07 00 E1 3A 00 00 00 00 00 8B 0C B9 [10:06:18]RasterBufferAndPrint [10:06:18]line [10:06:18]line [10:06:18]line [10:06:18]line [10:06:18]line [10:06:18]written 0, free lines is 3215 [10:06:18]MH_Cut [10:06:18]Write to MH i2c: D1 01 00 E8 3A 01 F4 [10:06:18]Write i2c OK [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: D1 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: D1 01 00 [10:06:18]MH_I2C_Read... [10:06:18]Read from MH i2c: D1 01 00 E8 3A 00 F3 [10:06:18]Write to MH i2c: 01 00 00 E9 3A 23 [10:06:18]Write i2c OK [10:06:18]MH_I2C_Read... [10:06:18]OFD Sender: No OFD packet to send [10:06:19]*** Cut start [10:06:19]*** Partial cut [10:06:19]*** CUTSNS_PIN = 1 [10:06:19]*** CUTSNS_PIN = 0 [10:06:19]*** Brake cut motor [10:06:20]Read from MH i2c: 01 [10:06:20]MH_I2C_Read... [10:06:20]*** Stop cut motor [10:06:20]*** Cut end [10:06:20]Read from MH i2c: 01 07 00 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: 01 07 00 E9 3A 00 00 00 00 00 FF 0F 38 [10:06:20]process_action close_receipt done [10:06:20]requested_data is exist [10:06:20]produce_requested_data [10:06:20]requested_item fm.sn is exist - process it [10:06:20]wFMCommunicate request_size=4 [10:06:20]MH_SAM_APDU [10:06:20]CAPDU: 80 11 00 00 [10:06:20]Write to MH i2c: E2 08 00 EA 3A 80 11 00 00 00 00 00 00 9E [10:06:20]Write i2c OK [10:06:20]MH_I2C_Read... [10:06:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:20]Read from MH i2c: E2 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: E2 17 00 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: E2 17 00 EA 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F6 [10:06:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:06:20]wFMCommunicate OK [10:06:20]requested_item fd.num is exist - process it [10:06:20]SAM_PROTO_GetFieldsCounters [10:06:20]wFMCommunicate request_size=4 [10:06:20]MH_SAM_APDU [10:06:20]CAPDU: 80 13 00 00 [10:06:20]Write to MH i2c: E2 08 00 EB 3A 80 13 00 00 00 00 00 00 A1 [10:06:20]Write i2c OK [10:06:20]MH_I2C_Read... [10:06:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:06:20]Read from MH i2c: E2 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: E2 62 00 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: E2 62 00 EB 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 76 [10:06:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:06:20]wFMCommunicate OK [10:06:20]SAM_PROTO_GetFieldsCounters done [10:06:20]requested_item shift.num is exist - process it [10:06:20]requested_item shift.opened is exist - process it [10:06:20]req_shift_opened [10:06:20]FM_GetShiftState [10:06:20]SAM_PROTO_GetShiftState [10:06:20]wFMCommunicate request_size=4 [10:06:20]MH_SAM_APDU [10:06:20]CAPDU: 80 13 01 00 [10:06:20]Write to MH i2c: E2 08 00 EC 3A 80 13 01 00 00 00 00 00 A3 [10:06:20]Write i2c OK [10:06:20]MH_I2C_Read... [10:06:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:20]Read from MH i2c: E2 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: E2 0E 00 [10:06:20]MH_I2C_Read... [10:06:20]Read from MH i2c: E2 0E 00 EC 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 30 [10:06:20]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:06:20]wFMCommunicate OK [10:06:20]SAM_PROTO_GetShiftState done [10:06:20]FM_GetShiftState done [10:06:20]req_shift_opened done [10:06:20]requested_item shift.open_date is exist - process it [10:06:20]req_shift_open_date [10:06:20]req_shift_open_date done [10:06:20]produce_requested_data done [10:06:20]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26812,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:06:20]process_action_free close_receipt [10:06:20]json_value_free [10:06:20]json_value_free done [10:06:20]process_json_proto returns [10:06:20]Send response to host [10:06:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26812,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:06:20]free response buf [10:06:20]execute_script done [10:06:20]execute_script returns [10:06:20]free content buf [10:06:20]Sock 8.Close socket [10:06:20]Sock 8.Thread stoped [10:06:23]OFD Sender: No OFD packet to send [10:06:26]accept exits with 9 [10:06:26]New connection [10:06:26]New thread 3067014500 created [10:06:26]Thread 3066871140 joined [10:06:26]Waiting for new connection... [10:06:26] Sock 9.Parse request [10:06:26]Sock 9.Check first char [10:06:26]Sock 9.First char is OK [10:06:26]request: POST /json_proto HTTP/1.0 [10:06:26]Method: POST [10:06:26]URL: /json_proto [10:06:26]Method is POST - this is cgi request [10:06:26]url: /json_proto [10:06:26]query_string will be loaded in cgi processing [10:06:26]execute_cgi json_proto POST (null) [10:06:26]execute_cgi path=json_proto method=POST [10:06:26]POST find Content-Length [10:06:26]Host: 172.17.35.3:8080 [10:06:26]Content-Length: 808 [10:06:26]Content-Type: application/json [10:06:26] [10:06:26]POST finish read [10:06:26]Found Content-Length = 808 [10:06:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359556", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:26]execute_script... [10:06:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359556", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:06:26]POST & json_proto [10:06:26]process_json_proto [10:06:26]json parsed OK: [10:06:26]protocol is kg_v1.0 [10:06:26]action value=close_receipt [10:06:26]process_action close_receipt [10:06:26]cmd_close_receipt [10:06:26]MH_GetDate [10:06:26]Write to MH i2c: F0 00 00 ED 3A 16 [10:06:26]Write i2c OK [10:06:26]MH_I2C_Read... [10:06:26]Read from MH i2c: F0 [10:06:26]MH_I2C_Read... [10:06:26]Read from MH i2c: F0 09 00 [10:06:26]MH_I2C_Read... [10:06:26]Read from MH i2c: F0 09 00 ED 3A 00 B0 C1 13 66 2B 11 66 64 0F [10:06:26]GetLastDocTimeStamp 1712570790 [10:06:26]current date 1712570800 [10:06:26]FM_GetShiftState [10:06:26]SAM_PROTO_GetShiftState [10:06:26]wFMCommunicate request_size=4 [10:06:26]MH_SAM_APDU [10:06:26]CAPDU: 80 13 01 00 [10:06:26]Write to MH i2c: E2 08 00 EE 3A 80 13 01 00 00 00 00 00 A5 [10:06:26]Write i2c OK [10:06:26]MH_I2C_Read... [10:06:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:26]Read from MH i2c: E2 [10:06:26]MH_I2C_Read... [10:06:26]Read from MH i2c: E2 0E 00 [10:06:26]MH_I2C_Read... [10:06:26]Read from MH i2c: E2 0E 00 EE 3A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 32 [10:06:26]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:06:26]wFMCommunicate OK [10:06:26]SAM_PROTO_GetShiftState done [10:06:26]FM_GetShiftState done [10:06:26]opened in 1712536270 [10:06:26]opened+sec_in_day 1712622670 [10:06:26]quantity*price = 100017 [10:06:26]sum+1 = 100018 [10:06:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 26 08.04.2024 10:06 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26813 ФПД: 67528778227205 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T100640&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26813&fm=67528778227205&tin=02508201610067®Number=0000000000091578&sum=100017 [10:06:27]StoreToDocumentArchive [10:06:27]shift 314 fd 26813 [10:06:27]save to /storage/0314/doc_00026813 [10:06:27]save last doc name /storage/0314/doc_00026813 to /storage/kkm_last_doc_name [10:06:27]save OK [10:06:27]Clear old archive folders... [10:06:27]ProcessDocumentItem done err = 0, tmpTLVsize=252 [10:06:27]tlvbuf is 00E33310 [10:06:27]SAM_PROTO_ClearQueue [10:06:27]wFMCommunicate request_size=4 [10:06:27]MH_SAM_APDU [10:06:27]CAPDU: 80 09 00 00 [10:06:27]Write to MH i2c: E2 08 00 FB 3A 80 09 00 00 00 00 00 00 A7 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:06:27]Read from MH i2c: E2 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 FB 3A 00 90 00 A9 [10:06:27]RAPDU: 90 00 [10:06:27]wFMCommunicate OK [10:06:27]SAM_PROTO_ClearQueue done [10:06:27]KKMCreateOFDPacket [10:06:27]OFDProtocolAddRootSTLVToBuf [10:06:27]FM_MakeSignedData [10:06:27]FM_MakeSignedData [10:06:27]SAM_PROTO_SignData [10:06:27]wFMCommunicate request_size=4 [10:06:27]MH_SAM_APDU [10:06:27]CAPDU: 80 0D 01 02 [10:06:27]Write to MH i2c: E2 08 00 FC 3A 80 0D 01 02 00 00 00 00 AF [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:06:27]Read from MH i2c: E2 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 FC 3A 00 90 00 AA [10:06:27]RAPDU: 90 00 [10:06:27]wFMCommunicate OK [10:06:27]wFMCommunicate request_size=255 [10:06:27]MH_SAM_APDU [10:06:27]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B0 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BD 68 00 00 35 04 06 00 [10:06:27]Write to MH i2c: E2 02 01 FD 3A 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B0 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BD 68 00 00 35 04 06 00 00 00 F0 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:27]Read from MH i2c: E2 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 FD 3A 00 90 00 AB [10:06:27]RAPDU: 90 00 [10:06:27]wFMCommunicate OK [10:06:27]wFMCommunicate request_size=11 [10:06:27]MH_SAM_APDU [10:06:27]CAPDU: 80 0D 02 02 06 3D 6A C4 D6 9E 05 [10:06:27]Write to MH i2c: E2 0E 00 FE 3A 80 0D 02 02 06 00 3D 6A C4 D6 9E 05 00 00 A2 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:06:27]Read from MH i2c: E2 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 [10:06:27]MH_I2C_Read... [10:06:27]Read from MH i2c: E2 03 00 FE 3A 00 90 00 AC [10:06:27]RAPDU: 90 00 [10:06:27]wFMCommunicate OK [10:06:27]wFMCommunicate request_size=4 [10:06:27]MH_SAM_APDU [10:06:27]CAPDU: 80 0D 03 02 [10:06:27]Write to MH i2c: E2 08 00 FF 3A 80 0D 03 02 00 00 00 00 B4 [10:06:27]Write i2c OK [10:06:27]MH_I2C_Read... [10:06:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:06:28]Read from MH i2c: E2 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 0B 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 0B 00 FF 3A 00 5D 4A D4 D9 58 B2 4C 2C 90 00 8B [10:06:28]RAPDU: 5D 4A D4 D9 58 B2 4C 2C 90 00 [10:06:28]wFMCommunicate OK [10:06:28]SAM_PROTO_SignData done [10:06:28]FM_MakeSignedData done [10:06:28]CreateOFDProtocolMessage [10:06:28]wFMCommunicate request_size=4 [10:06:28]MH_SAM_APDU [10:06:28]CAPDU: 80 11 00 00 [10:06:28]Write to MH i2c: E2 08 00 00 3B 80 11 00 00 00 00 00 00 B5 [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:28]Read from MH i2c: E2 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 17 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: E2 17 00 00 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0D [10:06:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:06:28]wFMCommunicate OK [10:06:28]CreateOFDProtocolMessage done [10:06:28]OFDSenderStorePacket 26813 [10:06:28]StoreOFDPacket docnum=26813 [10:06:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C2 C0 08 01 21 40 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B0 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BD 68 00 00 35 04 06 00 3D 6A C4 D6 9E 05 5D 4A D4 D9 58 B2 4C 2C [10:06:28]CheckFolder [10:06:28]dirname=/storage/ofd_packets [10:06:28]CheckFolder done [10:06:28]ProducePacketName [10:06:28]name=ofd_packets/00026813 [10:06:28]NVStorageSaveData ofd_packets/00026813 [10:06:28]File name is /storage/ofd_packets/00026813 [10:06:28]Write 302 bytes [10:06:28]NVStorageSaveData done [10:06:28]OFDSenderStorePacket done [10:06:28]KKMCreateOFDPacket done [10:06:28]NVStorageSaveData kkm_last_timestamp [10:06:28]File name is /storage/kkm_last_timestamp [10:06:28]Write 4 bytes [10:06:28]NVStorageSaveData done [10:06:28]ExternCall_PrintAddStr [10:06:28]wPrintStart [10:06:28]Write to MH i2c: 01 00 00 01 3B 3C [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: 01 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: 01 07 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: 01 07 00 01 3B 00 00 00 00 00 FF 0F 51 [10:06:28]RasterBufferAndPrint [10:06:28]line Счет N : (1)359556 [10:06:28]line ИÐÐ: 02508201610067 [10:06:28]line Контрольно-КаÑÑовый Чек [10:06:28]line ПРОДÐЖР[10:06:28]line ТРК (МРК, ГÐК) : 21 [10:06:28]line Товар: 2710194210 [10:06:28]line ДТ(л)-К-5 [10:06:28]line 13.930 * 71.80 [10:06:28]line = 1000.17 [10:06:28]line ÐДС 12% ÐСП 1% [10:06:28]line > о реализуемом товаре [10:06:28]line ИТОГО: 1000.17 [10:06:28]line ÐСП 1% : 8.85 [10:06:28]line ÐДС 12% : 106.21 [10:06:28]line Ðаличными: 0.00 [10:06:28]line Безнал.: 1000.17 [10:06:28]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:06:28]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:06:28]line СÐО: Общий режим [10:06:28]line Чек 26 08.04.2024 10:06 [10:06:28]line Смена: 314 ФФД: 1.0 [10:06:28]line ЗÐМ: 0300000147 [10:06:28]line РÐМ: 0000000000091578 [10:06:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:06:28]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [10:06:28]line ФМ: 0000000000874657 [10:06:28]line ФД: 26813 [10:06:28]line ФПД: 67528778227205 [10:06:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T100640&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26813&fm=67528778227205&tin=02508201610067®Number=0000000000091578&sum=100017 [10:06:28]written 0, free lines is 4095 [10:06:28]OFD Sender: Processing packet 26813 [packets to send 44, broken 43] [10:06:28]ProducePacketName [10:06:28]name=ofd_packets/00026813 [10:06:28]OFD Sender: To server: ‡•öpG, [10:06:28]CommunicateWithHost lk.salyk.kg:30040 [10:06:28]ConnectInit lk.salyk.kg [10:06:28]Connected sock=10 [10:06:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C2 C0 08 01 21 40 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 B0 C1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BD 68 00 00 35 04 06 00 3D 6A C4 D6 9E 05 5D 4A D4 D9 58 B2 4C 2C [10:06:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 3B 7C 47 00 15 AF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BD 68 00 00 F4 03 04 00 1A 69 13 66 B6 04 01 00 00 19 8E 06 A4 0B 20 F5 6C [10:06:28]CommunicateWithHost err = 0 [10:06:28]CheckOFDResponse [10:06:28]1017 (14) - 77093643461234 [10:06:28]1041 (16) - 0000000000874657 [10:06:28]1040 (4) - 26813 [10:06:28]1012 (4) - 08.04.2024 03:48 [10:06:28]1206 (1) - 0 [10:06:28]OFD Sender: Remove packet 26813 [10:06:28]ProducePacketName [10:06:28]name=ofd_packets/00026813 [10:06:28]NVStorageDeleteData [10:06:28]Write to MH i2c: 01 00 00 2B 3B 66 [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: 01 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: 01 07 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: 01 07 00 2B 3B 00 00 00 00 00 98 0C 11 [10:06:28]RasterBufferAndPrint [10:06:28]line [10:06:28]line [10:06:28]line [10:06:28]line [10:06:28]line [10:06:28]written 0, free lines is 3229 [10:06:28]MH_Cut [10:06:28]Write to MH i2c: D1 01 00 32 3B 01 3F [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: D1 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: D1 01 00 [10:06:28]MH_I2C_Read... [10:06:28]Read from MH i2c: D1 01 00 32 3B 00 3E [10:06:28]Write to MH i2c: 01 00 00 33 3B 6E [10:06:28]Write i2c OK [10:06:28]MH_I2C_Read... [10:06:28]OFD Sender: No OFD packet to send [10:06:29]*** Cut start [10:06:29]*** Partial cut [10:06:29]*** CUTSNS_PIN = 1 [10:06:29]*** CUTSNS_PIN = 0 [10:06:29]*** Brake cut motor [10:06:30]Read from MH i2c: 01 [10:06:30]MH_I2C_Read... [10:06:30]*** Stop cut motor [10:06:30]*** Cut end [10:06:30]Read from MH i2c: 01 07 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: 01 07 00 33 3B 00 00 00 00 00 FF 0F 83 [10:06:30]process_action close_receipt done [10:06:30]requested_data is exist [10:06:30]produce_requested_data [10:06:30]requested_item fm.sn is exist - process it [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 11 00 00 [10:06:30]Write to MH i2c: E2 08 00 34 3B 80 11 00 00 00 00 00 00 E9 [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 17 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 17 00 34 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 41 [10:06:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:06:30]wFMCommunicate OK [10:06:30]requested_item fd.num is exist - process it [10:06:30]SAM_PROTO_GetFieldsCounters [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 13 00 00 [10:06:30]Write to MH i2c: E2 08 00 35 3B 80 13 00 00 00 00 00 00 EC [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 62 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 62 00 35 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [10:06:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:06:30]wFMCommunicate OK [10:06:30]SAM_PROTO_GetFieldsCounters done [10:06:30]requested_item shift.num is exist - process it [10:06:30]requested_item shift.opened is exist - process it [10:06:30]req_shift_opened [10:06:30]FM_GetShiftState [10:06:30]SAM_PROTO_GetShiftState [10:06:30]wFMCommunicate request_size=4 [10:06:30]MH_SAM_APDU [10:06:30]CAPDU: 80 13 01 00 [10:06:30]Write to MH i2c: E2 08 00 36 3B 80 13 01 00 00 00 00 00 EE [10:06:30]Write i2c OK [10:06:30]MH_I2C_Read... [10:06:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:06:30]Read from MH i2c: E2 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 0E 00 [10:06:30]MH_I2C_Read... [10:06:30]Read from MH i2c: E2 0E 00 36 3B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7B [10:06:30]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:06:30]wFMCommunicate OK [10:06:30]SAM_PROTO_GetShiftState done [10:06:30]FM_GetShiftState done [10:06:30]req_shift_opened done [10:06:30]requested_item shift.open_date is exist - process it [10:06:30]req_shift_open_date [10:06:30]req_shift_open_date done [10:06:30]produce_requested_data done [10:06:30]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26813,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:06:30]process_action_free close_receipt [10:06:30]json_value_free [10:06:30]json_value_free done [10:06:30]process_json_proto returns [10:06:30]Send response to host [10:06:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26813,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:06:30]free response buf [10:06:30]execute_script done [10:06:30]execute_script returns [10:06:30]free content buf [10:06:30]Sock 9.Close socket [10:06:30]Sock 9.Thread stoped [10:06:33]OFD Sender: No OFD packet to send [10:06:38]OFD Sender: No OFD packet to send [10:06:43]OFD Sender: No OFD packet to send [10:06:48]OFD Sender: No OFD packet to send [10:06:53]OFD Sender: No OFD packet to send [10:06:58]OFD Sender: No OFD packet to send [10:07:03]OFD Sender: No OFD packet to send [10:07:08]OFD Sender: No OFD packet to send [10:07:13]OFD Sender: No OFD packet to send [10:07:18]OFD Sender: No OFD packet to send [10:07:23]OFD Sender: No OFD packet to send [10:07:29]OFD Sender: No OFD packet to send [10:07:34]OFD Sender: No OFD packet to send [10:07:39]OFD Sender: No OFD packet to send [10:07:44]OFD Sender: No OFD packet to send [10:07:49]OFD Sender: No OFD packet to send [10:07:54]OFD Sender: No OFD packet to send [10:07:59]OFD Sender: No OFD packet to send [10:08:04]OFD Sender: No OFD packet to send [10:08:09]OFD Sender: No OFD packet to send [10:08:14]OFD Sender: No OFD packet to send [10:08:19]OFD Sender: No OFD packet to send [10:08:24]OFD Sender: No OFD packet to send [10:08:29]OFD Sender: No OFD packet to send [10:08:34]OFD Sender: No OFD packet to send [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:59]OFD Sender: No OFD packet to send [10:11:04]OFD Sender: No OFD packet to send [10:11:09]OFD Sender: No OFD packet to send [10:11:14]OFD Sender: No OFD packet to send [10:11:19]OFD Sender: No OFD packet to send [10:11:24]OFD Sender: No OFD packet to send [10:11:29]OFD Sender: No OFD packet to send [10:11:34]OFD Sender: No OFD packet to send [10:11:39]OFD Sender: No OFD packet to send [10:11:44]OFD Sender: No OFD packet to send [10:11:46]accept exits with 8 [10:11:46]New connection [10:11:46]New thread 3066871140 created [10:11:46]Thread 3067014500 joined [10:11:46]Waiting for new connection... [10:11:46] Sock 8.Parse request [10:11:46]Sock 8.Check first char [10:11:46]Sock 8.First char is OK [10:11:46]request: POST /json_proto HTTP/1.0 [10:11:46]Method: POST [10:11:46]URL: /json_proto [10:11:46]Method is POST - this is cgi request [10:11:46]url: /json_proto [10:11:46]query_string will be loaded in cgi processing [10:11:46]execute_cgi json_proto POST (null) [10:11:46]execute_cgi path=json_proto method=POST [10:11:46]POST find Content-Length [10:11:46]Host: 172.17.35.3:8080 [10:11:46]Content-Length: 803 [10:11:46]Content-Type: application/json [10:11:46] [10:11:46]POST finish read [10:11:46]Found Content-Length = 803 [10:11:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359557", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:11:46]execute_script... [10:11:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359557", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:11:46]POST & json_proto [10:11:46]process_json_proto [10:11:46]json parsed OK: [10:11:46]protocol is kg_v1.0 [10:11:46]action value=close_receipt [10:11:46]process_action close_receipt [10:11:46]cmd_close_receipt [10:11:46]MH_GetDate [10:11:46]Write to MH i2c: F0 00 00 37 3B 61 [10:11:46]Write i2c OK [10:11:46]MH_I2C_Read... [10:11:46]Read from MH i2c: F0 [10:11:46]MH_I2C_Read... [10:11:46]Read from MH i2c: F0 09 00 [10:11:46]MH_I2C_Read... [10:11:46]Read from MH i2c: F0 09 00 37 3B 00 F0 C2 13 66 2B 11 66 64 9B [10:11:46]GetLastDocTimeStamp 1712570800 [10:11:46]current date 1712571120 [10:11:46]FM_GetShiftState [10:11:46]SAM_PROTO_GetShiftState [10:11:46]wFMCommunicate request_size=4 [10:11:46]MH_SAM_APDU [10:11:46]CAPDU: 80 13 01 00 [10:11:46]Write to MH i2c: E2 08 00 38 3B 80 13 01 00 00 00 00 00 F0 [10:11:46]Write i2c OK [10:11:46]MH_I2C_Read... [10:11:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:11:46]Read from MH i2c: E2 [10:11:46]MH_I2C_Read... [10:11:46]Read from MH i2c: E2 0E 00 [10:11:46]MH_I2C_Read... [10:11:46]Read from MH i2c: E2 0E 00 38 3B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7D [10:11:46]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:11:46]wFMCommunicate OK [10:11:46]SAM_PROTO_GetShiftState done [10:11:46]FM_GetShiftState done [10:11:46]opened in 1712536270 [10:11:46]opened+sec_in_day 1712622670 [10:11:46]quantity*price = 100045 [10:11:46]sum+1 = 100046 [10:11:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.45 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 0.00 Безнал.: 1000.45 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 27 08.04.2024 10:12 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26814 ФПД: 104768338572893 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T101200&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26814&fm=104768338572893&tin=02508201610067®Number=0000000000091578&sum=100045 [10:11:47]StoreToDocumentArchive [10:11:47]shift 314 fd 26814 [10:11:47]save to /storage/0314/doc_00026814 [10:11:47]save last doc name /storage/0314/doc_00026814 to /storage/kkm_last_doc_name [10:11:47]save OK [10:11:47]Clear old archive folders... [10:11:47]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:11:47]tlvbuf is 00E32AD0 [10:11:47]SAM_PROTO_ClearQueue [10:11:47]wFMCommunicate request_size=4 [10:11:47]MH_SAM_APDU [10:11:47]CAPDU: 80 09 00 00 [10:11:47]Write to MH i2c: E2 08 00 45 3B 80 09 00 00 00 00 00 00 F2 [10:11:47]Write i2c OK [10:11:47]MH_I2C_Read... [10:11:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:11:47]Read from MH i2c: E2 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 45 3B 00 90 00 F4 [10:11:47]RAPDU: 90 00 [10:11:47]wFMCommunicate OK [10:11:47]SAM_PROTO_ClearQueue done [10:11:47]KKMCreateOFDPacket [10:11:47]OFDProtocolAddRootSTLVToBuf [10:11:47]FM_MakeSignedData [10:11:47]FM_MakeSignedData [10:11:47]SAM_PROTO_SignData [10:11:47]wFMCommunicate request_size=4 [10:11:47]MH_SAM_APDU [10:11:47]CAPDU: 80 0D 01 02 [10:11:47]Write to MH i2c: E2 08 00 46 3B 80 0D 01 02 00 00 00 00 FA [10:11:47]Write i2c OK [10:11:47]MH_I2C_Read... [10:11:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:11:47]Read from MH i2c: E2 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 46 3B 00 90 00 F5 [10:11:47]RAPDU: 90 00 [10:11:47]wFMCommunicate OK [10:11:47]wFMCommunicate request_size=255 [10:11:47]MH_SAM_APDU [10:11: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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F0 C2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BE 68 00 00 35 04 06 00 5F [10:11:47]Write to MH i2c: E2 02 01 47 3B 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F0 C2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BE 68 00 00 35 04 06 00 5F 00 00 EE [10:11:47]Write i2c OK [10:11:47]MH_I2C_Read... [10:11:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:11:47]Read from MH i2c: E2 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 47 3B 00 90 00 F6 [10:11:47]RAPDU: 90 00 [10:11:47]wFMCommunicate OK [10:11:47]wFMCommunicate request_size=10 [10:11:47]MH_SAM_APDU [10:11:47]CAPDU: 80 0D 02 02 05 49 47 9A B6 5D [10:11:47]Write to MH i2c: E2 0D 00 48 3B 80 0D 02 02 05 00 49 47 9A B6 5D 00 00 44 [10:11:47]Write i2c OK [10:11:47]MH_I2C_Read... [10:11:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:11:47]Read from MH i2c: E2 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 [10:11:47]MH_I2C_Read... [10:11:47]Read from MH i2c: E2 03 00 48 3B 00 90 00 F7 [10:11:47]RAPDU: 90 00 [10:11:47]wFMCommunicate OK [10:11:47]wFMCommunicate request_size=4 [10:11:47]MH_SAM_APDU [10:11:47]CAPDU: 80 0D 03 02 [10:11:47]Write to MH i2c: E2 08 00 49 3B 80 0D 03 02 00 00 00 00 FF [10:11:47]Write i2c OK [10:11:47]MH_I2C_Read... [10:11:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:11:48]Read from MH i2c: E2 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: E2 0B 00 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: E2 0B 00 49 3B 00 C1 99 24 77 83 B5 D5 D7 90 00 D9 [10:11:48]RAPDU: C1 99 24 77 83 B5 D5 D7 90 00 [10:11:48]wFMCommunicate OK [10:11:48]SAM_PROTO_SignData done [10:11:48]FM_MakeSignedData done [10:11:48]CreateOFDProtocolMessage [10:11:48]wFMCommunicate request_size=4 [10:11:48]MH_SAM_APDU [10:11:48]CAPDU: 80 11 00 00 [10:11:48]Write to MH i2c: E2 08 00 4A 3B 80 11 00 00 00 00 00 00 FF [10:11:48]Write i2c OK [10:11:48]MH_I2C_Read... [10:11:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:48]Read from MH i2c: E2 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: E2 17 00 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: E2 17 00 4A 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 57 [10:11:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:11:48]wFMCommunicate OK [10:11:48]CreateOFDProtocolMessage done [10:11:48]OFDSenderStorePacket 26814 [10:11:48]StoreOFDPacket docnum=26814 [10:11:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B4 50 07 01 43 27 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F0 C2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BE 68 00 00 35 04 06 00 5F 49 47 9A B6 5D C1 99 24 77 83 B5 D5 D7 [10:11:48]CheckFolder [10:11:48]dirname=/storage/ofd_packets [10:11:48]CheckFolder done [10:11:48]ProducePacketName [10:11:48]name=ofd_packets/00026814 [10:11:48]NVStorageSaveData ofd_packets/00026814 [10:11:48]File name is /storage/ofd_packets/00026814 [10:11:48]Write 301 bytes [10:11:48]NVStorageSaveData done [10:11:48]OFDSenderStorePacket done [10:11:48]KKMCreateOFDPacket done [10:11:48]NVStorageSaveData kkm_last_timestamp [10:11:48]File name is /storage/kkm_last_timestamp [10:11:48]Write 4 bytes [10:11:48]NVStorageSaveData done [10:11:48]ExternCall_PrintAddStr [10:11:48]wPrintStart [10:11:48]Write to MH i2c: 01 00 00 4B 3B 86 [10:11:48]Write i2c OK [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: 01 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: 01 07 00 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: 01 07 00 4B 3B 00 00 00 00 00 FF 0F 9B [10:11:48]RasterBufferAndPrint [10:11:48]line Счет N : (1)359557 [10:11:48]line ИÐÐ: 02508201610067 [10:11:48]line Контрольно-КаÑÑовый Чек [10:11:48]line ПРОДÐЖР[10:11:48]line ТРК (МРК, ГÐК) : 51 [10:11:48]line Товар: 2710124130 [10:11:48]line Ðи-92-К-5 [10:11:48]line 15.780 * 63.40 [10:11:48]line = 1000.45 [10:11:48]line ÐДС 12% ÐСП 1% [10:11:48]line > о реализуемом товаре [10:11:48]line ИТОГО: 1000.45 [10:11:48]line ÐСП 1% : 8.85 [10:11:48]line ÐДС 12% : 106.24 [10:11:48]line Ðаличными: 0.00 [10:11:48]line Безнал.: 1000.45 [10:11:48]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:11:48]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:11:48]line СÐО: Общий режим [10:11:48]line Чек 27 08.04.2024 10:12 [10:11:48]line Смена: 314 ФФД: 1.0 [10:11:48]line ЗÐМ: 0300000147 [10:11:48]line РÐМ: 0000000000091578 [10:11:48]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:11:48]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [10:11:48]line ФМ: 0000000000874657 [10:11:48]line ФД: 26814 [10:11:48]line ФПД: 104768338572893 [10:11:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T101200&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26814&fm=104768338572893&tin=02508201610067®Number=0000000000091578&sum=100045 [10:11:48]OFD Sender: Processing packet 26814 [packets to send 44, broken 43] [10:11:48]ProducePacketName [10:11:48]name=ofd_packets/00026814 [10:11:48]OFD Sender: To server: ‡•öpG, [10:11:48]CommunicateWithHost lk.salyk.kg:30040 [10:11:48]ConnectInit lk.salyk.kg [10:11:48]written 0, free lines is 4095 [10:11:48]Connected sock=10 [10:11:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B4 50 07 01 43 27 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 F0 C2 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BE 68 00 00 35 04 06 00 5F 49 47 9A B6 5D C1 99 24 77 83 B5 D5 D7 [10:11:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 62 40 47 00 BA 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BE 68 00 00 F4 03 04 00 5A 6A 13 66 B6 04 01 00 00 9D F1 D9 75 69 E0 52 51 [10:11:48]CommunicateWithHost err = 0 [10:11:48]CheckOFDResponse [10:11:48]1017 (14) - 77093643461234 [10:11:48]1041 (16) - 0000000000874657 [10:11:48]1040 (4) - 26814 [10:11:48]1012 (4) - 08.04.2024 03:54 [10:11:48]1206 (1) - 0 [10:11:48]OFD Sender: Remove packet 26814 [10:11:48]ProducePacketName [10:11:48]name=ofd_packets/00026814 [10:11:48]NVStorageDeleteData [10:11:48]Write to MH i2c: 01 00 00 75 3B B0 [10:11:48]Write i2c OK [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: 01 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: 01 07 00 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: 01 07 00 75 3B 00 00 00 00 00 8C 0C 4F [10:11:48]RasterBufferAndPrint [10:11:48]line [10:11:48]line [10:11:48]line [10:11:48]line [10:11:48]line [10:11:48]written 0, free lines is 3216 [10:11:48]MH_Cut [10:11:48]Write to MH i2c: D1 01 00 7C 3B 01 89 [10:11:48]Write i2c OK [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: D1 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: D1 01 00 [10:11:48]MH_I2C_Read... [10:11:48]Read from MH i2c: D1 01 00 7C 3B 00 88 [10:11:48]Write to MH i2c: 01 00 00 7D 3B B8 [10:11:48]Write i2c OK [10:11:48]MH_I2C_Read... [10:11:49]OFD Sender: No OFD packet to send [10:11:49]*** Cut start [10:11:49]*** Partial cut [10:11:49]*** CUTSNS_PIN = 1 [10:11:50]*** CUTSNS_PIN = 0 [10:11:50]*** Brake cut motor [10:11:50]Read from MH i2c: 01 [10:11:50]MH_I2C_Read... [10:11:50]*** Stop cut motor [10:11:50]*** Cut end [10:11:50]Read from MH i2c: 01 07 00 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: 01 07 00 7D 3B 00 00 00 00 00 FF 0F CD [10:11:50]process_action close_receipt done [10:11:50]requested_data is exist [10:11:50]produce_requested_data [10:11:50]requested_item fm.sn is exist - process it [10:11:50]wFMCommunicate request_size=4 [10:11:50]MH_SAM_APDU [10:11:50]CAPDU: 80 11 00 00 [10:11:50]Write to MH i2c: E2 08 00 7E 3B 80 11 00 00 00 00 00 00 33 [10:11:50]Write i2c OK [10:11:50]MH_I2C_Read... [10:11:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:50]Read from MH i2c: E2 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: E2 17 00 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: E2 17 00 7E 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8B [10:11:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:11:50]wFMCommunicate OK [10:11:50]requested_item fd.num is exist - process it [10:11:50]SAM_PROTO_GetFieldsCounters [10:11:50]wFMCommunicate request_size=4 [10:11:50]MH_SAM_APDU [10:11:50]CAPDU: 80 13 00 00 [10:11:50]Write to MH i2c: E2 08 00 7F 3B 80 13 00 00 00 00 00 00 36 [10:11:50]Write i2c OK [10:11:50]MH_I2C_Read... [10:11:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:11:50]Read from MH i2c: E2 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: E2 62 00 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: E2 62 00 7F 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 13 [10:11:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:11:50]wFMCommunicate OK [10:11:50]SAM_PROTO_GetFieldsCounters done [10:11:50]requested_item shift.num is exist - process it [10:11:50]requested_item shift.opened is exist - process it [10:11:50]req_shift_opened [10:11:50]FM_GetShiftState [10:11:50]SAM_PROTO_GetShiftState [10:11:50]wFMCommunicate request_size=4 [10:11:50]MH_SAM_APDU [10:11:50]CAPDU: 80 13 01 00 [10:11:50]Write to MH i2c: E2 08 00 80 3B 80 13 01 00 00 00 00 00 38 [10:11:50]Write i2c OK [10:11:50]MH_I2C_Read... [10:11:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:11:50]Read from MH i2c: E2 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: E2 0E 00 [10:11:50]MH_I2C_Read... [10:11:50]Read from MH i2c: E2 0E 00 80 3B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C5 [10:11:50]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:11:50]wFMCommunicate OK [10:11:50]SAM_PROTO_GetShiftState done [10:11:50]FM_GetShiftState done [10:11:50]req_shift_opened done [10:11:50]requested_item shift.open_date is exist - process it [10:11:50]req_shift_open_date [10:11:50]req_shift_open_date done [10:11:50]produce_requested_data done [10:11:50]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26814,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:11:50]process_action_free close_receipt [10:11:50]json_value_free [10:11:50]json_value_free done [10:11:50]process_json_proto returns [10:11:50]Send response to host [10:11:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26814,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:11:50]free response buf [10:11:50]execute_script done [10:11:50]execute_script returns [10:11:50]free content buf [10:11:50]Sock 8.Close socket [10:11:50]Sock 8.Thread stoped [10:11:54]OFD Sender: No OFD packet to send [10:11:59]OFD Sender: No OFD packet to send [10:12:04]OFD Sender: No OFD packet to send [10:12:09]OFD Sender: No OFD packet to send [10:12:14]OFD Sender: No OFD packet to send [10:12:19]OFD Sender: No OFD packet to send [10:12:24]OFD Sender: No OFD packet to send [10:12:29]OFD Sender: No OFD packet to send [10:12:34]OFD Sender: No OFD packet to send [10:12:39]OFD Sender: No OFD packet to send [10:12:44]OFD Sender: No OFD packet to send [10:12:49]OFD Sender: No OFD packet to send [10:12:54]OFD Sender: No OFD packet to send [10:12:59]OFD Sender: No OFD packet to send [10:13:04]OFD Sender: No OFD packet to send [10:13:09]OFD Sender: No OFD packet to send [10:13:14]OFD Sender: No OFD packet to send [10:13:19]OFD Sender: No OFD packet to send [10:13:24]OFD Sender: No OFD packet to send [10:13:29]OFD Sender: No OFD packet to send [10:13:34]OFD Sender: No OFD packet to send [10:13:39]OFD Sender: No OFD packet to send [10:13:44]OFD Sender: No OFD packet to send [10:13:49]OFD Sender: No OFD packet to send [10:13:54]OFD Sender: No OFD packet to send [10:13:59]OFD Sender: No OFD packet to send [10:14:04]OFD Sender: No OFD packet to send [10:14:09]OFD Sender: No OFD packet to send [10:14:14]OFD Sender: No OFD packet to send [10:14:19]OFD Sender: No OFD packet to send [10:14:24]OFD Sender: No OFD packet to send [10:14:29]OFD Sender: No OFD packet to send [10:14:34]OFD Sender: No OFD packet to send [10:14:39]OFD Sender: No OFD packet to send [10:14:44]OFD Sender: No OFD packet to send [10:14:49]OFD Sender: No OFD packet to send [10:14:54]OFD Sender: No OFD packet to send [10:14:59]OFD Sender: No OFD packet to send [10:15:04]OFD Sender: No OFD packet to send [10:15:09]OFD Sender: No OFD packet to send [10:15:14]OFD Sender: No OFD packet to send [10:15:19]OFD Sender: No OFD packet to send [10:15:24]OFD Sender: No OFD packet to send [10:15:29]OFD Sender: No OFD packet to send [10:15:34]OFD Sender: No OFD packet to send [10:15:39]OFD Sender: No OFD packet to send [10:15:44]OFD Sender: No OFD packet to send [10:15:49]OFD Sender: No OFD packet to send [10:15:54]OFD Sender: No OFD packet to send [10:15:59]OFD Sender: No OFD packet to send [10:16:04]OFD Sender: No OFD packet to send [10:16:09]OFD Sender: No OFD packet to send [10:16:14]OFD Sender: No OFD packet to send [10:16:19]OFD Sender: No OFD packet to send [10:16:24]OFD Sender: No OFD packet to send [10:16:29]OFD Sender: No OFD packet to send [10:16:34]OFD Sender: No OFD packet to send [10:16:39]OFD Sender: No OFD packet to send [10:16:44]OFD Sender: No OFD packet to send [10:16:49]OFD Sender: No OFD packet to send [10:16:54]OFD Sender: No OFD packet to send [10:16:59]OFD Sender: No OFD packet to send [10:17:04]OFD Sender: No OFD packet to send [10:17:09]OFD Sender: No OFD packet to send [10:17:14]OFD Sender: No OFD packet to send [10:17:19]OFD Sender: No OFD packet to send [10:17:24]OFD Sender: No OFD packet to send [10:17:29]OFD Sender: No OFD packet to send [10:17:34]OFD Sender: No OFD packet to send [10:17:39]OFD Sender: No OFD packet to send [10:17:44]OFD Sender: No OFD packet to send [10:17:49]OFD Sender: No OFD packet to send [10:17:54]OFD Sender: No OFD packet to send [10:17:59]OFD Sender: No OFD packet to send [10:18:04]OFD Sender: No OFD packet to send [10:18:09]OFD Sender: No OFD packet to send [10:18:14]OFD Sender: No OFD packet to send [10:18:19]OFD Sender: No OFD packet to send [10:18:24]OFD Sender: No OFD packet to send [10:18:29]OFD Sender: No OFD packet to send [10:18:34]OFD Sender: No OFD packet to send [10:18:39]OFD Sender: No OFD packet to send [10:18:44]OFD Sender: No OFD packet to send [10:18:49]OFD Sender: No OFD packet to send [10:18:54]OFD Sender: No OFD packet to send [10:18:59]OFD Sender: No OFD packet to send [10:19:04]OFD Sender: No OFD packet to send [10:19:09]OFD Sender: No OFD packet to send [10:19:14]OFD Sender: No OFD packet to send [10:19:19]OFD Sender: No OFD packet to send [10:19:24]OFD Sender: No OFD packet to send [10:19:29]OFD Sender: No OFD packet to send [10:19:34]OFD Sender: No OFD packet to send [10:19:39]OFD Sender: No OFD packet to send [10:19:44]OFD Sender: No OFD packet to send [10:19:49]OFD Sender: No OFD packet to send [10:19:54]OFD Sender: No OFD packet to send [10:19:59]OFD Sender: No OFD packet to send [10:20:04]OFD Sender: No OFD packet to send [10:20:09]OFD Sender: No OFD packet to send [10:20:14]OFD Sender: No OFD packet to send [10:20:19]OFD Sender: No OFD packet to send [10:20:24]OFD Sender: No OFD packet to send [10:20:29]OFD Sender: No OFD packet to send [10:20:34]OFD Sender: No OFD packet to send [10:20:39]OFD Sender: No OFD packet to send [10:20:44]OFD Sender: No OFD packet to send [10:20:49]OFD Sender: No OFD packet to send [10:20:54]OFD Sender: No OFD packet to send [10:20:59]OFD Sender: No OFD packet to send [10:21:04]OFD Sender: No OFD packet to send [10:21:09]OFD Sender: No OFD packet to send [10:21:14]OFD Sender: No OFD packet to send [10:21:19]OFD Sender: No OFD packet to send [10:21:24]OFD Sender: No OFD packet to send [10:21:29]OFD Sender: No OFD packet to send [10:21:34]OFD Sender: No OFD packet to send [10:21:39]OFD Sender: No OFD packet to send [10:21:44]OFD Sender: No OFD packet to send [10:21:49]OFD Sender: No OFD packet to send [10:21:54]OFD Sender: No OFD packet to send [10:21:59]OFD Sender: No OFD packet to send [10:22:04]OFD Sender: No OFD packet to send [10:22:09]OFD Sender: No OFD packet to send [10:22:14]OFD Sender: No OFD packet to send [10:22:19]OFD Sender: No OFD packet to send [10:22:24]OFD Sender: No OFD packet to send [10:22:29]OFD Sender: No OFD packet to send [10:22:34]OFD Sender: No OFD packet to send [10:22:39]OFD Sender: No OFD packet to send [10:22:44]OFD Sender: No OFD packet to send [10:22:49]OFD Sender: No OFD packet to send [10:22:54]OFD Sender: No OFD packet to send [10:22:59]OFD Sender: No OFD packet to send [10:23:04]OFD Sender: No OFD packet to send [10:23:09]OFD Sender: No OFD packet to send [10:23:14]OFD Sender: No OFD packet to send [10:23:19]OFD Sender: No OFD packet to send [10:23:24]OFD Sender: No OFD packet to send [10:23:29]OFD Sender: No OFD packet to send [10:23:34]OFD Sender: No OFD packet to send [10:23:39]OFD Sender: No OFD packet to send [10:23:44]OFD Sender: No OFD packet to send [10:23:49]OFD Sender: No OFD packet to send [10:23:54]OFD Sender: No OFD packet to send [10:23:59]OFD Sender: No OFD packet to send [10:24:04]OFD Sender: No OFD packet to send [10:24:09]OFD Sender: No OFD packet to send [10:24:14]OFD Sender: No OFD packet to send [10:24:19]OFD Sender: No OFD packet to send [10:24:24]OFD Sender: No OFD packet to send [10:24:29]OFD Sender: No OFD packet to send [10:24:34]OFD Sender: No OFD packet to send [10:24:39]OFD Sender: No OFD packet to send [10:24:44]OFD Sender: No OFD packet to send [10:24:49]OFD Sender: No OFD packet to send [10:24:54]OFD Sender: No OFD packet to send [10:24:59]OFD Sender: No OFD packet to send [10:25:04]OFD Sender: No OFD packet to send [10:25:09]OFD Sender: No OFD packet to send [10:25:14]OFD Sender: No OFD packet to send [10:25:19]OFD Sender: No OFD packet to send [10:25:24]OFD Sender: No OFD packet to send [10:25:29]OFD Sender: No OFD packet to send [10:25:34]OFD Sender: No OFD packet to send [10:25:39]OFD Sender: No OFD packet to send [10:25:44]OFD Sender: No OFD packet to send [10:25:49]OFD Sender: No OFD packet to send [10:25:54]OFD Sender: No OFD packet to send [10:25:59]OFD Sender: No OFD packet to send [10:26:04]OFD Sender: No OFD packet to send [10:26:09]OFD Sender: No OFD packet to send [10:26:14]OFD Sender: No OFD packet to send [10:26:19]OFD Sender: No OFD packet to send [10:26:24]OFD Sender: No OFD packet to send [10:26:29]OFD Sender: No OFD packet to send [10:26:34]OFD Sender: No OFD packet to send [10:26:39]OFD Sender: No OFD packet to send [10:26:45]OFD Sender: No OFD packet to send [10:26:50]OFD Sender: No OFD packet to send [10:26:55]OFD Sender: No OFD packet to send [10:27:00]OFD Sender: No OFD packet to send [10:27:05]OFD Sender: No OFD packet to send [10:27:10]OFD Sender: No OFD packet to send [10:27:15]OFD Sender: No OFD packet to send [10:27:20]OFD Sender: No OFD packet to send [10:27:25]OFD Sender: No OFD packet to send [10:27:30]OFD Sender: No OFD packet to send [10:27:35]OFD Sender: No OFD packet to send [10:27:40]OFD Sender: No OFD packet to send [10:27:45]OFD Sender: No OFD packet to send [10:27:50]OFD Sender: No OFD packet to send [10:27:55]OFD Sender: No OFD packet to send [10:28:00]OFD Sender: No OFD packet to send [10:28:05]OFD Sender: No OFD packet to send [10:28:10]OFD Sender: No OFD packet to send [10:28:15]OFD Sender: No OFD packet to send [10:28:20]OFD Sender: No OFD packet to send [10:28:25]OFD Sender: No OFD packet to send [10:28:30]OFD Sender: No OFD packet to send [10:28:35]OFD Sender: No OFD packet to send [10:28:40]OFD Sender: No OFD packet to send [10:28:45]OFD Sender: No OFD packet to send [10:28:50]OFD Sender: No OFD packet to send [10:28:53]accept exits with 9 [10:28:53]New connection [10:28:53]New thread 3067014500 created [10:28:53]Thread 3066871140 joined [10:28:53]Waiting for new connection... [10:28:53] Sock 9.Parse request [10:28:53]Sock 9.Check first char [10:28:53]Sock 9.First char is OK [10:28:53]request: POST /json_proto HTTP/1.0 [10:28:53]Method: POST [10:28:53]URL: /json_proto [10:28:53]Method is POST - this is cgi request [10:28:53]url: /json_proto [10:28:53]query_string will be loaded in cgi processing [10:28:53]execute_cgi json_proto POST (null) [10:28:53]execute_cgi path=json_proto method=POST [10:28:53]POST find Content-Length [10:28:53]Host: 172.17.35.3:8080 [10:28:53]Content-Length: 825 [10:28:53]Content-Type: application/json [10:28:53] [10:28:53]POST finish read [10:28:53]Found Content-Length = 825 [10:28:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359558", "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" : 71.80, "quantity" : 125.350, "sum" : 9000.13, "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" : 9000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:53]execute_script... [10:28: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)359558", "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" : 71.80, "quantity" : 125.350, "sum" : 9000.13, "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" : 9000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:28:53]POST & json_proto [10:28:53]process_json_proto [10:28:53]json parsed OK: [10:28:53]protocol is kg_v1.0 [10:28:53]action value=close_receipt [10:28:53]process_action close_receipt [10:28:53]cmd_close_receipt [10:28:53]MH_GetDate [10:28:53]Write to MH i2c: F0 00 00 81 3B AB [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: F0 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: F0 09 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: F0 09 00 81 3B 00 F3 C6 13 66 2B 11 66 64 EC [10:28:53]GetLastDocTimeStamp 1712571120 [10:28:53]current date 1712572147 [10:28:53]FM_GetShiftState [10:28:53]SAM_PROTO_GetShiftState [10:28:53]wFMCommunicate request_size=4 [10:28:53]MH_SAM_APDU [10:28:53]CAPDU: 80 13 01 00 [10:28:53]Write to MH i2c: E2 08 00 82 3B 80 13 01 00 00 00 00 00 3A [10:28:53]Write i2c OK [10:28:53]MH_I2C_Read... [10:28:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:53]Read from MH i2c: E2 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 0E 00 [10:28:53]MH_I2C_Read... [10:28:53]Read from MH i2c: E2 0E 00 82 3B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C7 [10:28:53]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:28:53]wFMCommunicate OK [10:28:53]SAM_PROTO_GetShiftState done [10:28:53]FM_GetShiftState done [10:28:53]opened in 1712536270 [10:28:53]opened+sec_in_day 1712622670 [10:28:53]quantity*price = 900013 [10:28:53]sum+1 = 900014 [10:28:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 9000.13 ÐСП 1% : 79.65 ÐДС 12% : 955.77 Ðаличными: 0.00 Безнал.: 9000.13 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 28 08.04.2024 10:29 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000874657 ФД: 26815 ФПД: 211159655119443 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T102907&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26815&fm=211159655119443&tin=02508201610067®Number=0000000000091578&sum=900013 [10:28:54]StoreToDocumentArchive [10:28:54]shift 314 fd 26815 [10:28:54]save to /storage/0314/doc_00026815 [10:28:54]save last doc name /storage/0314/doc_00026815 to /storage/kkm_last_doc_name [10:28:54]save OK [10:28:54]Clear old archive folders... [10:28:54]ProcessDocumentItem done err = 0, tmpTLVsize=252 [10:28:54]tlvbuf is B6F67950 [10:28:54]SAM_PROTO_ClearQueue [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 09 00 00 [10:28:54]Write to MH i2c: E2 08 00 8F 3B 80 09 00 00 00 00 00 00 3C [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 8F 3B 00 90 00 3E [10:28:54]RAPDU: 90 00 [10:28:54]wFMCommunicate OK [10:28:54]SAM_PROTO_ClearQueue done [10:28:54]KKMCreateOFDPacket [10:28:54]OFDProtocolAddRootSTLVToBuf [10:28:54]FM_MakeSignedData [10:28:54]FM_MakeSignedData [10:28:54]SAM_PROTO_SignData [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 0D 01 02 [10:28:54]Write to MH i2c: E2 08 00 90 3B 80 0D 01 02 00 00 00 00 44 [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 90 3B 00 90 00 3F [10:28:54]RAPDU: 90 00 [10:28:54]wFMCommunicate OK [10:28:54]wFMCommunicate request_size=255 [10:28:54]MH_SAM_APDU [10:28:54]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 A6 E9 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 AD BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 75 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD BB 0D 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 F3 C6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BF 68 00 00 35 04 06 00 [10:28:54]Write to MH i2c: E2 02 01 91 3B 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 A6 E9 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 AD BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 75 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD BB 0D 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 F3 C6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BF 68 00 00 35 04 06 00 00 00 65 [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 91 3B 00 90 00 40 [10:28:54]RAPDU: 90 00 [10:28:54]wFMCommunicate OK [10:28:54]wFMCommunicate request_size=11 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 0D 02 02 06 C0 0C 70 3B FA 53 [10:28:54]Write to MH i2c: E2 0E 00 92 3B 80 0D 02 02 06 00 C0 0C 70 3B FA 53 00 00 17 [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 03 00 92 3B 00 90 00 41 [10:28:54]RAPDU: 90 00 [10:28:54]wFMCommunicate OK [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 0D 03 02 [10:28:54]Write to MH i2c: E2 08 00 93 3B 80 0D 03 02 00 00 00 00 49 [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:28:54]Read from MH i2c: E2 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 0B 00 [10:28:54]MH_I2C_Read... [10:28:54]Read from MH i2c: E2 0B 00 93 3B 00 A6 FE 1F D8 10 09 14 CA 90 00 DC [10:28:54]RAPDU: A6 FE 1F D8 10 09 14 CA 90 00 [10:28:54]wFMCommunicate OK [10:28:54]SAM_PROTO_SignData done [10:28:54]FM_MakeSignedData done [10:28:54]CreateOFDProtocolMessage [10:28:54]wFMCommunicate request_size=4 [10:28:54]MH_SAM_APDU [10:28:54]CAPDU: 80 11 00 00 [10:28:54]Write to MH i2c: E2 08 00 94 3B 80 11 00 00 00 00 00 00 49 [10:28:54]Write i2c OK [10:28:54]MH_I2C_Read... [10:28:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:55]Read from MH i2c: E2 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: E2 17 00 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: E2 17 00 94 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A1 [10:28:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:28:55]wFMCommunicate OK [10:28:55]CreateOFDProtocolMessage done [10:28:55]OFDSenderStorePacket 26815 [10:28:55]StoreOFDPacket docnum=26815 [10:28:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 3D 39 08 01 69 78 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 A6 E9 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 AD BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 75 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD BB 0D 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 F3 C6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BF 68 00 00 35 04 06 00 C0 0C 70 3B FA 53 A6 FE 1F D8 10 09 14 CA [10:28:55]CheckFolder [10:28:55]dirname=/storage/ofd_packets [10:28:55]CheckFolder done [10:28:55]ProducePacketName [10:28:55]name=ofd_packets/00026815 [10:28:55]NVStorageSaveData ofd_packets/00026815 [10:28:55]File name is /storage/ofd_packets/00026815 [10:28:55]Write 302 bytes [10:28:55]NVStorageSaveData done [10:28:55]OFDSenderStorePacket done [10:28:55]KKMCreateOFDPacket done [10:28:55]NVStorageSaveData kkm_last_timestamp [10:28:55]File name is /storage/kkm_last_timestamp [10:28:55]Write 4 bytes [10:28:55]NVStorageSaveData done [10:28:55]ExternCall_PrintAddStr [10:28:55]wPrintStart [10:28:55]Write to MH i2c: 01 00 00 95 3B D0 [10:28:55]Write i2c OK [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: 01 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: 01 07 00 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: 01 07 00 95 3B 00 00 00 00 00 FF 0F E5 [10:28:55]RasterBufferAndPrint [10:28:55]line Счет N : (1)359558 [10:28:55]line ИÐÐ: 02508201610067 [10:28:55]line Контрольно-КаÑÑовый Чек [10:28:55]line ПРОДÐЖР[10:28:55]line ТРК (МРК, ГÐК) : 21 [10:28:55]line Товар: 2710194210 [10:28:55]line ДТ(л)-К-5 [10:28:55]line 125.350 * 71.80 [10:28:55]line = 9000.13 [10:28:55]line ÐДС 12% ÐСП 1% [10:28:55]line > о реализуемом товаре [10:28:55]line ИТОГО: 9000.13 [10:28:55]line ÐСП 1% : 79.65 [10:28:55]line ÐДС 12% : 955.77 [10:28:55]line Ðаличными: 0.00 [10:28:55]line Безнал.: 9000.13 [10:28:55]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:28:55]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:28:55]line СÐО: Общий режим [10:28:55]line Чек 28 08.04.2024 10:29 [10:28:55]line Смена: 314 ФФД: 1.0 [10:28:55]line ЗÐМ: 0300000147 [10:28:55]line РÐМ: 0000000000091578 [10:28:55]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:28:55]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [10:28:55]line ФМ: 0000000000874657 [10:28:55]line ФД: 26815 [10:28:55]line ФПД: 211159655119443 [10:28:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T102907&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26815&fm=211159655119443&tin=02508201610067®Number=0000000000091578&sum=900013 [10:28:55]OFD Sender: Processing packet 26815 [packets to send 44, broken 43] [10:28:55]ProducePacketName [10:28:55]name=ofd_packets/00026815 [10:28:55]OFD Sender: To server: ‡•öpG, [10:28:55]CommunicateWithHost lk.salyk.kg:30040 [10:28:55]ConnectInit lk.salyk.kg [10:28:55]written 0, free lines is 4095 [10:28:55]Connected sock=10 [10:28:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 3D 39 08 01 69 78 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 A6 E9 01 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 AD BB 0D 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD BB 0D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 1F 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 59 75 01 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD BB 0D 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 F3 C6 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BF 68 00 00 35 04 06 00 C0 0C 70 3B FA 53 A6 FE 1F D8 10 09 14 CA [10:28:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 4C 1C 47 00 EA CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 BF 68 00 00 F4 03 04 00 5D 6E 13 66 B6 04 01 00 00 80 4C DF FE 67 A5 7E AA [10:28:55]CommunicateWithHost err = 0 [10:28:55]CheckOFDResponse [10:28:55]1017 (14) - 77093643461234 [10:28:55]1041 (16) - 0000000000874657 [10:28:55]1040 (4) - 26815 [10:28:55]1012 (4) - 08.04.2024 04:11 [10:28:55]1206 (1) - 0 [10:28:55]OFD Sender: Remove packet 26815 [10:28:55]ProducePacketName [10:28:55]name=ofd_packets/00026815 [10:28:55]NVStorageDeleteData [10:28:55]Write to MH i2c: 01 00 00 BF 3B FA [10:28:55]Write i2c OK [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: 01 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: 01 07 00 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: 01 07 00 BF 3B 00 00 00 00 00 96 0C A3 [10:28:55]RasterBufferAndPrint [10:28:55]line [10:28:55]line [10:28:55]line [10:28:55]line [10:28:55]line [10:28:55]written 0, free lines is 3224 [10:28:55]MH_Cut [10:28:55]Write to MH i2c: D1 01 00 C6 3B 01 D3 [10:28:55]Write i2c OK [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: D1 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: D1 01 00 [10:28:55]MH_I2C_Read... [10:28:55]Read from MH i2c: D1 01 00 C6 3B 00 D2 [10:28:55]Write to MH i2c: 01 00 00 C7 3B 02 [10:28:55]Write i2c OK [10:28:55]MH_I2C_Read... [10:28:56]OFD Sender: No OFD packet to send [10:28:56]*** Cut start [10:28:56]*** Partial cut [10:28:56]*** CUTSNS_PIN = 1 [10:28:56]*** CUTSNS_PIN = 0 [10:28:57]*** Brake cut motor [10:28:57]Read from MH i2c: 01 [10:28:57]MH_I2C_Read... [10:28:57]*** Stop cut motor [10:28:57]*** Cut end [10:28:57]Read from MH i2c: 01 07 00 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: 01 07 00 C7 3B 00 00 00 00 00 FF 0F 17 [10:28:57]process_action close_receipt done [10:28:57]requested_data is exist [10:28:57]produce_requested_data [10:28:57]requested_item fm.sn is exist - process it [10:28:57]wFMCommunicate request_size=4 [10:28:57]MH_SAM_APDU [10:28:57]CAPDU: 80 11 00 00 [10:28:57]Write to MH i2c: E2 08 00 C8 3B 80 11 00 00 00 00 00 00 7D [10:28:57]Write i2c OK [10:28:57]MH_I2C_Read... [10:28:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:28:57]Read from MH i2c: E2 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: E2 17 00 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: E2 17 00 C8 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D5 [10:28:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:28:57]wFMCommunicate OK [10:28:57]requested_item fd.num is exist - process it [10:28:57]SAM_PROTO_GetFieldsCounters [10:28:57]wFMCommunicate request_size=4 [10:28:57]MH_SAM_APDU [10:28:57]CAPDU: 80 13 00 00 [10:28:57]Write to MH i2c: E2 08 00 C9 3B 80 13 00 00 00 00 00 00 80 [10:28:57]Write i2c OK [10:28:57]MH_I2C_Read... [10:28:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:28:57]Read from MH i2c: E2 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: E2 62 00 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: E2 62 00 C9 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [10:28:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 BF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:28:57]wFMCommunicate OK [10:28:57]SAM_PROTO_GetFieldsCounters done [10:28:57]requested_item shift.num is exist - process it [10:28:57]requested_item shift.opened is exist - process it [10:28:57]req_shift_opened [10:28:57]FM_GetShiftState [10:28:57]SAM_PROTO_GetShiftState [10:28:57]wFMCommunicate request_size=4 [10:28:57]MH_SAM_APDU [10:28:57]CAPDU: 80 13 01 00 [10:28:57]Write to MH i2c: E2 08 00 CA 3B 80 13 01 00 00 00 00 00 82 [10:28:57]Write i2c OK [10:28:57]MH_I2C_Read... [10:28:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:28:57]Read from MH i2c: E2 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: E2 0E 00 [10:28:57]MH_I2C_Read... [10:28:57]Read from MH i2c: E2 0E 00 CA 3B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0F [10:28:57]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:28:57]wFMCommunicate OK [10:28:57]SAM_PROTO_GetShiftState done [10:28:57]FM_GetShiftState done [10:28:57]req_shift_opened done [10:28:57]requested_item shift.open_date is exist - process it [10:28:57]req_shift_open_date [10:28:57]req_shift_open_date done [10:28:57]produce_requested_data done [10:28:57]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26815,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:28:57]process_action_free close_receipt [10:28:57]json_value_free [10:28:57]json_value_free done [10:28:57]process_json_proto returns [10:28:57]Send response to host [10:28:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26815,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:28:57]free response buf [10:28:57]execute_script done [10:28:57]execute_script returns [10:28:57]free content buf [10:28:57]Sock 9.Close socket [10:28:57]Sock 9.Thread stoped [10:29:01]OFD Sender: No OFD packet to send [10:29:06]OFD Sender: No OFD packet to send [10:29:11]OFD Sender: No OFD packet to send [10:29:16]OFD Sender: No OFD packet to send [10:29:21]OFD Sender: No OFD packet to send [10:29:26]OFD Sender: No OFD packet to send [10:29:31]OFD Sender: No OFD packet to send [10:29:36]OFD Sender: No OFD packet to send [10:29:41]OFD Sender: No OFD packet to send [10:29:46]OFD Sender: No OFD packet to send [10:29:51]OFD Sender: No OFD packet to send [10:29:56]OFD Sender: No OFD packet to send [10:30:01]OFD Sender: No OFD packet to send [10:30:06]OFD Sender: No OFD packet to send [10:30:11]OFD Sender: No OFD packet to send [10:30:16]OFD Sender: No OFD packet to send [10:30:21]OFD Sender: No OFD packet to send [10:30:26]OFD Sender: No OFD packet to send [10:30:31]OFD Sender: No OFD packet to send [10:30:36]OFD Sender: No OFD packet to send [10:30:41]OFD Sender: No OFD packet to send [10:30:46]OFD Sender: No OFD packet to send [10:30:51]OFD Sender: No OFD packet to send [10:30:56]OFD Sender: No OFD packet to send [10:31:01]OFD Sender: No OFD packet to send [10:31:06]OFD Sender: No OFD packet to send [10:31:11]OFD Sender: No OFD packet to send [10:31:16]OFD Sender: No OFD packet to send [10:31:21]OFD Sender: No OFD packet to send [10:31:26]OFD Sender: No OFD packet to send [10:31:31]OFD Sender: No OFD packet to send [10:31:36]OFD Sender: No OFD packet to send [10:31:41]OFD Sender: No OFD packet to send [10:31:46]OFD Sender: No OFD packet to send [10:31:51]OFD Sender: No OFD packet to send [10:31:56]OFD Sender: No OFD packet to send [10:32:01]OFD Sender: No OFD packet to send [10:32:06]OFD Sender: No OFD packet to send [10:32:11]OFD Sender: No OFD packet to send [10:32:16]OFD Sender: No OFD packet to send [10:32:21]OFD Sender: No OFD packet to send [10:32:26]OFD Sender: No OFD packet to send [10:32:31]OFD Sender: No OFD packet to send [10:32:36]OFD Sender: No OFD packet to send [10:32:41]OFD Sender: No OFD packet to send [10:32:46]OFD Sender: No OFD packet to send [10:32:51]OFD Sender: No OFD packet to send [10:32:56]OFD Sender: No OFD packet to send [10:33:01]OFD Sender: No OFD packet to send [10:33:06]OFD Sender: No OFD packet to send [10:33:11]OFD Sender: No OFD packet to send [10:33:16]OFD Sender: No OFD packet to send [10:33:21]OFD Sender: No OFD packet to send [10:33:26]OFD Sender: No OFD packet to send [10:33:31]OFD Sender: No OFD packet to send [10:33:36]OFD Sender: No OFD packet to send [10:33:41]OFD Sender: No OFD packet to send [10:33:46]OFD Sender: No OFD packet to send [10:33:51]OFD Sender: No OFD packet to send [10:33:56]OFD Sender: No OFD packet to send [10:34:01]OFD Sender: No OFD packet to send [10:34:06]OFD Sender: No OFD packet to send [10:34:11]OFD Sender: No OFD packet to send [10:34:16]OFD Sender: No OFD packet to send [10:34:21]OFD Sender: No OFD packet to send [10:34:26]OFD Sender: No OFD packet to send [10:34:31]OFD Sender: No OFD packet to send [10:34:36]OFD Sender: No OFD packet to send [10:34:41]OFD Sender: No OFD packet to send [10:34:46]OFD Sender: No OFD packet to send [10:34:51]OFD Sender: No OFD packet to send [10:34:56]OFD Sender: No OFD packet to send [10:35:01]OFD Sender: No OFD packet to send [10:35:06]OFD Sender: No OFD packet to send [10:35:11]OFD Sender: No OFD packet to send [10:35:16]OFD Sender: No OFD packet to send [10:35:21]OFD Sender: No OFD packet to send [10:35:26]OFD Sender: No OFD packet to send [10:35:31]OFD Sender: No OFD packet to send [10:35:36]OFD Sender: No OFD packet to send [10:35:41]OFD Sender: No OFD packet to send [10:35:46]OFD Sender: No OFD packet to send [10:35:51]OFD Sender: No OFD packet to send [10:35:56]OFD Sender: No OFD packet to send [10:36:01]OFD Sender: No OFD packet to send [10:36:06]OFD Sender: No OFD packet to send [10:36:11]OFD Sender: No OFD packet to send [10:36:16]OFD Sender: No OFD packet to send [10:36:21]OFD Sender: No OFD packet to send [10:36:26]OFD Sender: No OFD packet to send [10:36:31]OFD Sender: No OFD packet to send [10:36:36]OFD Sender: No OFD packet to send [10:36:41]OFD Sender: No OFD packet to send [10:36:46]accept exits with 8 [10:36:46]New connection [10:36:46]New thread 3066871140 created [10:36:46]Thread 3067014500 joined [10:36:46]Waiting for new connection... [10:36:46] Sock 8.Parse request [10:36:46]Sock 8.Check first char [10:36:46]Sock 8.First char is OK [10:36:46]request: POST /json_proto HTTP/1.0 [10:36:46]Method: POST [10:36:46]URL: /json_proto [10:36:46]Method is POST - this is cgi request [10:36:46]url: /json_proto [10:36:46]query_string will be loaded in cgi processing [10:36:46]execute_cgi json_proto POST (null) [10:36:46]execute_cgi path=json_proto method=POST [10:36:46]POST find Content-Length [10:36:46]Host: 172.17.35.3:8080 [10:36:46]Content-Length: 687 [10:36:46]Content-Type: application/json [10:36:46] [10:36:46]POST finish read [10:36:46]Found Content-Length = 687 [10:36:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359559", "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" : 71.80, "quantity" : 23.820, "sum" : 1710.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1710.00, "total" : 1710.00, "payments": [ { "type": 0, "sum" : 1710.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:46]execute_script... [10:36:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359559", "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" : 71.80, "quantity" : 23.820, "sum" : 1710.28, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1710.00, "total" : 1710.00, "payments": [ { "type": 0, "sum" : 1710.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:36:46]POST & json_proto [10:36:46]process_json_proto [10:36:46]json parsed OK: [10:36:46]protocol is kg_v1.0 [10:36:46]action value=close_receipt [10:36:46]process_action close_receipt [10:36:46]cmd_close_receipt [10:36:46]MH_GetDate [10:36:46]Write to MH i2c: F0 00 00 CB 3B F5 [10:36:46]Write i2c OK [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: F0 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: F0 09 00 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: F0 09 00 CB 3B 00 CC C8 13 66 2B 11 66 64 11 [10:36:46]GetLastDocTimeStamp 1712572147 [10:36:46]current date 1712572620 [10:36:46]FM_GetShiftState [10:36:46]SAM_PROTO_GetShiftState [10:36:46]wFMCommunicate request_size=4 [10:36:46]MH_SAM_APDU [10:36:46]CAPDU: 80 13 01 00 [10:36:46]Write to MH i2c: E2 08 00 CC 3B 80 13 01 00 00 00 00 00 84 [10:36:46]Write i2c OK [10:36:46]MH_I2C_Read... [10:36:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:46]Read from MH i2c: E2 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: E2 0E 00 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: E2 0E 00 CC 3B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 11 [10:36:46]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:36:46]wFMCommunicate OK [10:36:46]SAM_PROTO_GetShiftState done [10:36:46]FM_GetShiftState done [10:36:46]opened in 1712536270 [10:36:46]opened+sec_in_day 1712622670 [10:36:46]quantity*price = 171027 [10:36:46]sum+1 = 171029 [10:36:46]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.28 ИТОГО: 1710.00 ВнеÑено: 1710.00 СДÐЧÐ: 0.00 ÐСП 1% : 15.13 ÐДС 12% : 181.62 Ðаличными: 1710.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 29 08.04.2024 10:37 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26816 ФПД: 44696186421175 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T103700&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26816&fm=44696186421175&tin=02508201610067®Number=0000000000091578&sum=171000 [10:36:47]StoreToDocumentArchive [10:36:47]shift 314 fd 26816 [10:36:47]save to /storage/0314/doc_00026816 [10:36:47]save last doc name /storage/0314/doc_00026816 to /storage/kkm_last_doc_name [10:36:47]save OK [10:36:47]Clear old archive folders... [10:36:47]ProcessDocumentItem done err = 0, tmpTLVsize=252 [10:36:47]tlvbuf is B6DB7300 [10:36:47]SAM_PROTO_ClearQueue [10:36:47]wFMCommunicate request_size=4 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 09 00 00 [10:36:47]Write to MH i2c: E2 08 00 D9 3B 80 09 00 00 00 00 00 00 86 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 D9 3B 00 90 00 88 [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]SAM_PROTO_ClearQueue done [10:36:47]KKMCreateOFDPacket [10:36:47]OFDProtocolAddRootSTLVToBuf [10:36:47]FM_MakeSignedData [10:36:47]FM_MakeSignedData [10:36:47]SAM_PROTO_SignData [10:36:47]wFMCommunicate request_size=4 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 0D 01 02 [10:36:47]Write to MH i2c: E2 08 00 DA 3B 80 0D 01 02 00 00 00 00 8E [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 DA 3B 00 90 00 89 [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]wFMCommunicate request_size=255 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 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 0C 5D 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 9C 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 9B 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 46 00 00 00 00 07 04 06 00 F8 9B 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 CC C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C0 68 00 00 35 04 06 00 [10:36:47]Write to MH i2c: E2 02 01 DB 3B 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 0C 5D 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 9C 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 9B 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 46 00 00 00 00 07 04 06 00 F8 9B 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 CC C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C0 68 00 00 35 04 06 00 00 00 FD [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 DB 3B 00 90 00 8A [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]wFMCommunicate request_size=11 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 0D 02 02 06 28 A6 A4 50 7F B7 [10:36:47]Write to MH i2c: E2 0E 00 DC 3B 80 0D 02 02 06 00 28 A6 A4 50 7F B7 00 00 95 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 DC 3B 00 90 00 8B [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]wFMCommunicate request_size=4 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 0D 03 02 [10:36:47]Write to MH i2c: E2 08 00 DD 3B 80 0D 03 02 00 00 00 00 93 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 0B 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 0B 00 DD 3B 00 D7 3A A8 37 6D BD 7C B2 90 00 DC [10:36:47]RAPDU: D7 3A A8 37 6D BD 7C B2 90 00 [10:36:47]wFMCommunicate OK [10:36:47]SAM_PROTO_SignData done [10:36:47]FM_MakeSignedData done [10:36:47]CreateOFDProtocolMessage [10:36:47]wFMCommunicate request_size=4 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 11 00 00 [10:36:47]Write to MH i2c: E2 08 00 DE 3B 80 11 00 00 00 00 00 00 93 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 17 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 17 00 DE 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EB [10:36:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:36:47]wFMCommunicate OK [10:36:47]CreateOFDProtocolMessage done [10:36:47]OFDSenderStorePacket 26816 [10:36:47]StoreOFDPacket docnum=26816 [10:36:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A1 5F 08 01 2E CF 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 0C 5D 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 9C 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 9B 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 46 00 00 00 00 07 04 06 00 F8 9B 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 CC C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C0 68 00 00 35 04 06 00 28 A6 A4 50 7F B7 D7 3A A8 37 6D BD 7C B2 [10:36:47]CheckFolder [10:36:47]dirname=/storage/ofd_packets [10:36:47]CheckFolder done [10:36:47]ProducePacketName [10:36:47]name=ofd_packets/00026816 [10:36:47]NVStorageSaveData ofd_packets/00026816 [10:36:47]File name is /storage/ofd_packets/00026816 [10:36:47]Write 302 bytes [10:36:47]NVStorageSaveData done [10:36:47]OFDSenderStorePacket done [10:36:47]KKMCreateOFDPacket done [10:36:47]NVStorageSaveData kkm_last_timestamp [10:36:47]File name is /storage/kkm_last_timestamp [10:36:47]Write 4 bytes [10:36:47]NVStorageSaveData done [10:36:47]ExternCall_PrintAddStr [10:36:47]wPrintStart [10:36:47]Write to MH i2c: 01 00 00 DF 3B 1A [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: 01 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: 01 07 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: 01 07 00 DF 3B 00 00 00 00 00 FF 0F 2F [10:36:47]RasterBufferAndPrint [10:36:47]line Счет N : (1)359559 [10:36:47]line ИÐÐ: 02508201610067 [10:36:47]line Контрольно-КаÑÑовый Чек [10:36:47]line ПРОДÐЖР[10:36:47]line ТРК (МРК, ГÐК) : 11 [10:36:47]line Товар: 2710194210 [10:36:47]line ДТ(л)-К-5 [10:36:47]line 23.820 * 71.80 [10:36:47]line = 1710.28 [10:36:47]line ÐДС 12% ÐСП 1% [10:36:47]line > о реализуемом товаре [10:36:47]line ОКРУГЛЕÐИЕ: -0.28 [10:36:47]line ИТОГО: 1710.00 [10:36:47]line ВнеÑено: 1710.00 [10:36:47]line СДÐЧÐ: 0.00 [10:36:47]line ÐСП 1% : 15.13 [10:36:47]line ÐДС 12% : 181.62 [10:36:47]line Ðаличными: 1710.00 [10:36:47]line Безнал.: 0.00 [10:36:47]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:36:47]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:36:47]line СÐО: Общий режим [10:36:47]line Чек 29 08.04.2024 10:37 [10:36:47]line Смена: 314 ФФД: 1.0 [10:36:47]line ЗÐМ: 0300000147 [10:36:47]line РÐМ: 0000000000091578 [10:36:47]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:36:47]line ФМ: 0000000000874657 [10:36:47]line ФД: 26816 [10:36:47]line ФПД: 44696186421175 [10:36:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T103700&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26816&fm=44696186421175&tin=02508201610067®Number=0000000000091578&sum=171000 [10:36:48]OFD Sender: Processing packet 26816 [packets to send 44, broken 43] [10:36:48]ProducePacketName [10:36:48]name=ofd_packets/00026816 [10:36:48]OFD Sender: To server: ‡•öpG, [10:36:48]CommunicateWithHost lk.salyk.kg:30040 [10:36:48]ConnectInit lk.salyk.kg [10:36:48]written 0, free lines is 4095 [10:36:48]Connected sock=10 [10:36:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A1 5F 08 01 2E CF 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 0C 5D 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 14 9C 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 9B 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 46 00 00 00 00 07 04 06 00 F8 9B 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 CC C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C0 68 00 00 35 04 06 00 28 A6 A4 50 7F B7 D7 3A A8 37 6D BD 7C B2 [10:36:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FA DB 47 00 FD 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 38 37 34 36 35 37 10 04 04 00 C0 68 00 00 F4 03 04 00 36 70 13 66 B6 04 01 00 00 B7 DE F8 AE 02 D7 D3 47 [10:36:48]CommunicateWithHost err = 0 [10:36:48]CheckOFDResponse [10:36:48]1017 (14) - 77093643461234 [10:36:48]1041 (16) - 0000000000874657 [10:36:48]1040 (4) - 26816 [10:36:48]1012 (4) - 08.04.2024 04:19 [10:36:48]1206 (1) - 0 [10:36:48]OFD Sender: Remove packet 26816 [10:36:48]ProducePacketName [10:36:48]name=ofd_packets/00026816 [10:36:48]NVStorageDeleteData [10:36:48]Write to MH i2c: 01 00 00 0A 3C 46 [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 07 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 07 00 0A 3C 00 00 00 00 00 80 0C D9 [10:36:48]RasterBufferAndPrint [10:36:48]line [10:36:48]line [10:36:48]line [10:36:48]line [10:36:48]line [10:36:48]written 0, free lines is 3204 [10:36:48]MH_Cut [10:36:48]Write to MH i2c: D1 01 00 11 3C 01 1F [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: D1 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: D1 01 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: D1 01 00 11 3C 00 1E [10:36:48]Write to MH i2c: 01 00 00 12 3C 4E [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:49]OFD Sender: No OFD packet to send [10:36:49]*** Cut start [10:36:49]*** Partial cut [10:36:49]*** CUTSNS_PIN = 1 [10:36:49]*** CUTSNS_PIN = 0 [10:36:50]*** Brake cut motor [10:36:50]Read from MH i2c: 01 [10:36:50]MH_I2C_Read... [10:36:50]*** Stop cut motor [10:36:50]*** Cut end [10:36:50]Read from MH i2c: 01 07 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: 01 07 00 12 3C 00 00 00 00 00 FF 0F 63 [10:36:50]process_action close_receipt done [10:36:50]requested_data is exist [10:36:50]produce_requested_data [10:36:50]requested_item fm.sn is exist - process it [10:36:50]wFMCommunicate request_size=4 [10:36:50]MH_SAM_APDU [10:36:50]CAPDU: 80 11 00 00 [10:36:50]Write to MH i2c: E2 08 00 13 3C 80 11 00 00 00 00 00 00 C9 [10:36:50]Write i2c OK [10:36:50]MH_I2C_Read... [10:36:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:50]Read from MH i2c: E2 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 17 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 17 00 13 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 21 [10:36:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:36:50]wFMCommunicate OK [10:36:50]requested_item fd.num is exist - process it [10:36:50]SAM_PROTO_GetFieldsCounters [10:36:50]wFMCommunicate request_size=4 [10:36:50]MH_SAM_APDU [10:36:50]CAPDU: 80 13 00 00 [10:36:50]Write to MH i2c: E2 08 00 14 3C 80 13 00 00 00 00 00 00 CC [10:36:50]Write i2c OK [10:36:50]MH_I2C_Read... [10:36:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:50]Read from MH i2c: E2 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 62 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 62 00 14 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 B1 [10:36:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:36:50]wFMCommunicate OK [10:36:50]SAM_PROTO_GetFieldsCounters done [10:36:50]requested_item shift.num is exist - process it [10:36:50]requested_item shift.opened is exist - process it [10:36:50]req_shift_opened [10:36:50]FM_GetShiftState [10:36:50]SAM_PROTO_GetShiftState [10:36:50]wFMCommunicate request_size=4 [10:36:50]MH_SAM_APDU [10:36:50]CAPDU: 80 13 01 00 [10:36:50]Write to MH i2c: E2 08 00 15 3C 80 13 01 00 00 00 00 00 CE [10:36:50]Write i2c OK [10:36:50]MH_I2C_Read... [10:36:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:50]Read from MH i2c: E2 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 0E 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 0E 00 15 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5B [10:36:50]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:36:50]wFMCommunicate OK [10:36:50]SAM_PROTO_GetShiftState done [10:36:50]FM_GetShiftState done [10:36:50]req_shift_opened done [10:36:50]requested_item shift.open_date is exist - process it [10:36:50]req_shift_open_date [10:36:50]req_shift_open_date done [10:36:50]produce_requested_data done [10:36:50]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26816,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:36:50]process_action_free close_receipt [10:36:50]json_value_free [10:36:50]json_value_free done [10:36:50]process_json_proto returns [10:36:50]Send response to host [10:36:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26816,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:36:50]free response buf [10:36:50]execute_script done [10:36:50]execute_script returns [10:36:50]free content buf [10:36:50]Sock 8.Close socket [10:36:50]Sock 8.Thread stoped [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:31]accept exits with 9 [10:37:31]New connection [10:37:31]New thread 3067014500 created [10:37:31]Thread 3066871140 joined [10:37:31]Waiting for new connection... [10:37:31] Sock 9.Parse request [10:37:31]Sock 9.Check first char [10:37:31]Sock 9.First char is OK [10:37:31]request: POST /json_proto HTTP/1.0 [10:37:31]Method: POST [10:37:31]URL: /json_proto [10:37:31]Method is POST - this is cgi request [10:37:31]url: /json_proto [10:37:31]query_string will be loaded in cgi processing [10:37:31]execute_cgi json_proto POST (null) [10:37:31]execute_cgi path=json_proto method=POST [10:37:31]POST find Content-Length [10:37:31]Host: 172.17.35.3:8080 [10:37:31]Content-Length: 800 [10:37:31]Content-Type: application/json [10:37:31] [10:37:31]POST finish read [10:37:31]Found Content-Length = 800 [10:37:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359560", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" : 500.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:31]execute_script... [10:37:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359560", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" : 500.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:31]POST & json_proto [10:37:31]process_json_proto [10:37:31]json parsed OK: [10:37:31]protocol is kg_v1.0 [10:37:31]action value=close_receipt [10:37:31]process_action close_receipt [10:37:31]cmd_close_receipt [10:37:31]MH_GetDate [10:37:31]Write to MH i2c: F0 00 00 16 3C 41 [10:37:31]Write i2c OK [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: F0 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: F0 09 00 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: F0 09 00 16 3C 00 F9 C8 13 66 2B 11 66 64 8A [10:37:31]GetLastDocTimeStamp 1712572620 [10:37:31]current date 1712572665 [10:37:31]FM_GetShiftState [10:37:31]SAM_PROTO_GetShiftState [10:37:31]wFMCommunicate request_size=4 [10:37:31]MH_SAM_APDU [10:37:31]CAPDU: 80 13 01 00 [10:37:31]Write to MH i2c: E2 08 00 17 3C 80 13 01 00 00 00 00 00 D0 [10:37:31]Write i2c OK [10:37:31]MH_I2C_Read... [10:37:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:31]Read from MH i2c: E2 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: E2 0E 00 [10:37:31]MH_I2C_Read... [10:37:31]Read from MH i2c: E2 0E 00 17 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5D [10:37:31]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:37:31]wFMCommunicate OK [10:37:31]SAM_PROTO_GetShiftState done [10:37:31]FM_GetShiftState done [10:37:31]opened in 1712536270 [10:37:31]opened+sec_in_day 1712622670 [10:37:31]quantity*price = 50022 [10:37:31]sum+1 = 50024 [10:37:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.23 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 0.00 Безнал.: 500.23 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 30 08.04.2024 10:37 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26817 ФПД: 7354871922876 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T103745&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26817&fm=7354871922876&tin=02508201610067®Number=0000000000091578&sum=50023 [10:37:32]StoreToDocumentArchive [10:37:32]shift 314 fd 26817 [10:37:32]save to /storage/0314/doc_00026817 [10:37:32]save last doc name /storage/0314/doc_00026817 to /storage/kkm_last_doc_name [10:37:32]save OK [10:37:32]Clear old archive folders... [10:37:32]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:37:32]tlvbuf is 00E84470 [10:37:32]SAM_PROTO_ClearQueue [10:37:32]wFMCommunicate request_size=4 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 09 00 00 [10:37:32]Write to MH i2c: E2 08 00 24 3C 80 09 00 00 00 00 00 00 D2 [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 24 3C 00 90 00 D4 [10:37:32]RAPDU: 90 00 [10:37:32]wFMCommunicate OK [10:37:32]SAM_PROTO_ClearQueue done [10:37:32]KKMCreateOFDPacket [10:37:32]OFDProtocolAddRootSTLVToBuf [10:37:32]FM_MakeSignedData [10:37:32]FM_MakeSignedData [10:37:32]SAM_PROTO_SignData [10:37:32]wFMCommunicate request_size=4 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 0D 01 02 [10:37:32]Write to MH i2c: E2 08 00 25 3C 80 0D 01 02 00 00 00 00 DA [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 25 3C 00 90 00 D5 [10:37:32]RAPDU: 90 00 [10:37:32]wFMCommunicate OK [10:37:32]wFMCommunicate request_size=255 [10:37:32]MH_SAM_APDU [10:37:32]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C1 68 00 00 35 04 06 00 06 [10:37:32]Write to MH i2c: E2 02 01 26 3C 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C1 68 00 00 35 04 06 00 06 00 00 8A [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 26 3C 00 90 00 D6 [10:37:32]RAPDU: 90 00 [10:37:32]wFMCommunicate OK [10:37:32]wFMCommunicate request_size=10 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 0D 02 02 05 B0 70 87 40 BC [10:37:32]Write to MH i2c: E2 0D 00 27 3C 80 0D 02 02 05 00 B0 70 87 40 BC 00 00 8A [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 03 00 27 3C 00 90 00 D7 [10:37:32]RAPDU: 90 00 [10:37:32]wFMCommunicate OK [10:37:32]wFMCommunicate request_size=4 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 0D 03 02 [10:37:32]Write to MH i2c: E2 08 00 28 3C 80 0D 03 02 00 00 00 00 DF [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 0B 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 0B 00 28 3C 00 E1 F0 0E DF D7 13 19 53 90 00 F4 [10:37:32]RAPDU: E1 F0 0E DF D7 13 19 53 90 00 [10:37:32]wFMCommunicate OK [10:37:32]SAM_PROTO_SignData done [10:37:32]FM_MakeSignedData done [10:37:32]CreateOFDProtocolMessage [10:37:32]wFMCommunicate request_size=4 [10:37:32]MH_SAM_APDU [10:37:32]CAPDU: 80 11 00 00 [10:37:32]Write to MH i2c: E2 08 00 29 3C 80 11 00 00 00 00 00 00 DF [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:32]Read from MH i2c: E2 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 17 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: E2 17 00 29 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 37 [10:37:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:37:32]wFMCommunicate OK [10:37:32]CreateOFDProtocolMessage done [10:37:32]OFDSenderStorePacket 26817 [10:37:32]StoreOFDPacket docnum=26817 [10:37:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 61 C2 07 01 B6 24 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C1 68 00 00 35 04 06 00 06 B0 70 87 40 BC E1 F0 0E DF D7 13 19 53 [10:37:32]CheckFolder [10:37:32]dirname=/storage/ofd_packets [10:37:32]CheckFolder done [10:37:32]ProducePacketName [10:37:32]name=ofd_packets/00026817 [10:37:32]NVStorageSaveData ofd_packets/00026817 [10:37:32]File name is /storage/ofd_packets/00026817 [10:37:32]Write 301 bytes [10:37:32]NVStorageSaveData done [10:37:32]OFDSenderStorePacket done [10:37:32]KKMCreateOFDPacket done [10:37:32]NVStorageSaveData kkm_last_timestamp [10:37:32]File name is /storage/kkm_last_timestamp [10:37:32]Write 4 bytes [10:37:32]NVStorageSaveData done [10:37:32]ExternCall_PrintAddStr [10:37:32]wPrintStart [10:37:32]Write to MH i2c: 01 00 00 2A 3C 66 [10:37:32]Write i2c OK [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: 01 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: 01 07 00 [10:37:32]MH_I2C_Read... [10:37:32]Read from MH i2c: 01 07 00 2A 3C 00 00 00 00 00 FF 0F 7B [10:37:32]RasterBufferAndPrint [10:37:32]line Счет N : (1)359560 [10:37:32]line ИÐÐ: 02508201610067 [10:37:32]line Контрольно-КаÑÑовый Чек [10:37:32]line ПРОДÐЖР[10:37:32]line ТРК (МРК, ГÐК) : 61 [10:37:32]line Товар: 2710124130 [10:37:32]line Ðи-92-К-5 [10:37:32]line 7.890 * 63.40 [10:37:32]line = 500.23 [10:37:32]line ÐДС 12% ÐСП 1% [10:37:32]line > о реализуемом товаре [10:37:32]line ИТОГО: 500.23 [10:37:32]line ÐСП 1% : 4.43 [10:37:32]line ÐДС 12% : 53.12 [10:37:32]line Ðаличными: 0.00 [10:37:32]line Безнал.: 500.23 [10:37:32]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:37:32]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:37:32]line СÐО: Общий режим [10:37:32]line Чек 30 08.04.2024 10:37 [10:37:32]line Смена: 314 ФФД: 1.0 [10:37:32]line ЗÐМ: 0300000147 [10:37:32]line РÐМ: 0000000000091578 [10:37:32]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:37:32]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [10:37:32]line ФМ: 0000000000874657 [10:37:32]line ФД: 26817 [10:37:32]line ФПД: 7354871922876 [10:37:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T103745&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26817&fm=7354871922876&tin=02508201610067®Number=0000000000091578&sum=50023 [10:37:33]OFD Sender: Processing packet 26817 [packets to send 44, broken 43] [10:37:33]ProducePacketName [10:37:33]name=ofd_packets/00026817 [10:37:33]OFD Sender: To server: ‡•öpG, [10:37:33]CommunicateWithHost lk.salyk.kg:30040 [10:37:33]ConnectInit lk.salyk.kg [10:37:33]written 0, free lines is 4095 [10:37:33]Connected sock=10 [10:37:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 61 C2 07 01 B6 24 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 F9 C8 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C1 68 00 00 35 04 06 00 06 B0 70 87 40 BC E1 F0 0E DF D7 13 19 53 [10:37:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8F 07 47 00 D4 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C1 68 00 00 F4 03 04 00 63 70 13 66 B6 04 01 00 00 BD C4 15 DF 9F 36 B4 BA [10:37:33]CommunicateWithHost err = 0 [10:37:33]CheckOFDResponse [10:37:33]1017 (14) - 77093643461234 [10:37:33]1041 (16) - 0000000000874657 [10:37:33]1040 (4) - 26817 [10:37:33]1012 (4) - 08.04.2024 04:19 [10:37:33]1206 (1) - 0 [10:37:33]OFD Sender: Remove packet 26817 [10:37:33]ProducePacketName [10:37:33]name=ofd_packets/00026817 [10:37:33]NVStorageDeleteData [10:37:33]Write to MH i2c: 01 00 00 54 3C 90 [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: 01 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: 01 07 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: 01 07 00 54 3C 00 00 00 00 00 9A 0C 3D [10:37:33]RasterBufferAndPrint [10:37:33]line [10:37:33]line [10:37:33]line [10:37:33]line [10:37:33]line [10:37:33]written 0, free lines is 3228 [10:37:33]MH_Cut [10:37:33]Write to MH i2c: D1 01 00 5B 3C 01 69 [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: D1 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: D1 01 00 [10:37:33]MH_I2C_Read... [10:37:33]Read from MH i2c: D1 01 00 5B 3C 00 68 [10:37:33]Write to MH i2c: 01 00 00 5C 3C 98 [10:37:33]Write i2c OK [10:37:33]MH_I2C_Read... [10:37:33]OFD Sender: No OFD packet to send [10:37:34]*** Cut start [10:37:34]*** Partial cut [10:37:34]*** CUTSNS_PIN = 1 [10:37:34]*** CUTSNS_PIN = 0 [10:37:35]*** Brake cut motor [10:37:35]Read from MH i2c: 01 [10:37:35]MH_I2C_Read... [10:37:35]*** Stop cut motor [10:37:35]*** Cut end [10:37:35]Read from MH i2c: 01 07 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: 01 07 00 5C 3C 00 00 00 00 00 FF 0F AD [10:37:35]process_action close_receipt done [10:37:35]requested_data is exist [10:37:35]produce_requested_data [10:37:35]requested_item fm.sn is exist - process it [10:37:35]wFMCommunicate request_size=4 [10:37:35]MH_SAM_APDU [10:37:35]CAPDU: 80 11 00 00 [10:37:35]Write to MH i2c: E2 08 00 5D 3C 80 11 00 00 00 00 00 00 13 [10:37:35]Write i2c OK [10:37:35]MH_I2C_Read... [10:37:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:35]Read from MH i2c: E2 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 17 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 17 00 5D 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6B [10:37:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:37:35]wFMCommunicate OK [10:37:35]requested_item fd.num is exist - process it [10:37:35]SAM_PROTO_GetFieldsCounters [10:37:35]wFMCommunicate request_size=4 [10:37:35]MH_SAM_APDU [10:37:35]CAPDU: 80 13 00 00 [10:37:35]Write to MH i2c: E2 08 00 5E 3C 80 13 00 00 00 00 00 00 16 [10:37:35]Write i2c OK [10:37:35]MH_I2C_Read... [10:37:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:37:35]Read from MH i2c: E2 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 62 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 62 00 5E 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [10:37:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:37:35]wFMCommunicate OK [10:37:35]SAM_PROTO_GetFieldsCounters done [10:37:35]requested_item shift.num is exist - process it [10:37:35]requested_item shift.opened is exist - process it [10:37:35]req_shift_opened [10:37:35]FM_GetShiftState [10:37:35]SAM_PROTO_GetShiftState [10:37:35]wFMCommunicate request_size=4 [10:37:35]MH_SAM_APDU [10:37:35]CAPDU: 80 13 01 00 [10:37:35]Write to MH i2c: E2 08 00 5F 3C 80 13 01 00 00 00 00 00 18 [10:37:35]Write i2c OK [10:37:35]MH_I2C_Read... [10:37:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:35]Read from MH i2c: E2 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 0E 00 [10:37:35]MH_I2C_Read... [10:37:35]Read from MH i2c: E2 0E 00 5F 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A5 [10:37:35]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:37:35]wFMCommunicate OK [10:37:35]SAM_PROTO_GetShiftState done [10:37:35]FM_GetShiftState done [10:37:35]req_shift_opened done [10:37:35]requested_item shift.open_date is exist - process it [10:37:35]req_shift_open_date [10:37:35]req_shift_open_date done [10:37:35]produce_requested_data done [10:37:35]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26817,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:37:35]process_action_free close_receipt [10:37:35]json_value_free [10:37:35]json_value_free done [10:37:35]process_json_proto returns [10:37:35]Send response to host [10:37:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26817,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:37:35]free response buf [10:37:35]execute_script done [10:37:35]execute_script returns [10:37:35]free content buf [10:37:35]Sock 9.Close socket [10:37:35]Sock 9.Thread stoped [10:37:38]OFD Sender: No OFD packet to send [10:37:43]OFD Sender: No OFD packet to send [10:37:48]OFD Sender: No OFD packet to send [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:43]accept exits with 8 [10:40:43]New connection [10:40:43]New thread 3066871140 created [10:40:43]Thread 3067014500 joined [10:40:43]Waiting for new connection... [10:40:43] Sock 8.Parse request [10:40:43]Sock 8.Check first char [10:40:43]Sock 8.First char is OK [10:40:43]request: POST /json_proto HTTP/1.0 [10:40:43]Method: POST [10:40:43]URL: /json_proto [10:40:43]Method is POST - this is cgi request [10:40:43]url: /json_proto [10:40:43]query_string will be loaded in cgi processing [10:40:43]execute_cgi json_proto POST (null) [10:40:43]execute_cgi path=json_proto method=POST [10:40:43]POST find Content-Length [10:40:43]Host: 172.17.35.3:8080 [10:40:43]Content-Length: 808 [10:40:43]Content-Type: application/json [10:40:43] [10:40:43]POST finish read [10:40:43]Found Content-Length = 808 [10:40:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359561", "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" : 71.80, "quantity" : 37.610, "sum" : 2700.40, "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" : 2700.40 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:40:43]execute_script... [10:40: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)359561", "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" : 71.80, "quantity" : 37.610, "sum" : 2700.40, "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" : 2700.40 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:40:43]POST & json_proto [10:40:43]process_json_proto [10:40:43]json parsed OK: [10:40:43]protocol is kg_v1.0 [10:40:43]action value=close_receipt [10:40:43]process_action close_receipt [10:40:43]cmd_close_receipt [10:40:43]MH_GetDate [10:40:43]Write to MH i2c: F0 00 00 60 3C 8B [10:40:43]Write i2c OK [10:40:43]MH_I2C_Read... [10:40:43]Read from MH i2c: F0 [10:40:43]MH_I2C_Read... [10:40:43]Read from MH i2c: F0 09 00 [10:40:43]MH_I2C_Read... [10:40:43]Read from MH i2c: F0 09 00 60 3C 00 B9 C9 13 66 2B 11 66 64 95 [10:40:43]GetLastDocTimeStamp 1712572665 [10:40:43]current date 1712572857 [10:40:43]FM_GetShiftState [10:40:43]SAM_PROTO_GetShiftState [10:40:43]wFMCommunicate request_size=4 [10:40:43]MH_SAM_APDU [10:40:43]CAPDU: 80 13 01 00 [10:40:43]Write to MH i2c: E2 08 00 61 3C 80 13 01 00 00 00 00 00 1A [10:40:43]Write i2c OK [10:40:43]MH_I2C_Read... [10:40:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:43]Read from MH i2c: E2 [10:40:43]MH_I2C_Read... [10:40:43]Read from MH i2c: E2 0E 00 [10:40:43]MH_I2C_Read... [10:40:43]Read from MH i2c: E2 0E 00 61 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A7 [10:40:43]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:40:43]wFMCommunicate OK [10:40:43]SAM_PROTO_GetShiftState done [10:40:43]FM_GetShiftState done [10:40:43]opened in 1712536270 [10:40:43]opened+sec_in_day 1712622670 [10:40:43]quantity*price = 270039 [10:40:43]sum+1 = 270041 [10:40:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2700.40 ÐСП 1% : 23.90 ÐДС 12% : 286.77 Ðаличными: 0.00 Безнал.: 2700.40 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 31 08.04.2024 10:40 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26818 ФПД: 43991408836833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T104057&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26818&fm=43991408836833&tin=02508201610067®Number=0000000000091578&sum=270040 [10:40:44]StoreToDocumentArchive [10:40:44]shift 314 fd 26818 [10:40:44]save to /storage/0314/doc_00026818 [10:40:44]save last doc name /storage/0314/doc_00026818 to /storage/kkm_last_doc_name [10:40:44]save OK [10:40:44]Clear old archive folders... [10:40:44]ProcessDocumentItem done err = 0, tmpTLVsize=252 [10:40:44]tlvbuf is 00E3BA60 [10:40:44]SAM_PROTO_ClearQueue [10:40:44]wFMCommunicate request_size=4 [10:40:44]MH_SAM_APDU [10:40:44]CAPDU: 80 09 00 00 [10:40:44]Write to MH i2c: E2 08 00 6E 3C 80 09 00 00 00 00 00 00 1C [10:40:44]Write i2c OK [10:40:44]MH_I2C_Read... [10:40:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:40:44]Read from MH i2c: E2 [10:40:44]MH_I2C_Read... [10:40:44]Read from MH i2c: E2 03 00 [10:40:44]MH_I2C_Read... [10:40:44]Read from MH i2c: E2 03 00 6E 3C 00 90 00 1E [10:40:44]RAPDU: 90 00 [10:40:44]wFMCommunicate OK [10:40:44]SAM_PROTO_ClearQueue done [10:40:44]KKMCreateOFDPacket [10:40:44]OFDProtocolAddRootSTLVToBuf [10:40:44]FM_MakeSignedData [10:40:44]FM_MakeSignedData [10:40:44]SAM_PROTO_SignData [10:40:44]wFMCommunicate request_size=4 [10:40:44]MH_SAM_APDU [10:40:44]CAPDU: 80 0D 01 02 [10:40:44]Write to MH i2c: E2 08 00 6F 3C 80 0D 01 02 00 00 00 00 24 [10:40:44]Write i2c OK [10:40:44]MH_I2C_Read... [10:40:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:40:44]Read from MH i2c: E2 [10:40:44]MH_I2C_Read... [10:40:44]Read from MH i2c: E2 03 00 [10:40:44]MH_I2C_Read... [10:40:44]Read from MH i2c: E2 03 00 6F 3C 00 90 00 1F [10:40:44]RAPDU: 90 00 [10:40:44]wFMCommunicate OK [10:40:44]wFMCommunicate request_size=255 [10:40:44]MH_SAM_APDU [10:40:44]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 EA 92 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D8 1E 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 1E 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 70 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 1E 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B9 C9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C2 68 00 00 35 04 06 00 [10:40:44]Write to MH i2c: E2 02 01 70 3C 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 EA 92 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D8 1E 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 1E 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 70 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 1E 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B9 C9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C2 68 00 00 35 04 06 00 00 00 58 [10:40:44]Write i2c OK [10:40:44]MH_I2C_Read... [10:40:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:45]Read from MH i2c: E2 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 03 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 03 00 70 3C 00 90 00 20 [10:40:45]RAPDU: 90 00 [10:40:45]wFMCommunicate OK [10:40:45]wFMCommunicate request_size=11 [10:40:45]MH_SAM_APDU [10:40:45]CAPDU: 80 0D 02 02 06 28 02 8C 4C 00 E1 [10:40:45]Write to MH i2c: E2 0E 00 71 3C 80 0D 02 02 06 00 28 02 8C 4C 00 E1 00 00 16 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:40:45]Read from MH i2c: E2 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 03 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 03 00 71 3C 00 90 00 21 [10:40:45]RAPDU: 90 00 [10:40:45]wFMCommunicate OK [10:40:45]wFMCommunicate request_size=4 [10:40:45]MH_SAM_APDU [10:40:45]CAPDU: 80 0D 03 02 [10:40:45]Write to MH i2c: E2 08 00 72 3C 80 0D 03 02 00 00 00 00 29 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:40:45]Read from MH i2c: E2 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 0B 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 0B 00 72 3C 00 04 99 17 DC 5F 4D 18 D8 90 00 56 [10:40:45]RAPDU: 04 99 17 DC 5F 4D 18 D8 90 00 [10:40:45]wFMCommunicate OK [10:40:45]SAM_PROTO_SignData done [10:40:45]FM_MakeSignedData done [10:40:45]CreateOFDProtocolMessage [10:40:45]wFMCommunicate request_size=4 [10:40:45]MH_SAM_APDU [10:40:45]CAPDU: 80 11 00 00 [10:40:45]Write to MH i2c: E2 08 00 73 3C 80 11 00 00 00 00 00 00 29 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:45]Read from MH i2c: E2 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 17 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: E2 17 00 73 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 81 [10:40:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:40:45]wFMCommunicate OK [10:40:45]CreateOFDProtocolMessage done [10:40:45]OFDSenderStorePacket 26818 [10:40:45]StoreOFDPacket docnum=26818 [10:40:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A7 C6 08 01 02 92 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 EA 92 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D8 1E 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 1E 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 70 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 1E 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B9 C9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C2 68 00 00 35 04 06 00 28 02 8C 4C 00 E1 04 99 17 DC 5F 4D 18 D8 [10:40:45]CheckFolder [10:40:45]dirname=/storage/ofd_packets [10:40:45]CheckFolder done [10:40:45]ProducePacketName [10:40:45]name=ofd_packets/00026818 [10:40:45]NVStorageSaveData ofd_packets/00026818 [10:40:45]File name is /storage/ofd_packets/00026818 [10:40:45]Write 302 bytes [10:40:45]NVStorageSaveData done [10:40:45]OFDSenderStorePacket done [10:40:45]KKMCreateOFDPacket done [10:40:45]NVStorageSaveData kkm_last_timestamp [10:40:45]File name is /storage/kkm_last_timestamp [10:40:45]OFD Sender: Processing packet 26818 [packets to send 44, broken 43] [10:40:45]ProducePacketName [10:40:45]name=ofd_packets/00026818 [10:40:45]OFD Sender: To server: ‡•öpG, [10:40:45]CommunicateWithHost lk.salyk.kg:30040 [10:40:45]ConnectInit lk.salyk.kg [10:40:45]Write 4 bytes [10:40:45]NVStorageSaveData done [10:40:45]ExternCall_PrintAddStr [10:40:45]wPrintStart [10:40:45]Write to MH i2c: 01 00 00 74 3C B0 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: 01 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: 01 07 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: 01 07 00 74 3C 00 00 00 00 00 FF 0F C5 [10:40:45]RasterBufferAndPrint [10:40:45]line Счет N : (1)359561 [10:40:45]line ИÐÐ: 02508201610067 [10:40:45]line Контрольно-КаÑÑовый Чек [10:40:45]line ПРОДÐЖР[10:40:45]line ТРК (МРК, ГÐК) : 21 [10:40:45]line Товар: 2710194210 [10:40:45]line ДТ(л)-К-5 [10:40:45]line 37.610 * 71.80 [10:40:45]line = 2700.40 [10:40:45]line ÐДС 12% ÐСП 1% [10:40:45]line > о реализуемом товаре [10:40:45]line ИТОГО: 2700.40 [10:40:45]line ÐСП 1% : 23.90 [10:40:45]line ÐДС 12% : 286.77 [10:40:45]line Ðаличными: 0.00 [10:40:45]line Безнал.: 2700.40 [10:40:45]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:40:45]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:40:45]line СÐО: Общий режим [10:40:45]line Чек 31 08.04.2024 10:40 [10:40:45]line Смена: 314 ФФД: 1.0 [10:40:45]line ЗÐМ: 0300000147 [10:40:45]line РÐМ: 0000000000091578 [10:40:45]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:40:45]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [10:40:45]line ФМ: 0000000000874657 [10:40:45]line ФД: 26818 [10:40:45]line ФПД: 43991408836833 [10:40:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T104057&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26818&fm=43991408836833&tin=02508201610067®Number=0000000000091578&sum=270040 [10:40:45]Connected sock=11 [10:40:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A7 C6 08 01 02 92 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 EA 92 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D8 1E 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 1E 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 56 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 05 70 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D8 1E 04 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 B9 C9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C2 68 00 00 35 04 06 00 28 02 8C 4C 00 E1 04 99 17 DC 5F 4D 18 D8 [10:40:45]written 0, free lines is 4095 [10:40:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 3C 44 47 00 25 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C2 68 00 00 F4 03 04 00 23 71 13 66 B6 04 01 00 00 DC 0A ED 8D 8F BD 46 C6 [10:40:45]CommunicateWithHost err = 0 [10:40:45]CheckOFDResponse [10:40:45]1017 (14) - 77093643461234 [10:40:45]1041 (16) - 0000000000874657 [10:40:45]1040 (4) - 26818 [10:40:45]1012 (4) - 08.04.2024 04:22 [10:40:45]1206 (1) - 0 [10:40:45]OFD Sender: Remove packet 26818 [10:40:45]ProducePacketName [10:40:45]name=ofd_packets/00026818 [10:40:45]NVStorageDeleteData [10:40:45]Write to MH i2c: 01 00 00 9E 3C DA [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: 01 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: 01 07 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: 01 07 00 9E 3C 00 00 00 00 00 9B 0C 88 [10:40:45]RasterBufferAndPrint [10:40:45]line [10:40:45]line [10:40:45]line [10:40:45]line [10:40:45]line [10:40:45]written 0, free lines is 3231 [10:40:45]MH_Cut [10:40:45]Write to MH i2c: D1 01 00 A5 3C 01 B3 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: D1 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: D1 01 00 [10:40:45]MH_I2C_Read... [10:40:45]Read from MH i2c: D1 01 00 A5 3C 00 B2 [10:40:45]Write to MH i2c: 01 00 00 A6 3C E2 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:46]OFD Sender: No OFD packet to send [10:40:47]*** Cut start [10:40:47]*** Partial cut [10:40:47]*** CUTSNS_PIN = 1 [10:40:47]*** CUTSNS_PIN = 0 [10:40:47]*** Brake cut motor [10:40:47]Read from MH i2c: 01 [10:40:47]MH_I2C_Read... [10:40:47]*** Stop cut motor [10:40:47]*** Cut end [10:40:47]Read from MH i2c: 01 07 00 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: 01 07 00 A6 3C 00 00 00 00 00 FF 0F F7 [10:40:47]process_action close_receipt done [10:40:47]requested_data is exist [10:40:47]produce_requested_data [10:40:47]requested_item fm.sn is exist - process it [10:40:47]wFMCommunicate request_size=4 [10:40:47]MH_SAM_APDU [10:40:47]CAPDU: 80 11 00 00 [10:40:47]Write to MH i2c: E2 08 00 A7 3C 80 11 00 00 00 00 00 00 5D [10:40:47]Write i2c OK [10:40:47]MH_I2C_Read... [10:40:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:47]Read from MH i2c: E2 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: E2 17 00 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: E2 17 00 A7 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B5 [10:40:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:40:47]wFMCommunicate OK [10:40:47]requested_item fd.num is exist - process it [10:40:47]SAM_PROTO_GetFieldsCounters [10:40:47]wFMCommunicate request_size=4 [10:40:47]MH_SAM_APDU [10:40:47]CAPDU: 80 13 00 00 [10:40:47]Write to MH i2c: E2 08 00 A8 3C 80 13 00 00 00 00 00 00 60 [10:40:47]Write i2c OK [10:40:47]MH_I2C_Read... [10:40:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:40:47]Read from MH i2c: E2 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: E2 62 00 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: E2 62 00 A8 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 4D [10:40:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:40:47]wFMCommunicate OK [10:40:47]SAM_PROTO_GetFieldsCounters done [10:40:47]requested_item shift.num is exist - process it [10:40:47]requested_item shift.opened is exist - process it [10:40:47]req_shift_opened [10:40:47]FM_GetShiftState [10:40:47]SAM_PROTO_GetShiftState [10:40:47]wFMCommunicate request_size=4 [10:40:47]MH_SAM_APDU [10:40:47]CAPDU: 80 13 01 00 [10:40:47]Write to MH i2c: E2 08 00 A9 3C 80 13 01 00 00 00 00 00 62 [10:40:47]Write i2c OK [10:40:47]MH_I2C_Read... [10:40:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:47]Read from MH i2c: E2 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: E2 0E 00 [10:40:47]MH_I2C_Read... [10:40:47]Read from MH i2c: E2 0E 00 A9 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 EF [10:40:47]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:40:47]wFMCommunicate OK [10:40:47]SAM_PROTO_GetShiftState done [10:40:47]FM_GetShiftState done [10:40:47]req_shift_opened done [10:40:47]requested_item shift.open_date is exist - process it [10:40:47]req_shift_open_date [10:40:47]req_shift_open_date done [10:40:47]produce_requested_data done [10:40:47]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26818,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:40:47]process_action_free close_receipt [10:40:47]json_value_free [10:40:47]json_value_free done [10:40:47]process_json_proto returns [10:40:47]Send response to host [10:40:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26818,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:40:47]free response buf [10:40:47]execute_script done [10:40:47]execute_script returns [10:40:47]free content buf [10:40:47]Sock 8.Close socket [10:40:47]Sock 8.Thread stoped [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:00]accept exits with 9 [10:45:00]New connection [10:45:00]New thread 3067014500 created [10:45:00]Thread 3066871140 joined [10:45:00]Waiting for new connection... [10:45:00] Sock 9.Parse request [10:45:00]Sock 9.Check first char [10:45:00]Sock 9.First char is OK [10:45:00]request: POST /json_proto HTTP/1.0 [10:45:00]Method: POST [10:45:00]URL: /json_proto [10:45:00]Method is POST - this is cgi request [10:45:00]url: /json_proto [10:45:00]query_string will be loaded in cgi processing [10:45:00]execute_cgi json_proto POST (null) [10:45:00]execute_cgi path=json_proto method=POST [10:45:00]POST find Content-Length [10:45:00]Host: 172.17.35.3:8080 [10:45:00]Content-Length: 803 [10:45:00]Content-Type: application/json [10:45:00] [10:45:00]POST finish read [10:45:00]Found Content-Length = 803 [10:45:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359562", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "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" : 2000.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:45:00]execute_script... [10:45: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 : (1)359562", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "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" : 2000.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:45:00]POST & json_proto [10:45:00]process_json_proto [10:45:00]json parsed OK: [10:45:00]protocol is kg_v1.0 [10:45:00]action value=close_receipt [10:45:00]process_action close_receipt [10:45:00]cmd_close_receipt [10:45:00]MH_GetDate [10:45:00]Write to MH i2c: F0 00 00 AA 3C D5 [10:45:00]Write i2c OK [10:45:00]MH_I2C_Read... [10:45:00]Read from MH i2c: F0 [10:45:00]MH_I2C_Read... [10:45:00]Read from MH i2c: F0 09 00 [10:45:00]MH_I2C_Read... [10:45:00]Read from MH i2c: F0 09 00 AA 3C 00 BB CA 13 66 2B 11 66 64 E2 [10:45:00]GetLastDocTimeStamp 1712572857 [10:45:00]current date 1712573115 [10:45:00]FM_GetShiftState [10:45:00]SAM_PROTO_GetShiftState [10:45:00]wFMCommunicate request_size=4 [10:45:00]MH_SAM_APDU [10:45:00]CAPDU: 80 13 01 00 [10:45:00]Write to MH i2c: E2 08 00 AB 3C 80 13 01 00 00 00 00 00 64 [10:45:00]Write i2c OK [10:45:00]MH_I2C_Read... [10:45:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:45:00]Read from MH i2c: E2 [10:45:00]MH_I2C_Read... [10:45:00]Read from MH i2c: E2 0E 00 [10:45:00]MH_I2C_Read... [10:45:00]Read from MH i2c: E2 0E 00 AB 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 F1 [10:45:00]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:45:00]wFMCommunicate OK [10:45:00]SAM_PROTO_GetShiftState done [10:45:00]FM_GetShiftState done [10:45:00]opened in 1712536270 [10:45:00]opened+sec_in_day 1712622670 [10:45:00]quantity*price = 200027 [10:45:00]sum+1 = 200028 [10:45:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.27 ÐСП 1% : 17.70 ÐДС 12% : 212.42 Ðаличными: 0.00 Безнал.: 2000.27 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 32 08.04.2024 10:45 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26819 ФПД: 129304046958236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T104515&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26819&fm=129304046958236&tin=02508201610067®Number=0000000000091578&sum=200027 [10:45:02]StoreToDocumentArchive [10:45:02]shift 314 fd 26819 [10:45:02]save to /storage/0314/doc_00026819 [10:45:02]save last doc name /storage/0314/doc_00026819 to /storage/kkm_last_doc_name [10:45:02]save OK [10:45:02]Clear old archive folders... [10:45:02]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:45:02]tlvbuf is 00E9E8C0 [10:45:02]SAM_PROTO_ClearQueue [10:45:02]wFMCommunicate request_size=4 [10:45:02]MH_SAM_APDU [10:45:02]CAPDU: 80 09 00 00 [10:45:02]Write to MH i2c: E2 08 00 B8 3C 80 09 00 00 00 00 00 00 66 [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:45:02]Read from MH i2c: E2 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 B8 3C 00 90 00 68 [10:45:02]RAPDU: 90 00 [10:45:02]wFMCommunicate OK [10:45:02]SAM_PROTO_ClearQueue done [10:45:02]KKMCreateOFDPacket [10:45:02]OFDProtocolAddRootSTLVToBuf [10:45:02]FM_MakeSignedData [10:45:02]FM_MakeSignedData [10:45:02]SAM_PROTO_SignData [10:45:02]wFMCommunicate request_size=4 [10:45:02]MH_SAM_APDU [10:45:02]CAPDU: 80 0D 01 02 [10:45:02]Write to MH i2c: E2 08 00 B9 3C 80 0D 01 02 00 00 00 00 6E [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:45:02]Read from MH i2c: E2 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 B9 3C 00 90 00 69 [10:45:02]RAPDU: 90 00 [10:45:02]wFMCommunicate OK [10:45:02]wFMCommunicate request_size=255 [10:45:02]MH_SAM_APDU [10:45:02]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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 BB CA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C3 68 00 00 35 04 06 00 75 [10:45:02]Write to MH i2c: E2 02 01 BA 3C 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 BB CA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C3 68 00 00 35 04 06 00 75 00 00 8D [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:45:02]Read from MH i2c: E2 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 BA 3C 00 90 00 6A [10:45:02]RAPDU: 90 00 [10:45:02]wFMCommunicate OK [10:45:02]wFMCommunicate request_size=10 [10:45:02]MH_SAM_APDU [10:45:02]CAPDU: 80 0D 02 02 05 99 F1 C9 76 9C [10:45:02]Write to MH i2c: E2 0D 00 BB 3C 80 0D 02 02 05 00 99 F1 C9 76 9C 00 00 E0 [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:45:02]Read from MH i2c: E2 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 03 00 BB 3C 00 90 00 6B [10:45:02]RAPDU: 90 00 [10:45:02]wFMCommunicate OK [10:45:02]wFMCommunicate request_size=4 [10:45:02]MH_SAM_APDU [10:45:02]CAPDU: 80 0D 03 02 [10:45:02]Write to MH i2c: E2 08 00 BC 3C 80 0D 03 02 00 00 00 00 73 [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:45:02]Read from MH i2c: E2 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 0B 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 0B 00 BC 3C 00 43 FD 84 F2 1B 73 3B 83 90 00 76 [10:45:02]RAPDU: 43 FD 84 F2 1B 73 3B 83 90 00 [10:45:02]wFMCommunicate OK [10:45:02]SAM_PROTO_SignData done [10:45:02]FM_MakeSignedData done [10:45:02]CreateOFDProtocolMessage [10:45:02]wFMCommunicate request_size=4 [10:45:02]MH_SAM_APDU [10:45:02]CAPDU: 80 11 00 00 [10:45:02]Write to MH i2c: E2 08 00 BD 3C 80 11 00 00 00 00 00 00 73 [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:45:02]Read from MH i2c: E2 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 17 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: E2 17 00 BD 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CB [10:45:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:45:02]wFMCommunicate OK [10:45:02]CreateOFDProtocolMessage done [10:45:02]OFDSenderStorePacket 26819 [10:45:02]StoreOFDPacket docnum=26819 [10:45:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E9 2A 07 01 91 4C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 BB CA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C3 68 00 00 35 04 06 00 75 99 F1 C9 76 9C 43 FD 84 F2 1B 73 3B 83 [10:45:02]CheckFolder [10:45:02]dirname=/storage/ofd_packets [10:45:02]CheckFolder done [10:45:02]ProducePacketName [10:45:02]name=ofd_packets/00026819 [10:45:02]NVStorageSaveData ofd_packets/00026819 [10:45:02]File name is /storage/ofd_packets/00026819 [10:45:02]Write 301 bytes [10:45:02]NVStorageSaveData done [10:45:02]OFDSenderStorePacket done [10:45:02]KKMCreateOFDPacket done [10:45:02]NVStorageSaveData kkm_last_timestamp [10:45:02]File name is /storage/kkm_last_timestamp [10:45:02]Write 4 bytes [10:45:02]NVStorageSaveData done [10:45:02]ExternCall_PrintAddStr [10:45:02]wPrintStart [10:45:02]Write to MH i2c: 01 00 00 BE 3C FA [10:45:02]Write i2c OK [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: 01 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: 01 07 00 [10:45:02]MH_I2C_Read... [10:45:02]Read from MH i2c: 01 07 00 BE 3C 00 00 00 00 00 FF 0F 0F [10:45:02]RasterBufferAndPrint [10:45:02]line Счет N : (1)359562 [10:45:02]line ИÐÐ: 02508201610067 [10:45:02]line Контрольно-КаÑÑовый Чек [10:45:02]line ПРОДÐЖР[10:45:02]line ТРК (МРК, ГÐК) : 61 [10:45:02]line Товар: 2710124130 [10:45:02]line Ðи-92-К-5 [10:45:02]line 31.550 * 63.40 [10:45:02]line = 2000.27 [10:45:02]line ÐДС 12% ÐСП 1% [10:45:02]line > о реализуемом товаре [10:45:02]line ИТОГО: 2000.27 [10:45:02]line ÐСП 1% : 17.70 [10:45:02]line ÐДС 12% : 212.42 [10:45:02]line Ðаличными: 0.00 [10:45:02]line Безнал.: 2000.27 [10:45:02]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [10:45:02]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [10:45:02]line СÐО: Общий режим [10:45:02]line Чек 32 08.04.2024 10:45 [10:45:02]line Смена: 314 ФФД: 1.0 [10:45:02]line ЗÐМ: 0300000147 [10:45:02]line РÐМ: 0000000000091578 [10:45:02]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [10:45:02]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [10:45:02]line ФМ: 0000000000874657 [10:45:02]line ФД: 26819 [10:45:02]line ФПД: 129304046958236 [10:45:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T104515&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26819&fm=129304046958236&tin=02508201610067®Number=0000000000091578&sum=200027 [10:45:02]OFD Sender: Processing packet 26819 [packets to send 44, broken 43] [10:45:02]ProducePacketName [10:45:02]name=ofd_packets/00026819 [10:45:02]OFD Sender: To server: ‡•öpG, [10:45:02]CommunicateWithHost lk.salyk.kg:30040 [10:45:02]ConnectInit lk.salyk.kg [10:45:02]written 0, free lines is 4095 [10:45:03]Connected sock=10 [10:45:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E9 2A 07 01 91 4C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 BB CA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C3 68 00 00 35 04 06 00 75 99 F1 C9 76 9C 43 FD 84 F2 1B 73 3B 83 [10:45:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 12 17 47 00 9A 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C3 68 00 00 F4 03 04 00 25 72 13 66 B6 04 01 00 00 BA 21 24 55 49 04 6F 5F [10:45:03]CommunicateWithHost err = 0 [10:45:03]CheckOFDResponse [10:45:03]1017 (14) - 77093643461234 [10:45:03]1041 (16) - 0000000000874657 [10:45:03]1040 (4) - 26819 [10:45:03]1012 (4) - 08.04.2024 04:27 [10:45:03]1206 (1) - 0 [10:45:03]OFD Sender: Remove packet 26819 [10:45:03]ProducePacketName [10:45:03]name=ofd_packets/00026819 [10:45:03]NVStorageDeleteData [10:45:03]Write to MH i2c: 01 00 00 E8 3C 24 [10:45:03]Write i2c OK [10:45:03]MH_I2C_Read... [10:45:03]Read from MH i2c: 01 [10:45:03]MH_I2C_Read... [10:45:03]Read from MH i2c: 01 07 00 [10:45:03]MH_I2C_Read... [10:45:03]Read from MH i2c: 01 07 00 E8 3C 00 00 00 00 00 99 0C D0 [10:45:03]RasterBufferAndPrint [10:45:03]line [10:45:03]line [10:45:03]line [10:45:03]line [10:45:03]line [10:45:03]written 0, free lines is 3229 [10:45:03]MH_Cut [10:45:03]Write to MH i2c: D1 01 00 EF 3C 01 FD [10:45:03]Write i2c OK [10:45:03]MH_I2C_Read... [10:45:03]Read from MH i2c: D1 [10:45:03]MH_I2C_Read... [10:45:03]Read from MH i2c: D1 01 00 [10:45:03]MH_I2C_Read... [10:45:03]Read from MH i2c: D1 01 00 EF 3C 00 FC [10:45:03]Write to MH i2c: 01 00 00 F0 3C 2C [10:45:03]Write i2c OK [10:45:03]MH_I2C_Read... [10:45:03]OFD Sender: No OFD packet to send [10:45:04]*** Cut start [10:45:04]*** Partial cut [10:45:04]*** CUTSNS_PIN = 1 [10:45:04]*** CUTSNS_PIN = 0 [10:45:04]*** Brake cut motor [10:45:05]Read from MH i2c: 01 [10:45:05]MH_I2C_Read... [10:45:05]*** Stop cut motor [10:45:05]*** Cut end [10:45:05]Read from MH i2c: 01 07 00 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: 01 07 00 F0 3C 00 00 00 00 00 FF 0F 41 [10:45:05]process_action close_receipt done [10:45:05]requested_data is exist [10:45:05]produce_requested_data [10:45:05]requested_item fm.sn is exist - process it [10:45:05]wFMCommunicate request_size=4 [10:45:05]MH_SAM_APDU [10:45:05]CAPDU: 80 11 00 00 [10:45:05]Write to MH i2c: E2 08 00 F1 3C 80 11 00 00 00 00 00 00 A7 [10:45:05]Write i2c OK [10:45:05]MH_I2C_Read... [10:45:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:45:05]Read from MH i2c: E2 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: E2 17 00 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: E2 17 00 F1 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FF [10:45:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [10:45:05]wFMCommunicate OK [10:45:05]requested_item fd.num is exist - process it [10:45:05]SAM_PROTO_GetFieldsCounters [10:45:05]wFMCommunicate request_size=4 [10:45:05]MH_SAM_APDU [10:45:05]CAPDU: 80 13 00 00 [10:45:05]Write to MH i2c: E2 08 00 F2 3C 80 13 00 00 00 00 00 00 AA [10:45:05]Write i2c OK [10:45:05]MH_I2C_Read... [10:45:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:45:05]Read from MH i2c: E2 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: E2 62 00 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: E2 62 00 F2 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [10:45:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:45:05]wFMCommunicate OK [10:45:05]SAM_PROTO_GetFieldsCounters done [10:45:05]requested_item shift.num is exist - process it [10:45:05]requested_item shift.opened is exist - process it [10:45:05]req_shift_opened [10:45:05]FM_GetShiftState [10:45:05]SAM_PROTO_GetShiftState [10:45:05]wFMCommunicate request_size=4 [10:45:05]MH_SAM_APDU [10:45:05]CAPDU: 80 13 01 00 [10:45:05]Write to MH i2c: E2 08 00 F3 3C 80 13 01 00 00 00 00 00 AC [10:45:05]Write i2c OK [10:45:05]MH_I2C_Read... [10:45:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:45:05]Read from MH i2c: E2 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: E2 0E 00 [10:45:05]MH_I2C_Read... [10:45:05]Read from MH i2c: E2 0E 00 F3 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 39 [10:45:05]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [10:45:05]wFMCommunicate OK [10:45:05]SAM_PROTO_GetShiftState done [10:45:05]FM_GetShiftState done [10:45:05]req_shift_opened done [10:45:05]requested_item shift.open_date is exist - process it [10:45:05]req_shift_open_date [10:45:05]req_shift_open_date done [10:45:05]produce_requested_data done [10:45:05]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26819,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [10:45:05]process_action_free close_receipt [10:45:05]json_value_free [10:45:05]json_value_free done [10:45:05]process_json_proto returns [10:45:05]Send response to host [10:45:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26819,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [10:45:05]free response buf [10:45:05]execute_script done [10:45:05]execute_script returns [10:45:05]free content buf [10:45:05]Sock 9.Close socket [10:45:05]Sock 9.Thread stoped [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:53]OFD Sender: No OFD packet to send [10:45:58]OFD Sender: No OFD packet to send [10:46:03]OFD Sender: No OFD packet to send [10:46:08]OFD Sender: No OFD packet to send [10:46:13]OFD Sender: No OFD packet to send [10:46:18]OFD Sender: No OFD packet to send [10:46:23]OFD Sender: No OFD packet to send [10:46:28]OFD Sender: No OFD packet to send [10:46:33]OFD Sender: No OFD packet to send [10:46:38]OFD Sender: No OFD packet to send [10:46:43]OFD Sender: No OFD packet to send [10:46:48]OFD Sender: No OFD packet to send [10:46:53]OFD Sender: No OFD packet to send [10:46:58]OFD Sender: No OFD packet to send [10:47:03]OFD Sender: No OFD packet to send [10:47:08]OFD Sender: No OFD packet to send [10:47:13]OFD Sender: No OFD packet to send [10:47:18]OFD Sender: No OFD packet to send [10:47:23]OFD Sender: No OFD packet to send [10:47:28]OFD Sender: No OFD packet to send [10:47:33]OFD Sender: No OFD packet to send [10:47:38]OFD Sender: No OFD packet to send [10:47:43]OFD Sender: No OFD packet to send [10:47:48]OFD Sender: No OFD packet to send [10:47:53]OFD Sender: No OFD packet to send [10:47:58]OFD Sender: No OFD packet to send [10:48:03]OFD Sender: No OFD packet to send [10:48:08]OFD Sender: No OFD packet to send [10:48:13]OFD Sender: No OFD packet to send [10:48:18]OFD Sender: No OFD packet to send [10:48:23]OFD Sender: No OFD packet to send [10:48:28]OFD Sender: No OFD packet to send [10:48:33]OFD Sender: No OFD packet to send [10:48:38]OFD Sender: No OFD packet to send [10:48:43]OFD Sender: No OFD packet to send [10:48:48]OFD Sender: No OFD packet to send [10:48:53]OFD Sender: No OFD packet to send [10:48:58]OFD Sender: No OFD packet to send [10:49:03]OFD Sender: No OFD packet to send [10:49:08]OFD Sender: No OFD packet to send [10:49:13]OFD Sender: No OFD packet to send [10:49:18]OFD Sender: No OFD packet to send [10:49:23]OFD Sender: No OFD packet to send [10:49:28]OFD Sender: No OFD packet to send [10:49:33]OFD Sender: No OFD packet to send [10:49:38]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:35]OFD Sender: No OFD packet to send [11:08:40]OFD Sender: No OFD packet to send [11:08:45]OFD Sender: No OFD packet to send [11:08:50]OFD Sender: No OFD packet to send [11:08:55]OFD Sender: No OFD packet to send [11:09:00]OFD Sender: No OFD packet to send [11:09:05]OFD Sender: No OFD packet to send [11:09:10]OFD Sender: No OFD packet to send [11:09:15]OFD Sender: No OFD packet to send [11:09:20]OFD Sender: No OFD packet to send [11:09:25]OFD Sender: No OFD packet to send [11:09:30]OFD Sender: No OFD packet to send [11:09:35]OFD Sender: No OFD packet to send [11:09:40]OFD Sender: No OFD packet to send [11:09:45]OFD Sender: No OFD packet to send [11:09:50]OFD Sender: No OFD packet to send [11:09:55]OFD Sender: No OFD packet to send [11:10:00]OFD Sender: No OFD packet to send [11:10:05]OFD Sender: No OFD packet to send [11:10:10]OFD Sender: No OFD packet to send [11:10:15]OFD Sender: No OFD packet to send [11:10:20]OFD Sender: No OFD packet to send [11:10:25]OFD Sender: No OFD packet to send [11:10:30]OFD Sender: No OFD packet to send [11:10:35]OFD Sender: No OFD packet to send [11:10:40]OFD Sender: No OFD packet to send [11:10:45]OFD Sender: No OFD packet to send [11:10:50]OFD Sender: No OFD packet to send [11:10:55]OFD Sender: No OFD packet to send [11:11:00]OFD Sender: No OFD packet to send [11:11:05]OFD Sender: No OFD packet to send [11:11:10]OFD Sender: No OFD packet to send [11:11:15]OFD Sender: No OFD packet to send [11:11:20]OFD Sender: No OFD packet to send [11:11:25]OFD Sender: No OFD packet to send [11:11:30]OFD Sender: No OFD packet to send [11:11:35]OFD Sender: No OFD packet to send [11:11:40]OFD Sender: No OFD packet to send [11:11:45]OFD Sender: No OFD packet to send [11:11:50]OFD Sender: No OFD packet to send [11:11:55]OFD Sender: No OFD packet to send [11:12:00]OFD Sender: No OFD packet to send [11:12:05]OFD Sender: No OFD packet to send [11:12:10]OFD Sender: No OFD packet to send [11:12:15]OFD Sender: No OFD packet to send [11:12:20]OFD Sender: No OFD packet to send [11:12:25]OFD Sender: No OFD packet to send [11:12:30]OFD Sender: No OFD packet to send [11:12:35]OFD Sender: No OFD packet to send [11:12:40]OFD Sender: No OFD packet to send [11:12:45]OFD Sender: No OFD packet to send [11:12:50]OFD Sender: No OFD packet to send [11:12:55]OFD Sender: No OFD packet to send [11:13:00]OFD Sender: No OFD packet to send [11:13:05]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:43]accept exits with 8 [11:15:43]New connection [11:15:43]New thread 3066871140 created [11:15:43]Thread 3067014500 joined [11:15:43]Waiting for new connection... [11:15:43] Sock 8.Parse request [11:15:43]Sock 8.Check first char [11:15:43]Sock 8.First char is OK [11:15:43]request: POST /json_proto HTTP/1.0 [11:15:43]Method: POST [11:15:43]URL: /json_proto [11:15:43]Method is POST - this is cgi request [11:15:43]url: /json_proto [11:15:43]query_string will be loaded in cgi processing [11:15:43]execute_cgi json_proto POST (null) [11:15:43]execute_cgi path=json_proto method=POST [11:15:43]POST find Content-Length [11:15:43]Host: 172.17.35.3:8080 [11:15:43]Content-Length: 803 [11:15:43]Content-Type: application/json [11:15:43] [11:15:43]POST finish read [11:15:43]Found Content-Length = 803 [11:15:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359563", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "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" : 2000.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:43]execute_script... [11:15: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)359563", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 31.550, "sum" : 2000.27, "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" : 2000.27 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:15:43]POST & json_proto [11:15:43]process_json_proto [11:15:43]json parsed OK: [11:15:43]protocol is kg_v1.0 [11:15:43]action value=close_receipt [11:15:43]process_action close_receipt [11:15:43]cmd_close_receipt [11:15:43]MH_GetDate [11:15:43]Write to MH i2c: F0 00 00 F4 3C 1F [11:15:43]Write i2c OK [11:15:43]MH_I2C_Read... [11:15:43]Read from MH i2c: F0 [11:15:43]MH_I2C_Read... [11:15:43]Read from MH i2c: F0 09 00 [11:15:43]MH_I2C_Read... [11:15:43]Read from MH i2c: F0 09 00 F4 3C 00 ED D1 13 66 2B 11 66 64 65 [11:15:43]GetLastDocTimeStamp 1712573115 [11:15:43]current date 1712574957 [11:15:43]FM_GetShiftState [11:15:43]SAM_PROTO_GetShiftState [11:15:43]wFMCommunicate request_size=4 [11:15:43]MH_SAM_APDU [11:15:43]CAPDU: 80 13 01 00 [11:15:43]Write to MH i2c: E2 08 00 F5 3C 80 13 01 00 00 00 00 00 AE [11:15:43]Write i2c OK [11:15:43]MH_I2C_Read... [11:15:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:43]Read from MH i2c: E2 [11:15:43]MH_I2C_Read... [11:15:43]Read from MH i2c: E2 0E 00 [11:15:43]MH_I2C_Read... [11:15:43]Read from MH i2c: E2 0E 00 F5 3C 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 3B [11:15:43]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [11:15:43]wFMCommunicate OK [11:15:43]SAM_PROTO_GetShiftState done [11:15:43]FM_GetShiftState done [11:15:43]opened in 1712536270 [11:15:43]opened+sec_in_day 1712622670 [11:15:43]quantity*price = 200027 [11:15:43]sum+1 = 200028 [11:15:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2000.27 ÐСП 1% : 17.70 ÐДС 12% : 212.42 Ðаличными: 0.00 Безнал.: 2000.27 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 33 08.04.2024 11:15 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26820 ФПД: 211129995011337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T111558&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26820&fm=211129995011337&tin=02508201610067®Number=0000000000091578&sum=200027 [11:15:44]StoreToDocumentArchive [11:15:44]shift 314 fd 26820 [11:15:44]save to /storage/0314/doc_00026820 [11:15:44]save last doc name /storage/0314/doc_00026820 to /storage/kkm_last_doc_name [11:15:44]save OK [11:15:44]Clear old archive folders... [11:15:44]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:15:44]tlvbuf is 00F757F0 [11:15:44]SAM_PROTO_ClearQueue [11:15:44]wFMCommunicate request_size=4 [11:15:44]MH_SAM_APDU [11:15:44]CAPDU: 80 09 00 00 [11:15:44]Write to MH i2c: E2 08 00 02 3D 80 09 00 00 00 00 00 00 B1 [11:15:44]Write i2c OK [11:15:44]MH_I2C_Read... [11:15:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:15:44]Read from MH i2c: E2 [11:15:44]MH_I2C_Read... [11:15:44]Read from MH i2c: E2 03 00 [11:15:44]MH_I2C_Read... [11:15:44]Read from MH i2c: E2 03 00 02 3D 00 90 00 B3 [11:15:44]RAPDU: 90 00 [11:15:44]wFMCommunicate OK [11:15:44]SAM_PROTO_ClearQueue done [11:15:44]KKMCreateOFDPacket [11:15:44]OFDProtocolAddRootSTLVToBuf [11:15:44]FM_MakeSignedData [11:15:44]FM_MakeSignedData [11:15:44]SAM_PROTO_SignData [11:15:44]wFMCommunicate request_size=4 [11:15:44]MH_SAM_APDU [11:15:44]CAPDU: 80 0D 01 02 [11:15:44]Write to MH i2c: E2 08 00 03 3D 80 0D 01 02 00 00 00 00 B9 [11:15:44]Write i2c OK [11:15:44]MH_I2C_Read... [11:15:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:15:44]Read from MH i2c: E2 [11:15:44]MH_I2C_Read... [11:15:44]Read from MH i2c: E2 03 00 [11:15:44]MH_I2C_Read... [11:15:44]Read from MH i2c: E2 03 00 03 3D 00 90 00 B4 [11:15:44]RAPDU: 90 00 [11:15:44]wFMCommunicate OK [11:15:44]wFMCommunicate request_size=255 [11:15:44]MH_SAM_APDU [11:15:44]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 EE D1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C4 68 00 00 35 04 06 00 C0 [11:15:44]Write to MH i2c: E2 02 01 04 3D 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 EE D1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C4 68 00 00 35 04 06 00 C0 00 00 5F [11:15:44]Write i2c OK [11:15:44]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 [11:15:45]MH_I2C_Read... [11:15:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:15:45]Read from MH i2c: E2 03 00 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 03 00 04 3D 00 90 00 B5 [11:15:45]RAPDU: 90 00 [11:15:45]wFMCommunicate OK [11:15:45]wFMCommunicate request_size=10 [11:15:45]MH_SAM_APDU [11:15:45]CAPDU: 80 0D 02 02 05 05 88 5A A5 09 [11:15:45]Write to MH i2c: E2 0D 00 05 3D 80 0D 02 02 05 00 05 88 5A A5 09 00 00 5B [11:15:45]Write i2c OK [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 [11:15:45]MH_I2C_Read... [11:15:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:15:45]Read from MH i2c: E2 03 00 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 03 00 05 3D 00 90 00 B6 [11:15:45]RAPDU: 90 00 [11:15:45]wFMCommunicate OK [11:15:45]wFMCommunicate request_size=4 [11:15:45]MH_SAM_APDU [11:15:45]CAPDU: 80 0D 03 02 [11:15:45]Write to MH i2c: E2 08 00 06 3D 80 0D 03 02 00 00 00 00 BE [11:15:45]Write i2c OK [11:15:45]MH_I2C_Read... [11:15:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:15:45]Read from MH i2c: E2 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 0B 00 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 0B 00 06 3D 00 F4 CF D6 92 4E 71 1E 08 90 00 CF [11:15:45]RAPDU: F4 CF D6 92 4E 71 1E 08 90 00 [11:15:45]wFMCommunicate OK [11:15:45]SAM_PROTO_SignData done [11:15:45]FM_MakeSignedData done [11:15:45]CreateOFDProtocolMessage [11:15:45]wFMCommunicate request_size=4 [11:15:45]MH_SAM_APDU [11:15:45]CAPDU: 80 11 00 00 [11:15:45]Write to MH i2c: E2 08 00 07 3D 80 11 00 00 00 00 00 00 BE [11:15:45]Write i2c OK [11:15:45]MH_I2C_Read... [11:15:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:15:45]Read from MH i2c: E2 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 17 00 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: E2 17 00 07 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 16 [11:15:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:15:45]wFMCommunicate OK [11:15:45]CreateOFDProtocolMessage done [11:15:45]OFDSenderStorePacket 26820 [11:15:45]StoreOFDPacket docnum=26820 [11:15:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B7 C5 07 01 15 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 EE D1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C4 68 00 00 35 04 06 00 C0 05 88 5A A5 09 F4 CF D6 92 4E 71 1E 08 [11:15:45]CheckFolder [11:15:45]dirname=/storage/ofd_packets [11:15:45]CheckFolder done [11:15:45]ProducePacketName [11:15:45]name=ofd_packets/00026820 [11:15:45]NVStorageSaveData ofd_packets/00026820 [11:15:45]File name is /storage/ofd_packets/00026820 [11:15:45]Write 301 bytes [11:15:45]NVStorageSaveData done [11:15:45]OFDSenderStorePacket done [11:15:45]KKMCreateOFDPacket done [11:15:45]NVStorageSaveData kkm_last_timestamp [11:15:45]File name is /storage/kkm_last_timestamp [11:15:45]Write 4 bytes [11:15:45]NVStorageSaveData done [11:15:45]ExternCall_PrintAddStr [11:15:45]wPrintStart [11:15:45]Write to MH i2c: 01 00 00 08 3D 45 [11:15:45]Write i2c OK [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: 01 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: 01 07 00 [11:15:45]MH_I2C_Read... [11:15:45]Read from MH i2c: 01 07 00 08 3D 00 00 00 00 00 FF 0F 5A [11:15:45]RasterBufferAndPrint [11:15:45]line Счет N : (1)359563 [11:15:45]line ИÐÐ: 02508201610067 [11:15:45]line Контрольно-КаÑÑовый Чек [11:15:45]line ПРОДÐЖР[11:15:45]line ТРК (МРК, ГÐК) : 61 [11:15:45]line Товар: 2710124130 [11:15:45]line Ðи-92-К-5 [11:15:45]line 31.550 * 63.40 [11:15:45]line = 2000.27 [11:15:45]line ÐДС 12% ÐСП 1% [11:15:45]line > о реализуемом товаре [11:15:45]line ИТОГО: 2000.27 [11:15:45]line ÐСП 1% : 17.70 [11:15:45]line ÐДС 12% : 212.42 [11:15:45]line Ðаличными: 0.00 [11:15:45]line Безнал.: 2000.27 [11:15:45]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [11:15:45]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:15:45]line СÐО: Общий режим [11:15:45]line Чек 33 08.04.2024 11:15 [11:15:45]line Смена: 314 ФФД: 1.0 [11:15:45]line ЗÐМ: 0300000147 [11:15:45]line РÐМ: 0000000000091578 [11:15:45]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:15:45]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [11:15:45]line ФМ: 0000000000874657 [11:15:45]line ФД: 26820 [11:15:45]line ФПД: 211129995011337 [11:15:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T111558&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26820&fm=211129995011337&tin=02508201610067®Number=0000000000091578&sum=200027 [11:15:45]OFD Sender: Processing packet 26820 [packets to send 44, broken 43] [11:15:45]ProducePacketName [11:15:45]name=ofd_packets/00026820 [11:15:45]OFD Sender: To server: ‡•öpG, [11:15:45]CommunicateWithHost lk.salyk.kg:30040 [11:15:45]ConnectInit lk.salyk.kg [11:15:45]written 0, free lines is 4095 [11:15:45]Connected sock=10 [11:15:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B7 C5 07 01 15 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 3E 7B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 5B 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5B 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5B 0D 03 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 EE D1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C4 68 00 00 35 04 06 00 C0 05 88 5A A5 09 F4 CF D6 92 4E 71 1E 08 [11:15:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8B DE 47 00 C8 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 38 37 34 36 35 37 10 04 04 00 C4 68 00 00 F4 03 04 00 58 79 13 66 B6 04 01 00 00 6A FA C8 91 F9 98 74 32 [11:15:45]CommunicateWithHost err = 0 [11:15:45]CheckOFDResponse [11:15:45]1017 (14) - 77093643461234 [11:15:45]1041 (16) - 0000000000874657 [11:15:45]1040 (4) - 26820 [11:15:45]1012 (4) - 08.04.2024 04:58 [11:15:45]1206 (1) - 0 [11:15:45]OFD Sender: Remove packet 26820 [11:15:45]ProducePacketName [11:15:45]name=ofd_packets/00026820 [11:15:45]NVStorageDeleteData [11:15:46]Write to MH i2c: 01 00 00 32 3D 6F [11:15:46]Write i2c OK [11:15:46]MH_I2C_Read... [11:15:46]Read from MH i2c: 01 [11:15:46]MH_I2C_Read... [11:15:46]Read from MH i2c: 01 07 00 [11:15:46]MH_I2C_Read... [11:15:46]Read from MH i2c: 01 07 00 32 3D 00 00 00 00 00 9B 0C 1D [11:15:46]RasterBufferAndPrint [11:15:46]line [11:15:46]line [11:15:46]line [11:15:46]line [11:15:46]line [11:15:46]written 0, free lines is 3230 [11:15:46]MH_Cut [11:15:46]Write to MH i2c: D1 01 00 39 3D 01 48 [11:15:46]Write i2c OK [11:15:46]MH_I2C_Read... [11:15:46]Read from MH i2c: D1 [11:15:46]MH_I2C_Read... [11:15:46]Read from MH i2c: D1 01 00 [11:15:46]MH_I2C_Read... [11:15:46]Read from MH i2c: D1 01 00 39 3D 00 47 [11:15:46]Write to MH i2c: 01 00 00 3A 3D 77 [11:15:46]Write i2c OK [11:15:46]MH_I2C_Read... [11:15:46]OFD Sender: No OFD packet to send [11:15:47]*** Cut start [11:15:47]*** Partial cut [11:15:47]*** CUTSNS_PIN = 1 [11:15:47]*** CUTSNS_PIN = 0 [11:15:47]*** Brake cut motor [11:15:47]Read from MH i2c: 01 [11:15:47]MH_I2C_Read... [11:15:47]*** Stop cut motor [11:15:47]*** Cut end [11:15:47]Read from MH i2c: 01 07 00 [11:15:47]MH_I2C_Read... [11:15:47]Read from MH i2c: 01 07 00 3A 3D 00 00 00 00 00 FF 0F 8C [11:15:47]process_action close_receipt done [11:15:47]requested_data is exist [11:15:47]produce_requested_data [11:15:47]requested_item fm.sn is exist - process it [11:15:47]wFMCommunicate request_size=4 [11:15:47]MH_SAM_APDU [11:15:47]CAPDU: 80 11 00 00 [11:15:47]Write to MH i2c: E2 08 00 3B 3D 80 11 00 00 00 00 00 00 F2 [11:15:47]Write i2c OK [11:15:47]MH_I2C_Read... [11:15:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:15:47]Read from MH i2c: E2 [11:15:47]MH_I2C_Read... [11:15:47]Read from MH i2c: E2 17 00 [11:15:47]MH_I2C_Read... [11:15:47]Read from MH i2c: E2 17 00 3B 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4A [11:15:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:15:47]wFMCommunicate OK [11:15:47]requested_item fd.num is exist - process it [11:15:47]SAM_PROTO_GetFieldsCounters [11:15:47]wFMCommunicate request_size=4 [11:15:47]MH_SAM_APDU [11:15:47]CAPDU: 80 13 00 00 [11:15:47]Write to MH i2c: E2 08 00 3C 3D 80 13 00 00 00 00 00 00 F5 [11:15:47]Write i2c OK [11:15:47]MH_I2C_Read... [11:15:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:15:47]Read from MH i2c: E2 [11:15:47]MH_I2C_Read... [11:15:47]Read from MH i2c: E2 62 00 [11:15:47]MH_I2C_Read... [11:15:47]Read from MH i2c: E2 62 00 3C 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [11:15:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:15:47]wFMCommunicate OK [11:15:47]SAM_PROTO_GetFieldsCounters done [11:15:47]requested_item shift.num is exist - process it [11:15:47]requested_item shift.opened is exist - process it [11:15:47]req_shift_opened [11:15:47]FM_GetShiftState [11:15:47]SAM_PROTO_GetShiftState [11:15:47]wFMCommunicate request_size=4 [11:15:47]MH_SAM_APDU [11:15:47]CAPDU: 80 13 01 00 [11:15:47]Write to MH i2c: E2 08 00 3D 3D 80 13 01 00 00 00 00 00 F7 [11:15:47]Write i2c OK [11:15:47]MH_I2C_Read... [11:15:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:15:48]Read from MH i2c: E2 [11:15:48]MH_I2C_Read... [11:15:48]Read from MH i2c: E2 0E 00 [11:15:48]MH_I2C_Read... [11:15:48]Read from MH i2c: E2 0E 00 3D 3D 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 84 [11:15:48]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [11:15:48]wFMCommunicate OK [11:15:48]SAM_PROTO_GetShiftState done [11:15:48]FM_GetShiftState done [11:15:48]req_shift_opened done [11:15:48]requested_item shift.open_date is exist - process it [11:15:48]req_shift_open_date [11:15:48]req_shift_open_date done [11:15:48]produce_requested_data done [11:15:48]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26820,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [11:15:48]process_action_free close_receipt [11:15:48]json_value_free [11:15:48]json_value_free done [11:15:48]process_json_proto returns [11:15:48]Send response to host [11:15:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26820,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [11:15:48]free response buf [11:15:48]execute_script done [11:15:48]execute_script returns [11:15:48]free content buf [11:15:48]Sock 8.Close socket [11:15:48]Sock 8.Thread stoped [11:15:51]OFD Sender: No OFD packet to send [11:15:56]OFD Sender: No OFD packet to send [11:16:01]OFD Sender: No OFD packet to send [11:16:06]OFD Sender: No OFD packet to send [11:16:11]OFD Sender: No OFD packet to send [11:16:16]OFD Sender: No OFD packet to send [11:16:21]OFD Sender: No OFD packet to send [11:16:26]OFD Sender: No OFD packet to send [11:16:31]OFD Sender: No OFD packet to send [11:16:36]OFD Sender: No OFD packet to send [11:16:41]OFD Sender: No OFD packet to send [11:16:46]OFD Sender: No OFD packet to send [11:16:51]OFD Sender: No OFD packet to send [11:16:56]OFD Sender: No OFD packet to send [11:17:01]OFD Sender: No OFD packet to send [11:17:06]OFD Sender: No OFD packet to send [11:17:11]OFD Sender: No OFD packet to send [11:17:16]OFD Sender: No OFD packet to send [11:17:21]OFD Sender: No OFD packet to send [11:17:26]OFD Sender: No OFD packet to send [11:17:31]OFD Sender: No OFD packet to send [11:17:36]OFD Sender: No OFD packet to send [11:17:41]OFD Sender: No OFD packet to send [11:17:46]OFD Sender: No OFD packet to send [11:17:51]OFD Sender: No OFD packet to send [11:17:56]OFD Sender: No OFD packet to send [11:18:01]OFD Sender: No OFD packet to send [11:18:06]OFD Sender: No OFD packet to send [11:18:11]OFD Sender: No OFD packet to send [11:18:16]OFD Sender: No OFD packet to send [11:18:21]OFD Sender: No OFD packet to send [11:18:26]OFD Sender: No OFD packet to send [11:18:31]OFD Sender: No OFD packet to send [11:18:36]OFD Sender: No OFD packet to send [11:18:41]OFD Sender: No OFD packet to send [11:18:46]OFD Sender: No OFD packet to send [11:18:51]OFD Sender: No OFD packet to send [11:18:56]OFD Sender: No OFD packet to send [11:19:01]OFD Sender: No OFD packet to send [11:19:06]OFD Sender: No OFD packet to send [11:19:11]OFD Sender: No OFD packet to send [11:19:16]OFD Sender: No OFD packet to send [11:19:21]OFD Sender: No OFD packet to send [11:19:26]OFD Sender: No OFD packet to send [11:19:31]OFD Sender: No OFD packet to send [11:19:36]OFD Sender: No OFD packet to send [11:19:41]OFD Sender: No OFD packet to send [11:19:46]OFD Sender: No OFD packet to send [11:19:51]OFD Sender: No OFD packet to send [11:19:56]OFD Sender: No OFD packet to send [11:20:01]OFD Sender: No OFD packet to send [11:20:06]OFD Sender: No OFD packet to send [11:20:11]OFD Sender: No OFD packet to send [11:20:16]OFD Sender: No OFD packet to send [11:20:21]OFD Sender: No OFD packet to send [11:20:26]OFD Sender: No OFD packet to send [11:20:31]OFD Sender: No OFD packet to send [11:20:36]OFD Sender: No OFD packet to send [11:20:41]OFD Sender: No OFD packet to send [11:20:46]OFD Sender: No OFD packet to send [11:20:51]OFD Sender: No OFD packet to send [11:20:56]OFD Sender: No OFD packet to send [11:21:01]OFD Sender: No OFD packet to send [11:21:06]OFD Sender: No OFD packet to send [11:21:11]OFD Sender: No OFD packet to send [11:21:16]OFD Sender: No OFD packet to send [11:21:21]OFD Sender: No OFD packet to send [11:21:26]OFD Sender: No OFD packet to send [11:21:31]OFD Sender: No OFD packet to send [11:21:36]OFD Sender: No OFD packet to send [11:21:41]OFD Sender: No OFD packet to send [11:21:46]OFD Sender: No OFD packet to send [11:21:51]OFD Sender: No OFD packet to send [11:21:56]OFD Sender: No OFD packet to send [11:22:01]OFD Sender: No OFD packet to send [11:22:06]OFD Sender: No OFD packet to send [11:22:11]OFD Sender: No OFD packet to send [11:22:16]OFD Sender: No OFD packet to send [11:22:21]OFD Sender: No OFD packet to send [11:22:23]accept exits with 9 [11:22:23]New connection [11:22:23]New thread 3067014500 created [11:22:23]Thread 3066871140 joined [11:22:23]Waiting for new connection... [11:22:23] Sock 9.Parse request [11:22:23]Sock 9.Check first char [11:22:23]Sock 9.First char is OK [11:22:23]request: POST /json_proto HTTP/1.0 [11:22:23]Method: POST [11:22:23]URL: /json_proto [11:22:23]Method is POST - this is cgi request [11:22:23]url: /json_proto [11:22:23]query_string will be loaded in cgi processing [11:22:23]execute_cgi json_proto POST (null) [11:22:23]execute_cgi path=json_proto method=POST [11:22:23]POST find Content-Length [11:22:23]Host: 172.17.35.3:8080 [11:22:23]Content-Length: 682 [11:22:23]Content-Type: application/json [11:22:23] [11:22:23]POST finish read [11:22:23]Found Content-Length = 682 [11:22:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359564", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 18.930, "sum" : 1200.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:23]execute_script... [11:22: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)359564", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 18.930, "sum" : 1200.16, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1200.00, "total" : 1200.00, "payments": [ { "type": 0, "sum" : 1200.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:22:23]POST & json_proto [11:22:23]process_json_proto [11:22:23]json parsed OK: [11:22:23]protocol is kg_v1.0 [11:22:23]action value=close_receipt [11:22:23]process_action close_receipt [11:22:23]cmd_close_receipt [11:22:23]MH_GetDate [11:22:23]Write to MH i2c: F0 00 00 3E 3D 6A [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: F0 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: F0 09 00 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: F0 09 00 3E 3D 00 7D D3 13 66 2B 11 66 64 42 [11:22:23]GetLastDocTimeStamp 1712574958 [11:22:23]current date 1712575357 [11:22:23]FM_GetShiftState [11:22:23]SAM_PROTO_GetShiftState [11:22:23]wFMCommunicate request_size=4 [11:22:23]MH_SAM_APDU [11:22:23]CAPDU: 80 13 01 00 [11:22:23]Write to MH i2c: E2 08 00 3F 3D 80 13 01 00 00 00 00 00 F9 [11:22:23]Write i2c OK [11:22:23]MH_I2C_Read... [11:22:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:23]Read from MH i2c: E2 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: E2 0E 00 [11:22:23]MH_I2C_Read... [11:22:23]Read from MH i2c: E2 0E 00 3F 3D 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 86 [11:22:23]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [11:22:23]wFMCommunicate OK [11:22:23]SAM_PROTO_GetShiftState done [11:22:23]FM_GetShiftState done [11:22:23]opened in 1712536270 [11:22:23]opened+sec_in_day 1712622670 [11:22:23]quantity*price = 120016 [11:22:23]sum+1 = 120017 [11:22:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.16 ИТОГО: 1200.00 ВнеÑено: 1200.00 СДÐЧÐ: 0.00 ÐСП 1% : 10.62 ÐДС 12% : 127.45 Ðаличными: 1200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 34 08.04.2024 11:22 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26821 ФПД: 154833263114991 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T112237&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26821&fm=154833263114991&tin=02508201610067®Number=0000000000091578&sum=120000 [11:22:24]StoreToDocumentArchive [11:22:24]shift 314 fd 26821 [11:22:24]save to /storage/0314/doc_00026821 [11:22:24]save last doc name /storage/0314/doc_00026821 to /storage/kkm_last_doc_name [11:22:24]save OK [11:22:24]Clear old archive folders... [11:22:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [11:22:24]tlvbuf is 00E9EFE0 [11:22:24]SAM_PROTO_ClearQueue [11:22:24]wFMCommunicate request_size=4 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 09 00 00 [11:22:24]Write to MH i2c: E2 08 00 4C 3D 80 09 00 00 00 00 00 00 FB [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 4C 3D 00 90 00 FD [11:22:24]RAPDU: 90 00 [11:22:24]wFMCommunicate OK [11:22:24]SAM_PROTO_ClearQueue done [11:22:24]KKMCreateOFDPacket [11:22:24]OFDProtocolAddRootSTLVToBuf [11:22:24]FM_MakeSignedData [11:22:24]FM_MakeSignedData [11:22:24]SAM_PROTO_SignData [11:22:24]wFMCommunicate request_size=4 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 0D 01 02 [11:22:24]Write to MH i2c: E2 08 00 4D 3D 80 0D 01 02 00 00 00 00 03 [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 4D 3D 00 90 00 FE [11:22:24]RAPDU: 90 00 [11:22:24]wFMCommunicate OK [11:22:24]wFMCommunicate request_size=255 [11:22:24]MH_SAM_APDU [11:22: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 F2 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 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 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7D D3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C5 68 00 00 35 04 06 00 8C [11:22:24]Write to MH i2c: E2 02 01 4E 3D 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 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 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7D D3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C5 68 00 00 35 04 06 00 8C 00 00 00 [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 4E 3D 00 90 00 FF [11:22:24]RAPDU: 90 00 [11:22:24]wFMCommunicate OK [11:22:24]wFMCommunicate request_size=10 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 0D 02 02 05 D1 ED A5 BA EF [11:22:24]Write to MH i2c: E2 0D 00 4F 3D 80 0D 02 02 05 00 D1 ED A5 BA EF 00 00 1C [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 03 00 4F 3D 00 90 00 00 [11:22:24]RAPDU: 90 00 [11:22:24]wFMCommunicate OK [11:22:24]wFMCommunicate request_size=4 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 0D 03 02 [11:22:24]Write to MH i2c: E2 08 00 50 3D 80 0D 03 02 00 00 00 00 08 [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 0B 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 0B 00 50 3D 00 0A 48 32 2A B2 A9 2C F1 90 00 2F [11:22:24]RAPDU: 0A 48 32 2A B2 A9 2C F1 90 00 [11:22:24]wFMCommunicate OK [11:22:24]SAM_PROTO_SignData done [11:22:24]FM_MakeSignedData done [11:22:24]CreateOFDProtocolMessage [11:22:24]wFMCommunicate request_size=4 [11:22:24]MH_SAM_APDU [11:22:24]CAPDU: 80 11 00 00 [11:22:24]Write to MH i2c: E2 08 00 51 3D 80 11 00 00 00 00 00 00 08 [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:24]Read from MH i2c: E2 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 17 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: E2 17 00 51 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 60 [11:22:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:22:24]wFMCommunicate OK [11:22:24]CreateOFDProtocolMessage done [11:22:24]OFDSenderStorePacket 26821 [11:22:24]StoreOFDPacket docnum=26821 [11:22:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 14 00 07 01 05 9C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 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 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7D D3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C5 68 00 00 35 04 06 00 8C D1 ED A5 BA EF 0A 48 32 2A B2 A9 2C F1 [11:22:24]CheckFolder [11:22:24]dirname=/storage/ofd_packets [11:22:24]CheckFolder done [11:22:24]ProducePacketName [11:22:24]name=ofd_packets/00026821 [11:22:24]NVStorageSaveData ofd_packets/00026821 [11:22:24]File name is /storage/ofd_packets/00026821 [11:22:24]Write 301 bytes [11:22:24]NVStorageSaveData done [11:22:24]OFDSenderStorePacket done [11:22:24]KKMCreateOFDPacket done [11:22:24]NVStorageSaveData kkm_last_timestamp [11:22:24]File name is /storage/kkm_last_timestamp [11:22:24]Write 4 bytes [11:22:24]NVStorageSaveData done [11:22:24]ExternCall_PrintAddStr [11:22:24]wPrintStart [11:22:24]Write to MH i2c: 01 00 00 52 3D 8F [11:22:24]Write i2c OK [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: 01 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: 01 07 00 [11:22:24]MH_I2C_Read... [11:22:24]Read from MH i2c: 01 07 00 52 3D 00 00 00 00 00 FF 0F A4 [11:22:24]RasterBufferAndPrint [11:22:24]line Счет N : (1)359564 [11:22:24]line ИÐÐ: 02508201610067 [11:22:24]line Контрольно-КаÑÑовый Чек [11:22:24]line ПРОДÐЖР[11:22:24]line ТРК (МРК, ГÐК) : 61 [11:22:24]line Товар: 2710124130 [11:22:24]line Ðи-92-К-5 [11:22:24]line 18.930 * 63.40 [11:22:24]line = 1200.16 [11:22:24]line ÐДС 12% ÐСП 1% [11:22:24]line > о реализуемом товаре [11:22:24]line ОКРУГЛЕÐИЕ: -0.16 [11:22:24]line ИТОГО: 1200.00 [11:22:24]line ВнеÑено: 1200.00 [11:22:24]line СДÐЧÐ: 0.00 [11:22:24]line ÐСП 1% : 10.62 [11:22:24]line ÐДС 12% : 127.45 [11:22:24]line Ðаличными: 1200.00 [11:22:24]line Безнал.: 0.00 [11:22:24]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [11:22:24]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:22:24]line СÐО: Общий режим [11:22:24]line Чек 34 08.04.2024 11:22 [11:22:24]line Смена: 314 ФФД: 1.0 [11:22:24]line ЗÐМ: 0300000147 [11:22:24]line РÐМ: 0000000000091578 [11:22:24]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:22:24]line ФМ: 0000000000874657 [11:22:24]line ФД: 26821 [11:22:24]line ФПД: 154833263114991 [11:22:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T112237&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26821&fm=154833263114991&tin=02508201610067®Number=0000000000091578&sum=120000 [11:22:25]OFD Sender: Processing packet 26821 [packets to send 44, broken 43] [11:22:25]ProducePacketName [11:22:25]name=ofd_packets/00026821 [11:22:25]OFD Sender: To server: ‡•öpG, [11:22:25]CommunicateWithHost lk.salyk.kg:30040 [11:22:25]ConnectInit lk.salyk.kg [11:22:25]written 0, free lines is 4095 [11:22:25]Connected sock=10 [11:22:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 14 00 07 01 05 9C 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 F2 49 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 D0 D4 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 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 C9 31 00 00 00 00 07 04 06 00 C0 D4 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7D D3 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C5 68 00 00 35 04 06 00 8C D1 ED A5 BA EF 0A 48 32 2A B2 A9 2C F1 [11:22:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 A4 15 47 00 67 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C5 68 00 00 F4 03 04 00 E7 7A 13 66 B6 04 01 00 00 DA D5 55 BC 53 D3 4B DE [11:22:25]CommunicateWithHost err = 0 [11:22:25]CheckOFDResponse [11:22:25]1017 (14) - 77093643461234 [11:22:25]1041 (16) - 0000000000874657 [11:22:25]1040 (4) - 26821 [11:22:25]1012 (4) - 08.04.2024 05:04 [11:22:25]1206 (1) - 0 [11:22:25]OFD Sender: Remove packet 26821 [11:22:25]ProducePacketName [11:22:25]name=ofd_packets/00026821 [11:22:25]NVStorageDeleteData [11:22:25]Write to MH i2c: 01 00 00 7D 3D BA [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 07 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: 01 07 00 7D 3D 00 00 00 00 00 8C 0C 59 [11:22:25]RasterBufferAndPrint [11:22:25]line [11:22:25]line [11:22:25]line [11:22:25]line [11:22:25]line [11:22:25]written 0, free lines is 3216 [11:22:25]MH_Cut [11:22:25]Write to MH i2c: D1 01 00 84 3D 01 93 [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: D1 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: D1 01 00 [11:22:25]MH_I2C_Read... [11:22:25]Read from MH i2c: D1 01 00 84 3D 00 92 [11:22:25]Write to MH i2c: 01 00 00 85 3D C2 [11:22:25]Write i2c OK [11:22:25]MH_I2C_Read... [11:22:25]OFD Sender: No OFD packet to send [11:22:26]*** Cut start [11:22:26]*** Partial cut [11:22:26]*** CUTSNS_PIN = 1 [11:22:26]*** CUTSNS_PIN = 0 [11:22:26]*** Brake cut motor [11:22:27]Read from MH i2c: 01 [11:22:27]MH_I2C_Read... [11:22:27]*** Stop cut motor [11:22:27]*** Cut end [11:22:27]Read from MH i2c: 01 07 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: 01 07 00 85 3D 00 00 00 00 00 FF 0F D7 [11:22:27]process_action close_receipt done [11:22:27]requested_data is exist [11:22:27]produce_requested_data [11:22:27]requested_item fm.sn is exist - process it [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 11 00 00 [11:22:27]Write to MH i2c: E2 08 00 86 3D 80 11 00 00 00 00 00 00 3D [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 17 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 17 00 86 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 95 [11:22:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:22:27]wFMCommunicate OK [11:22:27]requested_item fd.num is exist - process it [11:22:27]SAM_PROTO_GetFieldsCounters [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 13 00 00 [11:22:27]Write to MH i2c: E2 08 00 87 3D 80 13 00 00 00 00 00 00 40 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 62 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 62 00 87 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [11:22:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:22:27]wFMCommunicate OK [11:22:27]SAM_PROTO_GetFieldsCounters done [11:22:27]requested_item shift.num is exist - process it [11:22:27]requested_item shift.opened is exist - process it [11:22:27]req_shift_opened [11:22:27]FM_GetShiftState [11:22:27]SAM_PROTO_GetShiftState [11:22:27]wFMCommunicate request_size=4 [11:22:27]MH_SAM_APDU [11:22:27]CAPDU: 80 13 01 00 [11:22:27]Write to MH i2c: E2 08 00 88 3D 80 13 01 00 00 00 00 00 42 [11:22:27]Write i2c OK [11:22:27]MH_I2C_Read... [11:22:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:22:27]Read from MH i2c: E2 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 0E 00 [11:22:27]MH_I2C_Read... [11:22:27]Read from MH i2c: E2 0E 00 88 3D 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 CF [11:22:27]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [11:22:27]wFMCommunicate OK [11:22:27]SAM_PROTO_GetShiftState done [11:22:27]FM_GetShiftState done [11:22:27]req_shift_opened done [11:22:27]requested_item shift.open_date is exist - process it [11:22:27]req_shift_open_date [11:22:27]req_shift_open_date done [11:22:27]produce_requested_data done [11:22:27]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26821,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [11:22:27]process_action_free close_receipt [11:22:27]json_value_free [11:22:27]json_value_free done [11:22:27]process_json_proto returns [11:22:27]Send response to host [11:22:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26821,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [11:22:27]free response buf [11:22:27]execute_script done [11:22:27]execute_script returns [11:22:27]free content buf [11:22:27]Sock 9.Close socket [11:22:27]Sock 9.Thread stoped [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:41]OFD Sender: No OFD packet to send [11:22:46]OFD Sender: No OFD packet to send [11:22:51]OFD Sender: No OFD packet to send [11:22:56]OFD Sender: No OFD packet to send [11:23:01]OFD Sender: No OFD packet to send [11:23:06]OFD Sender: No OFD packet to send [11:23:11]OFD Sender: No OFD packet to send [11:23:16]OFD Sender: No OFD packet to send [11:23:21]OFD Sender: No OFD packet to send [11:23:26]OFD Sender: No OFD packet to send [11:23:31]OFD Sender: No OFD packet to send [11:23:36]OFD Sender: No OFD packet to send [11:23:41]OFD Sender: No OFD packet to send [11:23:46]OFD Sender: No OFD packet to send [11:23:51]OFD Sender: No OFD packet to send [11:23:56]OFD Sender: No OFD packet to send [11:24:01]OFD Sender: No OFD packet to send [11:24:06]OFD Sender: No OFD packet to send [11:24:11]OFD Sender: No OFD packet to send [11:24:16]OFD Sender: No OFD packet to send [11:24:21]OFD Sender: No OFD packet to send [11:24:26]OFD Sender: No OFD packet to send [11:24:31]OFD Sender: No OFD packet to send [11:24:36]OFD Sender: No OFD packet to send [11:24:41]OFD Sender: No OFD packet to send [11:24:46]OFD Sender: No OFD packet to send [11:24:51]OFD Sender: No OFD packet to send [11:24:56]OFD Sender: No OFD packet to send [11:25:01]OFD Sender: No OFD packet to send [11:25:06]OFD Sender: No OFD packet to send [11:25:11]OFD Sender: No OFD packet to send [11:25:16]OFD Sender: No OFD packet to send [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:32]int [11:29:32]Write to MH i2c: 01 00 00 89 3D C6 [11:29:32]Write i2c OK [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 07 00 [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 07 00 89 3D 00 00 00 00 00 FF 0F DB [11:29:32]state=0 [11:29:32]int [11:29:32]Write to MH i2c: 01 00 00 8A 3D C7 [11:29:32]*** FLAG_PRN_PAP1 set [11:29:32]*** FLAG_PRN_PAP1 reset [11:29:32]*** FLAG_PRN_PAP1 set [11:29:32]Write i2c OK [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 07 00 [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 07 00 8A 3D 00 01 00 00 00 FF 0F DD [11:29:32]state=0 [11:29:32]No paper [11:29:32]int [11:29:32]Write to MH i2c: 01 00 00 8B 3D C8 [11:29:32]*** FLAG_PRN_PAP2 set [11:29:32]Write i2c OK [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 07 00 [11:29:32]MH_I2C_Read... [11:29:32]Read from MH i2c: 01 07 00 8B 3D 00 03 00 00 00 FF 0F E0 [11:29:32]state=0 [11:29:32]No paper [11:29:32]Cover opened [11:29:36]OFD Sender: No OFD packet to send [11:29:37]Write to MH i2c: 01 00 00 8C 3D C9 [11:29:37]Write i2c OK [11:29:37]MH_I2C_Read... [11:29:37]Read from MH i2c: 01 [11:29:37]MH_I2C_Read... [11:29:37]Read from MH i2c: 01 07 00 [11:29:37]MH_I2C_Read... [11:29:37]Read from MH i2c: 01 07 00 8C 3D 00 03 00 00 00 FF 0F E1 [11:29:37]state=3 [11:29:37]No paper [11:29:37]Cover opened [11:29:38]int [11:29:38]Write to MH i2c: 01 00 00 8D 3D CA [11:29:38]*** FLAG_PRN_PAP1 reset [11:29:38]Write i2c OK [11:29:38]MH_I2C_Read... [11:29:38]Read from MH i2c: 01 [11:29:38]MH_I2C_Read... [11:29:38]Read from MH i2c: 01 07 00 [11:29:38]MH_I2C_Read... [11:29:38]Read from MH i2c: 01 07 00 8D 3D 00 02 00 00 00 FF 0F E1 [11:29:38]state=3 [11:29:38]Cover opened [11:29:38]*** FLAG_PRN_PAP2 reset [11:29:41]OFD Sender: No OFD packet to send [11:29:43]Write to MH i2c: 01 00 00 8E 3D CB [11:29:43]Write i2c OK [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: 01 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: 01 07 00 [11:29:43]MH_I2C_Read... [11:29:43]Read from MH i2c: 01 07 00 8E 3D 00 00 00 00 00 FF 0F E0 [11:29:43]state=3 [11:29:43]Cover closed [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:21]OFD Sender: No OFD packet to send [11:30:26]OFD Sender: No OFD packet to send [11:30:31]OFD Sender: No OFD packet to send [11:30:36]OFD Sender: No OFD packet to send [11:30:41]OFD Sender: No OFD packet to send [11:30:46]OFD Sender: No OFD packet to send [11:30:51]OFD Sender: No OFD packet to send [11:30:56]OFD Sender: No OFD packet to send [11:31:01]OFD Sender: No OFD packet to send [11:31:06]OFD Sender: No OFD packet to send [11:31:11]OFD Sender: No OFD packet to send [11:31:16]OFD Sender: No OFD packet to send [11:31:21]OFD Sender: No OFD packet to send [11:31:26]OFD Sender: No OFD packet to send [11:31:31]OFD Sender: No OFD packet to send [11:31:36]OFD Sender: No OFD packet to send [11:31:41]OFD Sender: No OFD packet to send [11:31:46]OFD Sender: No OFD packet to send [11:31:51]OFD Sender: No OFD packet to send [11:31:56]OFD Sender: No OFD packet to send [11:32:01]OFD Sender: No OFD packet to send [11:32:06]OFD Sender: No OFD packet to send [11:32:11]OFD Sender: No OFD packet to send [11:32:16]OFD Sender: No OFD packet to send [11:32:21]OFD Sender: No OFD packet to send [11:32:26]OFD Sender: No OFD packet to send [11:32:31]OFD Sender: No OFD packet to send [11:32:36]OFD Sender: No OFD packet to send [11:32:41]OFD Sender: No OFD packet to send [11:32:46]OFD Sender: No OFD packet to send [11:32:51]OFD Sender: No OFD packet to send [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:06]OFD Sender: No OFD packet to send [11:34:11]OFD Sender: No OFD packet to send [11:34:16]OFD Sender: No OFD packet to send [11:34:21]OFD Sender: No OFD packet to send [11:34:26]OFD Sender: No OFD packet to send [11:34:31]OFD Sender: No OFD packet to send [11:34:36]OFD Sender: No OFD packet to send [11:34:41]OFD Sender: No OFD packet to send [11:34:46]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:06]OFD Sender: No OFD packet to send [11:35:11]OFD Sender: No OFD packet to send [11:35:16]OFD Sender: No OFD packet to send [11:35:21]OFD Sender: No OFD packet to send [11:35:26]OFD Sender: No OFD packet to send [11:35:31]OFD Sender: No OFD packet to send [11:35:36]OFD Sender: No OFD packet to send [11:35:41]OFD Sender: No OFD packet to send [11:35:46]OFD Sender: No OFD packet to send [11:35:51]OFD Sender: No OFD packet to send [11:35:56]OFD Sender: No OFD packet to send [11:36:01]OFD Sender: No OFD packet to send [11:36:06]OFD Sender: No OFD packet to send [11:36:11]OFD Sender: No OFD packet to send [11:36:16]OFD Sender: No OFD packet to send [11:36:21]OFD Sender: No OFD packet to send [11:36:26]OFD Sender: No OFD packet to send [11:36:31]OFD Sender: No OFD packet to send [11:36:36]OFD Sender: No OFD packet to send [11:36:41]OFD Sender: No OFD packet to send [11:36:46]OFD Sender: No OFD packet to send [11:36:51]OFD Sender: No OFD packet to send [11:36:56]OFD Sender: No OFD packet to send [11:37:01]OFD Sender: No OFD packet to send [11:37:06]OFD Sender: No OFD packet to send [11:37:11]OFD Sender: No OFD packet to send [11:37:16]OFD Sender: No OFD packet to send [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:17]int [11:45:17]Write to MH i2c: 01 00 00 8F 3D CC [11:45:17]*** FLAG_PRN_KEY set [11:45:17]Write i2c OK [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 07 00 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 07 00 8F 3D 00 08 00 00 00 FF 0F E9 [11:45:17]state=0 [11:45:17]Key pressed [11:45:17]Feed [11:45:17]Write to MH i2c: D8 00 00 90 3D A4 [11:45:17]Write i2c OK [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: D8 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: D8 01 00 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: D8 01 00 90 3D 00 A5 [11:45:17]int [11:45:17]Write to MH i2c: 01 00 00 91 3D CE [11:45:17]Write i2c OK [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 07 00 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 07 00 91 3D 00 48 00 00 00 3C 00 59 [11:45:17]state=2 [11:45:17]Key pressed [11:45:17]int [11:45:17]Write to MH i2c: 01 00 00 92 3D CF [11:45:17]*** FLAG_PRN_KEY reset [11:45:17]Write i2c OK [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 07 00 [11:45:17]MH_I2C_Read... [11:45:17]Read from MH i2c: 01 07 00 92 3D 00 00 00 00 00 F5 0F DA [11:45:17]state=2 [11:45:17]Stop feed [11:45:20]int [11:45:20]Write to MH i2c: 01 00 00 93 3D D0 [11:45:20]*** FLAG_PRN_KEY set [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 93 3D 00 08 00 00 00 FF 0F ED [11:45:20]state=0 [11:45:20]Key pressed [11:45:20]Feed [11:45:20]Write to MH i2c: D8 00 00 94 3D A8 [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: D8 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: D8 01 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: D8 01 00 94 3D 00 A9 [11:45:20]int [11:45:20]Write to MH i2c: 01 00 00 95 3D D2 [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 95 3D 00 48 00 00 00 3C 00 5D [11:45:20]state=2 [11:45:20]Key pressed [11:45:20]int [11:45:20]Write to MH i2c: 01 00 00 96 3D D3 [11:45:20]*** FLAG_PRN_KEY reset [11:45:20]Write i2c OK [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 [11:45:20]MH_I2C_Read... [11:45:20]Read from MH i2c: 01 07 00 96 3D 00 00 00 00 00 F6 0F DF [11:45:20]state=2 [11:45:20]Stop feed [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:07]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:14]accept exits with 8 [11:49:14]New connection [11:49:14]New thread 3066871140 created [11:49:14]Thread 3067014500 joined [11:49:14]Waiting for new connection... [11:49:14] Sock 8.Parse request [11:49:14]Sock 8.Check first char [11:49:14]Sock 8.First char is OK [11:49:14]request: POST /json_proto HTTP/1.0 [11:49:14]Method: POST [11:49:14]URL: /json_proto [11:49:14]Method is POST - this is cgi request [11:49:14]url: /json_proto [11:49:14]query_string will be loaded in cgi processing [11:49:14]execute_cgi json_proto POST (null) [11:49:14]execute_cgi path=json_proto method=POST [11:49:14]POST find Content-Length [11:49:14]Host: 172.17.35.3:8080 [11:49:14]Content-Length: 687 [11:49:14]Content-Type: application/json [11:49:14] [11:49:14]POST finish read [11:49:14]Found Content-Length = 687 [11:49:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359565", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:14]execute_script... [11:49: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)359565", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:49:14]POST & json_proto [11:49:14]process_json_proto [11:49:14]json parsed OK: [11:49:14]protocol is kg_v1.0 [11:49:14]action value=close_receipt [11:49:14]process_action close_receipt [11:49:14]cmd_close_receipt [11:49:14]MH_GetDate [11:49:14]Write to MH i2c: F0 00 00 97 3D C3 [11:49:14]Write i2c OK [11:49:14]MH_I2C_Read... [11:49:14]Read from MH i2c: F0 [11:49:14]MH_I2C_Read... [11:49:14]Read from MH i2c: F0 09 00 [11:49:14]MH_I2C_Read... [11:49:14]Read from MH i2c: F0 09 00 97 3D 00 C8 D9 13 66 2B 11 66 64 EC [11:49:14]GetLastDocTimeStamp 1712575357 [11:49:14]current date 1712576968 [11:49:14]FM_GetShiftState [11:49:14]SAM_PROTO_GetShiftState [11:49:14]wFMCommunicate request_size=4 [11:49:14]MH_SAM_APDU [11:49:14]CAPDU: 80 13 01 00 [11:49:14]Write to MH i2c: E2 08 00 98 3D 80 13 01 00 00 00 00 00 52 [11:49:14]Write i2c OK [11:49:14]MH_I2C_Read... [11:49:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:14]Read from MH i2c: E2 [11:49:14]MH_I2C_Read... [11:49:14]Read from MH i2c: E2 0E 00 [11:49:14]MH_I2C_Read... [11:49:14]Read from MH i2c: E2 0E 00 98 3D 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 DF [11:49:14]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [11:49:14]wFMCommunicate OK [11:49:14]SAM_PROTO_GetShiftState done [11:49:14]FM_GetShiftState done [11:49:14]opened in 1712536270 [11:49:14]opened+sec_in_day 1712622670 [11:49:14]quantity*price = 100017 [11:49:14]sum+1 = 100018 [11:49:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 35 08.04.2024 11:49 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26822 ФПД: 180982225188814 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T114929&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26822&fm=180982225188814&tin=02508201610067®Number=0000000000091578&sum=100000 [11:49:15]StoreToDocumentArchive [11:49:15]shift 314 fd 26822 [11:49:15]save to /storage/0314/doc_00026822 [11:49:15]save last doc name /storage/0314/doc_00026822 to /storage/kkm_last_doc_name [11:49:15]save OK [11:49:15]Clear old archive folders... [11:49:15]ProcessDocumentItem done err = 0, tmpTLVsize=252 [11:49:15]tlvbuf is 00E3BDF0 [11:49:15]SAM_PROTO_ClearQueue [11:49:15]wFMCommunicate request_size=4 [11:49:15]MH_SAM_APDU [11:49:15]CAPDU: 80 09 00 00 [11:49:15]Write to MH i2c: E2 08 00 A5 3D 80 09 00 00 00 00 00 00 54 [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:49:15]Read from MH i2c: E2 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 03 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 03 00 A5 3D 00 90 00 56 [11:49:15]RAPDU: 90 00 [11:49:15]wFMCommunicate OK [11:49:15]SAM_PROTO_ClearQueue done [11:49:15]KKMCreateOFDPacket [11:49:15]OFDProtocolAddRootSTLVToBuf [11:49:15]FM_MakeSignedData [11:49:15]FM_MakeSignedData [11:49:15]SAM_PROTO_SignData [11:49:15]wFMCommunicate request_size=4 [11:49:15]MH_SAM_APDU [11:49:15]CAPDU: 80 0D 01 02 [11:49:15]Write to MH i2c: E2 08 00 A6 3D 80 0D 01 02 00 00 00 00 5C [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:49:15]Read from MH i2c: E2 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 03 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 03 00 A6 3D 00 90 00 57 [11:49:15]RAPDU: 90 00 [11:49:15]wFMCommunicate OK [11:49:15]wFMCommunicate request_size=255 [11:49:15]MH_SAM_APDU [11:49:15]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C9 D9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C6 68 00 00 35 04 06 00 [11:49:15]Write to MH i2c: E2 02 01 A7 3D 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C9 D9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C6 68 00 00 35 04 06 00 00 00 BE [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:15]Read from MH i2c: E2 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 03 00 [11:49:15]MH_I2C_Read... [11:49:15]Read from MH i2c: E2 03 00 A7 3D 00 90 00 58 [11:49:15]RAPDU: 90 00 [11:49:15]wFMCommunicate OK [11:49:15]wFMCommunicate request_size=11 [11:49:15]MH_SAM_APDU [11:49:15]CAPDU: 80 0D 02 02 06 A4 9A 35 3E 37 CE [11:49:15]Write to MH i2c: E2 0E 00 A8 3D 80 0D 02 02 06 00 A4 9A 35 3E 37 CE 00 00 21 [11:49:15]Write i2c OK [11:49:15]MH_I2C_Read... [11:49:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:49:16]Read from MH i2c: E2 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: E2 03 00 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: E2 03 00 A8 3D 00 90 00 59 [11:49:16]RAPDU: 90 00 [11:49:16]wFMCommunicate OK [11:49:16]wFMCommunicate request_size=4 [11:49:16]MH_SAM_APDU [11:49:16]CAPDU: 80 0D 03 02 [11:49:16]Write to MH i2c: E2 08 00 A9 3D 80 0D 03 02 00 00 00 00 61 [11:49:16]Write i2c OK [11:49:16]MH_I2C_Read... [11:49:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:49:16]Read from MH i2c: E2 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: E2 0B 00 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: E2 0B 00 A9 3D 00 3F C1 E8 AF 8D F3 AC 0F 90 00 34 [11:49:16]RAPDU: 3F C1 E8 AF 8D F3 AC 0F 90 00 [11:49:16]wFMCommunicate OK [11:49:16]SAM_PROTO_SignData done [11:49:16]FM_MakeSignedData done [11:49:16]CreateOFDProtocolMessage [11:49:16]wFMCommunicate request_size=4 [11:49:16]MH_SAM_APDU [11:49:16]CAPDU: 80 11 00 00 [11:49:16]Write to MH i2c: E2 08 00 AA 3D 80 11 00 00 00 00 00 00 61 [11:49:16]Write i2c OK [11:49:16]MH_I2C_Read... [11:49:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:16]Read from MH i2c: E2 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: E2 17 00 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: E2 17 00 AA 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B9 [11:49:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:49:16]wFMCommunicate OK [11:49:16]CreateOFDProtocolMessage done [11:49:16]OFDSenderStorePacket 26822 [11:49:16]StoreOFDPacket docnum=26822 [11:49:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A7 F3 08 01 F7 1E 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C9 D9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C6 68 00 00 35 04 06 00 A4 9A 35 3E 37 CE 3F C1 E8 AF 8D F3 AC 0F [11:49:16]CheckFolder [11:49:16]dirname=/storage/ofd_packets [11:49:16]CheckFolder done [11:49:16]ProducePacketName [11:49:16]name=ofd_packets/00026822 [11:49:16]NVStorageSaveData ofd_packets/00026822 [11:49:16]File name is /storage/ofd_packets/00026822 [11:49:16]Write 302 bytes [11:49:16]NVStorageSaveData done [11:49:16]OFDSenderStorePacket done [11:49:16]KKMCreateOFDPacket done [11:49:16]NVStorageSaveData kkm_last_timestamp [11:49:16]File name is /storage/kkm_last_timestamp [11:49:16]Write 4 bytes [11:49:16]NVStorageSaveData done [11:49:16]ExternCall_PrintAddStr [11:49:16]wPrintStart [11:49:16]Write to MH i2c: 01 00 00 AB 3D E8 [11:49:16]OFD Sender: Processing packet 26822 [packets to send 44, broken 43] [11:49:16]ProducePacketName [11:49:16]name=ofd_packets/00026822 [11:49:16]OFD Sender: To server: ‡•öpG, [11:49:16]CommunicateWithHost lk.salyk.kg:30040 [11:49:16]ConnectInit lk.salyk.kg [11:49:16]Write i2c OK [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: 01 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: 01 07 00 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: 01 07 00 AB 3D 00 00 00 00 00 FF 0F FD [11:49:16]RasterBufferAndPrint [11:49:16]line Счет N : (1)359565 [11:49:16]line ИÐÐ: 02508201610067 [11:49:16]line Контрольно-КаÑÑовый Чек [11:49:16]line ПРОДÐЖР[11:49:16]line ТРК (МРК, ГÐК) : 21 [11:49:16]line Товар: 2710194210 [11:49:16]line ДТ(л)-К-5 [11:49:16]line 13.930 * 71.80 [11:49:16]line = 1000.17 [11:49:16]line ÐДС 12% ÐСП 1% [11:49:16]line > о реализуемом товаре [11:49:16]line ОКРУГЛЕÐИЕ: -0.17 [11:49:16]line ИТОГО: 1000.00 [11:49:16]line ВнеÑено: 1000.00 [11:49:16]line СДÐЧÐ: 0.00 [11:49:16]line ÐСП 1% : 8.85 [11:49:16]line ÐДС 12% : 106.21 [11:49:16]line Ðаличными: 1000.00 [11:49:16]line Безнал.: 0.00 [11:49:16]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [11:49:16]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [11:49:16]line СÐО: Общий режим [11:49:16]line Чек 35 08.04.2024 11:49 [11:49:16]line Смена: 314 ФФД: 1.0 [11:49:16]line ЗÐМ: 0300000147 [11:49:16]line РÐМ: 0000000000091578 [11:49:16]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [11:49:16]line ФМ: 0000000000874657 [11:49:16]line ФД: 26822 [11:49:16]line ФПД: 180982225188814 [11:49:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T114929&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26822&fm=180982225188814&tin=02508201610067®Number=0000000000091578&sum=100000 [11:49:16]Connected sock=10 [11:49:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 A7 F3 08 01 F7 1E 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 C9 D9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C6 68 00 00 35 04 06 00 A4 9A 35 3E 37 CE 3F C1 E8 AF 8D F3 AC 0F [11:49:16]written 0, free lines is 4095 [11:49:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 52 1A 47 00 C6 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C6 68 00 00 F4 03 04 00 33 81 13 66 B6 04 01 00 00 1D 1D BB FE C2 69 E9 C0 [11:49:16]CommunicateWithHost err = 0 [11:49:16]CheckOFDResponse [11:49:16]1017 (14) - 77093643461234 [11:49:16]1041 (16) - 0000000000874657 [11:49:16]1040 (4) - 26822 [11:49:16]1012 (4) - 08.04.2024 05:31 [11:49:16]1206 (1) - 0 [11:49:16]OFD Sender: Remove packet 26822 [11:49:16]ProducePacketName [11:49:16]name=ofd_packets/00026822 [11:49:16]NVStorageDeleteData [11:49:16]Write to MH i2c: 01 00 00 D6 3D 13 [11:49:16]Write i2c OK [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: 01 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: 01 07 00 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: 01 07 00 D6 3D 00 00 00 00 00 84 0C AA [11:49:16]RasterBufferAndPrint [11:49:16]line [11:49:16]line [11:49:16]line [11:49:16]line [11:49:16]line [11:49:16]written 0, free lines is 3207 [11:49:16]MH_Cut [11:49:16]Write to MH i2c: D1 01 00 DD 3D 01 EC [11:49:16]Write i2c OK [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: D1 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: D1 01 00 [11:49:16]MH_I2C_Read... [11:49:16]Read from MH i2c: D1 01 00 DD 3D 00 EB [11:49:16]Write to MH i2c: 01 00 00 DE 3D 1B [11:49:16]Write i2c OK [11:49:16]MH_I2C_Read... [11:49:17]OFD Sender: No OFD packet to send [11:49:17]*** Cut start [11:49:17]*** Partial cut [11:49:17]*** CUTSNS_PIN = 1 [11:49:18]*** CUTSNS_PIN = 0 [11:49:18]*** Brake cut motor [11:49:18]Read from MH i2c: 01 [11:49:18]MH_I2C_Read... [11:49:18]*** Stop cut motor [11:49:18]*** Cut end [11:49:18]Read from MH i2c: 01 07 00 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: 01 07 00 DE 3D 00 00 00 00 00 FF 0F 30 [11:49:18]process_action close_receipt done [11:49:18]requested_data is exist [11:49:18]produce_requested_data [11:49:18]requested_item fm.sn is exist - process it [11:49:18]wFMCommunicate request_size=4 [11:49:18]MH_SAM_APDU [11:49:18]CAPDU: 80 11 00 00 [11:49:18]Write to MH i2c: E2 08 00 DF 3D 80 11 00 00 00 00 00 00 96 [11:49:18]Write i2c OK [11:49:18]MH_I2C_Read... [11:49:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:49:18]Read from MH i2c: E2 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 17 00 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 17 00 DF 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EE [11:49:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [11:49:18]wFMCommunicate OK [11:49:18]requested_item fd.num is exist - process it [11:49:18]SAM_PROTO_GetFieldsCounters [11:49:18]wFMCommunicate request_size=4 [11:49:18]MH_SAM_APDU [11:49:18]CAPDU: 80 13 00 00 [11:49:18]Write to MH i2c: E2 08 00 E0 3D 80 13 00 00 00 00 00 00 99 [11:49:18]Write i2c OK [11:49:18]MH_I2C_Read... [11:49:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:49:18]Read from MH i2c: E2 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 62 00 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 62 00 E0 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [11:49:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:49:18]wFMCommunicate OK [11:49:18]SAM_PROTO_GetFieldsCounters done [11:49:18]requested_item shift.num is exist - process it [11:49:18]requested_item shift.opened is exist - process it [11:49:18]req_shift_opened [11:49:18]FM_GetShiftState [11:49:18]SAM_PROTO_GetShiftState [11:49:18]wFMCommunicate request_size=4 [11:49:18]MH_SAM_APDU [11:49:18]CAPDU: 80 13 01 00 [11:49:18]Write to MH i2c: E2 08 00 E1 3D 80 13 01 00 00 00 00 00 9B [11:49:18]Write i2c OK [11:49:18]MH_I2C_Read... [11:49:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:49:18]Read from MH i2c: E2 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 0E 00 [11:49:18]MH_I2C_Read... [11:49:18]Read from MH i2c: E2 0E 00 E1 3D 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 28 [11:49:18]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [11:49:18]wFMCommunicate OK [11:49:18]SAM_PROTO_GetShiftState done [11:49:18]FM_GetShiftState done [11:49:18]req_shift_opened done [11:49:18]requested_item shift.open_date is exist - process it [11:49:18]req_shift_open_date [11:49:18]req_shift_open_date done [11:49:18]produce_requested_data done [11:49:18]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26822,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [11:49:18]process_action_free close_receipt [11:49:18]json_value_free [11:49:18]json_value_free done [11:49:18]process_json_proto returns [11:49:18]Send response to host [11:49:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26822,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [11:49:18]free response buf [11:49:18]execute_script done [11:49:18]execute_script returns [11:49:18]free content buf [11:49:18]Sock 8.Close socket [11:49:18]Sock 8.Thread stoped [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:32]OFD Sender: No OFD packet to send [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:42]OFD Sender: No OFD packet to send [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:27]OFD Sender: No OFD packet to send [12:01:32]OFD Sender: No OFD packet to send [12:01:37]OFD Sender: No OFD packet to send [12:01:42]OFD Sender: No OFD packet to send [12:01:47]OFD Sender: No OFD packet to send [12:01:52]OFD Sender: No OFD packet to send [12:01:57]OFD Sender: No OFD packet to send [12:02:02]OFD Sender: No OFD packet to send [12:02:07]OFD Sender: No OFD packet to send [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:38]OFD Sender: No OFD packet to send [12:04:43]OFD Sender: No OFD packet to send [12:04:48]OFD Sender: No OFD packet to send [12:04:49]accept exits with 9 [12:04:49]New connection [12:04:49]New thread 3067014500 created [12:04:49]Thread 3066871140 joined [12:04:49]Waiting for new connection... [12:04:49] Sock 9.Parse request [12:04:49]Sock 9.Check first char [12:04:49]Sock 9.First char is OK [12:04:49]request: POST /json_proto HTTP/1.0 [12:04:49]Method: POST [12:04:49]URL: /json_proto [12:04:49]Method is POST - this is cgi request [12:04:49]url: /json_proto [12:04:49]query_string will be loaded in cgi processing [12:04:49]execute_cgi json_proto POST (null) [12:04:49]execute_cgi path=json_proto method=POST [12:04:49]POST find Content-Length [12:04:49]Host: 172.17.35.3:8080 [12:04:49]Content-Length: 682 [12:04:49]Content-Type: application/json [12:04:49] [12:04:49]POST finish read [12:04:49]Found Content-Length = 682 [12:04:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359566", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [12:04:49]execute_script... [12:04: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 : (1)359566", "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" : 71.80, "quantity" : 6.970, "sum" : 500.45, "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" ] } } [12:04:49]POST & json_proto [12:04:49]process_json_proto [12:04:49]json parsed OK: [12:04:49]protocol is kg_v1.0 [12:04:49]action value=close_receipt [12:04:49]process_action close_receipt [12:04:49]cmd_close_receipt [12:04:49]MH_GetDate [12:04:49]Write to MH i2c: F0 00 00 E2 3D 0E [12:04:49]Write i2c OK [12:04:49]MH_I2C_Read... [12:04:49]Read from MH i2c: F0 [12:04:49]MH_I2C_Read... [12:04:49]Read from MH i2c: F0 09 00 [12:04:49]MH_I2C_Read... [12:04:49]Read from MH i2c: F0 09 00 E2 3D 00 70 DD 13 66 2B 11 66 64 E3 [12:04:49]GetLastDocTimeStamp 1712576969 [12:04:49]current date 1712577904 [12:04:49]FM_GetShiftState [12:04:49]SAM_PROTO_GetShiftState [12:04:49]wFMCommunicate request_size=4 [12:04:49]MH_SAM_APDU [12:04:49]CAPDU: 80 13 01 00 [12:04:49]Write to MH i2c: E2 08 00 E3 3D 80 13 01 00 00 00 00 00 9D [12:04:49]Write i2c OK [12:04:49]MH_I2C_Read... [12:04:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:04:49]Read from MH i2c: E2 [12:04:49]MH_I2C_Read... [12:04:49]Read from MH i2c: E2 0E 00 [12:04:49]MH_I2C_Read... [12:04:49]Read from MH i2c: E2 0E 00 E3 3D 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 2A [12:04:49]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:04:49]wFMCommunicate OK [12:04:49]SAM_PROTO_GetShiftState done [12:04:49]FM_GetShiftState done [12:04:49]opened in 1712536270 [12:04:49]opened+sec_in_day 1712622670 [12:04:49]quantity*price = 50044 [12:04:49]sum+1 = 50046 [12:04:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.14 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 36 08.04.2024 12:05 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26823 ФПД: 276841373574103 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T120504&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26823&fm=276841373574103&tin=02508201610067®Number=0000000000091578&sum=50000 [12:04:50]StoreToDocumentArchive [12:04:50]shift 314 fd 26823 [12:04:50]save to /storage/0314/doc_00026823 [12:04:50]save last doc name /storage/0314/doc_00026823 to /storage/kkm_last_doc_name [12:04:50]save OK [12:04:50]Clear old archive folders... [12:04:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:04:50]tlvbuf is 00EEB970 [12:04:50]SAM_PROTO_ClearQueue [12:04:50]wFMCommunicate request_size=4 [12:04:50]MH_SAM_APDU [12:04:50]CAPDU: 80 09 00 00 [12:04:50]Write to MH i2c: E2 08 00 F0 3D 80 09 00 00 00 00 00 00 9F [12:04:50]Write i2c OK [12:04:50]MH_I2C_Read... [12:04:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:04:50]Read from MH i2c: E2 [12:04:50]MH_I2C_Read... [12:04:50]Read from MH i2c: E2 03 00 [12:04:50]MH_I2C_Read... [12:04:50]Read from MH i2c: E2 03 00 F0 3D 00 90 00 A1 [12:04:50]RAPDU: 90 00 [12:04:50]wFMCommunicate OK [12:04:50]SAM_PROTO_ClearQueue done [12:04:50]KKMCreateOFDPacket [12:04:50]OFDProtocolAddRootSTLVToBuf [12:04:50]FM_MakeSignedData [12:04:50]FM_MakeSignedData [12:04:50]SAM_PROTO_SignData [12:04:50]wFMCommunicate request_size=4 [12:04:50]MH_SAM_APDU [12:04:50]CAPDU: 80 0D 01 02 [12:04:50]Write to MH i2c: E2 08 00 F1 3D 80 0D 01 02 00 00 00 00 A7 [12:04:50]Write i2c OK [12:04:50]MH_I2C_Read... [12:04:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:04:50]Read from MH i2c: E2 [12:04:50]MH_I2C_Read... [12:04:50]Read from MH i2c: E2 03 00 [12:04:50]MH_I2C_Read... [12:04:50]Read from MH i2c: E2 03 00 F1 3D 00 90 00 A2 [12:04:50]RAPDU: 90 00 [12:04:50]wFMCommunicate OK [12:04:50]wFMCommunicate request_size=255 [12:04:50]MH_SAM_APDU [12:04:50]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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 24 00 00 00 F4 03 04 00 70 DD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C7 68 00 00 35 04 06 00 [12:04:50]Write to MH i2c: E2 02 01 F2 3D 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 24 00 00 00 F4 03 04 00 70 DD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C7 68 00 00 35 04 06 00 00 00 BF [12:04:50]Write i2c OK [12:04:50]MH_I2C_Read... [12:04:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:04:51]Read from MH i2c: E2 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 03 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 03 00 F2 3D 00 90 00 A3 [12:04:51]RAPDU: 90 00 [12:04:51]wFMCommunicate OK [12:04:51]wFMCommunicate request_size=11 [12:04:51]MH_SAM_APDU [12:04:51]CAPDU: 80 0D 02 02 06 FB C9 27 BB 23 D7 [12:04:51]Write to MH i2c: E2 0E 00 F3 3D 80 0D 02 02 06 00 FB C9 27 BB 23 D7 00 00 56 [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:04:51]Read from MH i2c: E2 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 03 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 03 00 F3 3D 00 90 00 A4 [12:04:51]RAPDU: 90 00 [12:04:51]wFMCommunicate OK [12:04:51]wFMCommunicate request_size=4 [12:04:51]MH_SAM_APDU [12:04:51]CAPDU: 80 0D 03 02 [12:04:51]Write to MH i2c: E2 08 00 F4 3D 80 0D 03 02 00 00 00 00 AC [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:04:51]Read from MH i2c: E2 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 0B 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 0B 00 F4 3D 00 04 75 B6 56 FA C5 21 4E 90 00 60 [12:04:51]RAPDU: 04 75 B6 56 FA C5 21 4E 90 00 [12:04:51]wFMCommunicate OK [12:04:51]SAM_PROTO_SignData done [12:04:51]FM_MakeSignedData done [12:04:51]CreateOFDProtocolMessage [12:04:51]wFMCommunicate request_size=4 [12:04:51]MH_SAM_APDU [12:04:51]CAPDU: 80 11 00 00 [12:04:51]Write to MH i2c: E2 08 00 F5 3D 80 11 00 00 00 00 00 00 AC [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:04:51]Read from MH i2c: E2 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 17 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: E2 17 00 F5 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 04 [12:04:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:04:51]wFMCommunicate OK [12:04:51]CreateOFDProtocolMessage done [12:04:51]OFDSenderStorePacket 26823 [12:04:51]StoreOFDPacket docnum=26823 [12:04:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 4B 0B 08 01 E0 78 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 24 00 00 00 F4 03 04 00 70 DD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C7 68 00 00 35 04 06 00 FB C9 27 BB 23 D7 04 75 B6 56 FA C5 21 4E [12:04:51]CheckFolder [12:04:51]dirname=/storage/ofd_packets [12:04:51]CheckFolder done [12:04:51]ProducePacketName [12:04:51]name=ofd_packets/00026823 [12:04:51]NVStorageSaveData ofd_packets/00026823 [12:04:51]File name is /storage/ofd_packets/00026823 [12:04:51]Write 302 bytes [12:04:51]NVStorageSaveData done [12:04:51]OFDSenderStorePacket done [12:04:51]KKMCreateOFDPacket done [12:04:51]NVStorageSaveData kkm_last_timestamp [12:04:51]File name is /storage/kkm_last_timestamp [12:04:51]Write 4 bytes [12:04:51]NVStorageSaveData done [12:04:51]ExternCall_PrintAddStr [12:04:51]wPrintStart [12:04:51]Write to MH i2c: 01 00 00 F6 3D 33 [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: 01 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: 01 07 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: 01 07 00 F6 3D 00 00 00 00 00 FF 0F 48 [12:04:51]RasterBufferAndPrint [12:04:51]line Счет N : (1)359566 [12:04:51]line ИÐÐ: 02508201610067 [12:04:51]line Контрольно-КаÑÑовый Чек [12:04:51]line ПРОДÐЖР[12:04:51]line ТРК (МРК, ГÐК) : 21 [12:04:51]line Товар: 2710194210 [12:04:51]line ДТ(л)-К-5 [12:04:51]line 6.970 * 71.80 [12:04:51]line = 500.45 [12:04:51]line ÐДС 12% ÐСП 1% [12:04:51]line > о реализуемом товаре [12:04:51]line ОКРУГЛЕÐИЕ: -0.45 [12:04:51]line ИТОГО: 500.00 [12:04:51]line ВнеÑено: 500.00 [12:04:51]line СДÐЧÐ: 0.00 [12:04:51]line ÐСП 1% : 4.43 [12:04:51]line ÐДС 12% : 53.14 [12:04:51]line Ðаличными: 500.00 [12:04:51]line Безнал.: 0.00 [12:04:51]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [12:04:51]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:04:51]line СÐО: Общий режим [12:04:51]line Чек 36 08.04.2024 12:05 [12:04:51]line Смена: 314 ФФД: 1.0 [12:04:51]line ЗÐМ: 0300000147 [12:04:51]line РÐМ: 0000000000091578 [12:04:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:04:51]line ФМ: 0000000000874657 [12:04:51]line ФД: 26823 [12:04:51]line ФПД: 276841373574103 [12:04:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T120504&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26823&fm=276841373574103&tin=02508201610067®Number=0000000000091578&sum=50000 [12:04:51]OFD Sender: Processing packet 26823 [packets to send 44, broken 43] [12:04:51]ProducePacketName [12:04:51]name=ofd_packets/00026823 [12:04:51]OFD Sender: To server: ‡•öpG, [12:04:51]CommunicateWithHost lk.salyk.kg:30040 [12:04:51]ConnectInit lk.salyk.kg [12:04:51]written 0, free lines is 4095 [12:04:51]Connected sock=10 [12:04:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 4B 0B 08 01 E0 78 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 3A 1B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 7D 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 24 00 00 00 F4 03 04 00 70 DD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C7 68 00 00 35 04 06 00 FB C9 27 BB 23 D7 04 75 B6 56 FA C5 21 4E [12:04:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 25 15 47 00 48 A0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C7 68 00 00 F4 03 04 00 DA 84 13 66 B6 04 01 00 00 D7 27 E0 E1 47 FD 33 87 [12:04:51]CommunicateWithHost err = 0 [12:04:51]CheckOFDResponse [12:04:51]1017 (14) - 77093643461234 [12:04:51]1041 (16) - 0000000000874657 [12:04:51]1040 (4) - 26823 [12:04:51]1012 (4) - 08.04.2024 05:47 [12:04:51]1206 (1) - 0 [12:04:51]OFD Sender: Remove packet 26823 [12:04:51]ProducePacketName [12:04:51]name=ofd_packets/00026823 [12:04:51]NVStorageDeleteData [12:04:51]Write to MH i2c: 01 00 00 21 3E 5F [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: 01 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: 01 07 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: 01 07 00 21 3E 00 00 00 00 00 7A 0C EC [12:04:51]RasterBufferAndPrint [12:04:51]line [12:04:51]line [12:04:51]line [12:04:51]line [12:04:51]line [12:04:51]written 0, free lines is 3197 [12:04:51]MH_Cut [12:04:51]Write to MH i2c: D1 01 00 28 3E 01 38 [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: D1 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: D1 01 00 [12:04:51]MH_I2C_Read... [12:04:51]Read from MH i2c: D1 01 00 28 3E 00 37 [12:04:51]Write to MH i2c: 01 00 00 29 3E 67 [12:04:51]Write i2c OK [12:04:51]MH_I2C_Read... [12:04:52]OFD Sender: No OFD packet to send [12:04:53]*** Cut start [12:04:53]*** Partial cut [12:04:53]*** CUTSNS_PIN = 1 [12:04:53]*** CUTSNS_PIN = 0 [12:04:53]*** Brake cut motor [12:04:53]Read from MH i2c: 01 [12:04:53]*** Stop cut motor [12:04:53]*** Cut end [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: 01 07 00 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: 01 07 00 29 3E 00 00 00 00 00 FF 0F 7C [12:04:53]process_action close_receipt done [12:04:53]requested_data is exist [12:04:53]produce_requested_data [12:04:53]requested_item fm.sn is exist - process it [12:04:53]wFMCommunicate request_size=4 [12:04:53]MH_SAM_APDU [12:04:53]CAPDU: 80 11 00 00 [12:04:53]Write to MH i2c: E2 08 00 2A 3E 80 11 00 00 00 00 00 00 E2 [12:04:53]Write i2c OK [12:04:53]MH_I2C_Read... [12:04:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:04:53]Read from MH i2c: E2 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: E2 17 00 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: E2 17 00 2A 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 3A [12:04:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:04:53]wFMCommunicate OK [12:04:53]requested_item fd.num is exist - process it [12:04:53]SAM_PROTO_GetFieldsCounters [12:04:53]wFMCommunicate request_size=4 [12:04:53]MH_SAM_APDU [12:04:53]CAPDU: 80 13 00 00 [12:04:53]Write to MH i2c: E2 08 00 2B 3E 80 13 00 00 00 00 00 00 E5 [12:04:53]Write i2c OK [12:04:53]MH_I2C_Read... [12:04:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:04:53]Read from MH i2c: E2 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: E2 62 00 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: E2 62 00 2B 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [12:04:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:04:53]wFMCommunicate OK [12:04:53]SAM_PROTO_GetFieldsCounters done [12:04:53]requested_item shift.num is exist - process it [12:04:53]requested_item shift.opened is exist - process it [12:04:53]req_shift_opened [12:04:53]FM_GetShiftState [12:04:53]SAM_PROTO_GetShiftState [12:04:53]wFMCommunicate request_size=4 [12:04:53]MH_SAM_APDU [12:04:53]CAPDU: 80 13 01 00 [12:04:53]Write to MH i2c: E2 08 00 2C 3E 80 13 01 00 00 00 00 00 E7 [12:04:53]Write i2c OK [12:04:53]MH_I2C_Read... [12:04:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:04:53]Read from MH i2c: E2 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: E2 0E 00 [12:04:53]MH_I2C_Read... [12:04:53]Read from MH i2c: E2 0E 00 2C 3E 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 74 [12:04:53]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:04:53]wFMCommunicate OK [12:04:53]SAM_PROTO_GetShiftState done [12:04:53]FM_GetShiftState done [12:04:53]req_shift_opened done [12:04:53]requested_item shift.open_date is exist - process it [12:04:53]req_shift_open_date [12:04:53]req_shift_open_date done [12:04:53]produce_requested_data done [12:04:53]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26823,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [12:04:53]process_action_free close_receipt [12:04:53]json_value_free [12:04:53]json_value_free done [12:04:53]process_json_proto returns [12:04:53]Send response to host [12:04:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26823,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [12:04:53]free response buf [12:04:53]execute_script done [12:04:53]execute_script returns [12:04:53]free content buf [12:04:53]Sock 9.Close socket [12:04:53]Sock 9.Thread stoped [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:06:02]OFD Sender: No OFD packet to send [12:06:07]OFD Sender: No OFD packet to send [12:06:12]OFD Sender: No OFD packet to send [12:06:17]OFD Sender: No OFD packet to send [12:06:22]OFD Sender: No OFD packet to send [12:06:27]OFD Sender: No OFD packet to send [12:06:32]OFD Sender: No OFD packet to send [12:06:37]OFD Sender: No OFD packet to send [12:06:42]OFD Sender: No OFD packet to send [12:06:47]OFD Sender: No OFD packet to send [12:06:52]OFD Sender: No OFD packet to send [12:06:57]OFD Sender: No OFD packet to send [12:07:02]OFD Sender: No OFD packet to send [12:07:07]OFD Sender: No OFD packet to send [12:07:12]OFD Sender: No OFD packet to send [12:07:17]OFD Sender: No OFD packet to send [12:07:22]OFD Sender: No OFD packet to send [12:07:27]OFD Sender: No OFD packet to send [12:07:32]OFD Sender: No OFD packet to send [12:07:37]OFD Sender: No OFD packet to send [12:07:42]OFD Sender: No OFD packet to send [12:07:47]OFD Sender: No OFD packet to send [12:07:52]OFD Sender: No OFD packet to send [12:07:57]OFD Sender: No OFD packet to send [12:08:02]OFD Sender: No OFD packet to send [12:08:07]OFD Sender: No OFD packet to send [12:08:12]OFD Sender: No OFD packet to send [12:08:17]OFD Sender: No OFD packet to send [12:08:22]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:17]OFD Sender: No OFD packet to send [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:28]accept exits with 8 [12:12:28]New connection [12:12:28]New thread 3066871140 created [12:12:28]Thread 3067014500 joined [12:12:28]Waiting for new connection... [12:12:28] Sock 8.Parse request [12:12:28]Sock 8.Check first char [12:12:28]Sock 8.First char is OK [12:12:28]request: POST /json_proto HTTP/1.0 [12:12:28]Method: POST [12:12:28]URL: /json_proto [12:12:28]Method is POST - this is cgi request [12:12:28]url: /json_proto [12:12:28]query_string will be loaded in cgi processing [12:12:28]execute_cgi json_proto POST (null) [12:12:28]execute_cgi path=json_proto method=POST [12:12:28]POST find Content-Length [12:12:28]Host: 172.17.35.3:8080 [12:12:28]Content-Length: 677 [12:12:28]Content-Type: application/json [12:12:28] [12:12:28]POST finish read [12:12:28]Found Content-Length = 677 [12:12:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359567", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [12:12:28]execute_script... [12:12:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359567", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [12:12:28]POST & json_proto [12:12:28]process_json_proto [12:12:28]json parsed OK: [12:12:28]protocol is kg_v1.0 [12:12:28]action value=close_receipt [12:12:28]process_action close_receipt [12:12:28]cmd_close_receipt [12:12:28]MH_GetDate [12:12:28]Write to MH i2c: F0 00 00 2D 3E 5A [12:12:28]Write i2c OK [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: F0 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: F0 09 00 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: F0 09 00 2D 3E 00 3A DF 13 66 2B 11 66 64 FB [12:12:28]GetLastDocTimeStamp 1712577904 [12:12:28]current date 1712578362 [12:12:28]FM_GetShiftState [12:12:28]SAM_PROTO_GetShiftState [12:12:28]wFMCommunicate request_size=4 [12:12:28]MH_SAM_APDU [12:12:28]CAPDU: 80 13 01 00 [12:12:28]Write to MH i2c: E2 08 00 2E 3E 80 13 01 00 00 00 00 00 E9 [12:12:28]Write i2c OK [12:12:28]MH_I2C_Read... [12:12:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:28]Read from MH i2c: E2 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 0E 00 [12:12:28]MH_I2C_Read... [12:12:28]Read from MH i2c: E2 0E 00 2E 3E 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 76 [12:12:28]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:12:28]wFMCommunicate OK [12:12:28]SAM_PROTO_GetShiftState done [12:12:28]FM_GetShiftState done [12:12:28]opened in 1712536270 [12:12:28]opened+sec_in_day 1712622670 [12:12:28]quantity*price = 50022 [12:12:28]sum+1 = 50024 [12:12:28]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 37 08.04.2024 12:12 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26824 ФПД: 248773623749895 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T121242&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26824&fm=248773623749895&tin=02508201610067®Number=0000000000091578&sum=50000 [12:12:29]StoreToDocumentArchive [12:12:29]shift 314 fd 26824 [12:12:29]save to /storage/0314/doc_00026824 [12:12:29]save last doc name /storage/0314/doc_00026824 to /storage/kkm_last_doc_name [12:12:29]save OK [12:12:29]Clear old archive folders... [12:12:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [12:12:29]tlvbuf is B6F67230 [12:12:29]SAM_PROTO_ClearQueue [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 09 00 00 [12:12:29]Write to MH i2c: E2 08 00 3B 3E 80 09 00 00 00 00 00 00 EB [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 3B 3E 00 90 00 ED [12:12:29]RAPDU: 90 00 [12:12:29]wFMCommunicate OK [12:12:29]SAM_PROTO_ClearQueue done [12:12:29]KKMCreateOFDPacket [12:12:29]OFDProtocolAddRootSTLVToBuf [12:12:29]FM_MakeSignedData [12:12:29]FM_MakeSignedData [12:12:29]SAM_PROTO_SignData [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 0D 01 02 [12:12:29]Write to MH i2c: E2 08 00 3C 3E 80 0D 01 02 00 00 00 00 F3 [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 3C 3E 00 90 00 EE [12:12:29]RAPDU: 90 00 [12:12:29]wFMCommunicate OK [12:12:29]wFMCommunicate request_size=255 [12:12:29]MH_SAM_APDU [12:12:29]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 25 00 00 00 F4 03 04 00 3A DF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C8 68 00 00 35 04 06 00 E2 [12:12:29]Write to MH i2c: E2 02 01 3D 3E 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 25 00 00 00 F4 03 04 00 3A DF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C8 68 00 00 35 04 06 00 E2 00 00 B7 [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:29]Read from MH i2c: E2 03 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 3D 3E 00 90 00 EF [12:12:29]RAPDU: 90 00 [12:12:29]wFMCommunicate OK [12:12:29]wFMCommunicate request_size=10 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 0D 02 02 05 42 1F 79 1D 07 [12:12:29]Write to MH i2c: E2 0D 00 3E 3E 80 0D 02 02 05 00 42 1F 79 1D 07 00 00 FE [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 03 00 3E 3E 00 90 00 F0 [12:12:29]RAPDU: 90 00 [12:12:29]wFMCommunicate OK [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 0D 03 02 [12:12:29]Write to MH i2c: E2 08 00 3F 3E 80 0D 03 02 00 00 00 00 F8 [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 0B 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 0B 00 3F 3E 00 79 9E 79 B4 2E B2 A3 E8 90 00 A8 [12:12:29]RAPDU: 79 9E 79 B4 2E B2 A3 E8 90 00 [12:12:29]wFMCommunicate OK [12:12:29]SAM_PROTO_SignData done [12:12:29]FM_MakeSignedData done [12:12:29]CreateOFDProtocolMessage [12:12:29]wFMCommunicate request_size=4 [12:12:29]MH_SAM_APDU [12:12:29]CAPDU: 80 11 00 00 [12:12:29]Write to MH i2c: E2 08 00 40 3E 80 11 00 00 00 00 00 00 F8 [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:29]Read from MH i2c: E2 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 17 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: E2 17 00 40 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 50 [12:12:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:12:29]wFMCommunicate OK [12:12:29]CreateOFDProtocolMessage done [12:12:29]OFDSenderStorePacket 26824 [12:12:29]StoreOFDPacket docnum=26824 [12:12:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 10 89 07 01 1B 3A 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 25 00 00 00 F4 03 04 00 3A DF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C8 68 00 00 35 04 06 00 E2 42 1F 79 1D 07 79 9E 79 B4 2E B2 A3 E8 [12:12:29]CheckFolder [12:12:29]dirname=/storage/ofd_packets [12:12:29]CheckFolder done [12:12:29]ProducePacketName [12:12:29]name=ofd_packets/00026824 [12:12:29]NVStorageSaveData ofd_packets/00026824 [12:12:29]File name is /storage/ofd_packets/00026824 [12:12:29]Write 301 bytes [12:12:29]NVStorageSaveData done [12:12:29]OFDSenderStorePacket done [12:12:29]KKMCreateOFDPacket done [12:12:29]NVStorageSaveData kkm_last_timestamp [12:12:29]File name is /storage/kkm_last_timestamp [12:12:29]Write 4 bytes [12:12:29]NVStorageSaveData done [12:12:29]ExternCall_PrintAddStr [12:12:29]wPrintStart [12:12:29]Write to MH i2c: 01 00 00 41 3E 7F [12:12:29]Write i2c OK [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: 01 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: 01 07 00 [12:12:29]MH_I2C_Read... [12:12:29]Read from MH i2c: 01 07 00 41 3E 00 00 00 00 00 FF 0F 94 [12:12:29]RasterBufferAndPrint [12:12:29]line Счет N : (1)359567 [12:12:29]line ИÐÐ: 02508201610067 [12:12:29]line Контрольно-КаÑÑовый Чек [12:12:29]line ПРОДÐЖР[12:12:29]line ТРК (МРК, ГÐК) : 51 [12:12:29]line Товар: 2710124130 [12:12:29]line Ðи-92-К-5 [12:12:29]line 7.890 * 63.40 [12:12:29]line = 500.23 [12:12:29]line ÐДС 12% ÐСП 1% [12:12:29]line > о реализуемом товаре [12:12:29]line ОКРУГЛЕÐИЕ: -0.23 [12:12:29]line ИТОГО: 500.00 [12:12:29]line ВнеÑено: 500.00 [12:12:29]line СДÐЧÐ: 0.00 [12:12:29]line ÐСП 1% : 4.43 [12:12:29]line ÐДС 12% : 53.12 [12:12:29]line Ðаличными: 500.00 [12:12:29]line Безнал.: 0.00 [12:12:29]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [12:12:29]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:12:29]line СÐО: Общий режим [12:12:29]line Чек 37 08.04.2024 12:12 [12:12:29]line Смена: 314 ФФД: 1.0 [12:12:29]line ЗÐМ: 0300000147 [12:12:29]line РÐМ: 0000000000091578 [12:12:29]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:12:29]line ФМ: 0000000000874657 [12:12:29]line ФД: 26824 [12:12:29]line ФПД: 248773623749895 [12:12:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T121242&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26824&fm=248773623749895&tin=02508201610067®Number=0000000000091578&sum=50000 [12:12:30]OFD Sender: Processing packet 26824 [packets to send 44, broken 43] [12:12:30]ProducePacketName [12:12:30]name=ofd_packets/00026824 [12:12:30]OFD Sender: To server: ‡•öpG, [12:12:30]CommunicateWithHost lk.salyk.kg:30040 [12:12:30]ConnectInit lk.salyk.kg [12:12:30]written 0, free lines is 4095 [12:12:30]Connected sock=10 [12:12:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 10 89 07 01 1B 3A 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 25 00 00 00 F4 03 04 00 3A DF 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C8 68 00 00 35 04 06 00 E2 42 1F 79 1D 07 79 9E 79 B4 2E B2 A3 E8 [12:12:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9C 09 47 00 3B 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C8 68 00 00 F4 03 04 00 A4 86 13 66 B6 04 01 00 00 22 CD 91 8F FF B6 A8 6E [12:12:30]CommunicateWithHost err = 0 [12:12:30]CheckOFDResponse [12:12:30]1017 (14) - 77093643461234 [12:12:30]1041 (16) - 0000000000874657 [12:12:30]1040 (4) - 26824 [12:12:30]1012 (4) - 08.04.2024 05:54 [12:12:30]1206 (1) - 0 [12:12:30]OFD Sender: Remove packet 26824 [12:12:30]ProducePacketName [12:12:30]name=ofd_packets/00026824 [12:12:30]NVStorageDeleteData [12:12:30]Write to MH i2c: 01 00 00 6C 3E AA [12:12:30]Write i2c OK [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: 01 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: 01 07 00 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: 01 07 00 6C 3E 00 00 00 00 00 7D 0C 3A [12:12:30]RasterBufferAndPrint [12:12:30]line [12:12:30]line [12:12:30]line [12:12:30]line [12:12:30]line [12:12:30]written 0, free lines is 3200 [12:12:30]MH_Cut [12:12:30]Write to MH i2c: D1 01 00 73 3E 01 83 [12:12:30]Write i2c OK [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: D1 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: D1 01 00 [12:12:30]MH_I2C_Read... [12:12:30]Read from MH i2c: D1 01 00 73 3E 00 82 [12:12:30]Write to MH i2c: 01 00 00 74 3E B2 [12:12:30]Write i2c OK [12:12:30]MH_I2C_Read... [12:12:31]OFD Sender: No OFD packet to send [12:12:31]*** Cut start [12:12:31]*** Partial cut [12:12:31]*** CUTSNS_PIN = 1 [12:12:31]*** CUTSNS_PIN = 0 [12:12:32]*** Brake cut motor [12:12:32]Read from MH i2c: 01 [12:12:32]MH_I2C_Read... [12:12:32]*** Stop cut motor [12:12:32]*** Cut end [12:12:32]Read from MH i2c: 01 07 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: 01 07 00 74 3E 00 00 00 00 00 FF 0F C7 [12:12:32]process_action close_receipt done [12:12:32]requested_data is exist [12:12:32]produce_requested_data [12:12:32]requested_item fm.sn is exist - process it [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 11 00 00 [12:12:32]Write to MH i2c: E2 08 00 75 3E 80 11 00 00 00 00 00 00 2D [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:12:32]Read from MH i2c: E2 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 17 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 17 00 75 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 85 [12:12:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:12:32]wFMCommunicate OK [12:12:32]requested_item fd.num is exist - process it [12:12:32]SAM_PROTO_GetFieldsCounters [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 13 00 00 [12:12:32]Write to MH i2c: E2 08 00 76 3E 80 13 00 00 00 00 00 00 30 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:12:32]Read from MH i2c: E2 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 62 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 62 00 76 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 35 [12:12:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:12:32]wFMCommunicate OK [12:12:32]SAM_PROTO_GetFieldsCounters done [12:12:32]requested_item shift.num is exist - process it [12:12:32]requested_item shift.opened is exist - process it [12:12:32]req_shift_opened [12:12:32]FM_GetShiftState [12:12:32]SAM_PROTO_GetShiftState [12:12:32]wFMCommunicate request_size=4 [12:12:32]MH_SAM_APDU [12:12:32]CAPDU: 80 13 01 00 [12:12:32]Write to MH i2c: E2 08 00 77 3E 80 13 01 00 00 00 00 00 32 [12:12:32]Write i2c OK [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 [12:12:32]MH_I2C_Read... [12:12:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:12:32]Read from MH i2c: E2 0E 00 [12:12:32]MH_I2C_Read... [12:12:32]Read from MH i2c: E2 0E 00 77 3E 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 BF [12:12:32]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:12:32]wFMCommunicate OK [12:12:32]SAM_PROTO_GetShiftState done [12:12:32]FM_GetShiftState done [12:12:32]req_shift_opened done [12:12:32]requested_item shift.open_date is exist - process it [12:12:32]req_shift_open_date [12:12:32]req_shift_open_date done [12:12:32]produce_requested_data done [12:12:32]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26824,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [12:12:32]process_action_free close_receipt [12:12:32]json_value_free [12:12:32]json_value_free done [12:12:32]process_json_proto returns [12:12:32]Send response to host [12:12:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26824,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [12:12:32]free response buf [12:12:32]execute_script done [12:12:32]execute_script returns [12:12:32]free content buf [12:12:32]Sock 8.Close socket [12:12:32]Sock 8.Thread stoped [12:12:36]OFD Sender: No OFD packet to send [12:12:41]OFD Sender: No OFD packet to send [12:12:46]OFD Sender: No OFD packet to send [12:12:51]OFD Sender: No OFD packet to send [12:12:56]OFD Sender: No OFD packet to send [12:13:01]OFD Sender: No OFD packet to send [12:13:06]OFD Sender: No OFD packet to send [12:13:11]OFD Sender: No OFD packet to send [12:13:16]OFD Sender: No OFD packet to send [12:13:21]OFD Sender: No OFD packet to send [12:13:26]OFD Sender: No OFD packet to send [12:13:31]OFD Sender: No OFD packet to send [12:13:36]OFD Sender: No OFD packet to send [12:13:41]OFD Sender: No OFD packet to send [12:13:46]OFD Sender: No OFD packet to send [12:13:51]OFD Sender: No OFD packet to send [12:13:56]OFD Sender: No OFD packet to send [12:14:01]OFD Sender: No OFD packet to send [12:14:06]OFD Sender: No OFD packet to send [12:14:11]OFD Sender: No OFD packet to send [12:14:16]OFD Sender: No OFD packet to send [12:14:21]OFD Sender: No OFD packet to send [12:14:26]OFD Sender: No OFD packet to send [12:14:31]OFD Sender: No OFD packet to send [12:14:36]OFD Sender: No OFD packet to send [12:14:41]OFD Sender: No OFD packet to send [12:14:46]OFD Sender: No OFD packet to send [12:14:51]OFD Sender: No OFD packet to send [12:14:56]OFD Sender: No OFD packet to send [12:15:01]OFD Sender: No OFD packet to send [12:15:06]OFD Sender: No OFD packet to send [12:15:11]OFD Sender: No OFD packet to send [12:15:16]OFD Sender: No OFD packet to send [12:15:21]OFD Sender: No OFD packet to send [12:15:26]OFD Sender: No OFD packet to send [12:15:31]OFD Sender: No OFD packet to send [12:15:36]OFD Sender: No OFD packet to send [12:15:41]OFD Sender: No OFD packet to send [12:15:46]OFD Sender: No OFD packet to send [12:15:51]OFD Sender: No OFD packet to send [12:15:56]OFD Sender: No OFD packet to send [12:16:01]OFD Sender: No OFD packet to send [12:16:06]OFD Sender: No OFD packet to send [12:16:11]OFD Sender: No OFD packet to send [12:16:16]OFD Sender: No OFD packet to send [12:16:21]OFD Sender: No OFD packet to send [12:16:26]OFD Sender: No OFD packet to send [12:16:31]OFD Sender: No OFD packet to send [12:16:36]OFD Sender: No OFD packet to send [12:16:41]OFD Sender: No OFD packet to send [12:16:46]OFD Sender: No OFD packet to send [12:16:51]OFD Sender: No OFD packet to send [12:16:56]OFD Sender: No OFD packet to send [12:17:01]OFD Sender: No OFD packet to send [12:17:06]OFD Sender: No OFD packet to send [12:17:11]OFD Sender: No OFD packet to send [12:17:16]OFD Sender: No OFD packet to send [12:17:21]OFD Sender: No OFD packet to send [12:17:26]OFD Sender: No OFD packet to send [12:17:31]OFD Sender: No OFD packet to send [12:17:36]OFD Sender: No OFD packet to send [12:17:41]OFD Sender: No OFD packet to send [12:17:46]OFD Sender: No OFD packet to send [12:17:51]OFD Sender: No OFD packet to send [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:01]OFD Sender: No OFD packet to send [12:19:06]OFD Sender: No OFD packet to send [12:19:11]OFD Sender: No OFD packet to send [12:19:16]OFD Sender: No OFD packet to send [12:19:21]OFD Sender: No OFD packet to send [12:19:26]OFD Sender: No OFD packet to send [12:19:31]OFD Sender: No OFD packet to send [12:19:36]OFD Sender: No OFD packet to send [12:19:41]OFD Sender: No OFD packet to send [12:19:46]OFD Sender: No OFD packet to send [12:19:51]OFD Sender: No OFD packet to send [12:19:56]OFD Sender: No OFD packet to send [12:20:01]OFD Sender: No OFD packet to send [12:20:06]OFD Sender: No OFD packet to send [12:20:11]OFD Sender: No OFD packet to send [12:20:16]OFD Sender: No OFD packet to send [12:20:21]OFD Sender: No OFD packet to send [12:20:26]OFD Sender: No OFD packet to send [12:20:31]OFD Sender: No OFD packet to send [12:20:36]OFD Sender: No OFD packet to send [12:20:41]OFD Sender: No OFD packet to send [12:20:46]OFD Sender: No OFD packet to send [12:20:51]OFD Sender: No OFD packet to send [12:20:56]OFD Sender: No OFD packet to send [12:21:01]OFD Sender: No OFD packet to send [12:21:06]OFD Sender: No OFD packet to send [12:21:11]OFD Sender: No OFD packet to send [12:21:16]OFD Sender: No OFD packet to send [12:21:21]OFD Sender: No OFD packet to send [12:21:26]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:56]OFD Sender: No OFD packet to send [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:12]OFD Sender: No OFD packet to send [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:42]OFD Sender: No OFD packet to send [12:34:47]OFD Sender: No OFD packet to send [12:34:52]OFD Sender: No OFD packet to send [12:34:57]OFD Sender: No OFD packet to send [12:35:02]OFD Sender: No OFD packet to send [12:35:07]OFD Sender: No OFD packet to send [12:35:12]OFD Sender: No OFD packet to send [12:35:17]OFD Sender: No OFD packet to send [12:35:22]OFD Sender: No OFD packet to send [12:35:27]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:57]OFD Sender: No OFD packet to send [12:36:02]OFD Sender: No OFD packet to send [12:36:07]OFD Sender: No OFD packet to send [12:36:12]OFD Sender: No OFD packet to send [12:36:17]OFD Sender: No OFD packet to send [12:36:22]OFD Sender: No OFD packet to send [12:36:27]OFD Sender: No OFD packet to send [12:36:32]OFD Sender: No OFD packet to send [12:36:37]OFD Sender: No OFD packet to send [12:36:42]OFD Sender: No OFD packet to send [12:36:47]OFD Sender: No OFD packet to send [12:36:52]OFD Sender: No OFD packet to send [12:36:57]OFD Sender: No OFD packet to send [12:37:02]OFD Sender: No OFD packet to send [12:37:07]OFD Sender: No OFD packet to send [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:22]OFD Sender: No OFD packet to send [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:47]OFD Sender: No OFD packet to send [12:39:52]OFD Sender: No OFD packet to send [12:39:57]OFD Sender: No OFD packet to send [12:40:02]OFD Sender: No OFD packet to send [12:40:07]OFD Sender: No OFD packet to send [12:40:12]OFD Sender: No OFD packet to send [12:40:17]OFD Sender: No OFD packet to send [12:40:22]OFD Sender: No OFD packet to send [12:40:27]OFD Sender: No OFD packet to send [12:40:32]OFD Sender: No OFD packet to send [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:37]OFD Sender: No OFD packet to send [12:41:42]OFD Sender: No OFD packet to send [12:41:47]OFD Sender: No OFD packet to send [12:41:52]OFD Sender: No OFD packet to send [12:41:57]OFD Sender: No OFD packet to send [12:42:02]OFD Sender: No OFD packet to send [12:42:07]OFD Sender: No OFD packet to send [12:42:11]int [12:42:11]Write to MH i2c: 01 00 00 78 3E B6 [12:42:11]*** FLAG_PRN_PAP1 set [12:42:11]Write i2c OK [12:42:11]MH_I2C_Read... [12:42:11]Read from MH i2c: 01 [12:42:11]MH_I2C_Read... [12:42:11]Read from MH i2c: 01 07 00 [12:42:11]MH_I2C_Read... [12:42:11]Read from MH i2c: 01 07 00 78 3E 00 01 00 00 00 FF 0F CC [12:42:11]state=0 [12:42:11]No paper [12:42:11]int [12:42:11]Write to MH i2c: 01 00 00 79 3E B7 [12:42:11]*** FLAG_PRN_PAP2 set [12:42:11]Write i2c OK [12:42:11]MH_I2C_Read... [12:42:11]Read from MH i2c: 01 [12:42:11]MH_I2C_Read... [12:42:11]Read from MH i2c: 01 07 00 [12:42:11]MH_I2C_Read... [12:42:11]Read from MH i2c: 01 07 00 79 3E 00 03 00 00 00 FF 0F CF [12:42:11]state=0 [12:42:11]No paper [12:42:11]Cover opened [12:42:12]OFD Sender: No OFD packet to send [12:42:15]int [12:42:15]Write to MH i2c: 01 00 00 7A 3E B8 [12:42:15]*** FLAG_PRN_PAP1 reset [12:42:15]Write i2c OK [12:42:15]MH_I2C_Read... [12:42:15]Read from MH i2c: 01 [12:42:15]MH_I2C_Read... [12:42:15]Read from MH i2c: 01 07 00 [12:42:15]MH_I2C_Read... [12:42:15]Read from MH i2c: 01 07 00 7A 3E 00 02 00 00 00 FF 0F CF [12:42:15]state=3 [12:42:15]Cover opened [12:42:15]int [12:42:15]Write to MH i2c: 01 00 00 7B 3E B9 [12:42:15]*** FLAG_PRN_PAP2 reset [12:42:15]Write i2c OK [12:42:15]MH_I2C_Read... [12:42:15]Read from MH i2c: 01 [12:42:15]MH_I2C_Read... [12:42:15]Read from MH i2c: 01 07 00 [12:42:15]MH_I2C_Read... [12:42:15]Read from MH i2c: 01 07 00 7B 3E 00 00 00 00 00 FF 0F CE [12:42:15]state=3 [12:42:15]Cover closed [12:42:17]OFD Sender: No OFD packet to send [12:42:22]OFD Sender: No OFD packet to send [12:42:27]OFD Sender: No OFD packet to send [12:42:32]OFD Sender: No OFD packet to send [12:42:37]OFD Sender: No OFD packet to send [12:42:42]OFD Sender: No OFD packet to send [12:42:47]OFD Sender: No OFD packet to send [12:42:52]OFD Sender: No OFD packet to send [12:42:57]OFD Sender: No OFD packet to send [12:43:02]OFD Sender: No OFD packet to send [12:43:07]OFD Sender: No OFD packet to send [12:43:12]OFD Sender: No OFD packet to send [12:43:17]OFD Sender: No OFD packet to send [12:43:22]OFD Sender: No OFD packet to send [12:43:27]OFD Sender: No OFD packet to send [12:43:32]OFD Sender: No OFD packet to send [12:43:37]OFD Sender: No OFD packet to send [12:43:42]OFD Sender: No OFD packet to send [12:43:47]OFD Sender: No OFD packet to send [12:43:52]OFD Sender: No OFD packet to send [12:43:57]OFD Sender: No OFD packet to send [12:44:02]OFD Sender: No OFD packet to send [12:44:07]OFD Sender: No OFD packet to send [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:32]OFD Sender: No OFD packet to send [12:47:37]OFD Sender: No OFD packet to send [12:47:42]OFD Sender: No OFD packet to send [12:47:47]OFD Sender: No OFD packet to send [12:47:52]OFD Sender: No OFD packet to send [12:47:57]OFD Sender: No OFD packet to send [12:48:02]OFD Sender: No OFD packet to send [12:48:07]OFD Sender: No OFD packet to send [12:48:12]OFD Sender: No OFD packet to send [12:48:17]OFD Sender: No OFD packet to send [12:48:22]OFD Sender: No OFD packet to send [12:48:27]OFD Sender: No OFD packet to send [12:48:32]OFD Sender: No OFD packet to send [12:48:37]OFD Sender: No OFD packet to send [12:48:42]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:53]OFD Sender: No OFD packet to send [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:03]OFD Sender: No OFD packet to send [12:55:05]accept exits with 9 [12:55:05]New connection [12:55:05]New thread 3067014500 created [12:55:05]Thread 3066871140 joined [12:55:05]Waiting for new connection... [12:55:05] Sock 9.Parse request [12:55:05]Sock 9.Check first char [12:55:05]Sock 9.First char is OK [12:55:05]request: POST /json_proto HTTP/1.0 [12:55:05]Method: POST [12:55:05]URL: /json_proto [12:55:05]Method is POST - this is cgi request [12:55:05]url: /json_proto [12:55:05]query_string will be loaded in cgi processing [12:55:05]execute_cgi json_proto POST (null) [12:55:05]execute_cgi path=json_proto method=POST [12:55:05]POST find Content-Length [12:55:05]Host: 172.17.35.3:8080 [12:55:05]Content-Length: 806 [12:55:05]Content-Type: application/json [12:55:05] [12:55:05]POST finish read [12:55:05]Found Content-Length = 806 [12:55:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359568", "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" : 71.80, "quantity" : 11.150, "sum" : 800.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 800.57 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:05]execute_script... [12:55: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 : (1)359568", "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" : 71.80, "quantity" : 11.150, "sum" : 800.57, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 800.57 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:55:05]POST & json_proto [12:55:05]process_json_proto [12:55:05]json parsed OK: [12:55:05]protocol is kg_v1.0 [12:55:05]action value=close_receipt [12:55:05]process_action close_receipt [12:55:05]cmd_close_receipt [12:55:05]MH_GetDate [12:55:05]Write to MH i2c: F0 00 00 7C 3E A9 [12:55:05]Write i2c OK [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: F0 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: F0 09 00 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: F0 09 00 7C 3E 00 38 E9 13 66 2B 11 66 64 52 [12:55:05]GetLastDocTimeStamp 1712578362 [12:55:05]current date 1712580920 [12:55:05]FM_GetShiftState [12:55:05]SAM_PROTO_GetShiftState [12:55:05]wFMCommunicate request_size=4 [12:55:05]MH_SAM_APDU [12:55:05]CAPDU: 80 13 01 00 [12:55:05]Write to MH i2c: E2 08 00 7D 3E 80 13 01 00 00 00 00 00 38 [12:55:05]Write i2c OK [12:55:05]MH_I2C_Read... [12:55:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:05]Read from MH i2c: E2 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: E2 0E 00 [12:55:05]MH_I2C_Read... [12:55:05]Read from MH i2c: E2 0E 00 7D 3E 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C5 [12:55:05]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:55:05]wFMCommunicate OK [12:55:05]SAM_PROTO_GetShiftState done [12:55:05]FM_GetShiftState done [12:55:05]opened in 1712536270 [12:55:05]opened+sec_in_day 1712622670 [12:55:05]quantity*price = 80057 [12:55:05]sum+1 = 80058 [12:55:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 800.57 ÐСП 1% : 7.08 ÐДС 12% : 85.02 Ðаличными: 0.00 Безнал.: 800.57 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 38 08.04.2024 12:55 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26825 ФПД: 203035480828178 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T125520&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26825&fm=203035480828178&tin=02508201610067®Number=0000000000091578&sum=80057 [12:55:06]StoreToDocumentArchive [12:55:06]shift 314 fd 26825 [12:55:06]save to /storage/0314/doc_00026825 [12:55:06]save last doc name /storage/0314/doc_00026825 to /storage/kkm_last_doc_name [12:55:06]save OK [12:55:06]Clear old archive folders... [12:55:06]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:55:06]tlvbuf is 00EEB990 [12:55:06]SAM_PROTO_ClearQueue [12:55:06]wFMCommunicate request_size=4 [12:55:06]MH_SAM_APDU [12:55:06]CAPDU: 80 09 00 00 [12:55:06]Write to MH i2c: E2 08 00 8A 3E 80 09 00 00 00 00 00 00 3A [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:55:06]Read from MH i2c: E2 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 8A 3E 00 90 00 3C [12:55:06]RAPDU: 90 00 [12:55:06]wFMCommunicate OK [12:55:06]SAM_PROTO_ClearQueue done [12:55:06]KKMCreateOFDPacket [12:55:06]OFDProtocolAddRootSTLVToBuf [12:55:06]FM_MakeSignedData [12:55:06]FM_MakeSignedData [12:55:06]SAM_PROTO_SignData [12:55:06]wFMCommunicate request_size=4 [12:55:06]MH_SAM_APDU [12:55:06]CAPDU: 80 0D 01 02 [12:55:06]Write to MH i2c: E2 08 00 8B 3E 80 0D 01 02 00 00 00 00 42 [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:55:06]Read from MH i2c: E2 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 [12:55:06]MH_I2C_Read... [12:55:06]Read from MH i2c: E2 03 00 8B 3E 00 90 00 3D [12:55:06]RAPDU: 90 00 [12:55:06]wFMCommunicate OK [12:55:06]wFMCommunicate request_size=255 [12:55:06]MH_SAM_APDU [12:55:06]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 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B9 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B9 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 38 E9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C9 68 00 00 35 04 06 00 [12:55:06]Write to MH i2c: E2 02 01 8C 3E 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 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B9 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B9 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 38 E9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C9 68 00 00 35 04 06 00 00 00 91 [12:55:06]Write i2c OK [12:55:06]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 03 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 03 00 8C 3E 00 90 00 3E [12:55:07]RAPDU: 90 00 [12:55:07]wFMCommunicate OK [12:55:07]wFMCommunicate request_size=11 [12:55:07]MH_SAM_APDU [12:55:07]CAPDU: 80 0D 02 02 06 B8 A8 E1 B6 29 12 [12:55:07]Write to MH i2c: E2 0E 00 8D 3E 80 0D 02 02 06 00 B8 A8 E1 B6 29 12 00 00 83 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 03 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 03 00 8D 3E 00 90 00 3F [12:55:07]RAPDU: 90 00 [12:55:07]wFMCommunicate OK [12:55:07]wFMCommunicate request_size=4 [12:55:07]MH_SAM_APDU [12:55:07]CAPDU: 80 0D 03 02 [12:55:07]Write to MH i2c: E2 08 00 8E 3E 80 0D 03 02 00 00 00 00 47 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 0B 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 0B 00 8E 3E 00 86 4B B0 A0 DC E8 1F F0 90 00 3C [12:55:07]RAPDU: 86 4B B0 A0 DC E8 1F F0 90 00 [12:55:07]wFMCommunicate OK [12:55:07]SAM_PROTO_SignData done [12:55:07]FM_MakeSignedData done [12:55:07]CreateOFDProtocolMessage [12:55:07]wFMCommunicate request_size=4 [12:55:07]MH_SAM_APDU [12:55:07]CAPDU: 80 11 00 00 [12:55:07]Write to MH i2c: E2 08 00 8F 3E 80 11 00 00 00 00 00 00 47 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:07]Read from MH i2c: E2 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 17 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: E2 17 00 8F 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9F [12:55:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:55:07]wFMCommunicate OK [12:55:07]CreateOFDProtocolMessage done [12:55:07]OFDSenderStorePacket 26825 [12:55:07]StoreOFDPacket docnum=26825 [12:55:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 91 5F 08 01 C4 E7 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 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B9 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B9 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 38 E9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C9 68 00 00 35 04 06 00 B8 A8 E1 B6 29 12 86 4B B0 A0 DC E8 1F F0 [12:55:07]CheckFolder [12:55:07]dirname=/storage/ofd_packets [12:55:07]CheckFolder done [12:55:07]ProducePacketName [12:55:07]name=ofd_packets/00026825 [12:55:07]NVStorageSaveData ofd_packets/00026825 [12:55:07]File name is /storage/ofd_packets/00026825 [12:55:07]Write 302 bytes [12:55:07]NVStorageSaveData done [12:55:07]OFDSenderStorePacket done [12:55:07]KKMCreateOFDPacket done [12:55:07]NVStorageSaveData kkm_last_timestamp [12:55:07]File name is /storage/kkm_last_timestamp [12:55:07]Write 4 bytes [12:55:07]NVStorageSaveData done [12:55:07]ExternCall_PrintAddStr [12:55:07]wPrintStart [12:55:07]Write to MH i2c: 01 00 00 90 3E CE [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 07 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 07 00 90 3E 00 00 00 00 00 FF 0F E3 [12:55:07]RasterBufferAndPrint [12:55:07]line Счет N : (1)359568 [12:55:07]line ИÐÐ: 02508201610067 [12:55:07]line Контрольно-КаÑÑовый Чек [12:55:07]line ПРОДÐЖР[12:55:07]line ТРК (МРК, ГÐК) : 11 [12:55:07]line Товар: 2710194210 [12:55:07]line ДТ(л)-К-5 [12:55:07]line 11.150 * 71.80 [12:55:07]line = 800.57 [12:55:07]line ÐДС 12% ÐСП 1% [12:55:07]line > о реализуемом товаре [12:55:07]line ИТОГО: 800.57 [12:55:07]line ÐСП 1% : 7.08 [12:55:07]line ÐДС 12% : 85.02 [12:55:07]line Ðаличными: 0.00 [12:55:07]line Безнал.: 800.57 [12:55:07]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [12:55:07]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:55:07]line СÐО: Общий режим [12:55:07]line Чек 38 08.04.2024 12:55 [12:55:07]line Смена: 314 ФФД: 1.0 [12:55:07]line ЗÐМ: 0300000147 [12:55:07]line РÐМ: 0000000000091578 [12:55:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:55:07]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [12:55:07]line ФМ: 0000000000874657 [12:55:07]line ФД: 26825 [12:55:07]line ФПД: 203035480828178 [12:55:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T125520&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26825&fm=203035480828178&tin=02508201610067®Number=0000000000091578&sum=80057 [12:55:07]written 0, free lines is 4095 [12:55:07]OFD Sender: Processing packet 26825 [packets to send 44, broken 43] [12:55:07]ProducePacketName [12:55:07]name=ofd_packets/00026825 [12:55:07]OFD Sender: To server: ‡•öpG, [12:55:07]CommunicateWithHost lk.salyk.kg:30040 [12:55:07]ConnectInit lk.salyk.kg [12:55:07]Connected sock=10 [12:55:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 91 5F 08 01 C4 E7 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 8E 2B 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B9 38 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B9 38 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C4 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 36 21 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B9 38 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 38 E9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C9 68 00 00 35 04 06 00 B8 A8 E1 B6 29 12 86 4B B0 A0 DC E8 1F F0 [12:55:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 BB 06 47 00 33 05 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 C9 68 00 00 F4 03 04 00 A2 90 13 66 B6 04 01 00 00 7B 65 A3 38 4A 83 03 27 [12:55:07]CommunicateWithHost err = 0 [12:55:07]CheckOFDResponse [12:55:07]1017 (14) - 77093643461234 [12:55:07]1041 (16) - 0000000000874657 [12:55:07]1040 (4) - 26825 [12:55:07]1012 (4) - 08.04.2024 06:37 [12:55:07]1206 (1) - 0 [12:55:07]OFD Sender: Remove packet 26825 [12:55:07]ProducePacketName [12:55:07]name=ofd_packets/00026825 [12:55:07]NVStorageDeleteData [12:55:07]Write to MH i2c: 01 00 00 BA 3E F8 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 07 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: 01 07 00 BA 3E 00 00 00 00 00 8C 0C 97 [12:55:07]RasterBufferAndPrint [12:55:07]line [12:55:07]line [12:55:07]line [12:55:07]line [12:55:07]line [12:55:07]written 0, free lines is 3216 [12:55:07]MH_Cut [12:55:07]Write to MH i2c: D1 01 00 C1 3E 01 D1 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: D1 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: D1 01 00 [12:55:07]MH_I2C_Read... [12:55:07]Read from MH i2c: D1 01 00 C1 3E 00 D0 [12:55:07]Write to MH i2c: 01 00 00 C2 3E 00 [12:55:07]Write i2c OK [12:55:07]MH_I2C_Read... [12:55:08]OFD Sender: No OFD packet to send [12:55:09]*** Cut start [12:55:09]*** Partial cut [12:55:09]*** CUTSNS_PIN = 1 [12:55:09]*** CUTSNS_PIN = 0 [12:55:09]*** Brake cut motor [12:55:09]Read from MH i2c: 01 [12:55:09]MH_I2C_Read... [12:55:09]*** Stop cut motor [12:55:09]*** Cut end [12:55:09]Read from MH i2c: 01 07 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: 01 07 00 C2 3E 00 00 00 00 00 FF 0F 15 [12:55:09]process_action close_receipt done [12:55:09]requested_data is exist [12:55:09]produce_requested_data [12:55:09]requested_item fm.sn is exist - process it [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 11 00 00 [12:55:09]Write to MH i2c: E2 08 00 C3 3E 80 11 00 00 00 00 00 00 7B [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 17 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 17 00 C3 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D3 [12:55:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:55:09]wFMCommunicate OK [12:55:09]requested_item fd.num is exist - process it [12:55:09]SAM_PROTO_GetFieldsCounters [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 13 00 00 [12:55:09]Write to MH i2c: E2 08 00 C4 3E 80 13 00 00 00 00 00 00 7E [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 62 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 62 00 C4 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [12:55:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 C9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:55:09]wFMCommunicate OK [12:55:09]SAM_PROTO_GetFieldsCounters done [12:55:09]requested_item shift.num is exist - process it [12:55:09]requested_item shift.opened is exist - process it [12:55:09]req_shift_opened [12:55:09]FM_GetShiftState [12:55:09]SAM_PROTO_GetShiftState [12:55:09]wFMCommunicate request_size=4 [12:55:09]MH_SAM_APDU [12:55:09]CAPDU: 80 13 01 00 [12:55:09]Write to MH i2c: E2 08 00 C5 3E 80 13 01 00 00 00 00 00 80 [12:55:09]Write i2c OK [12:55:09]MH_I2C_Read... [12:55:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:55:09]Read from MH i2c: E2 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 0E 00 [12:55:09]MH_I2C_Read... [12:55:09]Read from MH i2c: E2 0E 00 C5 3E 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0D [12:55:09]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:55:09]wFMCommunicate OK [12:55:09]SAM_PROTO_GetShiftState done [12:55:09]FM_GetShiftState done [12:55:09]req_shift_opened done [12:55:09]requested_item shift.open_date is exist - process it [12:55:09]req_shift_open_date [12:55:09]req_shift_open_date done [12:55:09]produce_requested_data done [12:55:09]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26825,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [12:55:09]process_action_free close_receipt [12:55:09]json_value_free [12:55:09]json_value_free done [12:55:09]process_json_proto returns [12:55:09]Send response to host [12:55:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26825,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [12:55:09]free response buf [12:55:09]execute_script done [12:55:09]execute_script returns [12:55:09]free content buf [12:55:09]Sock 9.Close socket [12:55:09]Sock 9.Thread stoped [12:55:13]OFD Sender: No OFD packet to send [12:55:18]OFD Sender: No OFD packet to send [12:55:23]OFD Sender: No OFD packet to send [12:55:28]OFD Sender: No OFD packet to send [12:55:33]OFD Sender: No OFD packet to send [12:55:38]OFD Sender: No OFD packet to send [12:55:43]OFD Sender: No OFD packet to send [12:55:48]OFD Sender: No OFD packet to send [12:55:53]OFD Sender: No OFD packet to send [12:55:58]OFD Sender: No OFD packet to send [12:56:03]OFD Sender: No OFD packet to send [12:56:08]OFD Sender: No OFD packet to send [12:56:13]OFD Sender: No OFD packet to send [12:56:18]OFD Sender: No OFD packet to send [12:56:23]OFD Sender: No OFD packet to send [12:56:28]OFD Sender: No OFD packet to send [12:56:33]OFD Sender: No OFD packet to send [12:56:38]OFD Sender: No OFD packet to send [12:56:43]OFD Sender: No OFD packet to send [12:56:48]OFD Sender: No OFD packet to send [12:56:53]OFD Sender: No OFD packet to send [12:56:58]OFD Sender: No OFD packet to send [12:57:03]OFD Sender: No OFD packet to send [12:57:08]OFD Sender: No OFD packet to send [12:57:13]OFD Sender: No OFD packet to send [12:57:18]OFD Sender: No OFD packet to send [12:57:23]OFD Sender: No OFD packet to send [12:57:28]OFD Sender: No OFD packet to send [12:57:33]OFD Sender: No OFD packet to send [12:57:38]OFD Sender: No OFD packet to send [12:57:43]OFD Sender: No OFD packet to send [12:57:48]OFD Sender: No OFD packet to send [12:57:53]OFD Sender: No OFD packet to send [12:57:58]OFD Sender: No OFD packet to send [12:58:03]OFD Sender: No OFD packet to send [12:58:08]OFD Sender: No OFD packet to send [12:58:13]OFD Sender: No OFD packet to send [12:58:18]OFD Sender: No OFD packet to send [12:58:23]OFD Sender: No OFD packet to send [12:58:28]OFD Sender: No OFD packet to send [12:58:33]OFD Sender: No OFD packet to send [12:58:38]OFD Sender: No OFD packet to send [12:58:43]OFD Sender: No OFD packet to send [12:58:48]OFD Sender: No OFD packet to send [12:58:53]OFD Sender: No OFD packet to send [12:58:58]OFD Sender: No OFD packet to send [12:59:03]OFD Sender: No OFD packet to send [12:59:08]OFD Sender: No OFD packet to send [12:59:13]OFD Sender: No OFD packet to send [12:59:18]OFD Sender: No OFD packet to send [12:59:23]OFD Sender: No OFD packet to send [12:59:28]OFD Sender: No OFD packet to send [12:59:33]OFD Sender: No OFD packet to send [12:59:34]accept exits with 8 [12:59:34]New connection [12:59:34]New thread 3066871140 created [12:59:34]Thread 3067014500 joined [12:59:34]Waiting for new connection... [12:59:34] Sock 8.Parse request [12:59:34]Sock 8.Check first char [12:59:34]Sock 8.First char is OK [12:59:34]request: POST /json_proto HTTP/1.0 [12:59:34]Method: POST [12:59:34]URL: /json_proto [12:59:34]Method is POST - this is cgi request [12:59:34]url: /json_proto [12:59:34]query_string will be loaded in cgi processing [12:59:34]execute_cgi json_proto POST (null) [12:59:34]execute_cgi path=json_proto method=POST [12:59:34]POST find Content-Length [12:59:34]Host: 172.17.35.3:8080 [12:59:34]Content-Length: 808 [12:59:34]Content-Type: application/json [12:59:34] [12:59:34]POST finish read [12:59:34]Found Content-Length = 808 [12:59:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359569", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:34]execute_script... [12:59:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359569", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:59:34]POST & json_proto [12:59:34]process_json_proto [12:59:34]json parsed OK: [12:59:34]protocol is kg_v1.0 [12:59:34]action value=close_receipt [12:59:34]process_action close_receipt [12:59:34]cmd_close_receipt [12:59:34]MH_GetDate [12:59:34]Write to MH i2c: F0 00 00 C6 3E F3 [12:59:34]Write i2c OK [12:59:34]MH_I2C_Read... [12:59:34]Read from MH i2c: F0 [12:59:34]MH_I2C_Read... [12:59:34]Read from MH i2c: F0 09 00 [12:59:34]MH_I2C_Read... [12:59:34]Read from MH i2c: F0 09 00 C6 3E 00 45 EA 13 66 2B 11 66 64 AA [12:59:34]GetLastDocTimeStamp 1712580920 [12:59:34]current date 1712581189 [12:59:34]FM_GetShiftState [12:59:34]SAM_PROTO_GetShiftState [12:59:34]wFMCommunicate request_size=4 [12:59:34]MH_SAM_APDU [12:59:34]CAPDU: 80 13 01 00 [12:59:34]Write to MH i2c: E2 08 00 C7 3E 80 13 01 00 00 00 00 00 82 [12:59:34]Write i2c OK [12:59:34]MH_I2C_Read... [12:59:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:34]Read from MH i2c: E2 [12:59:34]MH_I2C_Read... [12:59:34]Read from MH i2c: E2 0E 00 [12:59:34]MH_I2C_Read... [12:59:34]Read from MH i2c: E2 0E 00 C7 3E 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0F [12:59:34]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:59:34]wFMCommunicate OK [12:59:34]SAM_PROTO_GetShiftState done [12:59:34]FM_GetShiftState done [12:59:34]opened in 1712536270 [12:59:34]opened+sec_in_day 1712622670 [12:59:34]quantity*price = 100017 [12:59:34]sum+1 = 100018 [12:59:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 39 08.04.2024 12:59 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26826 ФПД: 12207092223284 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T125949&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26826&fm=12207092223284&tin=02508201610067®Number=0000000000091578&sum=100017 [12:59:35]StoreToDocumentArchive [12:59:35]shift 314 fd 26826 [12:59:35]save to /storage/0314/doc_00026826 [12:59:35]save last doc name /storage/0314/doc_00026826 to /storage/kkm_last_doc_name [12:59:35]save OK [12:59:35]Clear old archive folders... [12:59:35]ProcessDocumentItem done err = 0, tmpTLVsize=252 [12:59:35]tlvbuf is 00F75B30 [12:59:35]SAM_PROTO_ClearQueue [12:59:35]wFMCommunicate request_size=4 [12:59:35]MH_SAM_APDU [12:59:35]CAPDU: 80 09 00 00 [12:59:35]Write to MH i2c: E2 08 00 D4 3E 80 09 00 00 00 00 00 00 84 [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:59:35]Read from MH i2c: E2 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 D4 3E 00 90 00 86 [12:59:35]RAPDU: 90 00 [12:59:35]wFMCommunicate OK [12:59:35]SAM_PROTO_ClearQueue done [12:59:35]KKMCreateOFDPacket [12:59:35]OFDProtocolAddRootSTLVToBuf [12:59:35]FM_MakeSignedData [12:59:35]FM_MakeSignedData [12:59:35]SAM_PROTO_SignData [12:59:35]wFMCommunicate request_size=4 [12:59:35]MH_SAM_APDU [12:59:35]CAPDU: 80 0D 01 02 [12:59:35]Write to MH i2c: E2 08 00 D5 3E 80 0D 01 02 00 00 00 00 8C [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:59:35]Read from MH i2c: E2 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 D5 3E 00 90 00 87 [12:59:35]RAPDU: 90 00 [12:59:35]wFMCommunicate OK [12:59:35]wFMCommunicate request_size=255 [12:59:35]MH_SAM_APDU [12:59:35]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 45 EA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CA 68 00 00 35 04 06 00 [12:59:35]Write to MH i2c: E2 02 01 D6 3E 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 45 EA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CA 68 00 00 35 04 06 00 00 00 A5 [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:59:35]Read from MH i2c: E2 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 D6 3E 00 90 00 88 [12:59:35]RAPDU: 90 00 [12:59:35]wFMCommunicate OK [12:59:35]wFMCommunicate request_size=11 [12:59:35]MH_SAM_APDU [12:59:35]CAPDU: 80 0D 02 02 06 0B 1A 2F 65 4D 34 [12:59:35]Write to MH i2c: E2 0E 00 D7 3E 80 0D 02 02 06 00 0B 1A 2F 65 4D 34 00 00 D5 [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:59:35]Read from MH i2c: E2 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 03 00 D7 3E 00 90 00 89 [12:59:35]RAPDU: 90 00 [12:59:35]wFMCommunicate OK [12:59:35]wFMCommunicate request_size=4 [12:59:35]MH_SAM_APDU [12:59:35]CAPDU: 80 0D 03 02 [12:59:35]Write to MH i2c: E2 08 00 D8 3E 80 0D 03 02 00 00 00 00 91 [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:59:35]Read from MH i2c: E2 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 0B 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 0B 00 D8 3E 00 84 7A 44 D1 7C DB 17 E2 90 00 F5 [12:59:35]RAPDU: 84 7A 44 D1 7C DB 17 E2 90 00 [12:59:35]wFMCommunicate OK [12:59:35]SAM_PROTO_SignData done [12:59:35]FM_MakeSignedData done [12:59:35]CreateOFDProtocolMessage [12:59:35]wFMCommunicate request_size=4 [12:59:35]MH_SAM_APDU [12:59:35]CAPDU: 80 11 00 00 [12:59:35]Write to MH i2c: E2 08 00 D9 3E 80 11 00 00 00 00 00 00 91 [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:35]Read from MH i2c: E2 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 17 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: E2 17 00 D9 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E9 [12:59:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:59:35]wFMCommunicate OK [12:59:35]CreateOFDProtocolMessage done [12:59:35]OFDSenderStorePacket 26826 [12:59:35]StoreOFDPacket docnum=26826 [12:59:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F9 16 08 01 AD DA 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 45 EA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CA 68 00 00 35 04 06 00 0B 1A 2F 65 4D 34 84 7A 44 D1 7C DB 17 E2 [12:59:35]CheckFolder [12:59:35]dirname=/storage/ofd_packets [12:59:35]CheckFolder done [12:59:35]ProducePacketName [12:59:35]name=ofd_packets/00026826 [12:59:35]NVStorageSaveData ofd_packets/00026826 [12:59:35]File name is /storage/ofd_packets/00026826 [12:59:35]Write 302 bytes [12:59:35]NVStorageSaveData done [12:59:35]OFDSenderStorePacket done [12:59:35]KKMCreateOFDPacket done [12:59:35]NVStorageSaveData kkm_last_timestamp [12:59:35]File name is /storage/kkm_last_timestamp [12:59:35]Write 4 bytes [12:59:35]NVStorageSaveData done [12:59:35]ExternCall_PrintAddStr [12:59:35]wPrintStart [12:59:35]Write to MH i2c: 01 00 00 DA 3E 18 [12:59:35]Write i2c OK [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: 01 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: 01 07 00 [12:59:35]MH_I2C_Read... [12:59:35]Read from MH i2c: 01 07 00 DA 3E 00 00 00 00 00 FF 0F 2D [12:59:35]RasterBufferAndPrint [12:59:35]line Счет N : (1)359569 [12:59:35]line ИÐÐ: 02508201610067 [12:59:35]line Контрольно-КаÑÑовый Чек [12:59:35]line ПРОДÐЖР[12:59:35]line ТРК (МРК, ГÐК) : 21 [12:59:35]line Товар: 2710194210 [12:59:35]line ДТ(л)-К-5 [12:59:35]line 13.930 * 71.80 [12:59:35]line = 1000.17 [12:59:35]line ÐДС 12% ÐСП 1% [12:59:35]line > о реализуемом товаре [12:59:35]line ИТОГО: 1000.17 [12:59:35]line ÐСП 1% : 8.85 [12:59:35]line ÐДС 12% : 106.21 [12:59:35]line Ðаличными: 0.00 [12:59:35]line Безнал.: 1000.17 [12:59:35]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [12:59:35]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [12:59:35]line СÐО: Общий режим [12:59:35]line Чек 39 08.04.2024 12:59 [12:59:35]line Смена: 314 ФФД: 1.0 [12:59:35]line ЗÐМ: 0300000147 [12:59:35]line РÐМ: 0000000000091578 [12:59:35]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [12:59:35]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [12:59:35]line ФМ: 0000000000874657 [12:59:35]line ФД: 26826 [12:59:35]line ФПД: 12207092223284 [12:59:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T125949&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26826&fm=12207092223284&tin=02508201610067®Number=0000000000091578&sum=100017 [12:59:36]OFD Sender: Processing packet 26826 [packets to send 44, broken 43] [12:59:36]ProducePacketName [12:59:36]name=ofd_packets/00026826 [12:59:36]OFD Sender: To server: ‡•öpG, [12:59:36]CommunicateWithHost lk.salyk.kg:30040 [12:59:36]ConnectInit lk.salyk.kg [12:59:36]written 0, free lines is 4095 [12:59:36]Connected sock=10 [12:59:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F9 16 08 01 AD DA 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 45 EA 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CA 68 00 00 35 04 06 00 0B 1A 2F 65 4D 34 84 7A 44 D1 7C DB 17 E2 [12:59:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 5A 30 47 00 40 FA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CA 68 00 00 F4 03 04 00 AF 91 13 66 B6 04 01 00 00 D0 22 D0 8B 29 5E C0 06 [12:59:36]CommunicateWithHost err = 0 [12:59:36]CheckOFDResponse [12:59:36]1017 (14) - 77093643461234 [12:59:36]1041 (16) - 0000000000874657 [12:59:36]1040 (4) - 26826 [12:59:36]1012 (4) - 08.04.2024 06:41 [12:59:36]1206 (1) - 0 [12:59:36]OFD Sender: Remove packet 26826 [12:59:36]ProducePacketName [12:59:36]name=ofd_packets/00026826 [12:59:36]NVStorageDeleteData [12:59:36]Write to MH i2c: 01 00 00 04 3F 43 [12:59:36]Write i2c OK [12:59:36]MH_I2C_Read... [12:59:36]Read from MH i2c: 01 [12:59:36]MH_I2C_Read... [12:59:36]Read from MH i2c: 01 07 00 [12:59:36]MH_I2C_Read... [12:59:36]Read from MH i2c: 01 07 00 04 3F 00 00 00 00 00 8C 0C E2 [12:59:36]RasterBufferAndPrint [12:59:36]line [12:59:36]line [12:59:36]line [12:59:36]line [12:59:36]line [12:59:36]written 0, free lines is 3216 [12:59:36]MH_Cut [12:59:36]Write to MH i2c: D1 01 00 0B 3F 01 1C [12:59:36]Write i2c OK [12:59:36]MH_I2C_Read... [12:59:36]Read from MH i2c: D1 [12:59:36]MH_I2C_Read... [12:59:36]Read from MH i2c: D1 01 00 [12:59:36]MH_I2C_Read... [12:59:36]Read from MH i2c: D1 01 00 0B 3F 00 1B [12:59:36]Write to MH i2c: 01 00 00 0C 3F 4B [12:59:36]Write i2c OK [12:59:36]MH_I2C_Read... [12:59:37]OFD Sender: No OFD packet to send [12:59:37]*** Cut start [12:59:37]*** Partial cut [12:59:37]*** CUTSNS_PIN = 1 [12:59:37]*** CUTSNS_PIN = 0 [12:59:38]*** Brake cut motor [12:59:38]Read from MH i2c: 01 [12:59:38]MH_I2C_Read... [12:59:38]*** Stop cut motor [12:59:38]*** Cut end [12:59:38]Read from MH i2c: 01 07 00 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: 01 07 00 0C 3F 00 00 00 00 00 FF 0F 60 [12:59:38]process_action close_receipt done [12:59:38]requested_data is exist [12:59:38]produce_requested_data [12:59:38]requested_item fm.sn is exist - process it [12:59:38]wFMCommunicate request_size=4 [12:59:38]MH_SAM_APDU [12:59:38]CAPDU: 80 11 00 00 [12:59:38]Write to MH i2c: E2 08 00 0D 3F 80 11 00 00 00 00 00 00 C6 [12:59:38]Write i2c OK [12:59:38]MH_I2C_Read... [12:59:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:59:38]Read from MH i2c: E2 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: E2 17 00 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: E2 17 00 0D 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 1E [12:59:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [12:59:38]wFMCommunicate OK [12:59:38]requested_item fd.num is exist - process it [12:59:38]SAM_PROTO_GetFieldsCounters [12:59:38]wFMCommunicate request_size=4 [12:59:38]MH_SAM_APDU [12:59:38]CAPDU: 80 13 00 00 [12:59:38]Write to MH i2c: E2 08 00 0E 3F 80 13 00 00 00 00 00 00 C9 [12:59:38]Write i2c OK [12:59:38]MH_I2C_Read... [12:59:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:59:38]Read from MH i2c: E2 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: E2 62 00 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: E2 62 00 0E 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [12:59:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:59:38]wFMCommunicate OK [12:59:38]SAM_PROTO_GetFieldsCounters done [12:59:38]requested_item shift.num is exist - process it [12:59:38]requested_item shift.opened is exist - process it [12:59:38]req_shift_opened [12:59:38]FM_GetShiftState [12:59:38]SAM_PROTO_GetShiftState [12:59:38]wFMCommunicate request_size=4 [12:59:38]MH_SAM_APDU [12:59:38]CAPDU: 80 13 01 00 [12:59:38]Write to MH i2c: E2 08 00 0F 3F 80 13 01 00 00 00 00 00 CB [12:59:38]Write i2c OK [12:59:38]MH_I2C_Read... [12:59:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:59:38]Read from MH i2c: E2 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: E2 0E 00 [12:59:38]MH_I2C_Read... [12:59:38]Read from MH i2c: E2 0E 00 0F 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 58 [12:59:38]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [12:59:38]wFMCommunicate OK [12:59:38]SAM_PROTO_GetShiftState done [12:59:38]FM_GetShiftState done [12:59:38]req_shift_opened done [12:59:38]requested_item shift.open_date is exist - process it [12:59:38]req_shift_open_date [12:59:38]req_shift_open_date done [12:59:38]produce_requested_data done [12:59:38]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26826,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [12:59:38]process_action_free close_receipt [12:59:38]json_value_free [12:59:38]json_value_free done [12:59:38]process_json_proto returns [12:59:38]Send response to host [12:59:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26826,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [12:59:38]free response buf [12:59:38]execute_script done [12:59:38]execute_script returns [12:59:38]free content buf [12:59:38]Sock 8.Close socket [12:59:38]Sock 8.Thread stoped [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]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:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:03]OFD Sender: No OFD packet to send [13:18:08]OFD Sender: No OFD packet to send [13:18:13]OFD Sender: No OFD packet to send [13:18:18]OFD Sender: No OFD packet to send [13:18:23]OFD Sender: No OFD packet to send [13:18:28]OFD Sender: No OFD packet to send [13:18:33]OFD Sender: No OFD packet to send [13:18:38]OFD Sender: No OFD packet to send [13:18:43]OFD Sender: No OFD packet to send [13:18:48]OFD Sender: No OFD packet to send [13:18:53]OFD Sender: No OFD packet to send [13:18:58]OFD Sender: No OFD packet to send [13:19:03]OFD Sender: No OFD packet to send [13:19:08]OFD Sender: No OFD packet to send [13:19:13]OFD Sender: No OFD packet to send [13:19:18]OFD Sender: No OFD packet to send [13:19:23]OFD Sender: No OFD packet to send [13:19:28]OFD Sender: No OFD packet to send [13:19:33]OFD Sender: No OFD packet to send [13:19:38]OFD Sender: No OFD packet to send [13:19:43]OFD Sender: No OFD packet to send [13:19:48]OFD Sender: No OFD packet to send [13:19:53]OFD Sender: No OFD packet to send [13:19:58]OFD Sender: No OFD packet to send [13:20:03]OFD Sender: No OFD packet to send [13:20:08]OFD Sender: No OFD packet to send [13:20:13]OFD Sender: No OFD packet to send [13:20:18]OFD Sender: No OFD packet to send [13:20:23]OFD Sender: No OFD packet to send [13:20:28]OFD Sender: No OFD packet to send [13:20:33]OFD Sender: No OFD packet to send [13:20:38]OFD Sender: No OFD packet to send [13:20:43]OFD Sender: No OFD packet to send [13:20:48]OFD Sender: No OFD packet to send [13:20:53]OFD Sender: No OFD packet to send [13:20:58]OFD Sender: No OFD packet to send [13:21:03]OFD Sender: No OFD packet to send [13:21:08]OFD Sender: No OFD packet to send [13:21:13]OFD Sender: No OFD packet to send [13:21:18]OFD Sender: No OFD packet to send [13:21:23]OFD Sender: No OFD packet to send [13:21:28]OFD Sender: No OFD packet to send [13:21:33]OFD Sender: No OFD packet to send [13:21:38]OFD Sender: No OFD packet to send [13:21:43]OFD Sender: No OFD packet to send [13:21:48]OFD Sender: No OFD packet to send [13:21:53]OFD Sender: No OFD packet to send [13:21:58]OFD Sender: No OFD packet to send [13:22:03]OFD Sender: No OFD packet to send [13:22:08]OFD Sender: No OFD packet to send [13:22:13]OFD Sender: No OFD packet to send [13:22:18]OFD Sender: No OFD packet to send [13:22:23]OFD Sender: No OFD packet to send [13:22:28]OFD Sender: No OFD packet to send [13:22:33]OFD Sender: No OFD packet to send [13:22:38]OFD Sender: No OFD packet to send [13:22:43]OFD Sender: No OFD packet to send [13:22:48]OFD Sender: No OFD packet to send [13:22:53]OFD Sender: No OFD packet to send [13:22:58]OFD Sender: No OFD packet to send [13:23:03]OFD Sender: No OFD packet to send [13:23:08]OFD Sender: No OFD packet to send [13:23:13]OFD Sender: No OFD packet to send [13:23:18]OFD Sender: No OFD packet to send [13:23:23]OFD Sender: No OFD packet to send [13:23:28]OFD Sender: No OFD packet to send [13:23:33]OFD Sender: No OFD packet to send [13:23:38]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:11]accept exits with 9 [13:31:11]New connection [13:31:11]New thread 3067014500 created [13:31:11]Thread 3066871140 joined [13:31:11]Waiting for new connection... [13:31:11] Sock 9.Parse request [13:31:11]Sock 9.Check first char [13:31:11]Sock 9.First char is OK [13:31:11]request: POST /json_proto HTTP/1.0 [13:31:11]Method: POST [13:31:11]URL: /json_proto [13:31:11]Method is POST - this is cgi request [13:31:11]url: /json_proto [13:31:11]query_string will be loaded in cgi processing [13:31:11]execute_cgi json_proto POST (null) [13:31:11]execute_cgi path=json_proto method=POST [13:31:11]POST find Content-Length [13:31:11]Host: 172.17.35.3:8080 [13:31:11]Content-Length: 800 [13:31:11]Content-Type: application/json [13:31:11] [13:31:11]POST finish read [13:31:11]Found Content-Length = 800 [13:31:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359570", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.52 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:31:11]execute_script... [13:31:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359570", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 300.52 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:31:11]POST & json_proto [13:31:11]process_json_proto [13:31:11]json parsed OK: [13:31:11]protocol is kg_v1.0 [13:31:11]action value=close_receipt [13:31:11]process_action close_receipt [13:31:11]cmd_close_receipt [13:31:11]MH_GetDate [13:31:11]Write to MH i2c: F0 00 00 10 3F 3E [13:31:11]Write i2c OK [13:31:11]MH_I2C_Read... [13:31:11]Read from MH i2c: F0 [13:31:11]MH_I2C_Read... [13:31:11]Read from MH i2c: F0 09 00 [13:31:11]MH_I2C_Read... [13:31:11]Read from MH i2c: F0 09 00 10 3F 00 AE F1 13 66 2B 11 66 64 65 [13:31:11]GetLastDocTimeStamp 1712581189 [13:31:11]current date 1712583086 [13:31:11]FM_GetShiftState [13:31:11]SAM_PROTO_GetShiftState [13:31:11]wFMCommunicate request_size=4 [13:31:11]MH_SAM_APDU [13:31:11]CAPDU: 80 13 01 00 [13:31:11]Write to MH i2c: E2 08 00 11 3F 80 13 01 00 00 00 00 00 CD [13:31:11]Write i2c OK [13:31:11]MH_I2C_Read... [13:31:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:11]Read from MH i2c: E2 [13:31:11]MH_I2C_Read... [13:31:11]Read from MH i2c: E2 0E 00 [13:31:11]MH_I2C_Read... [13:31:11]Read from MH i2c: E2 0E 00 11 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5A [13:31:11]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [13:31:11]wFMCommunicate OK [13:31:11]SAM_PROTO_GetShiftState done [13:31:11]FM_GetShiftState done [13:31:11]opened in 1712536270 [13:31:11]opened+sec_in_day 1712622670 [13:31:11]quantity*price = 30051 [13:31:11]sum+1 = 30053 [13:31:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 300.52 ÐСП 1% : 2.66 ÐДС 12% : 31.91 Ðаличными: 0.00 Безнал.: 300.52 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 40 08.04.2024 13:31 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26827 ФПД: 241532042799275 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T133126&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26827&fm=241532042799275&tin=02508201610067®Number=0000000000091578&sum=30052 [13:31:12]StoreToDocumentArchive [13:31:12]shift 314 fd 26827 [13:31:12]save to /storage/0314/doc_00026827 [13:31:12]save last doc name /storage/0314/doc_00026827 to /storage/kkm_last_doc_name [13:31:12]save OK [13:31:12]Clear old archive folders... [13:31:12]ProcessDocumentItem done err = 0, tmpTLVsize=251 [13:31:12]tlvbuf is B6DB7190 [13:31:12]SAM_PROTO_ClearQueue [13:31:12]wFMCommunicate request_size=4 [13:31:12]MH_SAM_APDU [13:31:12]CAPDU: 80 09 00 00 [13:31:12]Write to MH i2c: E2 08 00 1E 3F 80 09 00 00 00 00 00 00 CF [13:31:12]Write i2c OK [13:31:12]MH_I2C_Read... [13:31:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:31:12]Read from MH i2c: E2 [13:31:12]MH_I2C_Read... [13:31:12]Read from MH i2c: E2 03 00 [13:31:12]MH_I2C_Read... [13:31:12]Read from MH i2c: E2 03 00 1E 3F 00 90 00 D1 [13:31:12]RAPDU: 90 00 [13:31:12]wFMCommunicate OK [13:31:12]SAM_PROTO_ClearQueue done [13:31:12]KKMCreateOFDPacket [13:31:12]OFDProtocolAddRootSTLVToBuf [13:31:12]FM_MakeSignedData [13:31:12]FM_MakeSignedData [13:31:12]SAM_PROTO_SignData [13:31:12]wFMCommunicate request_size=4 [13:31:12]MH_SAM_APDU [13:31:12]CAPDU: 80 0D 01 02 [13:31:12]Write to MH i2c: E2 08 00 1F 3F 80 0D 01 02 00 00 00 00 D7 [13:31:12]Write i2c OK [13:31:12]MH_I2C_Read... [13:31:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:31:13]Read from MH i2c: E2 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 03 00 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 03 00 1F 3F 00 90 00 D2 [13:31:13]RAPDU: 90 00 [13:31:13]wFMCommunicate OK [13:31:13]wFMCommunicate request_size=255 [13:31:13]MH_SAM_APDU [13:31:13]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AE F1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CB 68 00 00 35 04 06 00 DB [13:31:13]Write to MH i2c: E2 02 01 20 3F 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AE F1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CB 68 00 00 35 04 06 00 DB 00 00 FF [13:31:13]Write i2c OK [13:31:13]MH_I2C_Read... [13:31:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:13]Read from MH i2c: E2 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 03 00 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 03 00 20 3F 00 90 00 D3 [13:31:13]RAPDU: 90 00 [13:31:13]wFMCommunicate OK [13:31:13]wFMCommunicate request_size=10 [13:31:13]MH_SAM_APDU [13:31:13]CAPDU: 80 0D 02 02 05 AC 0F 9C E8 AB [13:31:13]Write to MH i2c: E2 0D 00 21 3F 80 0D 02 02 05 00 AC 0F 9C E8 AB 00 00 CE [13:31:13]Write i2c OK [13:31:13]MH_I2C_Read... [13:31:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:13]Read from MH i2c: E2 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 03 00 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 03 00 21 3F 00 90 00 D4 [13:31:13]RAPDU: 90 00 [13:31:13]wFMCommunicate OK [13:31:13]wFMCommunicate request_size=4 [13:31:13]MH_SAM_APDU [13:31:13]CAPDU: 80 0D 03 02 [13:31:13]Write to MH i2c: E2 08 00 22 3F 80 0D 03 02 00 00 00 00 DC [13:31:13]Write i2c OK [13:31:13]MH_I2C_Read... [13:31:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:31:13]Read from MH i2c: E2 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 0B 00 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 0B 00 22 3F 00 7E 6C CF 3C CE E2 85 C5 90 00 CC [13:31:13]RAPDU: 7E 6C CF 3C CE E2 85 C5 90 00 [13:31:13]wFMCommunicate OK [13:31:13]SAM_PROTO_SignData done [13:31:13]FM_MakeSignedData done [13:31:13]CreateOFDProtocolMessage [13:31:13]wFMCommunicate request_size=4 [13:31:13]MH_SAM_APDU [13:31:13]CAPDU: 80 11 00 00 [13:31:13]Write to MH i2c: E2 08 00 23 3F 80 11 00 00 00 00 00 00 DC [13:31:13]Write i2c OK [13:31:13]MH_I2C_Read... [13:31:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:13]Read from MH i2c: E2 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 17 00 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: E2 17 00 23 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 34 [13:31:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:31:13]wFMCommunicate OK [13:31:13]CreateOFDProtocolMessage done [13:31:13]OFDSenderStorePacket 26827 [13:31:13]StoreOFDPacket docnum=26827 [13:31:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 49 E3 07 01 2E C5 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AE F1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CB 68 00 00 35 04 06 00 DB AC 0F 9C E8 AB 7E 6C CF 3C CE E2 85 C5 [13:31:13]CheckFolder [13:31:13]dirname=/storage/ofd_packets [13:31:13]CheckFolder done [13:31:13]ProducePacketName [13:31:13]name=ofd_packets/00026827 [13:31:13]NVStorageSaveData ofd_packets/00026827 [13:31:13]File name is /storage/ofd_packets/00026827 [13:31:13]Write 301 bytes [13:31:13]NVStorageSaveData done [13:31:13]OFDSenderStorePacket done [13:31:13]KKMCreateOFDPacket done [13:31:13]NVStorageSaveData kkm_last_timestamp [13:31:13]File name is /storage/kkm_last_timestamp [13:31:13]Write 4 bytes [13:31:13]NVStorageSaveData done [13:31:13]ExternCall_PrintAddStr [13:31:13]wPrintStart [13:31:13]Write to MH i2c: 01 00 00 24 3F 63 [13:31:13]Write i2c OK [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: 01 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: 01 07 00 [13:31:13]MH_I2C_Read... [13:31:13]Read from MH i2c: 01 07 00 24 3F 00 00 00 00 00 FF 0F 78 [13:31:13]RasterBufferAndPrint [13:31:13]line Счет N : (1)359570 [13:31:13]line ИÐÐ: 02508201610067 [13:31:13]line Контрольно-КаÑÑовый Чек [13:31:13]line ПРОДÐЖР[13:31:13]line ТРК (МРК, ГÐК) : 51 [13:31:13]line Товар: 2710124130 [13:31:13]line Ðи-92-К-5 [13:31:13]line 4.740 * 63.40 [13:31:13]line = 300.52 [13:31:13]line ÐДС 12% ÐСП 1% [13:31:13]line > о реализуемом товаре [13:31:13]line ИТОГО: 300.52 [13:31:13]line ÐСП 1% : 2.66 [13:31:13]line ÐДС 12% : 31.91 [13:31:13]line Ðаличными: 0.00 [13:31:13]line Безнал.: 300.52 [13:31:13]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [13:31:13]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [13:31:13]line СÐО: Общий режим [13:31:13]line Чек 40 08.04.2024 13:31 [13:31:13]line Смена: 314 ФФД: 1.0 [13:31:13]line ЗÐМ: 0300000147 [13:31:13]line РÐМ: 0000000000091578 [13:31:13]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [13:31:13]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [13:31:13]line ФМ: 0000000000874657 [13:31:13]line ФД: 26827 [13:31:13]line ФПД: 241532042799275 [13:31:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T133126&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26827&fm=241532042799275&tin=02508201610067®Number=0000000000091578&sum=30052 [13:31:13]OFD Sender: Processing packet 26827 [packets to send 44, broken 43] [13:31:13]ProducePacketName [13:31:13]name=ofd_packets/00026827 [13:31:13]OFD Sender: To server: ‡•öpG, [13:31:13]CommunicateWithHost lk.salyk.kg:30040 [13:31:13]ConnectInit lk.salyk.kg [13:31:13]written 0, free lines is 4095 [13:31:13]Connected sock=10 [13:31:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 49 E3 07 01 2E C5 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 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 77 0C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 75 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 AE F1 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CB 68 00 00 35 04 06 00 DB AC 0F 9C E8 AB 7E 6C CF 3C CE E2 85 C5 [13:31:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 27 60 47 00 29 A2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CB 68 00 00 F4 03 04 00 18 99 13 66 B6 04 01 00 00 1D 76 ED FC 88 69 12 77 [13:31:14]CommunicateWithHost err = 0 [13:31:14]CheckOFDResponse [13:31:14]1017 (14) - 77093643461234 [13:31:14]1041 (16) - 0000000000874657 [13:31:14]1040 (4) - 26827 [13:31:14]1012 (4) - 08.04.2024 07:13 [13:31:14]1206 (1) - 0 [13:31:14]OFD Sender: Remove packet 26827 [13:31:14]ProducePacketName [13:31:14]name=ofd_packets/00026827 [13:31:14]NVStorageDeleteData [13:31:14]Write to MH i2c: 01 00 00 4E 3F 8D [13:31:14]Write i2c OK [13:31:14]MH_I2C_Read... [13:31:14]Read from MH i2c: 01 [13:31:14]MH_I2C_Read... [13:31:14]Read from MH i2c: 01 07 00 [13:31:14]MH_I2C_Read... [13:31:14]Read from MH i2c: 01 07 00 4E 3F 00 00 00 00 00 8D 0C 2D [13:31:14]RasterBufferAndPrint [13:31:14]line [13:31:14]line [13:31:14]line [13:31:14]line [13:31:14]line [13:31:14]written 0, free lines is 3216 [13:31:14]MH_Cut [13:31:14]Write to MH i2c: D1 01 00 55 3F 01 66 [13:31:14]Write i2c OK [13:31:14]MH_I2C_Read... [13:31:14]Read from MH i2c: D1 [13:31:14]MH_I2C_Read... [13:31:14]Read from MH i2c: D1 01 00 [13:31:14]MH_I2C_Read... [13:31:14]Read from MH i2c: D1 01 00 55 3F 00 65 [13:31:14]Write to MH i2c: 01 00 00 56 3F 95 [13:31:14]Write i2c OK [13:31:14]MH_I2C_Read... [13:31:14]OFD Sender: No OFD packet to send [13:31:15]*** Cut start [13:31:15]*** Partial cut [13:31:15]*** CUTSNS_PIN = 1 [13:31:15]*** CUTSNS_PIN = 0 [13:31:15]*** Brake cut motor [13:31:16]Read from MH i2c: 01 [13:31:16]MH_I2C_Read... [13:31:16]*** Stop cut motor [13:31:16]*** Cut end [13:31:16]Read from MH i2c: 01 07 00 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: 01 07 00 56 3F 00 00 00 00 00 FF 0F AA [13:31:16]process_action close_receipt done [13:31:16]requested_data is exist [13:31:16]produce_requested_data [13:31:16]requested_item fm.sn is exist - process it [13:31:16]wFMCommunicate request_size=4 [13:31:16]MH_SAM_APDU [13:31:16]CAPDU: 80 11 00 00 [13:31:16]Write to MH i2c: E2 08 00 57 3F 80 11 00 00 00 00 00 00 10 [13:31:16]Write i2c OK [13:31:16]MH_I2C_Read... [13:31:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:16]Read from MH i2c: E2 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: E2 17 00 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: E2 17 00 57 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 68 [13:31:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [13:31:16]wFMCommunicate OK [13:31:16]requested_item fd.num is exist - process it [13:31:16]SAM_PROTO_GetFieldsCounters [13:31:16]wFMCommunicate request_size=4 [13:31:16]MH_SAM_APDU [13:31:16]CAPDU: 80 13 00 00 [13:31:16]Write to MH i2c: E2 08 00 58 3F 80 13 00 00 00 00 00 00 13 [13:31:16]Write i2c OK [13:31:16]MH_I2C_Read... [13:31:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:31:16]Read from MH i2c: E2 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: E2 62 00 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: E2 62 00 58 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [13:31:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:31:16]wFMCommunicate OK [13:31:16]SAM_PROTO_GetFieldsCounters done [13:31:16]requested_item shift.num is exist - process it [13:31:16]requested_item shift.opened is exist - process it [13:31:16]req_shift_opened [13:31:16]FM_GetShiftState [13:31:16]SAM_PROTO_GetShiftState [13:31:16]wFMCommunicate request_size=4 [13:31:16]MH_SAM_APDU [13:31:16]CAPDU: 80 13 01 00 [13:31:16]Write to MH i2c: E2 08 00 59 3F 80 13 01 00 00 00 00 00 15 [13:31:16]Write i2c OK [13:31:16]MH_I2C_Read... [13:31:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:16]Read from MH i2c: E2 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: E2 0E 00 [13:31:16]MH_I2C_Read... [13:31:16]Read from MH i2c: E2 0E 00 59 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A2 [13:31:16]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [13:31:16]wFMCommunicate OK [13:31:16]SAM_PROTO_GetShiftState done [13:31:16]FM_GetShiftState done [13:31:16]req_shift_opened done [13:31:16]requested_item shift.open_date is exist - process it [13:31:16]req_shift_open_date [13:31:16]req_shift_open_date done [13:31:16]produce_requested_data done [13:31:16]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26827,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [13:31:16]process_action_free close_receipt [13:31:16]json_value_free [13:31:16]json_value_free done [13:31:16]process_json_proto returns [13:31:16]Send response to host [13:31:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26827,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [13:31:16]free response buf [13:31:16]execute_script done [13:31:16]execute_script returns [13:31:16]free content buf [13:31:16]Sock 9.Close socket [13:31:16]Sock 9.Thread stoped [13:31:19]OFD Sender: No OFD packet to send [13:31:24]OFD Sender: No OFD packet to send [13:31:29]OFD Sender: No OFD packet to send [13:31:34]OFD Sender: No OFD packet to send [13:31:39]OFD Sender: No OFD packet to send [13:31:44]OFD Sender: No OFD packet to send [13:31:49]OFD Sender: No OFD packet to send [13:31:54]OFD Sender: No OFD packet to send [13:31:59]OFD Sender: No OFD packet to send [13:32:04]OFD Sender: No OFD packet to send [13:32:09]OFD Sender: No OFD packet to send [13:32:14]OFD Sender: No OFD packet to send [13:32:19]OFD Sender: No OFD packet to send [13:32:24]OFD Sender: No OFD packet to send [13:32:29]OFD Sender: No OFD packet to send [13:32:34]OFD Sender: No OFD packet to send [13:32:39]OFD Sender: No OFD packet to send [13:32:44]OFD Sender: No OFD packet to send [13:32:49]OFD Sender: No OFD packet to send [13:32:54]OFD Sender: No OFD packet to send [13:32:59]OFD Sender: No OFD packet to send [13:33:04]OFD Sender: No OFD packet to send [13:33:09]OFD Sender: No OFD packet to send [13:33:14]OFD Sender: No OFD packet to send [13:33:19]OFD Sender: No OFD packet to send [13:33:24]OFD Sender: No OFD packet to send [13:33:29]OFD Sender: No OFD packet to send [13:33:34]OFD Sender: No OFD packet to send [13:33:39]OFD Sender: No OFD packet to send [13:33:44]OFD Sender: No OFD packet to send [13:33:49]OFD Sender: No OFD packet to send [13:33:54]OFD Sender: No OFD packet to send [13:33:59]OFD Sender: No OFD packet to send [13:34:04]OFD Sender: No OFD packet to send [13:34:09]OFD Sender: No OFD packet to send [13:34:14]OFD Sender: No OFD packet to send [13:34:19]OFD Sender: No OFD packet to send [13:34:24]OFD Sender: No OFD packet to send [13:34:29]OFD Sender: No OFD packet to send [13:34:34]OFD Sender: No OFD packet to send [13:34:39]OFD Sender: No OFD packet to send [13:34:44]OFD Sender: No OFD packet to send [13:34:49]OFD Sender: No OFD packet to send [13:34:54]OFD Sender: No OFD packet to send [13:34:59]OFD Sender: No OFD packet to send [13:35:04]OFD Sender: No OFD packet to send [13:35:09]OFD Sender: No OFD packet to send [13:35:14]OFD Sender: No OFD packet to send [13:35:19]OFD Sender: No OFD packet to send [13:35:24]OFD Sender: No OFD packet to send [13:35:29]OFD Sender: No OFD packet to send [13:35:34]OFD Sender: No OFD packet to send [13:35:39]OFD Sender: No OFD packet to send [13:35:44]OFD Sender: No OFD packet to send [13:35:49]OFD Sender: No OFD packet to send [13:35:54]OFD Sender: No OFD packet to send [13:35:59]OFD Sender: No OFD packet to send [13:36:04]OFD Sender: No OFD packet to send [13:36:09]OFD Sender: No OFD packet to send [13:36:14]OFD Sender: No OFD packet to send [13:36:19]OFD Sender: No OFD packet to send [13:36:24]OFD Sender: No OFD packet to send [13:36:29]OFD Sender: No OFD packet to send [13:36:34]OFD Sender: No OFD packet to send [13:36:39]OFD Sender: No OFD packet to send [13:36:44]OFD Sender: No OFD packet to send [13:36:49]OFD Sender: No OFD packet to send [13:36:54]OFD Sender: No OFD packet to send [13:36:59]OFD Sender: No OFD packet to send [13:37:04]OFD Sender: No OFD packet to send [13:37:09]OFD Sender: No OFD packet to send [13:37:14]OFD Sender: No OFD packet to send [13:37:19]OFD Sender: No OFD packet to send [13:37:24]OFD Sender: No OFD packet to send [13:37:29]OFD Sender: No OFD packet to send [13:37:34]OFD Sender: No OFD packet to send [13:37:39]OFD Sender: No OFD packet to send [13:37:44]OFD Sender: No OFD packet to send [13:37:49]OFD Sender: No OFD packet to send [13:37:54]OFD Sender: No OFD packet to send [13:37:59]OFD Sender: No OFD packet to send [13:38:04]OFD Sender: No OFD packet to send [13:38:09]OFD Sender: No OFD packet to send [13:38:14]OFD Sender: No OFD packet to send [13:38:19]OFD Sender: No OFD packet to send [13:38:24]OFD Sender: No OFD packet to send [13:38:29]OFD Sender: No OFD packet to send [13:38:34]OFD Sender: No OFD packet to send [13:38:39]OFD Sender: No OFD packet to send [13:38:44]OFD Sender: No OFD packet to send [13:38:49]OFD Sender: No OFD packet to send [13:38:54]OFD Sender: No OFD packet to send [13:38:59]OFD Sender: No OFD packet to send [13:39:04]OFD Sender: No OFD packet to send [13:39:09]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:15]OFD Sender: No OFD packet to send [13:41:20]OFD Sender: No OFD packet to send [13:41:25]OFD Sender: No OFD packet to send [13:41:30]OFD Sender: No OFD packet to send [13:41:35]OFD Sender: No OFD packet to send [13:41:40]OFD Sender: No OFD packet to send [13:41:45]OFD Sender: No OFD packet to send [13:41:50]OFD Sender: No OFD packet to send [13:41:55]OFD Sender: No OFD packet to send [13:42:00]OFD Sender: No OFD packet to send [13:42:05]OFD Sender: No OFD packet to send [13:42:10]OFD Sender: No OFD packet to send [13:42:15]OFD Sender: No OFD packet to send [13:42:20]OFD Sender: No OFD packet to send [13:42:25]OFD Sender: No OFD packet to send [13:42:30]OFD Sender: No OFD packet to send [13:42:35]OFD Sender: No OFD packet to send [13:42:40]OFD Sender: No OFD packet to send [13:42:45]OFD Sender: No OFD packet to send [13:42:50]OFD Sender: No OFD packet to send [13:42:55]OFD Sender: No OFD packet to send [13:43:00]OFD Sender: No OFD packet to send [13:43:05]OFD Sender: No OFD packet to send [13:43:10]OFD Sender: No OFD packet to send [13:43:15]OFD Sender: No OFD packet to send [13:43:20]OFD Sender: No OFD packet to send [13:43:25]OFD Sender: No OFD packet to send [13:43:30]OFD Sender: No OFD packet to send [13:43:35]OFD Sender: No OFD packet to send [13:43:40]OFD Sender: No OFD packet to send [13:43:45]OFD Sender: No OFD packet to send [13:43:50]OFD Sender: No OFD packet to send [13:43:55]OFD Sender: No OFD packet to send [13:44:00]OFD Sender: No OFD packet to send [13:44:05]OFD Sender: No OFD packet to send [13:44:10]OFD Sender: No OFD packet to send [13:44:15]OFD Sender: No OFD packet to send [13:44:20]OFD Sender: No OFD packet to send [13:44:25]OFD Sender: No OFD packet to send [13:44:30]OFD Sender: No OFD packet to send [13:44:35]OFD Sender: No OFD packet to send [13:44:40]OFD Sender: No OFD packet to send [13:44:45]OFD Sender: No OFD packet to send [13:44:50]OFD Sender: No OFD packet to send [13:44:55]OFD Sender: No OFD packet to send [13:45:00]OFD Sender: No OFD packet to send [13:45:05]OFD Sender: No OFD packet to send [13:45:10]OFD Sender: No OFD packet to send [13:45:15]OFD Sender: No OFD packet to send [13:45:20]OFD Sender: No OFD packet to send [13:45:25]OFD Sender: No OFD packet to send [13:45:30]OFD Sender: No OFD packet to send [13:45:35]OFD Sender: No OFD packet to send [13:45:40]OFD Sender: No OFD packet to send [13:45:45]OFD Sender: No OFD packet to send [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:41]OFD Sender: No OFD packet to send [13:57:46]OFD Sender: No OFD packet to send [13:57:51]OFD Sender: No OFD packet to send [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:21]OFD Sender: No OFD packet to send [13:58:26]OFD Sender: No OFD packet to send [13:58:31]OFD Sender: No OFD packet to send [13:58:36]OFD Sender: No OFD packet to send [13:58:41]OFD Sender: No OFD packet to send [13:58:46]OFD Sender: No OFD packet to send [13:58:51]OFD Sender: No OFD packet to send [13:58:56]OFD Sender: No OFD packet to send [13:59:01]OFD Sender: No OFD packet to send [13:59:06]OFD Sender: No OFD packet to send [13:59:11]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:01]accept exits with 8 [14:03:01]New connection [14:03:01]New thread 3066871140 created [14:03:01]Thread 3067014500 joined [14:03:01]Waiting for new connection... [14:03:01] Sock 8.Parse request [14:03:01]Sock 8.Check first char [14:03:01]Sock 8.First char is OK [14:03:01]request: POST /json_proto HTTP/1.0 [14:03:01]Method: POST [14:03:01]URL: /json_proto [14:03:01]Method is POST - this is cgi request [14:03:01]url: /json_proto [14:03:01]query_string will be loaded in cgi processing [14:03:01]execute_cgi json_proto POST (null) [14:03:01]execute_cgi path=json_proto method=POST [14:03:01]POST find Content-Length [14:03:01]Host: 172.17.35.3:8080 [14:03:01]Content-Length: 808 [14:03:01]Content-Type: application/json [14:03:01] [14:03:01]POST finish read [14:03:01]Found Content-Length = 808 [14:03:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359571", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:01]execute_script... [14:03: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)359571", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:01]POST & json_proto [14:03:01]process_json_proto [14:03:01]json parsed OK: [14:03:01]protocol is kg_v1.0 [14:03:01]action value=close_receipt [14:03:01]process_action close_receipt [14:03:01]cmd_close_receipt [14:03:01]MH_GetDate [14:03:01]Write to MH i2c: F0 00 00 5A 3F 88 [14:03:01]Write i2c OK [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: F0 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: F0 09 00 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: F0 09 00 5A 3F 00 24 F9 13 66 2B 11 66 64 2D [14:03:01]GetLastDocTimeStamp 1712583086 [14:03:01]current date 1712584996 [14:03:01]FM_GetShiftState [14:03:01]SAM_PROTO_GetShiftState [14:03:01]wFMCommunicate request_size=4 [14:03:01]MH_SAM_APDU [14:03:01]CAPDU: 80 13 01 00 [14:03:01]Write to MH i2c: E2 08 00 5B 3F 80 13 01 00 00 00 00 00 17 [14:03:01]Write i2c OK [14:03:01]MH_I2C_Read... [14:03:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:01]Read from MH i2c: E2 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 0E 00 [14:03:01]MH_I2C_Read... [14:03:01]Read from MH i2c: E2 0E 00 5B 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A4 [14:03:01]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:03:01]wFMCommunicate OK [14:03:01]SAM_PROTO_GetShiftState done [14:03:01]FM_GetShiftState done [14:03:01]opened in 1712536270 [14:03:01]opened+sec_in_day 1712622670 [14:03:01]quantity*price = 100017 [14:03:01]sum+1 = 100018 [14:03:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 41 08.04.2024 14:03 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26828 ФПД: 66726143035924 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T140316&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26828&fm=66726143035924&tin=02508201610067®Number=0000000000091578&sum=100017 [14:03:02]StoreToDocumentArchive [14:03:02]shift 314 fd 26828 [14:03:02]save to /storage/0314/doc_00026828 [14:03:02]save last doc name /storage/0314/doc_00026828 to /storage/kkm_last_doc_name [14:03:02]save OK [14:03:02]Clear old archive folders... [14:03:02]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:03:02]tlvbuf is 00EEBC70 [14:03:02]SAM_PROTO_ClearQueue [14:03:02]wFMCommunicate request_size=4 [14:03:02]MH_SAM_APDU [14:03:02]CAPDU: 80 09 00 00 [14:03:02]Write to MH i2c: E2 08 00 68 3F 80 09 00 00 00 00 00 00 19 [14:03:02]Write i2c OK [14:03:02]MH_I2C_Read... [14:03:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:03:02]Read from MH i2c: E2 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 68 3F 00 90 00 1B [14:03:02]RAPDU: 90 00 [14:03:02]wFMCommunicate OK [14:03:02]SAM_PROTO_ClearQueue done [14:03:02]KKMCreateOFDPacket [14:03:02]OFDProtocolAddRootSTLVToBuf [14:03:02]FM_MakeSignedData [14:03:02]FM_MakeSignedData [14:03:02]SAM_PROTO_SignData [14:03:02]wFMCommunicate request_size=4 [14:03:02]MH_SAM_APDU [14:03:02]CAPDU: 80 0D 01 02 [14:03:02]Write to MH i2c: E2 08 00 69 3F 80 0D 01 02 00 00 00 00 21 [14:03:02]Write i2c OK [14:03:02]MH_I2C_Read... [14:03:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:03:02]Read from MH i2c: E2 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 69 3F 00 90 00 1C [14:03:02]RAPDU: 90 00 [14:03:02]wFMCommunicate OK [14:03:02]wFMCommunicate request_size=255 [14:03:02]MH_SAM_APDU [14:03:02]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 24 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CC 68 00 00 35 04 06 00 [14:03:02]Write to MH i2c: E2 02 01 6A 3F 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 24 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CC 68 00 00 35 04 06 00 00 00 2C [14:03:02]Write i2c OK [14:03:02]MH_I2C_Read... [14:03:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:02]Read from MH i2c: E2 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 6A 3F 00 90 00 1D [14:03:02]RAPDU: 90 00 [14:03:02]wFMCommunicate OK [14:03:02]wFMCommunicate request_size=11 [14:03:02]MH_SAM_APDU [14:03:02]CAPDU: 80 0D 02 02 06 3C AF E4 0D 8A 14 [14:03:02]Write to MH i2c: E2 0E 00 6B 3F 80 0D 02 02 06 00 3C AF E4 0D 8A 14 00 00 AA [14:03:02]Write i2c OK [14:03:02]MH_I2C_Read... [14:03:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:02]Read from MH i2c: E2 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 [14:03:02]MH_I2C_Read... [14:03:02]Read from MH i2c: E2 03 00 6B 3F 00 90 00 1E [14:03:02]RAPDU: 90 00 [14:03:02]wFMCommunicate OK [14:03:02]wFMCommunicate request_size=4 [14:03:02]MH_SAM_APDU [14:03:02]CAPDU: 80 0D 03 02 [14:03:02]Write to MH i2c: E2 08 00 6C 3F 80 0D 03 02 00 00 00 00 26 [14:03:02]Write i2c OK [14:03:02]MH_I2C_Read... [14:03:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:03:03]Read from MH i2c: E2 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: E2 0B 00 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: E2 0B 00 6C 3F 00 84 A7 AA 3C BD 73 D0 FA 90 00 32 [14:03:03]RAPDU: 84 A7 AA 3C BD 73 D0 FA 90 00 [14:03:03]wFMCommunicate OK [14:03:03]SAM_PROTO_SignData done [14:03:03]FM_MakeSignedData done [14:03:03]CreateOFDProtocolMessage [14:03:03]wFMCommunicate request_size=4 [14:03:03]MH_SAM_APDU [14:03:03]CAPDU: 80 11 00 00 [14:03:03]Write to MH i2c: E2 08 00 6D 3F 80 11 00 00 00 00 00 00 26 [14:03:03]Write i2c OK [14:03:03]MH_I2C_Read... [14:03:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:03]Read from MH i2c: E2 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: E2 17 00 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: E2 17 00 6D 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 7E [14:03:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:03:03]wFMCommunicate OK [14:03:03]CreateOFDProtocolMessage done [14:03:03]OFDSenderStorePacket 26828 [14:03:03]StoreOFDPacket docnum=26828 [14:03:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C9 23 08 01 2F 79 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 24 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CC 68 00 00 35 04 06 00 3C AF E4 0D 8A 14 84 A7 AA 3C BD 73 D0 FA [14:03:03]CheckFolder [14:03:03]dirname=/storage/ofd_packets [14:03:03]CheckFolder done [14:03:03]ProducePacketName [14:03:03]name=ofd_packets/00026828 [14:03:03]NVStorageSaveData ofd_packets/00026828 [14:03:03]File name is /storage/ofd_packets/00026828 [14:03:03]Write 302 bytes [14:03:03]NVStorageSaveData done [14:03:03]OFDSenderStorePacket done [14:03:03]KKMCreateOFDPacket done [14:03:03]NVStorageSaveData kkm_last_timestamp [14:03:03]File name is /storage/kkm_last_timestamp [14:03:03]Write 4 bytes [14:03:03]NVStorageSaveData done [14:03:03]ExternCall_PrintAddStr [14:03:03]wPrintStart [14:03:03]Write to MH i2c: 01 00 00 6E 3F AD [14:03:03]Write i2c OK [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: 01 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: 01 07 00 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: 01 07 00 6E 3F 00 00 00 00 00 FF 0F C2 [14:03:03]RasterBufferAndPrint [14:03:03]line Счет N : (1)359571 [14:03:03]line ИÐÐ: 02508201610067 [14:03:03]line Контрольно-КаÑÑовый Чек [14:03:03]line ПРОДÐЖР[14:03:03]line ТРК (МРК, ГÐК) : 21 [14:03:03]line Товар: 2710194210 [14:03:03]line ДТ(л)-К-5 [14:03:03]line 13.930 * 71.80 [14:03:03]line = 1000.17 [14:03:03]line ÐДС 12% ÐСП 1% [14:03:03]line > о реализуемом товаре [14:03:03]line ИТОГО: 1000.17 [14:03:03]line ÐСП 1% : 8.85 [14:03:03]line ÐДС 12% : 106.21 [14:03:03]line Ðаличными: 0.00 [14:03:03]line Безнал.: 1000.17 [14:03:03]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [14:03:03]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:03:03]line СÐО: Общий режим [14:03:03]line Чек 41 08.04.2024 14:03 [14:03:03]line Смена: 314 ФФД: 1.0 [14:03:03]line ЗÐМ: 0300000147 [14:03:03]line РÐМ: 0000000000091578 [14:03:03]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:03:03]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [14:03:03]line ФМ: 0000000000874657 [14:03:03]line ФД: 26828 [14:03:03]line ФПД: 66726143035924 [14:03:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T140316&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26828&fm=66726143035924&tin=02508201610067®Number=0000000000091578&sum=100017 [14:03:03]OFD Sender: Processing packet 26828 [packets to send 44, broken 43] [14:03:03]ProducePacketName [14:03:03]name=ofd_packets/00026828 [14:03:03]OFD Sender: To server: ‡•öpG, [14:03:03]CommunicateWithHost lk.salyk.kg:30040 [14:03:03]ConnectInit lk.salyk.kg [14:03:03]written 0, free lines is 4095 [14:03:03]Connected sock=10 [14:03:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C9 23 08 01 2F 79 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 24 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CC 68 00 00 35 04 06 00 3C AF E4 0D 8A 14 84 A7 AA 3C BD 73 D0 FA [14:03:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 B2 0A 47 00 76 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CC 68 00 00 F4 03 04 00 8E A0 13 66 B6 04 01 00 00 8A E0 BF 3D 4B 58 E0 23 [14:03:03]CommunicateWithHost err = 0 [14:03:03]CheckOFDResponse [14:03:03]1017 (14) - 77093643461234 [14:03:03]1041 (16) - 0000000000874657 [14:03:03]1040 (4) - 26828 [14:03:03]1012 (4) - 08.04.2024 07:45 [14:03:03]1206 (1) - 0 [14:03:03]OFD Sender: Remove packet 26828 [14:03:03]ProducePacketName [14:03:03]name=ofd_packets/00026828 [14:03:03]NVStorageDeleteData [14:03:03]Write to MH i2c: 01 00 00 98 3F D7 [14:03:03]Write i2c OK [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: 01 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: 01 07 00 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: 01 07 00 98 3F 00 00 00 00 00 8D 0C 77 [14:03:03]RasterBufferAndPrint [14:03:03]line [14:03:03]line [14:03:03]line [14:03:03]line [14:03:03]line [14:03:03]written 0, free lines is 3216 [14:03:03]MH_Cut [14:03:03]Write to MH i2c: D1 01 00 9F 3F 01 B0 [14:03:03]Write i2c OK [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: D1 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: D1 01 00 [14:03:03]MH_I2C_Read... [14:03:03]Read from MH i2c: D1 01 00 9F 3F 00 AF [14:03:03]Write to MH i2c: 01 00 00 A0 3F DF [14:03:03]Write i2c OK [14:03:03]MH_I2C_Read... [14:03:04]OFD Sender: No OFD packet to send [14:03:04]*** Cut start [14:03:04]*** Partial cut [14:03:04]*** CUTSNS_PIN = 1 [14:03:05]*** CUTSNS_PIN = 0 [14:03:05]*** Brake cut motor [14:03:05]Read from MH i2c: 01 [14:03:05]MH_I2C_Read... [14:03:05]*** Stop cut motor [14:03:05]*** Cut end [14:03:05]Read from MH i2c: 01 07 00 [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: 01 07 00 A0 3F 00 00 00 00 00 FF 0F F4 [14:03:05]process_action close_receipt done [14:03:05]requested_data is exist [14:03:05]produce_requested_data [14:03:05]requested_item fm.sn is exist - process it [14:03:05]wFMCommunicate request_size=4 [14:03:05]MH_SAM_APDU [14:03:05]CAPDU: 80 11 00 00 [14:03:05]Write to MH i2c: E2 08 00 A1 3F 80 11 00 00 00 00 00 00 5A [14:03:05]Write i2c OK [14:03:05]MH_I2C_Read... [14:03:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:05]Read from MH i2c: E2 [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: E2 17 00 [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: E2 17 00 A1 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B2 [14:03:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:03:05]wFMCommunicate OK [14:03:05]requested_item fd.num is exist - process it [14:03:05]SAM_PROTO_GetFieldsCounters [14:03:05]wFMCommunicate request_size=4 [14:03:05]MH_SAM_APDU [14:03:05]CAPDU: 80 13 00 00 [14:03:05]Write to MH i2c: E2 08 00 A2 3F 80 13 00 00 00 00 00 00 5D [14:03:05]Write i2c OK [14:03:05]MH_I2C_Read... [14:03:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:05]Read from MH i2c: E2 [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: E2 62 00 [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: E2 62 00 A2 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 72 [14:03:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:03:05]wFMCommunicate OK [14:03:05]SAM_PROTO_GetFieldsCounters done [14:03:05]requested_item shift.num is exist - process it [14:03:05]requested_item shift.opened is exist - process it [14:03:05]req_shift_opened [14:03:05]FM_GetShiftState [14:03:05]SAM_PROTO_GetShiftState [14:03:05]wFMCommunicate request_size=4 [14:03:05]MH_SAM_APDU [14:03:05]CAPDU: 80 13 01 00 [14:03:05]Write to MH i2c: E2 08 00 A3 3F 80 13 01 00 00 00 00 00 5F [14:03:05]Write i2c OK [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: E2 [14:03:05]MH_I2C_Read... [14:03:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:05]Read from MH i2c: E2 0E 00 [14:03:05]MH_I2C_Read... [14:03:05]Read from MH i2c: E2 0E 00 A3 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 EC [14:03:05]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:03:05]wFMCommunicate OK [14:03:05]SAM_PROTO_GetShiftState done [14:03:05]FM_GetShiftState done [14:03:05]req_shift_opened done [14:03:05]requested_item shift.open_date is exist - process it [14:03:05]req_shift_open_date [14:03:05]req_shift_open_date done [14:03:05]produce_requested_data done [14:03:05]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26828,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [14:03:05]process_action_free close_receipt [14:03:05]json_value_free [14:03:05]json_value_free done [14:03:05]process_json_proto returns [14:03:05]Send response to host [14:03:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26828,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [14:03:05]free response buf [14:03:05]execute_script done [14:03:05]execute_script returns [14:03:05]free content buf [14:03:05]Sock 8.Close socket [14:03:05]Sock 8.Thread stoped [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:38]accept exits with 9 [14:05:38]New connection [14:05:38]New thread 3067014500 created [14:05:38]Thread 3066871140 joined [14:05:38]Waiting for new connection... [14:05:38] Sock 9.Parse request [14:05:38]Sock 9.Check first char [14:05:38]Sock 9.First char is OK [14:05:38]request: POST /json_proto HTTP/1.0 [14:05:38]Method: POST [14:05:38]URL: /json_proto [14:05:38]Method is POST - this is cgi request [14:05:38]url: /json_proto [14:05:38]query_string will be loaded in cgi processing [14:05:38]execute_cgi json_proto POST (null) [14:05:38]execute_cgi path=json_proto method=POST [14:05:38]POST find Content-Length [14:05:38]Host: 172.17.35.3:8080 [14:05:38]Content-Length: 803 [14:05:38]Content-Type: application/json [14:05:38] [14:05:38]POST finish read [14:05:38]Found Content-Length = 803 [14:05:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359572", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:05:38]execute_script... [14:05:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359572", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: O! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:05:38]POST & json_proto [14:05:38]process_json_proto [14:05:38]json parsed OK: [14:05:38]protocol is kg_v1.0 [14:05:38]action value=close_receipt [14:05:38]process_action close_receipt [14:05:38]cmd_close_receipt [14:05:38]MH_GetDate [14:05:38]Write to MH i2c: F0 00 00 A4 3F D2 [14:05:38]Write i2c OK [14:05:38]MH_I2C_Read... [14:05:38]Read from MH i2c: F0 [14:05:38]MH_I2C_Read... [14:05:38]Read from MH i2c: F0 09 00 [14:05:38]MH_I2C_Read... [14:05:38]Read from MH i2c: F0 09 00 A4 3F 00 C1 F9 13 66 2B 11 66 64 14 [14:05:38]GetLastDocTimeStamp 1712584996 [14:05:38]current date 1712585153 [14:05:38]FM_GetShiftState [14:05:38]SAM_PROTO_GetShiftState [14:05:38]wFMCommunicate request_size=4 [14:05:38]MH_SAM_APDU [14:05:38]CAPDU: 80 13 01 00 [14:05:38]Write to MH i2c: E2 08 00 A5 3F 80 13 01 00 00 00 00 00 61 [14:05:38]Write i2c OK [14:05:38]MH_I2C_Read... [14:05:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:38]Read from MH i2c: E2 [14:05:38]MH_I2C_Read... [14:05:38]Read from MH i2c: E2 0E 00 [14:05:38]MH_I2C_Read... [14:05:38]Read from MH i2c: E2 0E 00 A5 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 EE [14:05:38]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:05:38]wFMCommunicate OK [14:05:38]SAM_PROTO_GetShiftState done [14:05:38]FM_GetShiftState done [14:05:38]opened in 1712536270 [14:05:38]opened+sec_in_day 1712622670 [14:05:38]quantity*price = 100045 [14:05:38]sum+1 = 100046 [14:05:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.45 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 0.00 Безнал.: 1000.45 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 42 08.04.2024 14:05 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26829 ФПД: 37657959501495 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T140553&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26829&fm=37657959501495&tin=02508201610067®Number=0000000000091578&sum=100045 [14:05:39]StoreToDocumentArchive [14:05:39]shift 314 fd 26829 [14:05:39]save to /storage/0314/doc_00026829 [14:05:39]save last doc name /storage/0314/doc_00026829 to /storage/kkm_last_doc_name [14:05:39]save OK [14:05:39]Clear old archive folders... [14:05:39]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:05:39]tlvbuf is 00E9EE50 [14:05:39]SAM_PROTO_ClearQueue [14:05:39]wFMCommunicate request_size=4 [14:05:39]MH_SAM_APDU [14:05:39]CAPDU: 80 09 00 00 [14:05:39]Write to MH i2c: E2 08 00 B2 3F 80 09 00 00 00 00 00 00 63 [14:05:39]Write i2c OK [14:05:39]MH_I2C_Read... [14:05:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:05:39]Read from MH i2c: E2 [14:05:39]MH_I2C_Read... [14:05:39]Read from MH i2c: E2 03 00 [14:05:39]MH_I2C_Read... [14:05:39]Read from MH i2c: E2 03 00 B2 3F 00 90 00 65 [14:05:39]RAPDU: 90 00 [14:05:39]wFMCommunicate OK [14:05:39]SAM_PROTO_ClearQueue done [14:05:39]KKMCreateOFDPacket [14:05:39]OFDProtocolAddRootSTLVToBuf [14:05:39]FM_MakeSignedData [14:05:39]FM_MakeSignedData [14:05:39]SAM_PROTO_SignData [14:05:39]wFMCommunicate request_size=4 [14:05:39]MH_SAM_APDU [14:05:39]CAPDU: 80 0D 01 02 [14:05:39]Write to MH i2c: E2 08 00 B3 3F 80 0D 01 02 00 00 00 00 6B [14:05:39]Write i2c OK [14:05:39]MH_I2C_Read... [14:05:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:05:39]Read from MH i2c: E2 [14:05:39]MH_I2C_Read... [14:05:39]Read from MH i2c: E2 03 00 [14:05:39]MH_I2C_Read... [14:05:39]Read from MH i2c: E2 03 00 B3 3F 00 90 00 66 [14:05:39]RAPDU: 90 00 [14:05:39]wFMCommunicate OK [14:05:39]wFMCommunicate request_size=255 [14:05:39]MH_SAM_APDU [14:05:39]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C1 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CD 68 00 00 35 04 06 00 22 [14:05:39]Write to MH i2c: E2 02 01 B4 3F 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C1 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CD 68 00 00 35 04 06 00 22 00 00 48 [14:05:39]Write i2c OK [14:05:39]MH_I2C_Read... [14:05:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:39]Read from MH i2c: E2 [14:05:39]MH_I2C_Read... [14:05:39]Read from MH i2c: E2 03 00 [14:05:39]MH_I2C_Read... [14:05:39]Read from MH i2c: E2 03 00 B4 3F 00 90 00 67 [14:05:39]RAPDU: 90 00 [14:05:39]wFMCommunicate OK [14:05:39]wFMCommunicate request_size=10 [14:05:39]MH_SAM_APDU [14:05:39]CAPDU: 80 0D 02 02 05 3F ED 4C 8E B7 [14:05:39]Write to MH i2c: E2 0D 00 B5 3F 80 0D 02 02 05 00 3F ED 4C 8E B7 00 00 35 [14:05:39]Write i2c OK [14:05:39]MH_I2C_Read... [14:05:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:05:40]Read from MH i2c: E2 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: E2 03 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: E2 03 00 B5 3F 00 90 00 68 [14:05:40]RAPDU: 90 00 [14:05:40]wFMCommunicate OK [14:05:40]wFMCommunicate request_size=4 [14:05:40]MH_SAM_APDU [14:05:40]CAPDU: 80 0D 03 02 [14:05:40]Write to MH i2c: E2 08 00 B6 3F 80 0D 03 02 00 00 00 00 70 [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:05:40]Read from MH i2c: E2 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: E2 0B 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: E2 0B 00 B6 3F 00 17 31 09 A8 A3 C9 53 46 90 00 6F [14:05:40]RAPDU: 17 31 09 A8 A3 C9 53 46 90 00 [14:05:40]wFMCommunicate OK [14:05:40]SAM_PROTO_SignData done [14:05:40]FM_MakeSignedData done [14:05:40]CreateOFDProtocolMessage [14:05:40]wFMCommunicate request_size=4 [14:05:40]MH_SAM_APDU [14:05:40]CAPDU: 80 11 00 00 [14:05:40]Write to MH i2c: E2 08 00 B7 3F 80 11 00 00 00 00 00 00 70 [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:40]Read from MH i2c: E2 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: E2 17 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: E2 17 00 B7 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C8 [14:05:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:05:40]wFMCommunicate OK [14:05:40]CreateOFDProtocolMessage done [14:05:40]OFDSenderStorePacket 26829 [14:05:40]StoreOFDPacket docnum=26829 [14:05:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 73 E6 07 01 4B E8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C1 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CD 68 00 00 35 04 06 00 22 3F ED 4C 8E B7 17 31 09 A8 A3 C9 53 46 [14:05:40]CheckFolder [14:05:40]dirname=/storage/ofd_packets [14:05:40]CheckFolder done [14:05:40]ProducePacketName [14:05:40]name=ofd_packets/00026829 [14:05:40]NVStorageSaveData ofd_packets/00026829 [14:05:40]File name is /storage/ofd_packets/00026829 [14:05:40]Write 301 bytes [14:05:40]NVStorageSaveData done [14:05:40]OFDSenderStorePacket done [14:05:40]KKMCreateOFDPacket done [14:05:40]NVStorageSaveData kkm_last_timestamp [14:05:40]File name is /storage/kkm_last_timestamp [14:05:40]Write 4 bytes [14:05:40]NVStorageSaveData done [14:05:40]ExternCall_PrintAddStr [14:05:40]wPrintStart [14:05:40]Write to MH i2c: 01 00 00 B8 3F F7 [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 07 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 07 00 B8 3F 00 00 00 00 00 FF 0F 0C [14:05:40]RasterBufferAndPrint [14:05:40]line Счет N : (1)359572 [14:05:40]line ИÐÐ: 02508201610067 [14:05:40]line Контрольно-КаÑÑовый Чек [14:05:40]line ПРОДÐЖР[14:05:40]line ТРК (МРК, ГÐК) : 51 [14:05:40]line Товар: 2710124130 [14:05:40]line Ðи-92-К-5 [14:05:40]line 15.780 * 63.40 [14:05:40]line = 1000.45 [14:05:40]line ÐДС 12% ÐСП 1% [14:05:40]line > о реализуемом товаре [14:05:40]line ИТОГО: 1000.45 [14:05:40]line ÐСП 1% : 8.85 [14:05:40]line ÐДС 12% : 106.24 [14:05:40]line Ðаличными: 0.00 [14:05:40]line Безнал.: 1000.45 [14:05:40]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [14:05:40]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:05:40]line СÐО: Общий режим [14:05:40]line Чек 42 08.04.2024 14:05 [14:05:40]line Смена: 314 ФФД: 1.0 [14:05:40]line ЗÐМ: 0300000147 [14:05:40]line РÐМ: 0000000000091578 [14:05:40]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:05:40]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [14:05:40]line ФМ: 0000000000874657 [14:05:40]line ФД: 26829 [14:05:40]line ФПД: 37657959501495 [14:05:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T140553&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26829&fm=37657959501495&tin=02508201610067®Number=0000000000091578&sum=100045 [14:05:40]OFD Sender: Processing packet 26829 [packets to send 44, broken 43] [14:05:40]ProducePacketName [14:05:40]name=ofd_packets/00026829 [14:05:40]OFD Sender: To server: ‡•öpG, [14:05:40]CommunicateWithHost lk.salyk.kg:30040 [14:05:40]ConnectInit lk.salyk.kg [14:05:40]written 0, free lines is 4095 [14:05:40]Connected sock=10 [14:05:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 73 E6 07 01 4B E8 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 C1 F9 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CD 68 00 00 35 04 06 00 22 3F ED 4C 8E B7 17 31 09 A8 A3 C9 53 46 [14:05:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 8C 57 47 00 E7 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 38 37 34 36 35 37 10 04 04 00 CD 68 00 00 F4 03 04 00 2B A1 13 66 B6 04 01 00 00 ED 78 C6 05 49 E4 43 A3 [14:05:40]CommunicateWithHost err = 0 [14:05:40]CheckOFDResponse [14:05:40]1017 (14) - 77093643461234 [14:05:40]1041 (16) - 0000000000874657 [14:05:40]1040 (4) - 26829 [14:05:40]1012 (4) - 08.04.2024 07:47 [14:05:40]1206 (1) - 0 [14:05:40]OFD Sender: Remove packet 26829 [14:05:40]ProducePacketName [14:05:40]name=ofd_packets/00026829 [14:05:40]NVStorageDeleteData [14:05:40]Write to MH i2c: 01 00 00 E2 3F 21 [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 07 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: 01 07 00 E2 3F 00 00 00 00 00 8D 0C C1 [14:05:40]RasterBufferAndPrint [14:05:40]line [14:05:40]line [14:05:40]line [14:05:40]line [14:05:40]line [14:05:40]written 0, free lines is 3216 [14:05:40]MH_Cut [14:05:40]Write to MH i2c: D1 01 00 E9 3F 01 FA [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: D1 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: D1 01 00 [14:05:40]MH_I2C_Read... [14:05:40]Read from MH i2c: D1 01 00 E9 3F 00 F9 [14:05:40]Write to MH i2c: 01 00 00 EA 3F 29 [14:05:40]Write i2c OK [14:05:40]MH_I2C_Read... [14:05:41]OFD Sender: No OFD packet to send [14:05:42]*** Cut start [14:05:42]*** Partial cut [14:05:42]*** CUTSNS_PIN = 1 [14:05:42]*** CUTSNS_PIN = 0 [14:05:42]*** Brake cut motor [14:05:42]Read from MH i2c: 01 [14:05:42]MH_I2C_Read... [14:05:42]*** Stop cut motor [14:05:42]*** Cut end [14:05:42]Read from MH i2c: 01 07 00 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: 01 07 00 EA 3F 00 00 00 00 00 FF 0F 3E [14:05:42]process_action close_receipt done [14:05:42]requested_data is exist [14:05:42]produce_requested_data [14:05:42]requested_item fm.sn is exist - process it [14:05:42]wFMCommunicate request_size=4 [14:05:42]MH_SAM_APDU [14:05:42]CAPDU: 80 11 00 00 [14:05:42]Write to MH i2c: E2 08 00 EB 3F 80 11 00 00 00 00 00 00 A4 [14:05:42]Write i2c OK [14:05:42]MH_I2C_Read... [14:05:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:05:42]Read from MH i2c: E2 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: E2 17 00 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: E2 17 00 EB 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FC [14:05:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:05:42]wFMCommunicate OK [14:05:42]requested_item fd.num is exist - process it [14:05:42]SAM_PROTO_GetFieldsCounters [14:05:42]wFMCommunicate request_size=4 [14:05:42]MH_SAM_APDU [14:05:42]CAPDU: 80 13 00 00 [14:05:42]Write to MH i2c: E2 08 00 EC 3F 80 13 00 00 00 00 00 00 A7 [14:05:42]Write i2c OK [14:05:42]MH_I2C_Read... [14:05:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:05:42]Read from MH i2c: E2 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: E2 62 00 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: E2 62 00 EC 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [14:05:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:05:42]wFMCommunicate OK [14:05:42]SAM_PROTO_GetFieldsCounters done [14:05:42]requested_item shift.num is exist - process it [14:05:42]requested_item shift.opened is exist - process it [14:05:42]req_shift_opened [14:05:42]FM_GetShiftState [14:05:42]SAM_PROTO_GetShiftState [14:05:42]wFMCommunicate request_size=4 [14:05:42]MH_SAM_APDU [14:05:42]CAPDU: 80 13 01 00 [14:05:42]Write to MH i2c: E2 08 00 ED 3F 80 13 01 00 00 00 00 00 A9 [14:05:42]Write i2c OK [14:05:42]MH_I2C_Read... [14:05:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:05:42]Read from MH i2c: E2 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: E2 0E 00 [14:05:42]MH_I2C_Read... [14:05:42]Read from MH i2c: E2 0E 00 ED 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 36 [14:05:42]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:05:42]wFMCommunicate OK [14:05:42]SAM_PROTO_GetShiftState done [14:05:42]FM_GetShiftState done [14:05:42]req_shift_opened done [14:05:42]requested_item shift.open_date is exist - process it [14:05:42]req_shift_open_date [14:05:42]req_shift_open_date done [14:05:42]produce_requested_data done [14:05:42]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26829,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [14:05:42]process_action_free close_receipt [14:05:42]json_value_free [14:05:42]json_value_free done [14:05:42]process_json_proto returns [14:05:42]Send response to host [14:05:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26829,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [14:05:42]free response buf [14:05:42]execute_script done [14:05:42]execute_script returns [14:05:42]free content buf [14:05:42]Sock 9.Close socket [14:05:42]Sock 9.Thread stoped [14:05:46]OFD Sender: No OFD packet to send [14:05:51]OFD Sender: No OFD packet to send [14:05:56]OFD Sender: No OFD packet to send [14:06:01]OFD Sender: No OFD packet to send [14:06:06]OFD Sender: No OFD packet to send [14:06:11]OFD Sender: No OFD packet to send [14:06:16]OFD Sender: No OFD packet to send [14:06:21]OFD Sender: No OFD packet to send [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:44]accept exits with 8 [14:11:44]New connection [14:11:44]New thread 3066871140 created [14:11:44]Thread 3067014500 joined [14:11:44]Waiting for new connection... [14:11:44] Sock 8.Parse request [14:11:44]Sock 8.Check first char [14:11:44]Sock 8.First char is OK [14:11:44]request: POST /json_proto HTTP/1.0 [14:11:44]Method: POST [14:11:44]URL: /json_proto [14:11:44]Method is POST - this is cgi request [14:11:44]url: /json_proto [14:11:44]query_string will be loaded in cgi processing [14:11:44]execute_cgi json_proto POST (null) [14:11:44]execute_cgi path=json_proto method=POST [14:11:44]POST find Content-Length [14:11:44]Host: 172.17.35.3:8080 [14:11:44]Content-Length: 677 [14:11:44]Content-Type: application/json [14:11:44] [14:11:44]POST finish read [14:11:44]Found Content-Length = 677 [14:11:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359573", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 3.160, "sum" : 200.34, "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" ] } } [14:11:44]execute_script... [14:11:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359573", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 3.160, "sum" : 200.34, "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" ] } } [14:11:44]POST & json_proto [14:11:44]process_json_proto [14:11:44]json parsed OK: [14:11:44]protocol is kg_v1.0 [14:11:44]action value=close_receipt [14:11:44]process_action close_receipt [14:11:44]cmd_close_receipt [14:11:44]MH_GetDate [14:11:44]Write to MH i2c: F0 00 00 EE 3F 1C [14:11:44]Write i2c OK [14:11:44]MH_I2C_Read... [14:11:44]Read from MH i2c: F0 [14:11:44]MH_I2C_Read... [14:11:44]Read from MH i2c: F0 09 00 [14:11:44]MH_I2C_Read... [14:11:44]Read from MH i2c: F0 09 00 EE 3F 00 2F FB 13 66 2B 11 66 64 CE [14:11:44]GetLastDocTimeStamp 1712585153 [14:11:44]current date 1712585519 [14:11:44]FM_GetShiftState [14:11:44]SAM_PROTO_GetShiftState [14:11:44]wFMCommunicate request_size=4 [14:11:44]MH_SAM_APDU [14:11:44]CAPDU: 80 13 01 00 [14:11:44]Write to MH i2c: E2 08 00 EF 3F 80 13 01 00 00 00 00 00 AB [14:11:44]Write i2c OK [14:11:44]MH_I2C_Read... [14:11:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:44]Read from MH i2c: E2 [14:11:44]MH_I2C_Read... [14:11:44]Read from MH i2c: E2 0E 00 [14:11:44]MH_I2C_Read... [14:11:44]Read from MH i2c: E2 0E 00 EF 3F 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 38 [14:11:44]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:11:44]wFMCommunicate OK [14:11:44]SAM_PROTO_GetShiftState done [14:11:44]FM_GetShiftState done [14:11:44]opened in 1712536270 [14:11:44]opened+sec_in_day 1712622670 [14:11:44]quantity*price = 20034 [14:11:44]sum+1 = 20035 [14:11:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.34 ИТОГО: 200.00 ВнеÑено: 200.00 СДÐЧÐ: 0.00 ÐСП 1% : 1.77 ÐДС 12% : 21.27 Ðаличными: 200.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 43 08.04.2024 14:11 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26830 ФПД: 204375020358105 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T141159&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26830&fm=204375020358105&tin=02508201610067®Number=0000000000091578&sum=20000 [14:11:45]StoreToDocumentArchive [14:11:45]shift 314 fd 26830 [14:11:45]save to /storage/0314/doc_00026830 [14:11:45]save last doc name /storage/0314/doc_00026830 to /storage/kkm_last_doc_name [14:11:45]save OK [14:11:45]Clear old archive folders... [14:11:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [14:11:45]tlvbuf is 00E334B0 [14:11:45]SAM_PROTO_ClearQueue [14:11:45]wFMCommunicate request_size=4 [14:11:45]MH_SAM_APDU [14:11:45]CAPDU: 80 09 00 00 [14:11:45]Write to MH i2c: E2 08 00 FC 3F 80 09 00 00 00 00 00 00 AD [14:11:45]Write i2c OK [14:11:45]MH_I2C_Read... [14:11:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:11:45]Read from MH i2c: E2 [14:11:45]MH_I2C_Read... [14:11:45]Read from MH i2c: E2 03 00 [14:11:45]MH_I2C_Read... [14:11:45]Read from MH i2c: E2 03 00 FC 3F 00 90 00 AF [14:11:45]RAPDU: 90 00 [14:11:45]wFMCommunicate OK [14:11:45]SAM_PROTO_ClearQueue done [14:11:45]KKMCreateOFDPacket [14:11:45]OFDProtocolAddRootSTLVToBuf [14:11:45]FM_MakeSignedData [14:11:45]FM_MakeSignedData [14:11:45]SAM_PROTO_SignData [14:11:45]wFMCommunicate request_size=4 [14:11:45]MH_SAM_APDU [14:11:45]CAPDU: 80 0D 01 02 [14:11:45]Write to MH i2c: E2 08 00 FD 3F 80 0D 01 02 00 00 00 00 B5 [14:11:45]Write i2c OK [14:11:45]MH_I2C_Read... [14:11:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:11:45]Read from MH i2c: E2 [14:11:45]MH_I2C_Read... [14:11:45]Read from MH i2c: E2 03 00 [14:11:45]MH_I2C_Read... [14:11:45]Read from MH i2c: E2 03 00 FD 3F 00 90 00 B0 [14:11:45]RAPDU: 90 00 [14:11:45]wFMCommunicate OK [14:11:45]wFMCommunicate request_size=255 [14:11:45]MH_SAM_APDU [14:11:45]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 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 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 4F 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 2B 00 00 00 F4 03 04 00 2F FB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CE 68 00 00 35 04 06 00 B9 [14:11:45]Write to MH i2c: E2 02 01 FE 3F 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 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 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 4F 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 2B 00 00 00 F4 03 04 00 2F FB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CE 68 00 00 35 04 06 00 B9 00 00 75 [14:11:45]Write i2c OK [14:11:45]MH_I2C_Read... [14:11:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:45]Read from MH i2c: E2 [14:11:45]MH_I2C_Read... [14:11:45]Read from MH i2c: E2 03 00 [14:11:45]MH_I2C_Read... [14:11:45]Read from MH i2c: E2 03 00 FE 3F 00 90 00 B1 [14:11:45]RAPDU: 90 00 [14:11:45]wFMCommunicate OK [14:11:45]wFMCommunicate request_size=10 [14:11:45]MH_SAM_APDU [14:11:45]CAPDU: 80 0D 02 02 05 E0 C4 7D 49 D9 [14:11:45]Write to MH i2c: E2 0D 00 FF 3F 80 0D 02 02 05 00 E0 C4 7D 49 D9 00 00 05 [14:11:45]Write i2c OK [14:11:45]MH_I2C_Read... [14:11:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:46]Read from MH i2c: E2 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: E2 03 00 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: E2 03 00 FF 3F 00 90 00 B2 [14:11:46]RAPDU: 90 00 [14:11:46]wFMCommunicate OK [14:11:46]wFMCommunicate request_size=4 [14:11:46]MH_SAM_APDU [14:11:46]CAPDU: 80 0D 03 02 [14:11:46]Write to MH i2c: E2 08 00 00 40 80 0D 03 02 00 00 00 00 BB [14:11:46]Write i2c OK [14:11:46]MH_I2C_Read... [14:11:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:11:46]Read from MH i2c: E2 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: E2 0B 00 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: E2 0B 00 00 40 00 12 40 35 64 0B 7E 8C 0F 90 00 CB [14:11:46]RAPDU: 12 40 35 64 0B 7E 8C 0F 90 00 [14:11:46]wFMCommunicate OK [14:11:46]SAM_PROTO_SignData done [14:11:46]FM_MakeSignedData done [14:11:46]CreateOFDProtocolMessage [14:11:46]wFMCommunicate request_size=4 [14:11:46]MH_SAM_APDU [14:11:46]CAPDU: 80 11 00 00 [14:11:46]Write to MH i2c: E2 08 00 01 40 80 11 00 00 00 00 00 00 BB [14:11:46]Write i2c OK [14:11:46]MH_I2C_Read... [14:11:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:46]Read from MH i2c: E2 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: E2 17 00 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: E2 17 00 01 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 13 [14:11:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:11:46]wFMCommunicate OK [14:11:46]CreateOFDProtocolMessage done [14:11:46]OFDSenderStorePacket 26830 [14:11:46]StoreOFDPacket docnum=26830 [14:11:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 31 C8 07 01 B6 13 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 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 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 4F 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 2B 00 00 00 F4 03 04 00 2F FB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CE 68 00 00 35 04 06 00 B9 E0 C4 7D 49 D9 12 40 35 64 0B 7E 8C 0F [14:11:46]CheckFolder [14:11:46]dirname=/storage/ofd_packets [14:11:46]CheckFolder done [14:11:46]ProducePacketName [14:11:46]name=ofd_packets/00026830 [14:11:46]NVStorageSaveData ofd_packets/00026830 [14:11:46]File name is /storage/ofd_packets/00026830 [14:11:46]Write 301 bytes [14:11:46]NVStorageSaveData done [14:11:46]OFDSenderStorePacket done [14:11:46]KKMCreateOFDPacket done [14:11:46]NVStorageSaveData kkm_last_timestamp [14:11:46]File name is /storage/kkm_last_timestamp [14:11:46]Write 4 bytes [14:11:46]NVStorageSaveData done [14:11:46]ExternCall_PrintAddStr [14:11:46]wPrintStart [14:11:46]Write to MH i2c: 01 00 00 02 40 42 [14:11:46]Write i2c OK [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: 01 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: 01 07 00 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: 01 07 00 02 40 00 00 00 00 00 FF 0F 57 [14:11:46]RasterBufferAndPrint [14:11:46]line Счет N : (1)359573 [14:11:46]line ИÐÐ: 02508201610067 [14:11:46]line Контрольно-КаÑÑовый Чек [14:11:46]line ПРОДÐЖР[14:11:46]line ТРК (МРК, ГÐК) : 61 [14:11:46]line Товар: 2710124130 [14:11:46]line Ðи-92-К-5 [14:11:46]line 3.160 * 63.40 [14:11:46]line = 200.34 [14:11:46]line ÐДС 12% ÐСП 1% [14:11:46]line > о реализуемом товаре [14:11:46]line ОКРУГЛЕÐИЕ: -0.34 [14:11:46]line ИТОГО: 200.00 [14:11:46]line ВнеÑено: 200.00 [14:11:46]line СДÐЧÐ: 0.00 [14:11:46]line ÐСП 1% : 1.77 [14:11:46]line ÐДС 12% : 21.27 [14:11:46]line Ðаличными: 200.00 [14:11:46]line Безнал.: 0.00 [14:11:46]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [14:11:46]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:11:46]line СÐО: Общий режим [14:11:46]line Чек 43 08.04.2024 14:11 [14:11:46]line Смена: 314 ФФД: 1.0 [14:11:46]line ЗÐМ: 0300000147 [14:11:46]line РÐМ: 0000000000091578 [14:11:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:11:46]line ФМ: 0000000000874657 [14:11:46]line ФД: 26830 [14:11:46]line ФПД: 204375020358105 [14:11:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T141159&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26830&fm=204375020358105&tin=02508201610067®Number=0000000000091578&sum=20000 [14:11:46]OFD Sender: Processing packet 26830 [packets to send 44, broken 43] [14:11:46]ProducePacketName [14:11:46]name=ofd_packets/00026830 [14:11:46]OFD Sender: To server: ‡•öpG, [14:11:46]CommunicateWithHost lk.salyk.kg:30040 [14:11:46]ConnectInit lk.salyk.kg [14:11:46]written 0, free lines is 4095 [14:11:46]Connected sock=10 [14:11:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 31 C8 07 01 B6 13 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 58 0C 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 42 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 4F 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 2B 00 00 00 F4 03 04 00 2F FB 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CE 68 00 00 35 04 06 00 B9 E0 C4 7D 49 D9 12 40 35 64 0B 7E 8C 0F [14:11:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9E AD 47 00 9D BB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CE 68 00 00 F4 03 04 00 99 A2 13 66 B6 04 01 00 00 6A 70 FF 47 9A 12 92 CB [14:11:46]CommunicateWithHost err = 0 [14:11:46]CheckOFDResponse [14:11:46]1017 (14) - 77093643461234 [14:11:46]1041 (16) - 0000000000874657 [14:11:46]1040 (4) - 26830 [14:11:46]1012 (4) - 08.04.2024 07:54 [14:11:46]1206 (1) - 0 [14:11:46]OFD Sender: Remove packet 26830 [14:11:46]ProducePacketName [14:11:46]name=ofd_packets/00026830 [14:11:46]NVStorageDeleteData [14:11:46]Write to MH i2c: 01 00 00 2D 40 6D [14:11:46]Write i2c OK [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: 01 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: 01 07 00 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: 01 07 00 2D 40 00 00 00 00 00 71 0C F1 [14:11:46]RasterBufferAndPrint [14:11:46]line [14:11:46]line [14:11:46]line [14:11:46]line [14:11:46]line [14:11:46]written 0, free lines is 3187 [14:11:46]MH_Cut [14:11:46]Write to MH i2c: D1 01 00 34 40 01 46 [14:11:46]Write i2c OK [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: D1 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: D1 01 00 [14:11:46]MH_I2C_Read... [14:11:46]Read from MH i2c: D1 01 00 34 40 00 45 [14:11:46]Write to MH i2c: 01 00 00 35 40 75 [14:11:46]Write i2c OK [14:11:46]MH_I2C_Read... [14:11:47]OFD Sender: No OFD packet to send [14:11:48]*** Cut start [14:11:48]*** Partial cut [14:11:48]*** CUTSNS_PIN = 1 [14:11:48]*** CUTSNS_PIN = 0 [14:11:48]*** Brake cut motor [14:11:48]Read from MH i2c: 01 [14:11:48]MH_I2C_Read... [14:11:48]*** Stop cut motor [14:11:48]*** Cut end [14:11:48]Read from MH i2c: 01 07 00 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: 01 07 00 35 40 00 00 00 00 00 FF 0F 8A [14:11:48]process_action close_receipt done [14:11:48]requested_data is exist [14:11:48]produce_requested_data [14:11:48]requested_item fm.sn is exist - process it [14:11:48]wFMCommunicate request_size=4 [14:11:48]MH_SAM_APDU [14:11:48]CAPDU: 80 11 00 00 [14:11:48]Write to MH i2c: E2 08 00 36 40 80 11 00 00 00 00 00 00 F0 [14:11:48]Write i2c OK [14:11:48]MH_I2C_Read... [14:11:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:48]Read from MH i2c: E2 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: E2 17 00 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: E2 17 00 36 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 48 [14:11:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:11:48]wFMCommunicate OK [14:11:48]requested_item fd.num is exist - process it [14:11:48]SAM_PROTO_GetFieldsCounters [14:11:48]wFMCommunicate request_size=4 [14:11:48]MH_SAM_APDU [14:11:48]CAPDU: 80 13 00 00 [14:11:48]Write to MH i2c: E2 08 00 37 40 80 13 00 00 00 00 00 00 F3 [14:11:48]Write i2c OK [14:11:48]MH_I2C_Read... [14:11:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:11:48]Read from MH i2c: E2 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: E2 62 00 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: E2 62 00 37 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 10 [14:11:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:11:48]wFMCommunicate OK [14:11:48]SAM_PROTO_GetFieldsCounters done [14:11:48]requested_item shift.num is exist - process it [14:11:48]requested_item shift.opened is exist - process it [14:11:48]req_shift_opened [14:11:48]FM_GetShiftState [14:11:48]SAM_PROTO_GetShiftState [14:11:48]wFMCommunicate request_size=4 [14:11:48]MH_SAM_APDU [14:11:48]CAPDU: 80 13 01 00 [14:11:48]Write to MH i2c: E2 08 00 38 40 80 13 01 00 00 00 00 00 F5 [14:11:48]Write i2c OK [14:11:48]MH_I2C_Read... [14:11:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:48]Read from MH i2c: E2 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: E2 0E 00 [14:11:48]MH_I2C_Read... [14:11:48]Read from MH i2c: E2 0E 00 38 40 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 82 [14:11:48]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:11:48]wFMCommunicate OK [14:11:48]SAM_PROTO_GetShiftState done [14:11:48]FM_GetShiftState done [14:11:48]req_shift_opened done [14:11:48]requested_item shift.open_date is exist - process it [14:11:48]req_shift_open_date [14:11:48]req_shift_open_date done [14:11:48]produce_requested_data done [14:11:48]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26830,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [14:11:48]process_action_free close_receipt [14:11:48]json_value_free [14:11:48]json_value_free done [14:11:48]process_json_proto returns [14:11:48]Send response to host [14:11:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26830,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [14:11:48]free response buf [14:11:48]execute_script done [14:11:48]execute_script returns [14:11:48]free content buf [14:11:48]Sock 8.Close socket [14:11:48]Sock 8.Thread stoped [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:08]accept exits with 9 [14:17:08]New connection [14:17:08]New thread 3067014500 created [14:17:08]Thread 3066871140 joined [14:17:08]Waiting for new connection... [14:17:08] Sock 9.Parse request [14:17:08]Sock 9.Check first char [14:17:08]Sock 9.First char is OK [14:17:08]request: POST /json_proto HTTP/1.0 [14:17:08]Method: POST [14:17:08]URL: /json_proto [14:17:08]Method is POST - this is cgi request [14:17:08]url: /json_proto [14:17:08]query_string will be loaded in cgi processing [14:17:08]execute_cgi json_proto POST (null) [14:17:08]execute_cgi path=json_proto method=POST [14:17:08]POST find Content-Length [14:17:08]Host: 172.17.35.3:8080 [14:17:08]Content-Length: 803 [14:17:08]Content-Type: application/json [14:17:08] [14:17:08]POST finish read [14:17:08]Found Content-Length = 803 [14:17:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359575", "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" : 71.80, "quantity" : 0.350, "sum" : 25.13, "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" : 25.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:17:08]execute_script... [14:17: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)359575", "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" : 71.80, "quantity" : 0.350, "sum" : 25.13, "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" : 25.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:17:08]POST & json_proto [14:17:08]process_json_proto [14:17:08]json parsed OK: [14:17:08]protocol is kg_v1.0 [14:17:08]action value=close_receipt [14:17:08]process_action close_receipt [14:17:08]cmd_close_receipt [14:17:08]MH_GetDate [14:17:08]Write to MH i2c: F0 00 00 39 40 68 [14:17:08]Write i2c OK [14:17:08]MH_I2C_Read... [14:17:08]Read from MH i2c: F0 [14:17:08]MH_I2C_Read... [14:17:08]Read from MH i2c: F0 09 00 [14:17:08]MH_I2C_Read... [14:17:08]Read from MH i2c: F0 09 00 39 40 00 73 FC 13 66 2B 11 66 64 5F [14:17:08]GetLastDocTimeStamp 1712585519 [14:17:08]current date 1712585843 [14:17:08]FM_GetShiftState [14:17:08]SAM_PROTO_GetShiftState [14:17:08]wFMCommunicate request_size=4 [14:17:08]MH_SAM_APDU [14:17:08]CAPDU: 80 13 01 00 [14:17:08]Write to MH i2c: E2 08 00 3A 40 80 13 01 00 00 00 00 00 F7 [14:17:08]Write i2c OK [14:17:08]MH_I2C_Read... [14:17:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:08]Read from MH i2c: E2 [14:17:08]MH_I2C_Read... [14:17:08]Read from MH i2c: E2 0E 00 [14:17:08]MH_I2C_Read... [14:17:08]Read from MH i2c: E2 0E 00 3A 40 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 84 [14:17:08]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:17:08]wFMCommunicate OK [14:17:08]SAM_PROTO_GetShiftState done [14:17:08]FM_GetShiftState done [14:17:08]opened in 1712536270 [14:17:08]opened+sec_in_day 1712622670 [14:17:08]quantity*price = 2513 [14:17:08]sum+1 = 2514 [14:17:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 25.13 ÐСП 1% : 0.22 ÐДС 12% : 2.67 Ðаличными: 0.00 Безнал.: 25.13 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 44 08.04.2024 14:17 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26831 ФПД: 233177216103689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T141723&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26831&fm=233177216103689&tin=02508201610067®Number=0000000000091578&sum=2513 [14:17:09]StoreToDocumentArchive [14:17:09]shift 314 fd 26831 [14:17:09]save to /storage/0314/doc_00026831 [14:17:09]save last doc name /storage/0314/doc_00026831 to /storage/kkm_last_doc_name [14:17:09]save OK [14:17:09]Clear old archive folders... [14:17:09]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:17:09]tlvbuf is 00EF6C10 [14:17:09]SAM_PROTO_ClearQueue [14:17:09]wFMCommunicate request_size=4 [14:17:09]MH_SAM_APDU [14:17:09]CAPDU: 80 09 00 00 [14:17:09]Write to MH i2c: E2 08 00 47 40 80 09 00 00 00 00 00 00 F9 [14:17:09]Write i2c OK [14:17:09]MH_I2C_Read... [14:17:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:17:09]Read from MH i2c: E2 [14:17:09]MH_I2C_Read... [14:17:09]Read from MH i2c: E2 03 00 [14:17:09]MH_I2C_Read... [14:17:09]Read from MH i2c: E2 03 00 47 40 00 90 00 FB [14:17:09]RAPDU: 90 00 [14:17:09]wFMCommunicate OK [14:17:09]SAM_PROTO_ClearQueue done [14:17:09]KKMCreateOFDPacket [14:17:09]OFDProtocolAddRootSTLVToBuf [14:17:09]FM_MakeSignedData [14:17:09]FM_MakeSignedData [14:17:09]SAM_PROTO_SignData [14:17:09]wFMCommunicate request_size=4 [14:17:09]MH_SAM_APDU [14:17:09]CAPDU: 80 0D 01 02 [14:17:09]Write to MH i2c: E2 08 00 48 40 80 0D 01 02 00 00 00 00 01 [14:17:09]Write i2c OK [14:17:09]MH_I2C_Read... [14:17:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:17:09]Read from MH i2c: E2 [14:17:09]MH_I2C_Read... [14:17:09]Read from MH i2c: E2 03 00 [14:17:09]MH_I2C_Read... [14:17:09]Read from MH i2c: E2 03 00 48 40 00 90 00 FC [14:17:09]RAPDU: 90 00 [14:17:09]wFMCommunicate OK [14:17:09]wFMCommunicate request_size=255 [14:17:09]MH_SAM_APDU [14:17:09]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 5E 01 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D1 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D1 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D1 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 73 FC 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CF 68 00 00 35 04 06 00 [14:17:09]Write to MH i2c: E2 02 01 49 40 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 5E 01 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D1 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D1 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D1 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 73 FC 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CF 68 00 00 35 04 06 00 00 00 0D [14:17:09]Write i2c OK [14:17:09]MH_I2C_Read... [14:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:10]Read from MH i2c: E2 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 03 00 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 03 00 49 40 00 90 00 FD [14:17:10]RAPDU: 90 00 [14:17:10]wFMCommunicate OK [14:17:10]wFMCommunicate request_size=11 [14:17:10]MH_SAM_APDU [14:17:10]CAPDU: 80 0D 02 02 06 D4 12 CD 22 B5 09 [14:17:10]Write to MH i2c: E2 0E 00 4A 40 80 0D 02 02 06 00 D4 12 CD 22 B5 09 00 00 A3 [14:17:10]Write i2c OK [14:17:10]MH_I2C_Read... [14:17:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:10]Read from MH i2c: E2 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 03 00 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 03 00 4A 40 00 90 00 FE [14:17:10]RAPDU: 90 00 [14:17:10]wFMCommunicate OK [14:17:10]wFMCommunicate request_size=4 [14:17:10]MH_SAM_APDU [14:17:10]CAPDU: 80 0D 03 02 [14:17:10]Write to MH i2c: E2 08 00 4B 40 80 0D 03 02 00 00 00 00 06 [14:17:10]Write i2c OK [14:17:10]MH_I2C_Read... [14:17:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:17:10]Read from MH i2c: E2 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 0B 00 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 0B 00 4B 40 00 CE 56 3D 72 02 DD 3E 43 90 00 3A [14:17:10]RAPDU: CE 56 3D 72 02 DD 3E 43 90 00 [14:17:10]wFMCommunicate OK [14:17:10]SAM_PROTO_SignData done [14:17:10]FM_MakeSignedData done [14:17:10]CreateOFDProtocolMessage [14:17:10]wFMCommunicate request_size=4 [14:17:10]MH_SAM_APDU [14:17:10]CAPDU: 80 11 00 00 [14:17:10]Write to MH i2c: E2 08 00 4C 40 80 11 00 00 00 00 00 00 06 [14:17:10]Write i2c OK [14:17:10]MH_I2C_Read... [14:17:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:10]Read from MH i2c: E2 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 17 00 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: E2 17 00 4C 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 5E [14:17:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:17:10]wFMCommunicate OK [14:17:10]CreateOFDProtocolMessage done [14:17:10]OFDSenderStorePacket 26831 [14:17:10]StoreOFDPacket docnum=26831 [14:17:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 70 7B 08 01 D6 C2 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 5E 01 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D1 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D1 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D1 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 73 FC 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CF 68 00 00 35 04 06 00 D4 12 CD 22 B5 09 CE 56 3D 72 02 DD 3E 43 [14:17:10]CheckFolder [14:17:10]dirname=/storage/ofd_packets [14:17:10]CheckFolder done [14:17:10]ProducePacketName [14:17:10]name=ofd_packets/00026831 [14:17:10]NVStorageSaveData ofd_packets/00026831 [14:17:10]File name is /storage/ofd_packets/00026831 [14:17:10]Write 302 bytes [14:17:10]NVStorageSaveData done [14:17:10]OFDSenderStorePacket done [14:17:10]KKMCreateOFDPacket done [14:17:10]NVStorageSaveData kkm_last_timestamp [14:17:10]File name is /storage/kkm_last_timestamp [14:17:10]Write 4 bytes [14:17:10]NVStorageSaveData done [14:17:10]ExternCall_PrintAddStr [14:17:10]wPrintStart [14:17:10]Write to MH i2c: 01 00 00 4D 40 8D [14:17:10]Write i2c OK [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: 01 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: 01 07 00 [14:17:10]MH_I2C_Read... [14:17:10]Read from MH i2c: 01 07 00 4D 40 00 00 00 00 00 FF 0F A2 [14:17:10]RasterBufferAndPrint [14:17:10]line Счет N : (1)359575 [14:17:10]line ИÐÐ: 02508201610067 [14:17:10]line Контрольно-КаÑÑовый Чек [14:17:10]line ПРОДÐЖР[14:17:10]line ТРК (МРК, ГÐК) : 11 [14:17:10]line Товар: 2710194210 [14:17:10]line ДТ(л)-К-5 [14:17:10]line 0.350 * 71.80 [14:17:10]line = 25.13 [14:17:10]line ÐДС 12% ÐСП 1% [14:17:10]line > о реализуемом товаре [14:17:10]line ИТОГО: 25.13 [14:17:10]line ÐСП 1% : 0.22 [14:17:10]line ÐДС 12% : 2.67 [14:17:10]line Ðаличными: 0.00 [14:17:10]line Безнал.: 25.13 [14:17:10]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [14:17:10]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:17:10]line СÐО: Общий режим [14:17:10]line Чек 44 08.04.2024 14:17 [14:17:10]line Смена: 314 ФФД: 1.0 [14:17:10]line ЗÐМ: 0300000147 [14:17:10]line РÐМ: 0000000000091578 [14:17:10]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:17:10]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [14:17:10]line ФМ: 0000000000874657 [14:17:10]line ФД: 26831 [14:17:10]line ФПД: 233177216103689 [14:17:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T141723&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26831&fm=233177216103689&tin=02508201610067®Number=0000000000091578&sum=2513 [14:17:10]OFD Sender: Processing packet 26831 [packets to send 44, broken 43] [14:17:10]ProducePacketName [14:17:10]name=ofd_packets/00026831 [14:17:10]OFD Sender: To server: ‡•öpG, [14:17:10]CommunicateWithHost lk.salyk.kg:30040 [14:17:10]ConnectInit lk.salyk.kg [14:17:10]written 0, free lines is 4095 [14:17:10]Connected sock=10 [14:17:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 70 7B 08 01 D6 C2 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 5E 01 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 D1 09 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D1 09 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 16 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0B 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D1 09 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 73 FC 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 CF 68 00 00 35 04 06 00 D4 12 CD 22 B5 09 CE 56 3D 72 02 DD 3E 43 [14:17:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 B3 67 47 00 E0 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 38 37 34 36 35 37 10 04 04 00 CF 68 00 00 F4 03 04 00 DD A3 13 66 B6 04 01 00 00 0F ED 0A C6 0B 96 63 14 [14:17:11]CommunicateWithHost err = 0 [14:17:11]CheckOFDResponse [14:17:11]1017 (14) - 77093643461234 [14:17:11]1041 (16) - 0000000000874657 [14:17:11]1040 (4) - 26831 [14:17:11]1012 (4) - 08.04.2024 07:59 [14:17:11]1206 (1) - 0 [14:17:11]OFD Sender: Remove packet 26831 [14:17:11]ProducePacketName [14:17:11]name=ofd_packets/00026831 [14:17:11]NVStorageDeleteData [14:17:11]Write to MH i2c: 01 00 00 77 40 B7 [14:17:11]Write i2c OK [14:17:11]MH_I2C_Read... [14:17:11]Read from MH i2c: 01 [14:17:11]MH_I2C_Read... [14:17:11]Read from MH i2c: 01 07 00 [14:17:11]MH_I2C_Read... [14:17:11]Read from MH i2c: 01 07 00 77 40 00 00 00 00 00 8C 0C 56 [14:17:11]RasterBufferAndPrint [14:17:11]line [14:17:11]line [14:17:11]line [14:17:11]line [14:17:11]line [14:17:11]written 0, free lines is 3216 [14:17:11]MH_Cut [14:17:11]Write to MH i2c: D1 01 00 7E 40 01 90 [14:17:11]Write i2c OK [14:17:11]MH_I2C_Read... [14:17:11]Read from MH i2c: D1 [14:17:11]MH_I2C_Read... [14:17:11]Read from MH i2c: D1 01 00 [14:17:11]MH_I2C_Read... [14:17:11]Read from MH i2c: D1 01 00 7E 40 00 8F [14:17:11]Write to MH i2c: 01 00 00 7F 40 BF [14:17:11]Write i2c OK [14:17:11]MH_I2C_Read... [14:17:11]OFD Sender: No OFD packet to send [14:17:12]*** Cut start [14:17:12]*** Partial cut [14:17:12]*** CUTSNS_PIN = 1 [14:17:12]*** CUTSNS_PIN = 0 [14:17:12]*** Brake cut motor [14:17:12]Read from MH i2c: 01 [14:17:12]MH_I2C_Read... [14:17:12]*** Stop cut motor [14:17:12]*** Cut end [14:17:12]Read from MH i2c: 01 07 00 [14:17:12]MH_I2C_Read... [14:17:12]Read from MH i2c: 01 07 00 7F 40 00 00 00 00 00 FF 0F D4 [14:17:12]process_action close_receipt done [14:17:12]requested_data is exist [14:17:12]produce_requested_data [14:17:12]requested_item fm.sn is exist - process it [14:17:12]wFMCommunicate request_size=4 [14:17:12]MH_SAM_APDU [14:17:12]CAPDU: 80 11 00 00 [14:17:12]Write to MH i2c: E2 08 00 80 40 80 11 00 00 00 00 00 00 3A [14:17:12]Write i2c OK [14:17:12]MH_I2C_Read... [14:17:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:12]Read from MH i2c: E2 [14:17:12]MH_I2C_Read... [14:17:12]Read from MH i2c: E2 17 00 [14:17:12]MH_I2C_Read... [14:17:12]Read from MH i2c: E2 17 00 80 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 92 [14:17:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:17:12]wFMCommunicate OK [14:17:12]requested_item fd.num is exist - process it [14:17:12]SAM_PROTO_GetFieldsCounters [14:17:12]wFMCommunicate request_size=4 [14:17:12]MH_SAM_APDU [14:17:12]CAPDU: 80 13 00 00 [14:17:12]Write to MH i2c: E2 08 00 81 40 80 13 00 00 00 00 00 00 3D [14:17:12]Write i2c OK [14:17:12]MH_I2C_Read... [14:17:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:17:13]Read from MH i2c: E2 [14:17:13]MH_I2C_Read... [14:17:13]Read from MH i2c: E2 62 00 [14:17:13]MH_I2C_Read... [14:17:13]Read from MH i2c: E2 62 00 81 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [14:17:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 CF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:17:13]wFMCommunicate OK [14:17:13]SAM_PROTO_GetFieldsCounters done [14:17:13]requested_item shift.num is exist - process it [14:17:13]requested_item shift.opened is exist - process it [14:17:13]req_shift_opened [14:17:13]FM_GetShiftState [14:17:13]SAM_PROTO_GetShiftState [14:17:13]wFMCommunicate request_size=4 [14:17:13]MH_SAM_APDU [14:17:13]CAPDU: 80 13 01 00 [14:17:13]Write to MH i2c: E2 08 00 82 40 80 13 01 00 00 00 00 00 3F [14:17:13]Write i2c OK [14:17:13]MH_I2C_Read... [14:17:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:13]Read from MH i2c: E2 [14:17:13]MH_I2C_Read... [14:17:13]Read from MH i2c: E2 0E 00 [14:17:13]MH_I2C_Read... [14:17:13]Read from MH i2c: E2 0E 00 82 40 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 CC [14:17:13]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:17:13]wFMCommunicate OK [14:17:13]SAM_PROTO_GetShiftState done [14:17:13]FM_GetShiftState done [14:17:13]req_shift_opened done [14:17:13]requested_item shift.open_date is exist - process it [14:17:13]req_shift_open_date [14:17:13]req_shift_open_date done [14:17:13]produce_requested_data done [14:17:13]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26831,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [14:17:13]process_action_free close_receipt [14:17:13]json_value_free [14:17:13]json_value_free done [14:17:13]process_json_proto returns [14:17:13]Send response to host [14:17:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26831,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [14:17:13]free response buf [14:17:13]execute_script done [14:17:13]execute_script returns [14:17:13]free content buf [14:17:13]Sock 9.Close socket [14:17:13]Sock 9.Thread stoped [14:17:16]OFD Sender: No OFD packet to send [14:17:21]OFD Sender: No OFD packet to send [14:17:26]OFD Sender: No OFD packet to send [14:17:31]OFD Sender: No OFD packet to send [14:17:36]OFD Sender: No OFD packet to send [14:17:41]OFD Sender: No OFD packet to send [14:17:46]OFD Sender: No OFD packet to send [14:17:51]OFD Sender: No OFD packet to send [14:17:56]OFD Sender: No OFD packet to send [14:18:01]OFD Sender: No OFD packet to send [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:11]OFD Sender: No OFD packet to send [14:19:16]OFD Sender: No OFD packet to send [14:19:21]OFD Sender: No OFD packet to send [14:19:26]OFD Sender: No OFD packet to send [14:19:31]OFD Sender: No OFD packet to send [14:19:36]OFD Sender: No OFD packet to send [14:19:41]OFD Sender: No OFD packet to send [14:19:46]OFD Sender: No OFD packet to send [14:19:51]OFD Sender: No OFD packet to send [14:19:56]OFD Sender: No OFD packet to send [14:20:01]OFD Sender: No OFD packet to send [14:20:06]accept exits with 8 [14:20:06]New connection [14:20:06]New thread 3066871140 created [14:20:06]Thread 3067014500 joined [14:20:06]Waiting for new connection... [14:20:06] Sock 8.Parse request [14:20:06]Sock 8.Check first char [14:20:06]Sock 8.First char is OK [14:20:06]request: POST /json_proto HTTP/1.0 [14:20:06]Method: POST [14:20:06]URL: /json_proto [14:20:06]Method is POST - this is cgi request [14:20:06]url: /json_proto [14:20:06]query_string will be loaded in cgi processing [14:20:06]execute_cgi json_proto POST (null) [14:20:06]execute_cgi path=json_proto method=POST [14:20:06]POST find Content-Length [14:20:06]Host: 172.17.35.3:8080 [14:20:06]Content-Length: 808 [14:20:06]Content-Type: application/json [14:20:06] [14:20:06]POST finish read [14:20:06]Found Content-Length = 808 [14:20:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359576", "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" : 71.80, "quantity" : 20.900, "sum" : 1500.62, "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" : 1500.62 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:06]execute_script... [14:20: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 : (1)359576", "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" : 71.80, "quantity" : 20.900, "sum" : 1500.62, "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" : 1500.62 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:20:06]POST & json_proto [14:20:06]process_json_proto [14:20:06]json parsed OK: [14:20:06]protocol is kg_v1.0 [14:20:06]action value=close_receipt [14:20:06]process_action close_receipt [14:20:06]cmd_close_receipt [14:20:06]MH_GetDate [14:20:06]Write to MH i2c: F0 00 00 83 40 B2 [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: F0 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: F0 09 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: F0 09 00 83 40 00 25 FD 13 66 2B 11 66 64 5C [14:20:06]GetLastDocTimeStamp 1712585843 [14:20:06]current date 1712586021 [14:20:06]FM_GetShiftState [14:20:06]SAM_PROTO_GetShiftState [14:20:06]wFMCommunicate request_size=4 [14:20:06]MH_SAM_APDU [14:20:06]CAPDU: 80 13 01 00 [14:20:06]Write to MH i2c: E2 08 00 84 40 80 13 01 00 00 00 00 00 41 [14:20:06]Write i2c OK [14:20:06]MH_I2C_Read... [14:20:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:06]Read from MH i2c: E2 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 0E 00 [14:20:06]MH_I2C_Read... [14:20:06]Read from MH i2c: E2 0E 00 84 40 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 CE [14:20:06]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:20:06]wFMCommunicate OK [14:20:06]SAM_PROTO_GetShiftState done [14:20:06]FM_GetShiftState done [14:20:06]opened in 1712536270 [14:20:06]opened+sec_in_day 1712622670 [14:20:06]quantity*price = 150062 [14:20:06]sum+1 = 150063 [14:20:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1500.62 ÐСП 1% : 13.28 ÐДС 12% : 159.36 Ðаличными: 0.00 Безнал.: 1500.62 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 45 08.04.2024 14:20 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26832 ФПД: 151869791983400 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T142021&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26832&fm=151869791983400&tin=02508201610067®Number=0000000000091578&sum=150062 [14:20:07]StoreToDocumentArchive [14:20:07]shift 314 fd 26832 [14:20:07]save to /storage/0314/doc_00026832 [14:20:07]save last doc name /storage/0314/doc_00026832 to /storage/kkm_last_doc_name [14:20:07]save OK [14:20:07]Clear old archive folders... [14:20:07]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:20:07]tlvbuf is 00E3BBE0 [14:20:07]SAM_PROTO_ClearQueue [14:20:07]wFMCommunicate request_size=4 [14:20:07]MH_SAM_APDU [14:20:07]CAPDU: 80 09 00 00 [14:20:07]Write to MH i2c: E2 08 00 91 40 80 09 00 00 00 00 00 00 43 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:20:07]Read from MH i2c: E2 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 91 40 00 90 00 45 [14:20:07]RAPDU: 90 00 [14:20:07]wFMCommunicate OK [14:20:07]SAM_PROTO_ClearQueue done [14:20:07]KKMCreateOFDPacket [14:20:07]OFDProtocolAddRootSTLVToBuf [14:20:07]FM_MakeSignedData [14:20:07]FM_MakeSignedData [14:20:07]SAM_PROTO_SignData [14:20:07]wFMCommunicate request_size=4 [14:20:07]MH_SAM_APDU [14:20:07]CAPDU: 80 0D 01 02 [14:20:07]Write to MH i2c: E2 08 00 92 40 80 0D 01 02 00 00 00 00 4B [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:20:07]Read from MH i2c: E2 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 92 40 00 90 00 46 [14:20:07]RAPDU: 90 00 [14:20:07]wFMCommunicate OK [14:20:07]wFMCommunicate request_size=255 [14:20:07]MH_SAM_APDU [14:20:07]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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2E 4A 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 40 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2E 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 25 FD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D0 68 00 00 35 04 06 00 [14:20:07]Write to MH i2c: E2 02 01 93 40 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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2E 4A 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 40 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2E 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 25 FD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D0 68 00 00 35 04 06 00 00 00 13 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:07]Read from MH i2c: E2 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 93 40 00 90 00 47 [14:20:07]RAPDU: 90 00 [14:20:07]wFMCommunicate OK [14:20:07]wFMCommunicate request_size=11 [14:20:07]MH_SAM_APDU [14:20:07]CAPDU: 80 0D 02 02 06 8A 1F F1 00 D7 28 [14:20:07]Write to MH i2c: E2 0E 00 94 40 80 0D 02 02 06 00 8A 1F F1 00 D7 28 00 00 F3 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:20:07]Read from MH i2c: E2 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 03 00 94 40 00 90 00 48 [14:20:07]RAPDU: 90 00 [14:20:07]wFMCommunicate OK [14:20:07]wFMCommunicate request_size=4 [14:20:07]MH_SAM_APDU [14:20:07]CAPDU: 80 0D 03 02 [14:20:07]Write to MH i2c: E2 08 00 95 40 80 0D 03 02 00 00 00 00 50 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:20:07]Read from MH i2c: E2 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 0B 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 0B 00 95 40 00 29 42 11 17 A1 C7 3E 43 90 00 CD [14:20:07]RAPDU: 29 42 11 17 A1 C7 3E 43 90 00 [14:20:07]wFMCommunicate OK [14:20:07]SAM_PROTO_SignData done [14:20:07]FM_MakeSignedData done [14:20:07]CreateOFDProtocolMessage [14:20:07]wFMCommunicate request_size=4 [14:20:07]MH_SAM_APDU [14:20:07]CAPDU: 80 11 00 00 [14:20:07]Write to MH i2c: E2 08 00 96 40 80 11 00 00 00 00 00 00 50 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:07]Read from MH i2c: E2 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 17 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: E2 17 00 96 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A8 [14:20:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:20:07]wFMCommunicate OK [14:20:07]CreateOFDProtocolMessage done [14:20:07]OFDSenderStorePacket 26832 [14:20:07]StoreOFDPacket docnum=26832 [14:20:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 01 99 08 01 08 5A 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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2E 4A 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 40 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2E 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 25 FD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D0 68 00 00 35 04 06 00 8A 1F F1 00 D7 28 29 42 11 17 A1 C7 3E 43 [14:20:07]CheckFolder [14:20:07]dirname=/storage/ofd_packets [14:20:07]CheckFolder done [14:20:07]ProducePacketName [14:20:07]name=ofd_packets/00026832 [14:20:07]NVStorageSaveData ofd_packets/00026832 [14:20:07]File name is /storage/ofd_packets/00026832 [14:20:07]Write 302 bytes [14:20:07]NVStorageSaveData done [14:20:07]OFDSenderStorePacket done [14:20:07]KKMCreateOFDPacket done [14:20:07]NVStorageSaveData kkm_last_timestamp [14:20:07]File name is /storage/kkm_last_timestamp [14:20:07]Write 4 bytes [14:20:07]NVStorageSaveData done [14:20:07]ExternCall_PrintAddStr [14:20:07]wPrintStart [14:20:07]Write to MH i2c: 01 00 00 97 40 D7 [14:20:07]Write i2c OK [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: 01 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: 01 07 00 [14:20:07]MH_I2C_Read... [14:20:07]Read from MH i2c: 01 07 00 97 40 00 00 00 00 00 FF 0F EC [14:20:07]RasterBufferAndPrint [14:20:07]line Счет N : (1)359576 [14:20:07]line ИÐÐ: 02508201610067 [14:20:07]line Контрольно-КаÑÑовый Чек [14:20:07]line ПРОДÐЖР[14:20:07]line ТРК (МРК, ГÐК) : 11 [14:20:07]line Товар: 2710194210 [14:20:07]line ДТ(л)-К-5 [14:20:07]line 20.900 * 71.80 [14:20:07]line = 1500.62 [14:20:07]line ÐДС 12% ÐСП 1% [14:20:07]line > о реализуемом товаре [14:20:07]line ИТОГО: 1500.62 [14:20:07]line ÐСП 1% : 13.28 [14:20:07]line ÐДС 12% : 159.36 [14:20:07]line Ðаличными: 0.00 [14:20:07]line Безнал.: 1500.62 [14:20:07]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [14:20:07]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [14:20:07]line СÐО: Общий режим [14:20:07]line Чек 45 08.04.2024 14:20 [14:20:07]line Смена: 314 ФФД: 1.0 [14:20:07]line ЗÐМ: 0300000147 [14:20:07]line РÐМ: 0000000000091578 [14:20:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [14:20:07]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [14:20:07]line ФМ: 0000000000874657 [14:20:07]line ФД: 26832 [14:20:07]line ФПД: 151869791983400 [14:20:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T142021&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26832&fm=151869791983400&tin=02508201610067®Number=0000000000091578&sum=150062 [14:20:08]OFD Sender: Processing packet 26832 [packets to send 44, broken 43] [14:20:08]ProducePacketName [14:20:08]name=ofd_packets/00026832 [14:20:08]OFD Sender: To server: ‡•öpG, [14:20:08]CommunicateWithHost lk.salyk.kg:30040 [14:20:08]ConnectInit lk.salyk.kg [14:20:08]written 0, free lines is 4095 [14:20:08]Connected sock=10 [14:20:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 01 99 08 01 08 5A 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 A4 51 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 2E 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2E 4A 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 40 3E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 2E 4A 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 25 FD 13 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D0 68 00 00 35 04 06 00 8A 1F F1 00 D7 28 29 42 11 17 A1 C7 3E 43 [14:20:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 3F 0C 47 00 03 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D0 68 00 00 F4 03 04 00 8F A4 13 66 B6 04 01 00 00 8C 46 EF EA E6 F2 2F F8 [14:20:08]CommunicateWithHost err = 0 [14:20:08]CheckOFDResponse [14:20:08]1017 (14) - 77093643461234 [14:20:08]1041 (16) - 0000000000874657 [14:20:08]1040 (4) - 26832 [14:20:08]1012 (4) - 08.04.2024 08:02 [14:20:08]1206 (1) - 0 [14:20:08]OFD Sender: Remove packet 26832 [14:20:08]ProducePacketName [14:20:08]name=ofd_packets/00026832 [14:20:08]NVStorageDeleteData [14:20:08]Write to MH i2c: 01 00 00 C1 40 01 [14:20:08]Write i2c OK [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: 01 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: 01 07 00 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: 01 07 00 C1 40 00 00 00 00 00 8C 0C A0 [14:20:08]RasterBufferAndPrint [14:20:08]line [14:20:08]line [14:20:08]line [14:20:08]line [14:20:08]line [14:20:08]written 0, free lines is 3215 [14:20:08]MH_Cut [14:20:08]Write to MH i2c: D1 01 00 C8 40 01 DA [14:20:08]Write i2c OK [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: D1 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: D1 01 00 [14:20:08]MH_I2C_Read... [14:20:08]Read from MH i2c: D1 01 00 C8 40 00 D9 [14:20:08]Write to MH i2c: 01 00 00 C9 40 09 [14:20:08]Write i2c OK [14:20:08]MH_I2C_Read... [14:20:09]OFD Sender: No OFD packet to send [14:20:09]*** Cut start [14:20:09]*** Partial cut [14:20:09]*** CUTSNS_PIN = 1 [14:20:09]*** CUTSNS_PIN = 0 [14:20:10]*** Brake cut motor [14:20:10]Read from MH i2c: 01 [14:20:10]MH_I2C_Read... [14:20:10]*** Stop cut motor [14:20:10]*** Cut end [14:20:10]Read from MH i2c: 01 07 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: 01 07 00 C9 40 00 00 00 00 00 FF 0F 1E [14:20:10]process_action close_receipt done [14:20:10]requested_data is exist [14:20:10]produce_requested_data [14:20:10]requested_item fm.sn is exist - process it [14:20:10]wFMCommunicate request_size=4 [14:20:10]MH_SAM_APDU [14:20:10]CAPDU: 80 11 00 00 [14:20:10]Write to MH i2c: E2 08 00 CA 40 80 11 00 00 00 00 00 00 84 [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:20:10]Read from MH i2c: E2 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: E2 17 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: E2 17 00 CA 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 DC [14:20:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [14:20:10]wFMCommunicate OK [14:20:10]requested_item fd.num is exist - process it [14:20:10]SAM_PROTO_GetFieldsCounters [14:20:10]wFMCommunicate request_size=4 [14:20:10]MH_SAM_APDU [14:20:10]CAPDU: 80 13 00 00 [14:20:10]Write to MH i2c: E2 08 00 CB 40 80 13 00 00 00 00 00 00 87 [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:20:10]Read from MH i2c: E2 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: E2 62 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: E2 62 00 CB 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 AC [14:20:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:20:10]wFMCommunicate OK [14:20:10]SAM_PROTO_GetFieldsCounters done [14:20:10]requested_item shift.num is exist - process it [14:20:10]requested_item shift.opened is exist - process it [14:20:10]req_shift_opened [14:20:10]FM_GetShiftState [14:20:10]SAM_PROTO_GetShiftState [14:20:10]wFMCommunicate request_size=4 [14:20:10]MH_SAM_APDU [14:20:10]CAPDU: 80 13 01 00 [14:20:10]Write to MH i2c: E2 08 00 CC 40 80 13 01 00 00 00 00 00 89 [14:20:10]Write i2c OK [14:20:10]MH_I2C_Read... [14:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:20:10]Read from MH i2c: E2 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: E2 0E 00 [14:20:10]MH_I2C_Read... [14:20:10]Read from MH i2c: E2 0E 00 CC 40 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 16 [14:20:10]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [14:20:10]wFMCommunicate OK [14:20:10]SAM_PROTO_GetShiftState done [14:20:10]FM_GetShiftState done [14:20:10]req_shift_opened done [14:20:10]requested_item shift.open_date is exist - process it [14:20:10]req_shift_open_date [14:20:10]req_shift_open_date done [14:20:10]produce_requested_data done [14:20:10]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26832,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [14:20:10]process_action_free close_receipt [14:20:10]json_value_free [14:20:10]json_value_free done [14:20:10]process_json_proto returns [14:20:10]Send response to host [14:20:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26832,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [14:20:10]free response buf [14:20:10]execute_script done [14:20:10]execute_script returns [14:20:10]free content buf [14:20:10]Sock 8.Close socket [14:20:10]Sock 8.Thread stoped [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:47]int [14:24:47]Write to MH i2c: 01 00 00 CD 40 0D [14:24:47]*** FLAG_PRN_PAP1 set [14:24:47]Write i2c OK [14:24:47]MH_I2C_Read... [14:24:47]Read from MH i2c: 01 [14:24:47]MH_I2C_Read... [14:24:47]Read from MH i2c: 01 07 00 [14:24:47]MH_I2C_Read... [14:24:47]Read from MH i2c: 01 07 00 CD 40 00 01 00 00 00 FF 0F 23 [14:24:47]state=0 [14:24:47]No paper [14:24:47]int [14:24:47]Write to MH i2c: 01 00 00 CE 40 0E [14:24:47]*** FLAG_PRN_PAP2 set [14:24:47]Write i2c OK [14:24:47]MH_I2C_Read... [14:24:47]Read from MH i2c: 01 [14:24:47]MH_I2C_Read... [14:24:47]Read from MH i2c: 01 07 00 [14:24:47]MH_I2C_Read... [14:24:47]Read from MH i2c: 01 07 00 CE 40 00 03 00 00 00 FF 0F 26 [14:24:47]state=0 [14:24:47]No paper [14:24:47]Cover opened [14:24:49]OFD Sender: No OFD packet to send [14:24:52]Write to MH i2c: 01 00 00 CF 40 0F [14:24:52]Write i2c OK [14:24:52]MH_I2C_Read... [14:24:52]Read from MH i2c: 01 [14:24:52]MH_I2C_Read... [14:24:52]Read from MH i2c: 01 07 00 [14:24:52]MH_I2C_Read... [14:24:52]Read from MH i2c: 01 07 00 CF 40 00 03 00 00 00 FF 0F 27 [14:24:52]state=3 [14:24:52]No paper [14:24:52]Cover opened [14:24:54]OFD Sender: No OFD packet to send [14:24:57]Write to MH i2c: 01 00 00 D0 40 10 [14:24:57]Write i2c OK [14:24:57]MH_I2C_Read... [14:24:57]Read from MH i2c: 01 [14:24:57]MH_I2C_Read... [14:24:57]Read from MH i2c: 01 07 00 [14:24:57]MH_I2C_Read... [14:24:57]Read from MH i2c: 01 07 00 D0 40 00 03 00 00 00 FF 0F 28 [14:24:57]state=3 [14:24:57]No paper [14:24:57]Cover opened [14:24:59]OFD Sender: No OFD packet to send [14:25:02]Write to MH i2c: 01 00 00 D1 40 11 [14:25:02]Write i2c OK [14:25:02]MH_I2C_Read... [14:25:02]Read from MH i2c: 01 [14:25:02]MH_I2C_Read... [14:25:02]Read from MH i2c: 01 07 00 [14:25:02]MH_I2C_Read... [14:25:02]Read from MH i2c: 01 07 00 D1 40 00 03 00 00 00 FF 0F 29 [14:25:02]state=3 [14:25:02]No paper [14:25:02]Cover opened [14:25:04]OFD Sender: No OFD packet to send [14:25:07]Write to MH i2c: 01 00 00 D2 40 12 [14:25:07]Write i2c OK [14:25:07]MH_I2C_Read... [14:25:07]Read from MH i2c: 01 [14:25:07]MH_I2C_Read... [14:25:07]Read from MH i2c: 01 07 00 [14:25:07]MH_I2C_Read... [14:25:07]Read from MH i2c: 01 07 00 D2 40 00 03 00 00 00 FF 0F 2A [14:25:07]state=3 [14:25:07]No paper [14:25:07]Cover opened [14:25:09]OFD Sender: No OFD packet to send [14:25:12]Write to MH i2c: 01 00 00 D3 40 13 [14:25:12]Write i2c OK [14:25:12]MH_I2C_Read... [14:25:12]Read from MH i2c: 01 [14:25:12]MH_I2C_Read... [14:25:12]Read from MH i2c: 01 07 00 [14:25:12]MH_I2C_Read... [14:25:12]Read from MH i2c: 01 07 00 D3 40 00 03 00 00 00 FF 0F 2B [14:25:12]state=3 [14:25:12]No paper [14:25:12]Cover opened [14:25:14]OFD Sender: No OFD packet to send [14:25:17]Write to MH i2c: 01 00 00 D4 40 14 [14:25:17]Write i2c OK [14:25:17]MH_I2C_Read... [14:25:17]Read from MH i2c: 01 [14:25:17]MH_I2C_Read... [14:25:17]Read from MH i2c: 01 07 00 [14:25:17]MH_I2C_Read... [14:25:17]Read from MH i2c: 01 07 00 D4 40 00 03 00 00 00 FF 0F 2C [14:25:17]state=3 [14:25:17]No paper [14:25:17]Cover opened [14:25:19]OFD Sender: No OFD packet to send [14:25:21]int [14:25:21]Write to MH i2c: 01 00 00 D5 40 15 [14:25:21]*** FLAG_PRN_PAP1 reset [14:25:21]Write i2c OK [14:25:21]MH_I2C_Read... [14:25:21]Read from MH i2c: 01 [14:25:21]MH_I2C_Read... [14:25:21]Read from MH i2c: 01 07 00 [14:25:21]MH_I2C_Read... [14:25:21]Read from MH i2c: 01 07 00 D5 40 00 02 00 00 00 FF 0F 2C [14:25:21]state=3 [14:25:21]Cover opened [14:25:21]int [14:25:21]Write to MH i2c: 01 00 00 D6 40 16 [14:25:21]*** FLAG_PRN_PAP2 reset [14:25:21]Write i2c OK [14:25:21]MH_I2C_Read... [14:25:21]Read from MH i2c: 01 [14:25:21]MH_I2C_Read... [14:25:21]Read from MH i2c: 01 07 00 [14:25:21]MH_I2C_Read... [14:25:21]Read from MH i2c: 01 07 00 D6 40 00 00 00 00 00 FF 0F 2B [14:25:21]state=3 [14:25:21]Cover closed [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:37]int [14:25:37]Write to MH i2c: 01 00 00 D7 40 17 [14:25:37]*** FLAG_PRN_KEY set [14:25:37]Write i2c OK [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 07 00 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 07 00 D7 40 00 08 00 00 00 FF 0F 34 [14:25:37]state=0 [14:25:37]Key pressed [14:25:37]Feed [14:25:37]Write to MH i2c: D8 00 00 D8 40 EF [14:25:37]Write i2c OK [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: D8 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: D8 01 00 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: D8 01 00 D8 40 00 F0 [14:25:37]int [14:25:37]Write to MH i2c: 01 00 00 D9 40 19 [14:25:37]Write i2c OK [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 07 00 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 07 00 D9 40 00 48 00 00 00 3C 00 A4 [14:25:37]state=2 [14:25:37]Key pressed [14:25:37]int [14:25:37]Write to MH i2c: 01 00 00 DA 40 1A [14:25:37]*** FLAG_PRN_KEY reset [14:25:37]Write i2c OK [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 07 00 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: 01 07 00 DA 40 00 00 00 00 00 FC 0F 2C [14:25:37]state=2 [14:25:37]Stop feed [14:25:39]OFD Sender: No OFD packet to send [14:25:41]int [14:25:41]Write to MH i2c: 01 00 00 DB 40 1B [14:25:41]*** FLAG_PRN_KEY set [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 DB 40 00 08 00 00 00 FF 0F 38 [14:25:41]state=0 [14:25:41]Key pressed [14:25:41]Feed [14:25:41]Write to MH i2c: D8 00 00 DC 40 F3 [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: D8 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: D8 01 00 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: D8 01 00 DC 40 00 F4 [14:25:41]int [14:25:41]Write to MH i2c: 01 00 00 DD 40 1D [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 DD 40 00 48 00 00 00 3C 00 A8 [14:25:41]state=2 [14:25:41]Key pressed [14:25:41]int [14:25:41]Write to MH i2c: 01 00 00 DE 40 1E [14:25:41]*** FLAG_PRN_KEY reset [14:25:41]Write i2c OK [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 [14:25:41]MH_I2C_Read... [14:25:41]Read from MH i2c: 01 07 00 DE 40 00 00 00 00 00 F6 0F 2A [14:25:41]state=2 [14:25:41]Stop feed [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:54]OFD Sender: No OFD packet to send [14:32:59]OFD Sender: No OFD packet to send [14:33:04]OFD Sender: No OFD packet to send [14:33:09]OFD Sender: No OFD packet to send [14:33:14]OFD Sender: No OFD packet to send [14:33:19]OFD Sender: No OFD packet to send [14:33:24]OFD Sender: No OFD packet to send [14:33:29]OFD Sender: No OFD packet to send [14:33:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:54]OFD Sender: No OFD packet to send [14:33:59]OFD Sender: No OFD packet to send [14:34:04]OFD Sender: No OFD packet to send [14:34:09]OFD Sender: No OFD packet to send [14:34:14]OFD Sender: No OFD packet to send [14:34:19]OFD Sender: No OFD packet to send [14:34:24]OFD Sender: No OFD packet to send [14:34:29]OFD Sender: No OFD packet to send [14:34:34]OFD Sender: No OFD packet to send [14:34:39]OFD Sender: No OFD packet to send [14:34:44]OFD Sender: No OFD packet to send [14:34:49]OFD Sender: No OFD packet to send [14:34:54]OFD Sender: No OFD packet to send [14:34:59]OFD Sender: No OFD packet to send [14:35:04]OFD Sender: No OFD packet to send [14:35:09]OFD Sender: No OFD packet to send [14:35:14]OFD Sender: No OFD packet to send [14:35:19]OFD Sender: No OFD packet to send [14:35:24]OFD Sender: No OFD packet to send [14:35:29]OFD Sender: No OFD packet to send [14:35:34]OFD Sender: No OFD packet to send [14:35:39]OFD Sender: No OFD packet to send [14:35:44]OFD Sender: No OFD packet to send [14:35:49]OFD Sender: No OFD packet to send [14:35:54]OFD Sender: No OFD packet to send [14:35:59]OFD Sender: No OFD packet to send [14:36:04]OFD Sender: No OFD packet to send [14:36:09]OFD Sender: No OFD packet to send [14:36:14]OFD Sender: No OFD packet to send [14:36:19]OFD Sender: No OFD packet to send [14:36:24]OFD Sender: No OFD packet to send [14:36:29]OFD Sender: No OFD packet to send [14:36:34]OFD Sender: No OFD packet to send [14:36:39]OFD Sender: No OFD packet to send [14:36:44]OFD Sender: No OFD packet to send [14:36:49]OFD Sender: No OFD packet to send [14:36:54]OFD Sender: No OFD packet to send [14:36:59]OFD Sender: No OFD packet to send [14:37:04]OFD Sender: No OFD packet to send [14:37:09]OFD Sender: No OFD packet to send [14:37:14]OFD Sender: No OFD packet to send [14:37:19]OFD Sender: No OFD packet to send [14:37:24]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [14:40:05]OFD Sender: No OFD packet to send [14:40:10]OFD Sender: No OFD packet to send [14:40:15]OFD Sender: No OFD packet to send [14:40:20]OFD Sender: No OFD packet to send [14:40:25]OFD Sender: No OFD packet to send [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:24]int [15:01:24]Write to MH i2c: 01 00 00 DF 40 1F [15:01:24]*** FLAG_PRN_KEY set [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 DF 40 00 08 00 00 00 FF 0F 3C [15:01:24]state=0 [15:01:24]Key pressed [15:01:24]Feed [15:01:24]Write to MH i2c: D8 00 00 E0 40 F7 [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: D8 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: D8 01 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: D8 01 00 E0 40 00 F8 [15:01:24]int [15:01:24]Write to MH i2c: 01 00 00 E1 40 21 [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 E1 40 00 48 00 00 00 3D 00 AD [15:01:24]state=2 [15:01:24]Key pressed [15:01:24]int [15:01:24]Write to MH i2c: 01 00 00 E2 40 22 [15:01:24]*** FLAG_PRN_KEY reset [15:01:24]Write i2c OK [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 [15:01:24]MH_I2C_Read... [15:01:24]Read from MH i2c: 01 07 00 E2 40 00 00 00 00 00 F6 0F 2E [15:01:24]state=2 [15:01:24]Stop feed [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]int [15:02:16]Write to MH i2c: 01 00 00 E3 40 23 [15:02:16]*** FLAG_PRN_KEY set [15:02:16]Write i2c OK [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 07 00 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 07 00 E3 40 00 08 00 00 00 FF 0F 40 [15:02:16]state=0 [15:02:16]Key pressed [15:02:16]Feed [15:02:16]Write to MH i2c: D8 00 00 E4 40 FB [15:02:16]Write i2c OK [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: D8 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: D8 01 00 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: D8 01 00 E4 40 00 FC [15:02:16]int [15:02:16]Write to MH i2c: 01 00 00 E5 40 25 [15:02:16]Write i2c OK [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 07 00 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 07 00 E5 40 00 48 00 00 00 3D 00 B1 [15:02:16]state=2 [15:02:16]Key pressed [15:02:16]OFD Sender: No OFD packet to send [15:02:16]int [15:02:16]Write to MH i2c: 01 00 00 E6 40 26 [15:02:16]*** FLAG_PRN_KEY reset [15:02:16]Write i2c OK [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 07 00 [15:02:16]MH_I2C_Read... [15:02:16]Read from MH i2c: 01 07 00 E6 40 00 00 00 00 00 F6 0F 32 [15:02:16]state=2 [15:02:16]Stop feed [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:06:59]accept exits with 9 [15:06:59]New connection [15:06:59]New thread 3067014500 created [15:06:59]Thread 3066871140 joined [15:06:59]Waiting for new connection... [15:06:59] Sock 9.Parse request [15:06:59]Sock 9.Check first char [15:06:59]Sock 9.First char is OK [15:06:59]request: POST /json_proto HTTP/1.0 [15:06:59]Method: POST [15:06:59]URL: /json_proto [15:06:59]Method is POST - this is cgi request [15:06:59]url: /json_proto [15:06:59]query_string will be loaded in cgi processing [15:06:59]execute_cgi json_proto POST (null) [15:06:59]execute_cgi path=json_proto method=POST [15:06:59]POST find Content-Length [15:06:59]Host: 172.17.35.3:8080 [15:06:59]Content-Length: 668 [15:06:59]Content-Type: application/json [15:06:59] [15:06:59]POST finish read [15:06:59]Found Content-Length = 668 [15:06:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359578", "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" : 71.80, "quantity" : 40.000, "sum" : 2872.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "payments": [ { "type": 0, "sum" : 2872.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:59]execute_script... [15:06:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359578", "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" : 71.80, "quantity" : 40.000, "sum" : 2872.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "payments": [ { "type": 0, "sum" : 2872.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:06:59]POST & json_proto [15:06:59]process_json_proto [15:06:59]json parsed OK: [15:06:59]protocol is kg_v1.0 [15:06:59]action value=close_receipt [15:06:59]process_action close_receipt [15:06:59]cmd_close_receipt [15:06:59]MH_GetDate [15:06:59]Write to MH i2c: F0 00 00 E7 40 16 [15:06:59]Write i2c OK [15:06:59]MH_I2C_Read... [15:06:59]Read from MH i2c: F0 [15:06:59]MH_I2C_Read... [15:06:59]Read from MH i2c: F0 09 00 [15:06:59]MH_I2C_Read... [15:06:59]Read from MH i2c: F0 09 00 E7 40 00 22 08 14 66 2B 11 66 64 C9 [15:06:59]GetLastDocTimeStamp 1712586021 [15:06:59]current date 1712588834 [15:06:59]FM_GetShiftState [15:06:59]SAM_PROTO_GetShiftState [15:06:59]wFMCommunicate request_size=4 [15:06:59]MH_SAM_APDU [15:06:59]CAPDU: 80 13 01 00 [15:06:59]Write to MH i2c: E2 08 00 E8 40 80 13 01 00 00 00 00 00 A5 [15:06:59]Write i2c OK [15:06:59]MH_I2C_Read... [15:06:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:06:59]Read from MH i2c: E2 [15:06:59]MH_I2C_Read... [15:06:59]Read from MH i2c: E2 0E 00 [15:06:59]MH_I2C_Read... [15:06:59]Read from MH i2c: E2 0E 00 E8 40 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 32 [15:06:59]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [15:06:59]wFMCommunicate OK [15:06:59]SAM_PROTO_GetShiftState done [15:06:59]FM_GetShiftState done [15:06:59]opened in 1712536270 [15:06:59]opened+sec_in_day 1712622670 [15:06:59]quantity*price = 287200 [15:06:59]sum+1 = 287201 [15:06:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 2872.00 ВнеÑено: 3000.00 СДÐЧÐ: 128.00 ÐСП 1% : 25.42 ÐДС 12% : 304.99 Ðаличными: 2872.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 46 08.04.2024 15:07 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26833 ФПД: 85153536087224 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T150714&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26833&fm=85153536087224&tin=02508201610067®Number=0000000000091578&sum=287200 [15:07:00]StoreToDocumentArchive [15:07:00]shift 314 fd 26833 [15:07:00]save to /storage/0314/doc_00026833 [15:07:00]save last doc name /storage/0314/doc_00026833 to /storage/kkm_last_doc_name [15:07:00]save OK [15:07:00]Clear old archive folders... [15:07:00]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:07:00]tlvbuf is 00E9E650 [15:07:00]SAM_PROTO_ClearQueue [15:07:00]wFMCommunicate request_size=4 [15:07:00]MH_SAM_APDU [15:07:00]CAPDU: 80 09 00 00 [15:07:00]Write to MH i2c: E2 08 00 F5 40 80 09 00 00 00 00 00 00 A7 [15:07:00]Write i2c OK [15:07:00]MH_I2C_Read... [15:07:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:07:00]Read from MH i2c: E2 [15:07:00]MH_I2C_Read... [15:07:00]Read from MH i2c: E2 03 00 [15:07:00]MH_I2C_Read... [15:07:00]Read from MH i2c: E2 03 00 F5 40 00 90 00 A9 [15:07:00]RAPDU: 90 00 [15:07:00]wFMCommunicate OK [15:07:00]SAM_PROTO_ClearQueue done [15:07:00]KKMCreateOFDPacket [15:07:00]OFDProtocolAddRootSTLVToBuf [15:07:00]FM_MakeSignedData [15:07:00]FM_MakeSignedData [15:07:00]SAM_PROTO_SignData [15:07:00]wFMCommunicate request_size=4 [15:07:00]MH_SAM_APDU [15:07:00]CAPDU: 80 0D 01 02 [15:07:00]Write to MH i2c: E2 08 00 F6 40 80 0D 01 02 00 00 00 00 AF [15:07:00]Write i2c OK [15:07:00]MH_I2C_Read... [15:07:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:07:00]Read from MH i2c: E2 [15:07:00]MH_I2C_Read... [15:07:00]Read from MH i2c: E2 03 00 [15:07:00]MH_I2C_Read... [15:07:00]Read from MH i2c: E2 03 00 F6 40 00 90 00 AA [15:07:00]RAPDU: 90 00 [15:07:00]wFMCommunicate OK [15:07:00]wFMCommunicate request_size=255 [15:07:00]MH_SAM_APDU [15:07:00]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 40 9C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 E0 61 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 61 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 77 00 00 00 00 07 04 06 00 E0 61 04 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 22 08 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D1 68 00 00 35 04 06 00 [15:07:00]Write to MH i2c: E2 02 01 F7 40 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 40 9C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 E0 61 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 61 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 77 00 00 00 00 07 04 06 00 E0 61 04 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 22 08 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D1 68 00 00 35 04 06 00 00 00 A8 [15:07:00]Write i2c OK [15:07:00]MH_I2C_Read... [15:07:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:07:01]Read from MH i2c: E2 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 03 00 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 03 00 F7 40 00 90 00 AB [15:07:01]RAPDU: 90 00 [15:07:01]wFMCommunicate OK [15:07:01]wFMCommunicate request_size=11 [15:07:01]MH_SAM_APDU [15:07:01]CAPDU: 80 0D 02 02 06 4D 72 5A 45 14 B8 [15:07:01]Write to MH i2c: E2 0E 00 F8 40 80 0D 02 02 06 00 4D 72 5A 45 14 B8 00 00 E8 [15:07:01]Write i2c OK [15:07:01]MH_I2C_Read... [15:07:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:07:01]Read from MH i2c: E2 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 03 00 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 03 00 F8 40 00 90 00 AC [15:07:01]RAPDU: 90 00 [15:07:01]wFMCommunicate OK [15:07:01]wFMCommunicate request_size=4 [15:07:01]MH_SAM_APDU [15:07:01]CAPDU: 80 0D 03 02 [15:07:01]Write to MH i2c: E2 08 00 F9 40 80 0D 03 02 00 00 00 00 B4 [15:07:01]Write i2c OK [15:07:01]MH_I2C_Read... [15:07:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:07:01]Read from MH i2c: E2 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 0B 00 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 0B 00 F9 40 00 6A 87 18 6F 07 47 6D 1A 90 00 02 [15:07:01]RAPDU: 6A 87 18 6F 07 47 6D 1A 90 00 [15:07:01]wFMCommunicate OK [15:07:01]SAM_PROTO_SignData done [15:07:01]FM_MakeSignedData done [15:07:01]CreateOFDProtocolMessage [15:07:01]wFMCommunicate request_size=4 [15:07:01]MH_SAM_APDU [15:07:01]CAPDU: 80 11 00 00 [15:07:01]Write to MH i2c: E2 08 00 FA 40 80 11 00 00 00 00 00 00 B4 [15:07:01]Write i2c OK [15:07:01]MH_I2C_Read... [15:07:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:07:01]Read from MH i2c: E2 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 17 00 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: E2 17 00 FA 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0C [15:07:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:07:01]wFMCommunicate OK [15:07:01]CreateOFDProtocolMessage done [15:07:01]OFDSenderStorePacket 26833 [15:07:01]StoreOFDPacket docnum=26833 [15:07:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 22 23 08 01 EF CA 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 40 9C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 E0 61 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 61 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 77 00 00 00 00 07 04 06 00 E0 61 04 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 22 08 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D1 68 00 00 35 04 06 00 4D 72 5A 45 14 B8 6A 87 18 6F 07 47 6D 1A [15:07:01]CheckFolder [15:07:01]dirname=/storage/ofd_packets [15:07:01]CheckFolder done [15:07:01]ProducePacketName [15:07:01]name=ofd_packets/00026833 [15:07:01]NVStorageSaveData ofd_packets/00026833 [15:07:01]File name is /storage/ofd_packets/00026833 [15:07:01]Write 302 bytes [15:07:01]NVStorageSaveData done [15:07:01]OFDSenderStorePacket done [15:07:01]KKMCreateOFDPacket done [15:07:01]NVStorageSaveData kkm_last_timestamp [15:07:01]File name is /storage/kkm_last_timestamp [15:07:01]Write 4 bytes [15:07:01]NVStorageSaveData done [15:07:01]ExternCall_PrintAddStr [15:07:01]wPrintStart [15:07:01]Write to MH i2c: 01 00 00 FB 40 3B [15:07:01]Write i2c OK [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: 01 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: 01 07 00 [15:07:01]MH_I2C_Read... [15:07:01]Read from MH i2c: 01 07 00 FB 40 00 00 00 00 00 FF 0F 50 [15:07:01]RasterBufferAndPrint [15:07:01]line Счет N : (1)359578 [15:07:01]line ИÐÐ: 02508201610067 [15:07:01]line Контрольно-КаÑÑовый Чек [15:07:01]line ПРОДÐЖР[15:07:01]line ТРК (МРК, ГÐК) : 21 [15:07:01]line Товар: 2710194210 [15:07:01]line ДТ(л)-К-5 [15:07:01]line 40.000 * 71.80 [15:07:01]line = 2872.00 [15:07:01]line ÐДС 12% ÐСП 1% [15:07:01]line > о реализуемом товаре [15:07:01]line ИТОГО: 2872.00 [15:07:01]line ВнеÑено: 3000.00 [15:07:01]line СДÐЧÐ: 128.00 [15:07:01]line ÐСП 1% : 25.42 [15:07:01]line ÐДС 12% : 304.99 [15:07:01]line Ðаличными: 2872.00 [15:07:01]line Безнал.: 0.00 [15:07:01]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [15:07:01]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [15:07:01]line СÐО: Общий режим [15:07:01]line Чек 46 08.04.2024 15:07 [15:07:01]line Смена: 314 ФФД: 1.0 [15:07:01]line ЗÐМ: 0300000147 [15:07:01]line РÐМ: 0000000000091578 [15:07:01]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:07:01]line ФМ: 0000000000874657 [15:07:01]line ФД: 26833 [15:07:01]line ФПД: 85153536087224 [15:07:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T150714&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26833&fm=85153536087224&tin=02508201610067®Number=0000000000091578&sum=287200 [15:07:01]OFD Sender: Processing packet 26833 [packets to send 44, broken 43] [15:07:01]ProducePacketName [15:07:01]name=ofd_packets/00026833 [15:07:01]OFD Sender: To server: ‡•öpG, [15:07:01]CommunicateWithHost lk.salyk.kg:30040 [15:07:01]ConnectInit lk.salyk.kg [15:07:01]written 0, free lines is 4095 [15:07:01]Connected sock=10 [15:07:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 22 23 08 01 EF CA 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 40 9C 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 E0 61 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 61 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EE 09 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 77 00 00 00 00 07 04 06 00 E0 61 04 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 22 08 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D1 68 00 00 35 04 06 00 4D 72 5A 45 14 B8 6A 87 18 6F 07 47 6D 1A [15:07:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 38 7F 47 00 45 B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D1 68 00 00 F4 03 04 00 8C AF 13 66 B6 04 01 00 00 A9 75 09 BB EF D0 E1 A8 [15:07:01]CommunicateWithHost err = 0 [15:07:01]CheckOFDResponse [15:07:01]1017 (14) - 77093643461234 [15:07:01]1041 (16) - 0000000000874657 [15:07:01]1040 (4) - 26833 [15:07:01]1012 (4) - 08.04.2024 08:49 [15:07:01]1206 (1) - 0 [15:07:01]OFD Sender: Remove packet 26833 [15:07:01]ProducePacketName [15:07:01]name=ofd_packets/00026833 [15:07:01]NVStorageDeleteData [15:07:02]Write to MH i2c: 01 00 00 25 41 66 [15:07:02]Write i2c OK [15:07:02]MH_I2C_Read... [15:07:02]Read from MH i2c: 01 [15:07:02]MH_I2C_Read... [15:07:02]Read from MH i2c: 01 07 00 [15:07:02]MH_I2C_Read... [15:07:02]Read from MH i2c: 01 07 00 25 41 00 00 00 00 00 93 0C 0C [15:07:02]RasterBufferAndPrint [15:07:02]line [15:07:02]line [15:07:02]line [15:07:02]line [15:07:02]line [15:07:02]written 0, free lines is 3222 [15:07:02]MH_Cut [15:07:02]Write to MH i2c: D1 01 00 2C 41 01 3F [15:07:02]Write i2c OK [15:07:02]MH_I2C_Read... [15:07:02]Read from MH i2c: D1 [15:07:02]MH_I2C_Read... [15:07:02]Read from MH i2c: D1 01 00 [15:07:02]MH_I2C_Read... [15:07:02]Read from MH i2c: D1 01 00 2C 41 00 3E [15:07:02]Write to MH i2c: 01 00 00 2D 41 6E [15:07:02]Write i2c OK [15:07:02]MH_I2C_Read... [15:07:02]OFD Sender: No OFD packet to send [15:07:03]*** Cut start [15:07:03]*** Partial cut [15:07:03]*** CUTSNS_PIN = 1 [15:07:03]*** CUTSNS_PIN = 0 [15:07:03]*** Brake cut motor [15:07:03]Read from MH i2c: 01 [15:07:03]MH_I2C_Read... [15:07:03]*** Stop cut motor [15:07:03]*** Cut end [15:07:03]Read from MH i2c: 01 07 00 [15:07:03]MH_I2C_Read... [15:07:03]Read from MH i2c: 01 07 00 2D 41 00 00 00 00 00 FF 0F 83 [15:07:03]process_action close_receipt done [15:07:03]requested_data is exist [15:07:03]produce_requested_data [15:07:03]requested_item fm.sn is exist - process it [15:07:03]wFMCommunicate request_size=4 [15:07:03]MH_SAM_APDU [15:07:03]CAPDU: 80 11 00 00 [15:07:03]Write to MH i2c: E2 08 00 2E 41 80 11 00 00 00 00 00 00 E9 [15:07:03]Write i2c OK [15:07:03]MH_I2C_Read... [15:07:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:07:03]Read from MH i2c: E2 [15:07:03]MH_I2C_Read... [15:07:03]Read from MH i2c: E2 17 00 [15:07:03]MH_I2C_Read... [15:07:03]Read from MH i2c: E2 17 00 2E 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 41 [15:07:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:07:03]wFMCommunicate OK [15:07:03]requested_item fd.num is exist - process it [15:07:03]SAM_PROTO_GetFieldsCounters [15:07:03]wFMCommunicate request_size=4 [15:07:03]MH_SAM_APDU [15:07:03]CAPDU: 80 13 00 00 [15:07:03]Write to MH i2c: E2 08 00 2F 41 80 13 00 00 00 00 00 00 EC [15:07:03]Write i2c OK [15:07:03]MH_I2C_Read... [15:07:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:07:04]Read from MH i2c: E2 [15:07:04]MH_I2C_Read... [15:07:04]Read from MH i2c: E2 62 00 [15:07:04]MH_I2C_Read... [15:07:04]Read from MH i2c: E2 62 00 2F 41 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 15 [15:07:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:07:04]wFMCommunicate OK [15:07:04]SAM_PROTO_GetFieldsCounters done [15:07:04]requested_item shift.num is exist - process it [15:07:04]requested_item shift.opened is exist - process it [15:07:04]req_shift_opened [15:07:04]FM_GetShiftState [15:07:04]SAM_PROTO_GetShiftState [15:07:04]wFMCommunicate request_size=4 [15:07:04]MH_SAM_APDU [15:07:04]CAPDU: 80 13 01 00 [15:07:04]Write to MH i2c: E2 08 00 30 41 80 13 01 00 00 00 00 00 EE [15:07:04]Write i2c OK [15:07:04]MH_I2C_Read... [15:07:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:07:04]Read from MH i2c: E2 [15:07:04]MH_I2C_Read... [15:07:04]Read from MH i2c: E2 0E 00 [15:07:04]MH_I2C_Read... [15:07:04]Read from MH i2c: E2 0E 00 30 41 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7B [15:07:04]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [15:07:04]wFMCommunicate OK [15:07:04]SAM_PROTO_GetShiftState done [15:07:04]FM_GetShiftState done [15:07:04]req_shift_opened done [15:07:04]requested_item shift.open_date is exist - process it [15:07:04]req_shift_open_date [15:07:04]req_shift_open_date done [15:07:04]produce_requested_data done [15:07:04]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26833,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [15:07:04]process_action_free close_receipt [15:07:04]json_value_free [15:07:04]json_value_free done [15:07:04]process_json_proto returns [15:07:04]Send response to host [15:07:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26833,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [15:07:04]free response buf [15:07:04]execute_script done [15:07:04]execute_script returns [15:07:04]free content buf [15:07:04]Sock 9.Close socket [15:07:04]Sock 9.Thread stoped [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:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]OFD Sender: No OFD packet to send [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16: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:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]OFD Sender: No OFD packet to send [15:32:03]OFD Sender: No OFD packet to send [15:32:08]OFD Sender: No OFD packet to send [15:32:13]OFD Sender: No OFD packet to send [15:32:18]OFD Sender: No OFD packet to send [15:32:23]OFD Sender: No OFD packet to send [15:32:28]OFD Sender: No OFD packet to send [15:32:33]OFD Sender: No OFD packet to send [15:32:38]OFD Sender: No OFD packet to send [15:32:43]OFD Sender: No OFD packet to send [15:32:48]OFD Sender: No OFD packet to send [15:32:53]OFD Sender: No OFD packet to send [15:32:58]OFD Sender: No OFD packet to send [15:33:03]OFD Sender: No OFD packet to send [15:33:08]OFD Sender: No OFD packet to send [15:33:13]OFD Sender: No OFD packet to send [15:33:18]OFD Sender: No OFD packet to send [15:33:23]OFD Sender: No OFD packet to send [15:33:28]OFD Sender: No OFD packet to send [15:33:33]OFD Sender: No OFD packet to send [15:33:38]OFD Sender: No OFD packet to send [15:33:43]OFD Sender: No OFD packet to send [15:33:48]OFD Sender: No OFD packet to send [15:33:53]OFD Sender: No OFD packet to send [15:33:58]OFD Sender: No OFD packet to send [15:34:03]OFD Sender: No OFD packet to send [15:34:08]OFD Sender: No OFD packet to send [15:34:13]OFD Sender: No OFD packet to send [15:34:18]OFD Sender: No OFD packet to send [15:34:23]OFD Sender: No OFD packet to send [15:34:28]OFD Sender: No OFD packet to send [15:34:33]OFD Sender: No OFD packet to send [15:34:38]OFD Sender: No OFD packet to send [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:03]OFD Sender: No OFD packet to send [15:35:08]OFD Sender: No OFD packet to send [15:35:13]OFD Sender: No OFD packet to send [15:35:18]OFD Sender: No OFD packet to send [15:35:23]OFD Sender: No OFD packet to send [15:35:28]OFD Sender: No OFD packet to send [15:35: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: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:33]accept exits with 8 [15:37:33]New connection [15:37:33]New thread 3066871140 created [15:37:33]Thread 3067014500 joined [15:37:33]Waiting for new connection... [15:37:33] Sock 8.Parse request [15:37:33]Sock 8.Check first char [15:37:33]Sock 8.First char is OK [15:37:33]request: POST /json_proto HTTP/1.0 [15:37:33]Method: POST [15:37:33]URL: /json_proto [15:37:33]Method is POST - this is cgi request [15:37:33]url: /json_proto [15:37:33]query_string will be loaded in cgi processing [15:37:33]execute_cgi json_proto POST (null) [15:37:33]execute_cgi path=json_proto method=POST [15:37:33]POST find Content-Length [15:37:33]Host: 172.17.35.3:8080 [15:37:33]Content-Length: 808 [15:37:33]Content-Type: application/json [15:37:33] [15:37:33]POST finish read [15:37:33]Found Content-Length = 808 [15:37:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359579", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:33]execute_script... [15:37:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359579", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:33]POST & json_proto [15:37:33]process_json_proto [15:37:33]json parsed OK: [15:37:33]protocol is kg_v1.0 [15:37:33]action value=close_receipt [15:37:33]process_action close_receipt [15:37:33]cmd_close_receipt [15:37:33]MH_GetDate [15:37:33]Write to MH i2c: F0 00 00 31 41 61 [15:37:33]Write i2c OK [15:37:33]MH_I2C_Read... [15:37:33]Read from MH i2c: F0 [15:37:33]MH_I2C_Read... [15:37:33]Read from MH i2c: F0 09 00 [15:37:33]MH_I2C_Read... [15:37:33]Read from MH i2c: F0 09 00 31 41 00 4D 0F 14 66 2B 11 66 64 46 [15:37:33]GetLastDocTimeStamp 1712588834 [15:37:33]current date 1712590669 [15:37:33]FM_GetShiftState [15:37:33]SAM_PROTO_GetShiftState [15:37:33]wFMCommunicate request_size=4 [15:37:33]MH_SAM_APDU [15:37:33]CAPDU: 80 13 01 00 [15:37:33]Write to MH i2c: E2 08 00 32 41 80 13 01 00 00 00 00 00 F0 [15:37:33]Write i2c OK [15:37:33]MH_I2C_Read... [15:37:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:33]Read from MH i2c: E2 [15:37:33]MH_I2C_Read... [15:37:33]Read from MH i2c: E2 0E 00 [15:37:33]MH_I2C_Read... [15:37:33]Read from MH i2c: E2 0E 00 32 41 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7D [15:37:33]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [15:37:33]wFMCommunicate OK [15:37:33]SAM_PROTO_GetShiftState done [15:37:33]FM_GetShiftState done [15:37:33]opened in 1712536270 [15:37:33]opened+sec_in_day 1712622670 [15:37:33]quantity*price = 100017 [15:37:33]sum+1 = 100018 [15:37:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 47 08.04.2024 15:37 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26834 ФПД: 58551737919021 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T153749&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26834&fm=58551737919021&tin=02508201610067®Number=0000000000091578&sum=100017 [15:37:34]StoreToDocumentArchive [15:37:34]shift 314 fd 26834 [15:37:34]save to /storage/0314/doc_00026834 [15:37:34]save last doc name /storage/0314/doc_00026834 to /storage/kkm_last_doc_name [15:37:34]save OK [15:37:34]Clear old archive folders... [15:37:34]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:37:34]tlvbuf is 00E9A570 [15:37:34]SAM_PROTO_ClearQueue [15:37:34]wFMCommunicate request_size=4 [15:37:34]MH_SAM_APDU [15:37:34]CAPDU: 80 09 00 00 [15:37:34]Write to MH i2c: E2 08 00 3F 41 80 09 00 00 00 00 00 00 F2 [15:37:34]Write i2c OK [15:37:34]MH_I2C_Read... [15:37:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:37:34]Read from MH i2c: E2 [15:37:34]MH_I2C_Read... [15:37:34]Read from MH i2c: E2 03 00 [15:37:34]MH_I2C_Read... [15:37:34]Read from MH i2c: E2 03 00 3F 41 00 90 00 F4 [15:37:34]RAPDU: 90 00 [15:37:34]wFMCommunicate OK [15:37:34]SAM_PROTO_ClearQueue done [15:37:34]KKMCreateOFDPacket [15:37:34]OFDProtocolAddRootSTLVToBuf [15:37:34]FM_MakeSignedData [15:37:34]FM_MakeSignedData [15:37:34]SAM_PROTO_SignData [15:37:34]wFMCommunicate request_size=4 [15:37:34]MH_SAM_APDU [15:37:34]CAPDU: 80 0D 01 02 [15:37:34]Write to MH i2c: E2 08 00 40 41 80 0D 01 02 00 00 00 00 FA [15:37:34]Write i2c OK [15:37:34]MH_I2C_Read... [15:37:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:37:34]Read from MH i2c: E2 [15:37:34]MH_I2C_Read... [15:37:34]Read from MH i2c: E2 03 00 [15:37:34]MH_I2C_Read... [15:37:34]Read from MH i2c: E2 03 00 40 41 00 90 00 F5 [15:37:34]RAPDU: 90 00 [15:37:34]wFMCommunicate OK [15:37:34]wFMCommunicate request_size=255 [15:37:34]MH_SAM_APDU [15:37:34]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 4D 0F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D2 68 00 00 35 04 06 00 [15:37:34]Write to MH i2c: E2 02 01 41 41 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 4D 0F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D2 68 00 00 35 04 06 00 00 00 51 [15:37:35]Write i2c OK [15:37:35]MH_I2C_Read... [15:37:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:35]Read from MH i2c: E2 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 03 00 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 03 00 41 41 00 90 00 F6 [15:37:35]RAPDU: 90 00 [15:37:35]wFMCommunicate OK [15:37:35]wFMCommunicate request_size=11 [15:37:35]MH_SAM_APDU [15:37:35]CAPDU: 80 0D 02 02 06 35 40 A3 8A 26 2D [15:37:35]Write to MH i2c: E2 0E 00 42 41 80 0D 02 02 06 00 35 40 A3 8A 26 2D 00 00 FE [15:37:35]Write i2c OK [15:37:35]MH_I2C_Read... [15:37:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:35]Read from MH i2c: E2 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 03 00 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 03 00 42 41 00 90 00 F7 [15:37:35]RAPDU: 90 00 [15:37:35]wFMCommunicate OK [15:37:35]wFMCommunicate request_size=4 [15:37:35]MH_SAM_APDU [15:37:35]CAPDU: 80 0D 03 02 [15:37:35]Write to MH i2c: E2 08 00 43 41 80 0D 03 02 00 00 00 00 FF [15:37:35]Write i2c OK [15:37:35]MH_I2C_Read... [15:37:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:37:35]Read from MH i2c: E2 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 0B 00 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 0B 00 43 41 00 77 56 00 44 3C AF 45 33 90 00 74 [15:37:35]RAPDU: 77 56 00 44 3C AF 45 33 90 00 [15:37:35]wFMCommunicate OK [15:37:35]SAM_PROTO_SignData done [15:37:35]FM_MakeSignedData done [15:37:35]CreateOFDProtocolMessage [15:37:35]wFMCommunicate request_size=4 [15:37:35]MH_SAM_APDU [15:37:35]CAPDU: 80 11 00 00 [15:37:35]Write to MH i2c: E2 08 00 44 41 80 11 00 00 00 00 00 00 FF [15:37:35]Write i2c OK [15:37:35]MH_I2C_Read... [15:37:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:35]Read from MH i2c: E2 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 17 00 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: E2 17 00 44 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 57 [15:37:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:37:35]wFMCommunicate OK [15:37:35]CreateOFDProtocolMessage done [15:37:35]OFDSenderStorePacket 26834 [15:37:35]StoreOFDPacket docnum=26834 [15:37:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F2 4D 08 01 0B 86 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 4D 0F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D2 68 00 00 35 04 06 00 35 40 A3 8A 26 2D 77 56 00 44 3C AF 45 33 [15:37:35]CheckFolder [15:37:35]dirname=/storage/ofd_packets [15:37:35]CheckFolder done [15:37:35]ProducePacketName [15:37:35]name=ofd_packets/00026834 [15:37:35]NVStorageSaveData ofd_packets/00026834 [15:37:35]File name is /storage/ofd_packets/00026834 [15:37:35]Write 302 bytes [15:37:35]NVStorageSaveData done [15:37:35]OFDSenderStorePacket done [15:37:35]KKMCreateOFDPacket done [15:37:35]NVStorageSaveData kkm_last_timestamp [15:37:35]File name is /storage/kkm_last_timestamp [15:37:35]Write 4 bytes [15:37:35]NVStorageSaveData done [15:37:35]ExternCall_PrintAddStr [15:37:35]wPrintStart [15:37:35]Write to MH i2c: 01 00 00 45 41 86 [15:37:35]Write i2c OK [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: 01 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: 01 07 00 [15:37:35]MH_I2C_Read... [15:37:35]Read from MH i2c: 01 07 00 45 41 00 00 00 00 00 FF 0F 9B [15:37:35]RasterBufferAndPrint [15:37:35]line Счет N : (1)359579 [15:37:35]line ИÐÐ: 02508201610067 [15:37:35]line Контрольно-КаÑÑовый Чек [15:37:35]line ПРОДÐЖР[15:37:35]line ТРК (МРК, ГÐК) : 11 [15:37:35]line Товар: 2710194210 [15:37:35]line ДТ(л)-К-5 [15:37:35]line 13.930 * 71.80 [15:37:35]line = 1000.17 [15:37:35]line ÐДС 12% ÐСП 1% [15:37:35]line > о реализуемом товаре [15:37:35]line ИТОГО: 1000.17 [15:37:35]line ÐСП 1% : 8.85 [15:37:35]line ÐДС 12% : 106.21 [15:37:35]line Ðаличными: 0.00 [15:37:35]line Безнал.: 1000.17 [15:37:35]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [15:37:35]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [15:37:35]line СÐО: Общий режим [15:37:35]line Чек 47 08.04.2024 15:37 [15:37:35]line Смена: 314 ФФД: 1.0 [15:37:35]line ЗÐМ: 0300000147 [15:37:35]line РÐМ: 0000000000091578 [15:37:35]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:37:35]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [15:37:35]line ФМ: 0000000000874657 [15:37:35]line ФД: 26834 [15:37:35]line ФПД: 58551737919021 [15:37:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T153749&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26834&fm=58551737919021&tin=02508201610067®Number=0000000000091578&sum=100017 [15:37:35]OFD Sender: Processing packet 26834 [packets to send 44, broken 43] [15:37:35]ProducePacketName [15:37:35]name=ofd_packets/00026834 [15:37:35]OFD Sender: To server: ‡•öpG, [15:37:35]CommunicateWithHost lk.salyk.kg:30040 [15:37:35]ConnectInit lk.salyk.kg [15:37:35]written 0, free lines is 4095 [15:37:35]Connected sock=10 [15:37:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 F2 4D 08 01 0B 86 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 4D 0F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D2 68 00 00 35 04 06 00 35 40 A3 8A 26 2D 77 56 00 44 3C AF 45 33 [15:37:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 0C 9C 47 00 FD 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D2 68 00 00 F4 03 04 00 B6 B6 13 66 B6 04 01 00 00 6B 37 E7 68 79 C1 2D 63 [15:37:36]CommunicateWithHost err = 0 [15:37:36]CheckOFDResponse [15:37:36]1017 (14) - 77093643461234 [15:37:36]1041 (16) - 0000000000874657 [15:37:36]1040 (4) - 26834 [15:37:36]1012 (4) - 08.04.2024 09:19 [15:37:36]1206 (1) - 0 [15:37:36]OFD Sender: Remove packet 26834 [15:37:36]ProducePacketName [15:37:36]name=ofd_packets/00026834 [15:37:36]NVStorageDeleteData [15:37:36]Write to MH i2c: 01 00 00 6F 41 B0 [15:37:36]Write i2c OK [15:37:36]MH_I2C_Read... [15:37:36]Read from MH i2c: 01 [15:37:36]MH_I2C_Read... [15:37:36]Read from MH i2c: 01 07 00 [15:37:36]MH_I2C_Read... [15:37:36]Read from MH i2c: 01 07 00 6F 41 00 00 00 00 00 7F 0C 42 [15:37:36]RasterBufferAndPrint [15:37:36]line [15:37:36]line [15:37:36]line [15:37:36]line [15:37:36]line [15:37:36]written 0, free lines is 3203 [15:37:36]MH_Cut [15:37:36]Write to MH i2c: D1 01 00 76 41 01 89 [15:37:36]Write i2c OK [15:37:36]MH_I2C_Read... [15:37:36]Read from MH i2c: D1 [15:37:36]MH_I2C_Read... [15:37:36]Read from MH i2c: D1 01 00 [15:37:36]MH_I2C_Read... [15:37:36]Read from MH i2c: D1 01 00 76 41 00 88 [15:37:36]Write to MH i2c: 01 00 00 77 41 B8 [15:37:36]Write i2c OK [15:37:36]MH_I2C_Read... [15:37:36]OFD Sender: No OFD packet to send [15:37:37]*** Cut start [15:37:37]*** Partial cut [15:37:37]*** CUTSNS_PIN = 1 [15:37:37]*** CUTSNS_PIN = 0 [15:37:37]*** Brake cut motor [15:37:37]Read from MH i2c: 01 [15:37:37]MH_I2C_Read... [15:37:37]*** Stop cut motor [15:37:37]*** Cut end [15:37:37]Read from MH i2c: 01 07 00 [15:37:37]MH_I2C_Read... [15:37:37]Read from MH i2c: 01 07 00 77 41 00 00 00 00 00 FF 0F CD [15:37:37]process_action close_receipt done [15:37:37]requested_data is exist [15:37:37]produce_requested_data [15:37:37]requested_item fm.sn is exist - process it [15:37:37]wFMCommunicate request_size=4 [15:37:37]MH_SAM_APDU [15:37:37]CAPDU: 80 11 00 00 [15:37:37]Write to MH i2c: E2 08 00 78 41 80 11 00 00 00 00 00 00 33 [15:37:37]Write i2c OK [15:37:37]MH_I2C_Read... [15:37:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:38]Read from MH i2c: E2 [15:37:38]MH_I2C_Read... [15:37:38]Read from MH i2c: E2 17 00 [15:37:38]MH_I2C_Read... [15:37:38]Read from MH i2c: E2 17 00 78 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8B [15:37:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:37:38]wFMCommunicate OK [15:37:38]requested_item fd.num is exist - process it [15:37:38]SAM_PROTO_GetFieldsCounters [15:37:38]wFMCommunicate request_size=4 [15:37:38]MH_SAM_APDU [15:37:38]CAPDU: 80 13 00 00 [15:37:38]Write to MH i2c: E2 08 00 79 41 80 13 00 00 00 00 00 00 36 [15:37:38]Write i2c OK [15:37:38]MH_I2C_Read... [15:37:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:37:38]Read from MH i2c: E2 [15:37:38]MH_I2C_Read... [15:37:38]Read from MH i2c: E2 62 00 [15:37:38]MH_I2C_Read... [15:37:38]Read from MH i2c: E2 62 00 79 41 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 63 [15:37:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:37:38]wFMCommunicate OK [15:37:38]SAM_PROTO_GetFieldsCounters done [15:37:38]requested_item shift.num is exist - process it [15:37:38]requested_item shift.opened is exist - process it [15:37:38]req_shift_opened [15:37:38]FM_GetShiftState [15:37:38]SAM_PROTO_GetShiftState [15:37:38]wFMCommunicate request_size=4 [15:37:38]MH_SAM_APDU [15:37:38]CAPDU: 80 13 01 00 [15:37:38]Write to MH i2c: E2 08 00 7A 41 80 13 01 00 00 00 00 00 38 [15:37:38]Write i2c OK [15:37:38]MH_I2C_Read... [15:37:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:38]Read from MH i2c: E2 [15:37:38]MH_I2C_Read... [15:37:38]Read from MH i2c: E2 0E 00 [15:37:38]MH_I2C_Read... [15:37:38]Read from MH i2c: E2 0E 00 7A 41 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C5 [15:37:38]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [15:37:38]wFMCommunicate OK [15:37:38]SAM_PROTO_GetShiftState done [15:37:38]FM_GetShiftState done [15:37:38]req_shift_opened done [15:37:38]requested_item shift.open_date is exist - process it [15:37:38]req_shift_open_date [15:37:38]req_shift_open_date done [15:37:38]produce_requested_data done [15:37:38]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26834,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [15:37:38]process_action_free close_receipt [15:37:38]json_value_free [15:37:38]json_value_free done [15:37:38]process_json_proto returns [15:37:38]Send response to host [15:37:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26834,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [15:37:38]free response buf [15:37:38]execute_script done [15:37:38]execute_script returns [15:37:38]free content buf [15:37:38]Sock 8.Close socket [15:37:38]Sock 8.Thread stoped [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:39:01]OFD Sender: No OFD packet to send [15:39:06]OFD Sender: No OFD packet to send [15:39:11]OFD Sender: No OFD packet to send [15:39:16]OFD Sender: No OFD packet to send [15:39:21]OFD Sender: No OFD packet to send [15:39:26]OFD Sender: No OFD packet to send [15:39:31]OFD Sender: No OFD packet to send [15:39:36]OFD Sender: No OFD packet to send [15:39:41]OFD Sender: No OFD packet to send [15:39:46]OFD Sender: No OFD packet to send [15:39:51]OFD Sender: No OFD packet to send [15:39:56]OFD Sender: No OFD packet to send [15:40:01]OFD Sender: No OFD packet to send [15:40:06]OFD Sender: No OFD packet to send [15:40:11]OFD Sender: No OFD packet to send [15:40:11]int [15:40:11]Write to MH i2c: 01 00 00 7B 41 BC [15:40:11]*** FLAG_PRN_KEY set [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 7B 41 00 08 00 00 00 FF 0F D9 [15:40:11]state=0 [15:40:11]Key pressed [15:40:11]Feed [15:40:11]Write to MH i2c: D8 00 00 7C 41 94 [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: D8 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: D8 01 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: D8 01 00 7C 41 00 95 [15:40:11]int [15:40:11]Write to MH i2c: 01 00 00 7D 41 BE [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 7D 41 00 48 00 00 00 3C 00 49 [15:40:11]state=2 [15:40:11]Key pressed [15:40:11]int [15:40:11]Write to MH i2c: 01 00 00 7E 41 BF [15:40:11]*** FLAG_PRN_KEY reset [15:40:11]Write i2c OK [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 [15:40:11]MH_I2C_Read... [15:40:11]Read from MH i2c: 01 07 00 7E 41 00 00 00 00 00 F6 0F CB [15:40:11]state=2 [15:40:11]Stop feed [15:40:12]int [15:40:12]Write to MH i2c: 01 00 00 7F 41 C0 [15:40:12]*** FLAG_PRN_KEY set [15:40:12]Write i2c OK [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 07 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 07 00 7F 41 00 08 00 00 00 FF 0F DD [15:40:12]state=0 [15:40:12]Key pressed [15:40:12]Feed [15:40:12]Write to MH i2c: D8 00 00 80 41 98 [15:40:12]Write i2c OK [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: D8 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: D8 01 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: D8 01 00 80 41 00 99 [15:40:12]int [15:40:12]Write to MH i2c: 01 00 00 81 41 C2 [15:40:12]Write i2c OK [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 07 00 [15:40:12]MH_I2C_Read... [15:40:12]Read from MH i2c: 01 07 00 81 41 00 48 00 00 00 3C 00 4D [15:40:12]state=2 [15:40:12]Key pressed [15:40:13]int [15:40:13]Write to MH i2c: 01 00 00 82 41 C3 [15:40:13]*** FLAG_PRN_KEY reset [15:40:13]Write i2c OK [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 82 41 00 00 00 00 00 F6 0F CF [15:40:13]state=2 [15:40:13]Stop feed [15:40:13]int [15:40:13]Write to MH i2c: 01 00 00 83 41 C4 [15:40:13]*** FLAG_PRN_KEY set [15:40:13]Write i2c OK [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 83 41 00 08 00 00 00 FF 0F E1 [15:40:13]state=0 [15:40:13]Key pressed [15:40:13]Feed [15:40:13]Write to MH i2c: D8 00 00 84 41 9C [15:40:13]Write i2c OK [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: D8 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: D8 01 00 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: D8 01 00 84 41 00 9D [15:40:13]int [15:40:13]Write to MH i2c: 01 00 00 85 41 C6 [15:40:13]Write i2c OK [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 85 41 00 48 00 00 00 3C 00 51 [15:40:13]state=2 [15:40:13]Key pressed [15:40:13]int [15:40:13]Write to MH i2c: 01 00 00 86 41 C7 [15:40:13]*** FLAG_PRN_KEY reset [15:40:13]Write i2c OK [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 [15:40:13]MH_I2C_Read... [15:40:13]Read from MH i2c: 01 07 00 86 41 00 00 00 00 00 F5 0F D2 [15:40:13]state=2 [15:40:13]Stop feed [15:40:16]OFD Sender: No OFD packet to send [15:40:21]OFD Sender: No OFD packet to send [15:40:26]OFD Sender: No OFD packet to send [15:40:31]OFD Sender: No OFD packet to send [15:40:36]OFD Sender: No OFD packet to send [15:40:41]OFD Sender: No OFD packet to send [15:40:46]OFD Sender: No OFD packet to send [15:40:51]OFD Sender: No OFD packet to send [15:40:56]OFD Sender: No OFD packet to send [15:41:01]OFD Sender: No OFD packet to send [15:41:06]OFD Sender: No OFD packet to send [15:41:11]OFD Sender: No OFD packet to send [15:41:16]OFD Sender: No OFD packet to send [15:41:21]OFD Sender: No OFD packet to send [15:41:26]OFD Sender: No OFD packet to send [15:41:31]OFD Sender: No OFD packet to send [15:41:36]OFD Sender: No OFD packet to send [15:41:41]OFD Sender: No OFD packet to send [15:41:46]OFD Sender: No OFD packet to send [15:41:51]OFD Sender: No OFD packet to send [15:41:56]OFD Sender: No OFD packet to send [15:42:01]OFD Sender: No OFD packet to send [15:42:06]OFD Sender: No OFD packet to send [15:42:11]OFD Sender: No OFD packet to send [15:42:16]OFD Sender: No OFD packet to send [15:42:21]OFD Sender: No OFD packet to send [15:42:26]OFD Sender: No OFD packet to send [15:42:31]OFD Sender: No OFD packet to send [15:42:36]OFD Sender: No OFD packet to send [15:42:41]OFD Sender: No OFD packet to send [15:42:46]OFD Sender: No OFD packet to send [15:42:51]OFD Sender: No OFD packet to send [15:42:56]OFD Sender: No OFD packet to send [15:43:01]OFD Sender: No OFD packet to send [15:43:06]OFD Sender: No OFD packet to send [15:43:11]OFD Sender: No OFD packet to send [15:43:16]OFD Sender: No OFD packet to send [15:43:21]OFD Sender: No OFD packet to send [15:43:26]OFD Sender: No OFD packet to send [15:43:31]OFD Sender: No OFD packet to send [15:43:36]OFD Sender: No OFD packet to send [15:43:41]OFD Sender: No OFD packet to send [15:43:46]OFD Sender: No OFD packet to send [15:43:51]OFD Sender: No OFD packet to send [15:43:56]OFD Sender: No OFD packet to send [15:44:01]OFD Sender: No OFD packet to send [15:44:06]OFD Sender: No OFD packet to send [15:44:11]OFD Sender: No OFD packet to send [15:44:16]OFD Sender: No OFD packet to send [15:44:21]OFD Sender: No OFD packet to send [15:44:26]OFD Sender: No OFD packet to send [15:44:31]OFD Sender: No OFD packet to send [15:44:36]OFD Sender: No OFD packet to send [15:44:41]OFD Sender: No OFD packet to send [15:44:46]OFD Sender: No OFD packet to send [15:44:51]OFD Sender: No OFD packet to send [15:44:56]OFD Sender: No OFD packet to send [15:45:01]OFD Sender: No OFD packet to send [15:45:06]OFD Sender: No OFD packet to send [15:45:11]OFD Sender: No OFD packet to send [15:45:16]OFD Sender: No OFD packet to send [15:45:21]OFD Sender: No OFD packet to send [15:45:26]OFD Sender: No OFD packet to send [15:45:31]OFD Sender: No OFD packet to send [15:45:36]OFD Sender: No OFD packet to send [15:45:41]OFD Sender: No OFD packet to send [15:45:46]OFD Sender: No OFD packet to send [15:45:51]OFD Sender: No OFD packet to send [15:45:56]OFD Sender: No OFD packet to send [15:46:01]OFD Sender: No OFD packet to send [15:46:06]OFD Sender: No OFD packet to send [15:46:11]OFD Sender: No OFD packet to send [15:46:16]OFD Sender: No OFD packet to send [15:46:21]OFD Sender: No OFD packet to send [15:46:26]OFD Sender: No OFD packet to send [15:46:32]OFD Sender: No OFD packet to send [15:46:37]OFD Sender: No OFD packet to send [15:46:42]OFD Sender: No OFD packet to send [15:46:47]OFD Sender: No OFD packet to send [15:46:52]OFD Sender: No OFD packet to send [15:46:57]OFD Sender: No OFD packet to send [15:47:02]OFD Sender: No OFD packet to send [15:47:07]OFD Sender: No OFD packet to send [15:47:12]OFD Sender: No OFD packet to send [15:47:17]OFD Sender: No OFD packet to send [15:47:22]OFD Sender: No OFD packet to send [15:47:27]OFD Sender: No OFD packet to send [15:47:32]OFD Sender: No OFD packet to send [15:47:37]OFD Sender: No OFD packet to send [15:47:42]OFD Sender: No OFD packet to send [15:47:47]OFD Sender: No OFD packet to send [15:47:52]OFD Sender: No OFD packet to send [15:47:57]OFD Sender: No OFD packet to send [15:48:02]OFD Sender: No OFD packet to send [15:48:07]OFD Sender: No OFD packet to send [15:48:12]OFD Sender: No OFD packet to send [15:48:17]OFD Sender: No OFD packet to send [15:48:22]OFD Sender: No OFD packet to send [15:48:27]OFD Sender: No OFD packet to send [15:48:32]OFD Sender: No OFD packet to send [15:48:37]OFD Sender: No OFD packet to send [15:48:42]OFD Sender: No OFD packet to send [15:48:47]OFD Sender: No OFD packet to send [15:48:52]OFD Sender: No OFD packet to send [15:48:57]OFD Sender: No OFD packet to send [15:49:02]OFD Sender: No OFD packet to send [15:49:07]OFD Sender: No OFD packet to send [15:49:12]OFD Sender: No OFD packet to send [15:49:17]OFD Sender: No OFD packet to send [15:49:22]OFD Sender: No OFD packet to send [15:49:27]OFD Sender: No OFD packet to send [15:49:32]OFD Sender: No OFD packet to send [15:49:37]OFD Sender: No OFD packet to send [15:49:42]OFD Sender: No OFD packet to send [15:49:47]OFD Sender: No OFD packet to send [15:49:52]OFD Sender: No OFD packet to send [15:49:57]OFD Sender: No OFD packet to send [15:50:02]OFD Sender: No OFD packet to send [15:50:07]OFD Sender: No OFD packet to send [15:50:12]OFD Sender: No OFD packet to send [15:50:17]OFD Sender: No OFD packet to send [15:50:22]OFD Sender: No OFD packet to send [15:50:27]OFD Sender: No OFD packet to send [15:50:32]OFD Sender: No OFD packet to send [15:50:37]OFD Sender: No OFD packet to send [15:50:42]OFD Sender: No OFD packet to send [15:50:47]OFD Sender: No OFD packet to send [15:50:52]OFD Sender: No OFD packet to send [15:50:57]OFD Sender: No OFD packet to send [15:51:02]OFD Sender: No OFD packet to send [15:51:07]OFD Sender: No OFD packet to send [15:51:12]OFD Sender: No OFD packet to send [15:51:17]OFD Sender: No OFD packet to send [15:51:22]OFD Sender: No OFD packet to send [15:51:27]OFD Sender: No OFD packet to send [15:51:32]OFD Sender: No OFD packet to send [15:51:37]OFD Sender: No OFD packet to send [15:51:42]OFD Sender: No OFD packet to send [15:51:47]OFD Sender: No OFD packet to send [15:51:52]OFD Sender: No OFD packet to send [15:51:57]OFD Sender: No OFD packet to send [15:52:02]OFD Sender: No OFD packet to send [15:52:07]OFD Sender: No OFD packet to send [15:52:12]OFD Sender: No OFD packet to send [15:52:17]OFD Sender: No OFD packet to send [15:52:22]OFD Sender: No OFD packet to send [15:52:27]OFD Sender: No OFD packet to send [15:52:32]OFD Sender: No OFD packet to send [15:52:37]OFD Sender: No OFD packet to send [15:52:42]OFD Sender: No OFD packet to send [15:52:47]OFD Sender: No OFD packet to send [15:52:52]OFD Sender: No OFD packet to send [15:52:57]OFD Sender: No OFD packet to send [15:53:02]OFD Sender: No OFD packet to send [15:53:07]OFD Sender: No OFD packet to send [15:53:12]OFD Sender: No OFD packet to send [15:53:17]OFD Sender: No OFD packet to send [15:53:22]OFD Sender: No OFD packet to send [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 87 41 C8 [15:53:22]*** FLAG_PRN_KEY set [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 87 41 00 08 00 00 00 FF 0F E5 [15:53:22]state=0 [15:53:22]Key pressed [15:53:22]Feed [15:53:22]Write to MH i2c: D8 00 00 88 41 A0 [15:53:22]*** FLAG_PRN_KEY reset [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 01 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 01 00 88 41 00 A1 [15:53:22]int line is 0 - check status [15:53:22]Write to MH i2c: 01 00 00 89 41 CA [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 89 41 00 00 00 00 00 F5 0F D5 [15:53:22]state=2 [15:53:22]Stop feed [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 8A 41 CB [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 8A 41 00 00 00 00 00 F5 0F D6 [15:53:22]state=0 [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 8B 41 CC [15:53:22]*** FLAG_PRN_KEY set [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 8B 41 00 08 00 00 00 F5 0F DF [15:53:22]state=0 [15:53:22]Key pressed [15:53:22]Feed [15:53:22]Write to MH i2c: D8 00 00 8C 41 A4 [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 01 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 01 00 8C 41 00 A5 [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 8D 41 CE [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 8D 41 00 48 00 00 00 3D 00 5A [15:53:22]state=2 [15:53:22]Key pressed [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 8E 41 CF [15:53:22]*** FLAG_PRN_KEY reset [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 8E 41 00 00 00 00 00 F5 0F DA [15:53:22]state=2 [15:53:22]Stop feed [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 8F 41 D0 [15:53:22]*** FLAG_PRN_KEY set [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 8F 41 00 08 00 00 00 FF 0F ED [15:53:22]state=0 [15:53:22]Key pressed [15:53:22]Feed [15:53:22]Write to MH i2c: D8 00 00 90 41 A8 [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 01 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: D8 01 00 90 41 00 A9 [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 91 41 D2 [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 91 41 00 48 00 00 00 3C 00 5D [15:53:22]state=2 [15:53:22]Key pressed [15:53:22]int [15:53:22]Write to MH i2c: 01 00 00 92 41 D3 [15:53:22]*** FLAG_PRN_KEY reset [15:53:22]Write i2c OK [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 [15:53:22]MH_I2C_Read... [15:53:22]Read from MH i2c: 01 07 00 92 41 00 00 00 00 00 F6 0F DF [15:53:22]state=2 [15:53:22]Stop feed [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 93 41 D4 [15:53:23]*** FLAG_PRN_KEY set [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 93 41 00 08 00 00 00 FF 0F F1 [15:53:23]state=0 [15:53:23]Key pressed [15:53:23]Feed [15:53:23]Write to MH i2c: D8 00 00 94 41 AC [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 01 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 01 00 94 41 00 AD [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 95 41 D6 [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 95 41 00 48 00 00 00 3C 00 61 [15:53:23]state=2 [15:53:23]Key pressed [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 96 41 D7 [15:53:23]*** FLAG_PRN_KEY reset [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 96 41 00 00 00 00 00 F5 0F E2 [15:53:23]state=2 [15:53:23]Stop feed [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 97 41 D8 [15:53:23]*** FLAG_PRN_KEY set [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 97 41 00 08 00 00 00 FF 0F F5 [15:53:23]state=0 [15:53:23]Key pressed [15:53:23]Feed [15:53:23]Write to MH i2c: D8 00 00 98 41 B0 [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 01 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 01 00 98 41 00 B1 [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 99 41 DA [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 99 41 00 48 00 00 00 3C 00 65 [15:53:23]state=2 [15:53:23]Key pressed [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 9A 41 DB [15:53:23]*** FLAG_PRN_KEY reset [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 9A 41 00 00 00 00 00 F5 0F E6 [15:53:23]state=2 [15:53:23]Stop feed [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 9B 41 DC [15:53:23]*** FLAG_PRN_KEY set [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 9B 41 00 08 00 00 00 FF 0F F9 [15:53:23]state=0 [15:53:23]Key pressed [15:53:23]Feed [15:53:23]Write to MH i2c: D8 00 00 9C 41 B4 [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 01 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: D8 01 00 9C 41 00 B5 [15:53:23]int [15:53:23]Write to MH i2c: 01 00 00 9D 41 DE [15:53:23]Write i2c OK [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 [15:53:23]MH_I2C_Read... [15:53:23]Read from MH i2c: 01 07 00 9D 41 00 48 00 00 00 3C 00 69 [15:53:23]state=2 [15:53:23]Key pressed [15:53:24]int [15:53:24]Write to MH i2c: 01 00 00 9E 41 DF [15:53:24]*** FLAG_PRN_KEY reset [15:53:24]Write i2c OK [15:53:24]MH_I2C_Read... [15:53:24]Read from MH i2c: 01 [15:53:24]MH_I2C_Read... [15:53:24]Read from MH i2c: 01 07 00 [15:53:24]MH_I2C_Read... [15:53:24]Read from MH i2c: 01 07 00 9E 41 00 00 00 00 00 F6 0F EB [15:53:24]state=2 [15:53:24]Stop feed [15:53:27]int [15:53:27]Write to MH i2c: 01 00 00 9F 41 E0 [15:53:27]*** FLAG_PRN_KEY set [15:53:27]Write i2c OK [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 07 00 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 07 00 9F 41 00 08 00 00 00 FF 0F FD [15:53:27]state=0 [15:53:27]Key pressed [15:53:27]Feed [15:53:27]Write to MH i2c: D8 00 00 A0 41 B8 [15:53:27]Write i2c OK [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: D8 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: D8 01 00 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: D8 01 00 A0 41 00 B9 [15:53:27]int [15:53:27]Write to MH i2c: 01 00 00 A1 41 E2 [15:53:27]Write i2c OK [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 07 00 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 07 00 A1 41 00 48 00 00 00 3C 00 6D [15:53:27]state=2 [15:53:27]Key pressed [15:53:27]int [15:53:27]Write to MH i2c: 01 00 00 A2 41 E3 [15:53:27]*** FLAG_PRN_KEY reset [15:53:27]Write i2c OK [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 07 00 [15:53:27]MH_I2C_Read... [15:53:27]Read from MH i2c: 01 07 00 A2 41 00 00 00 00 00 F6 0F EF [15:53:27]state=2 [15:53:27]Stop feed [15:53:27]OFD Sender: No OFD packet to send [15:53:29]int [15:53:29]Write to MH i2c: 01 00 00 A3 41 E4 [15:53:29]*** FLAG_PRN_KEY set [15:53:29]Write i2c OK [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: 01 [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: 01 07 00 [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: 01 07 00 A3 41 00 08 00 00 00 FF 0F 01 [15:53:29]state=0 [15:53:29]Key pressed [15:53:29]Feed [15:53:29]Write to MH i2c: D8 00 00 A4 41 BC [15:53:29]Write i2c OK [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: D8 [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: D8 01 00 [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: D8 01 00 A4 41 00 BD [15:53:29]int [15:53:29]Write to MH i2c: 01 00 00 A5 41 E6 [15:53:29]Write i2c OK [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: 01 [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: 01 07 00 [15:53:29]MH_I2C_Read... [15:53:29]Read from MH i2c: 01 07 00 A5 41 00 48 00 00 00 3C 00 71 [15:53:29]state=2 [15:53:29]Key pressed [15:53:30]int [15:53:30]Write to MH i2c: 01 00 00 A6 41 E7 [15:53:30]*** FLAG_PRN_KEY reset [15:53:30]Write i2c OK [15:53:30]MH_I2C_Read... [15:53:30]Read from MH i2c: 01 [15:53:30]MH_I2C_Read... [15:53:30]Read from MH i2c: 01 07 00 [15:53:30]MH_I2C_Read... [15:53:30]Read from MH i2c: 01 07 00 A6 41 00 00 00 00 00 F6 0F F3 [15:53:30]state=2 [15:53:30]Stop feed [15:53:32]OFD Sender: No OFD packet to send [15:53:37]int [15:53:37]Write to MH i2c: 01 00 00 A7 41 E8 [15:53:37]*** FLAG_PRN_KEY set [15:53:37]Write i2c OK [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 07 00 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 07 00 A7 41 00 08 00 00 00 FF 0F 05 [15:53:37]state=0 [15:53:37]Key pressed [15:53:37]Feed [15:53:37]Write to MH i2c: D8 00 00 A8 41 C0 [15:53:37]Write i2c OK [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: D8 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: D8 01 00 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: D8 01 00 A8 41 00 C1 [15:53:37]int [15:53:37]Write to MH i2c: 01 00 00 A9 41 EA [15:53:37]Write i2c OK [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 07 00 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 07 00 A9 41 00 48 00 00 00 3D 00 76 [15:53:37]state=2 [15:53:37]Key pressed [15:53:37]OFD Sender: No OFD packet to send [15:53:37]int [15:53:37]Write to MH i2c: 01 00 00 AA 41 EB [15:53:37]*** FLAG_PRN_KEY reset [15:53:37]Write i2c OK [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 07 00 [15:53:37]MH_I2C_Read... [15:53:37]Read from MH i2c: 01 07 00 AA 41 00 00 00 00 00 F6 0F F7 [15:53:37]state=2 [15:53:37]Stop feed [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 AB 41 EC [15:53:38]*** FLAG_PRN_KEY set [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 AB 41 00 08 00 00 00 FF 0F 09 [15:53:38]state=0 [15:53:38]Key pressed [15:53:38]Feed [15:53:38]Write to MH i2c: D8 00 00 AC 41 C4 [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 01 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 01 00 AC 41 00 C5 [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 AD 41 EE [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 AD 41 00 48 00 00 00 3C 00 79 [15:53:38]state=2 [15:53:38]Key pressed [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 AE 41 EF [15:53:38]*** FLAG_PRN_KEY reset [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 AE 41 00 00 00 00 00 F6 0F FB [15:53:38]state=2 [15:53:38]Stop feed [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 AF 41 F0 [15:53:38]*** FLAG_PRN_KEY set [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 AF 41 00 08 00 00 00 FF 0F 0D [15:53:38]state=0 [15:53:38]Key pressed [15:53:38]Feed [15:53:38]Write to MH i2c: D8 00 00 B0 41 C8 [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 01 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 01 00 B0 41 00 C9 [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 B1 41 F2 [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 B1 41 00 48 00 00 00 3C 00 7D [15:53:38]state=2 [15:53:38]Key pressed [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 B2 41 F3 [15:53:38]*** FLAG_PRN_KEY reset [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 B2 41 00 00 00 00 00 F5 0F FE [15:53:38]state=2 [15:53:38]Stop feed [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 B3 41 F4 [15:53:38]*** FLAG_PRN_KEY set [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 B3 41 00 08 00 00 00 FF 0F 11 [15:53:38]state=0 [15:53:38]Key pressed [15:53:38]Feed [15:53:38]Write to MH i2c: D8 00 00 B4 41 CC [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 01 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: D8 01 00 B4 41 00 CD [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 B5 41 F6 [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 B5 41 00 48 00 00 00 3C 00 81 [15:53:38]state=2 [15:53:38]Key pressed [15:53:38]int [15:53:38]Write to MH i2c: 01 00 00 B6 41 F7 [15:53:38]*** FLAG_PRN_KEY reset [15:53:38]Write i2c OK [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 [15:53:38]MH_I2C_Read... [15:53:38]Read from MH i2c: 01 07 00 B6 41 00 00 00 00 00 F6 0F 03 [15:53:38]state=2 [15:53:38]Stop feed [15:53:42]OFD Sender: No OFD packet to send [15:53:42]int [15:53:42]Write to MH i2c: 01 00 00 B7 41 F8 [15:53:42]*** FLAG_PRN_PAP1 set [15:53:42]Write i2c OK [15:53:42]MH_I2C_Read... [15:53:42]Read from MH i2c: 01 [15:53:42]MH_I2C_Read... [15:53:42]Read from MH i2c: 01 07 00 [15:53:42]MH_I2C_Read... [15:53:42]Read from MH i2c: 01 07 00 B7 41 00 01 00 00 00 FF 0F 0E [15:53:42]state=0 [15:53:42]No paper [15:53:42]int [15:53:42]Write to MH i2c: 01 00 00 B8 41 F9 [15:53:42]*** FLAG_PRN_PAP2 set [15:53:42]Write i2c OK [15:53:42]MH_I2C_Read... [15:53:42]Read from MH i2c: 01 [15:53:42]MH_I2C_Read... [15:53:42]Read from MH i2c: 01 07 00 [15:53:42]MH_I2C_Read... [15:53:42]Read from MH i2c: 01 07 00 B8 41 00 03 00 00 00 FF 0F 11 [15:53:42]state=0 [15:53:42]No paper [15:53:42]Cover opened [15:53:45]int [15:53:45]Write to MH i2c: 01 00 00 B9 41 FA [15:53:45]*** FLAG_PRN_PAP1 reset [15:53:45]Write i2c OK [15:53:45]MH_I2C_Read... [15:53:45]Read from MH i2c: 01 [15:53:45]MH_I2C_Read... [15:53:45]Read from MH i2c: 01 07 00 [15:53:45]MH_I2C_Read... [15:53:45]Read from MH i2c: 01 07 00 B9 41 00 02 00 00 00 FF 0F 11 [15:53:45]state=3 [15:53:45]Cover opened [15:53:45]int [15:53:45]Write to MH i2c: 01 00 00 BA 41 FB [15:53:45]*** FLAG_PRN_PAP2 reset [15:53:45]Write i2c OK [15:53:45]MH_I2C_Read... [15:53:45]Read from MH i2c: 01 [15:53:45]MH_I2C_Read... [15:53:45]Read from MH i2c: 01 07 00 [15:53:45]MH_I2C_Read... [15:53:45]Read from MH i2c: 01 07 00 BA 41 00 00 00 00 00 FF 0F 10 [15:53:45]state=3 [15:53:45]Cover closed [15:53:47]OFD Sender: No OFD packet to send [15:53:47]int [15:53:47]Write to MH i2c: 01 00 00 BB 41 FC [15:53:47]*** FLAG_PRN_PAP1 set [15:53:47]Write i2c OK [15:53:47]MH_I2C_Read... [15:53:47]Read from MH i2c: 01 [15:53:47]MH_I2C_Read... [15:53:47]Read from MH i2c: 01 07 00 [15:53:47]MH_I2C_Read... [15:53:47]Read from MH i2c: 01 07 00 BB 41 00 01 00 00 00 FF 0F 12 [15:53:47]state=0 [15:53:47]No paper [15:53:47]int [15:53:47]Write to MH i2c: 01 00 00 BC 41 FD [15:53:47]*** FLAG_PRN_PAP2 set [15:53:47]Write i2c OK [15:53:47]MH_I2C_Read... [15:53:47]Read from MH i2c: 01 [15:53:47]MH_I2C_Read... [15:53:47]Read from MH i2c: 01 07 00 [15:53:47]MH_I2C_Read... [15:53:47]Read from MH i2c: 01 07 00 BC 41 00 03 00 00 00 FF 0F 15 [15:53:47]state=0 [15:53:47]No paper [15:53:47]Cover opened [15:53:49]int [15:53:49]Write to MH i2c: 01 00 00 BD 41 FE [15:53:49]*** FLAG_PRN_PAP1 reset [15:53:49]Write i2c OK [15:53:49]MH_I2C_Read... [15:53:49]Read from MH i2c: 01 [15:53:49]MH_I2C_Read... [15:53:49]Read from MH i2c: 01 07 00 [15:53:49]MH_I2C_Read... [15:53:49]Read from MH i2c: 01 07 00 BD 41 00 02 00 00 00 FF 0F 15 [15:53:49]state=3 [15:53:49]Cover opened [15:53:49]int [15:53:49]Write to MH i2c: 01 00 00 BE 41 FF [15:53:49]*** FLAG_PRN_PAP2 reset [15:53:49]Write i2c OK [15:53:49]MH_I2C_Read... [15:53:49]Read from MH i2c: 01 [15:53:49]MH_I2C_Read... [15:53:49]Read from MH i2c: 01 07 00 [15:53:49]MH_I2C_Read... [15:53:49]Read from MH i2c: 01 07 00 BE 41 00 00 00 00 00 FF 0F 14 [15:53:49]state=3 [15:53:49]Cover closed [15:53:52]int [15:53:52]Write to MH i2c: 01 00 00 BF 41 00 [15:53:52]*** FLAG_PRN_KEY set [15:53:52]Write i2c OK [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 07 00 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 07 00 BF 41 00 08 00 00 00 FF 0F 1D [15:53:52]state=0 [15:53:52]Key pressed [15:53:52]Feed [15:53:52]Write to MH i2c: D8 00 00 C0 41 D8 [15:53:52]Write i2c OK [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: D8 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: D8 01 00 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: D8 01 00 C0 41 00 D9 [15:53:52]int [15:53:52]Write to MH i2c: 01 00 00 C1 41 02 [15:53:52]Write i2c OK [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 07 00 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 07 00 C1 41 00 48 00 00 00 3D 00 8E [15:53:52]state=2 [15:53:52]Key pressed [15:53:52]OFD Sender: No OFD packet to send [15:53:52]int [15:53:52]Write to MH i2c: 01 00 00 C2 41 03 [15:53:52]*** FLAG_PRN_KEY reset [15:53:52]Write i2c OK [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 07 00 [15:53:52]MH_I2C_Read... [15:53:52]Read from MH i2c: 01 07 00 C2 41 00 00 00 00 00 F6 0F 0F [15:53:52]state=2 [15:53:52]Stop feed [15:53:57]OFD Sender: No OFD packet to send [15:54:02]OFD Sender: No OFD packet to send [15:54:07]OFD Sender: No OFD packet to send [15:54:12]OFD Sender: No OFD packet to send [15:54:17]OFD Sender: No OFD packet to send [15:54:22]OFD Sender: No OFD packet to send [15:54:27]OFD Sender: No OFD packet to send [15:54:32]OFD Sender: No OFD packet to send [15:54:37]OFD Sender: No OFD packet to send [15:54:42]OFD Sender: No OFD packet to send [15:54:47]OFD Sender: No OFD packet to send [15:54:52]OFD Sender: No OFD packet to send [15:54:57]OFD Sender: No OFD packet to send [15:55:02]OFD Sender: No OFD packet to send [15:55:07]OFD Sender: No OFD packet to send [15:55:12]OFD Sender: No OFD packet to send [15:55:17]OFD Sender: No OFD packet to send [15:55:22]OFD Sender: No OFD packet to send [15:55:27]OFD Sender: No OFD packet to send [15:55:32]OFD Sender: No OFD packet to send [15:55:37]OFD Sender: No OFD packet to send [15:55:42]OFD Sender: No OFD packet to send [15:55:47]OFD Sender: No OFD packet to send [15:55:52]OFD Sender: No OFD packet to send [15:55:57]OFD Sender: No OFD packet to send [15:56:02]OFD Sender: No OFD packet to send [15:56:07]OFD Sender: No OFD packet to send [15:56:12]OFD Sender: No OFD packet to send [15:56:17]OFD Sender: No OFD packet to send [15:56:22]OFD Sender: No OFD packet to send [15:56:27]OFD Sender: No OFD packet to send [15:56:32]OFD Sender: No OFD packet to send [15:56:37]OFD Sender: No OFD packet to send [15:56:42]OFD Sender: No OFD packet to send [15:56:47]OFD Sender: No OFD packet to send [15:56:52]OFD Sender: No OFD packet to send [15:56:53]int [15:56:53]Write to MH i2c: 01 00 00 C3 41 04 [15:56:53]*** FLAG_PRN_KEY set [15:56:53]Write i2c OK [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 07 00 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 07 00 C3 41 00 08 00 00 00 FF 0F 21 [15:56:53]state=0 [15:56:53]Key pressed [15:56:53]Feed [15:56:53]Write to MH i2c: D8 00 00 C4 41 DC [15:56:53]Write i2c OK [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: D8 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: D8 01 00 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: D8 01 00 C4 41 00 DD [15:56:53]int [15:56:53]Write to MH i2c: 01 00 00 C5 41 06 [15:56:53]Write i2c OK [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 07 00 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 07 00 C5 41 00 48 00 00 00 3D 00 92 [15:56:53]state=2 [15:56:53]Key pressed [15:56:53]int [15:56:53]Write to MH i2c: 01 00 00 C6 41 07 [15:56:53]*** FLAG_PRN_KEY reset [15:56:53]Write i2c OK [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 07 00 [15:56:53]MH_I2C_Read... [15:56:53]Read from MH i2c: 01 07 00 C6 41 00 00 00 00 00 F6 0F 13 [15:56:53]state=2 [15:56:53]Stop feed [15:56:57]OFD Sender: No OFD packet to send [15:57:02]OFD Sender: No OFD packet to send [15:57:07]OFD Sender: No OFD packet to send [15:57:12]OFD Sender: No OFD packet to send [15:57:16]accept exits with 9 [15:57:16]New connection [15:57:16]New thread 3067014500 created [15:57:16]Thread 3066871140 joined [15:57:16]Waiting for new connection... [15:57:16] Sock 9.Parse request [15:57:16]Sock 9.Check first char [15:57:16]Sock 9.First char is OK [15:57:16]request: POST /json_proto HTTP/1.0 [15:57:16]Method: POST [15:57:16]URL: /json_proto [15:57:16]Method is POST - this is cgi request [15:57:16]url: /json_proto [15:57:16]query_string will be loaded in cgi processing [15:57:16]execute_cgi json_proto POST (null) [15:57:16]execute_cgi path=json_proto method=POST [15:57:16]POST find Content-Length [15:57:16]Host: 172.17.35.3:8080 [15:57:16]Content-Length: 678 [15:57:16]Content-Type: application/json [15:57:16] [15:57:16]POST finish read [15:57:16]Found Content-Length = 678 [15:57:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359580", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 10.920, "sum" : 785.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 785.00, "total" : 785.00, "payments": [ { "type": 0, "sum" : 785.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:16]execute_script... [15:57:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359580", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 10.920, "sum" : 785.15, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 785.00, "total" : 785.00, "payments": [ { "type": 0, "sum" : 785.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:57:16]POST & json_proto [15:57:16]process_json_proto [15:57:16]json parsed OK: [15:57:16]protocol is kg_v1.0 [15:57:16]action value=close_receipt [15:57:16]process_action close_receipt [15:57:16]cmd_close_receipt [15:57:16]MH_GetDate [15:57:16]Write to MH i2c: F0 00 00 C7 41 F7 [15:57:16]Write i2c OK [15:57:16]MH_I2C_Read... [15:57:16]Read from MH i2c: F0 [15:57:16]MH_I2C_Read... [15:57:16]Read from MH i2c: F0 09 00 [15:57:16]MH_I2C_Read... [15:57:16]Read from MH i2c: F0 09 00 C7 41 00 EB 13 14 66 2B 11 66 64 7E [15:57:16]GetLastDocTimeStamp 1712590669 [15:57:16]current date 1712591851 [15:57:16]FM_GetShiftState [15:57:16]SAM_PROTO_GetShiftState [15:57:16]wFMCommunicate request_size=4 [15:57:16]MH_SAM_APDU [15:57:16]CAPDU: 80 13 01 00 [15:57:16]Write to MH i2c: E2 08 00 C8 41 80 13 01 00 00 00 00 00 86 [15:57:16]Write i2c OK [15:57:16]MH_I2C_Read... [15:57:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:16]Read from MH i2c: E2 [15:57:16]MH_I2C_Read... [15:57:16]Read from MH i2c: E2 0E 00 [15:57:16]MH_I2C_Read... [15:57:16]Read from MH i2c: E2 0E 00 C8 41 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 13 [15:57:16]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [15:57:16]wFMCommunicate OK [15:57:16]SAM_PROTO_GetShiftState done [15:57:16]FM_GetShiftState done [15:57:16]opened in 1712536270 [15:57:16]opened+sec_in_day 1712622670 [15:57:16]quantity*price = 78514 [15:57:16]sum+1 = 78516 [15:57:16]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.15 ИТОГО: 785.00 ВнеÑено: 785.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.95 ÐДС 12% : 83.38 Ðаличными: 785.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 48 08.04.2024 15:57 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26835 ФПД: 198974434031983 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T155732&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26835&fm=198974434031983&tin=02508201610067®Number=0000000000091578&sum=78500 [15:57:17]StoreToDocumentArchive [15:57:17]shift 314 fd 26835 [15:57:17]save to /storage/0314/doc_00026835 [15:57:17]save last doc name /storage/0314/doc_00026835 to /storage/kkm_last_doc_name [15:57:17]save OK [15:57:17]Clear old archive folders... [15:57:17]ProcessDocumentItem done err = 0, tmpTLVsize=251 [15:57:17]tlvbuf is 00EDB0F0 [15:57:17]SAM_PROTO_ClearQueue [15:57:17]wFMCommunicate request_size=4 [15:57:17]MH_SAM_APDU [15:57:17]CAPDU: 80 09 00 00 [15:57:17]Write to MH i2c: E2 08 00 D5 41 80 09 00 00 00 00 00 00 88 [15:57:17]Write i2c OK [15:57:17]MH_I2C_Read... [15:57:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:57:17]Read from MH i2c: E2 [15:57:17]MH_I2C_Read... [15:57:17]Read from MH i2c: E2 03 00 [15:57:17]MH_I2C_Read... [15:57:17]Read from MH i2c: E2 03 00 D5 41 00 90 00 8A [15:57:17]RAPDU: 90 00 [15:57:17]wFMCommunicate OK [15:57:17]SAM_PROTO_ClearQueue done [15:57:17]KKMCreateOFDPacket [15:57:17]OFDProtocolAddRootSTLVToBuf [15:57:17]FM_MakeSignedData [15:57:17]FM_MakeSignedData [15:57:17]SAM_PROTO_SignData [15:57:17]wFMCommunicate request_size=4 [15:57:17]MH_SAM_APDU [15:57:17]CAPDU: 80 0D 01 02 [15:57:17]Write to MH i2c: E2 08 00 D6 41 80 0D 01 02 00 00 00 00 90 [15:57:17]Write i2c OK [15:57:17]MH_I2C_Read... [15:57:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:57:17]Read from MH i2c: E2 [15:57:17]MH_I2C_Read... [15:57:17]Read from MH i2c: E2 03 00 [15:57:17]MH_I2C_Read... [15:57:17]Read from MH i2c: E2 03 00 D6 41 00 90 00 8B [15:57:17]RAPDU: 90 00 [15:57:17]wFMCommunicate OK [15:57:17]wFMCommunicate request_size=255 [15:57:17]MH_SAM_APDU [15:57:17]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 2A 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B3 32 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 20 00 00 00 00 07 04 06 00 A4 32 01 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 EC 13 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D3 68 00 00 35 04 06 00 B4 [15:57:17]Write to MH i2c: E2 02 01 D7 41 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 2A 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B3 32 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 20 00 00 00 00 07 04 06 00 A4 32 01 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 EC 13 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D3 68 00 00 35 04 06 00 B4 00 00 7E [15:57:17]Write i2c OK [15:57:17]MH_I2C_Read... [15:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:18]Read from MH i2c: E2 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 03 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 03 00 D7 41 00 90 00 8C [15:57:18]RAPDU: 90 00 [15:57:18]wFMCommunicate OK [15:57:18]wFMCommunicate request_size=10 [15:57:18]MH_SAM_APDU [15:57:18]CAPDU: 80 0D 02 02 05 F7 58 75 B9 6F [15:57:18]Write to MH i2c: E2 0D 00 D8 41 80 0D 02 02 05 00 F7 58 75 B9 6F 00 00 89 [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:57:18]Read from MH i2c: E2 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 03 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 03 00 D8 41 00 90 00 8D [15:57:18]RAPDU: 90 00 [15:57:18]wFMCommunicate OK [15:57:18]wFMCommunicate request_size=4 [15:57:18]MH_SAM_APDU [15:57:18]CAPDU: 80 0D 03 02 [15:57:18]Write to MH i2c: E2 08 00 D9 41 80 0D 03 02 00 00 00 00 95 [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:57:18]Read from MH i2c: E2 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 0B 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 0B 00 D9 41 00 D6 60 08 DB DD 21 AB B8 90 00 10 [15:57:18]RAPDU: D6 60 08 DB DD 21 AB B8 90 00 [15:57:18]wFMCommunicate OK [15:57:18]SAM_PROTO_SignData done [15:57:18]FM_MakeSignedData done [15:57:18]CreateOFDProtocolMessage [15:57:18]wFMCommunicate request_size=4 [15:57:18]MH_SAM_APDU [15:57:18]CAPDU: 80 11 00 00 [15:57:18]Write to MH i2c: E2 08 00 DA 41 80 11 00 00 00 00 00 00 95 [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:18]Read from MH i2c: E2 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 17 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: E2 17 00 DA 41 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 ED [15:57:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:57:18]wFMCommunicate OK [15:57:18]CreateOFDProtocolMessage done [15:57:18]OFDSenderStorePacket 26835 [15:57:18]StoreOFDPacket docnum=26835 [15:57:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 8C 0B 07 01 17 BC 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 2A 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B3 32 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 20 00 00 00 00 07 04 06 00 A4 32 01 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 EC 13 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D3 68 00 00 35 04 06 00 B4 F7 58 75 B9 6F D6 60 08 DB DD 21 AB B8 [15:57:18]CheckFolder [15:57:18]dirname=/storage/ofd_packets [15:57:18]CheckFolder done [15:57:18]ProducePacketName [15:57:18]name=ofd_packets/00026835 [15:57:18]NVStorageSaveData ofd_packets/00026835 [15:57:18]File name is /storage/ofd_packets/00026835 [15:57:18]Write 301 bytes [15:57:18]NVStorageSaveData done [15:57:18]OFDSenderStorePacket done [15:57:18]KKMCreateOFDPacket done [15:57:18]NVStorageSaveData kkm_last_timestamp [15:57:18]File name is /storage/kkm_last_timestamp [15:57:18]Write 4 bytes [15:57:18]NVStorageSaveData done [15:57:18]ExternCall_PrintAddStr [15:57:18]wPrintStart [15:57:18]Write to MH i2c: 01 00 00 DB 41 1C [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: 01 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: 01 07 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: 01 07 00 DB 41 00 00 00 00 00 FF 0F 31 [15:57:18]RasterBufferAndPrint [15:57:18]line Счет N : (1)359580 [15:57:18]line ИÐÐ: 02508201610067 [15:57:18]line Контрольно-КаÑÑовый Чек [15:57:18]line ПРОДÐЖР[15:57:18]line ТРК (МРК, ГÐК) : 53 [15:57:18]line Товар: 2710124500 [15:57:18]line Ðи-95-К-5 [15:57:18]line 10.920 * 71.90 [15:57:18]line = 785.15 [15:57:18]line ÐДС 12% ÐСП 1% [15:57:18]line > о реализуемом товаре [15:57:18]line ОКРУГЛЕÐИЕ: -0.15 [15:57:18]line ИТОГО: 785.00 [15:57:18]line ВнеÑено: 785.00 [15:57:18]line СДÐЧÐ: 0.00 [15:57:18]line ÐСП 1% : 6.95 [15:57:18]line ÐДС 12% : 83.38 [15:57:18]line Ðаличными: 785.00 [15:57:18]line Безнал.: 0.00 [15:57:18]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [15:57:18]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [15:57:18]line СÐО: Общий режим [15:57:18]line Чек 48 08.04.2024 15:57 [15:57:18]line Смена: 314 ФФД: 1.0 [15:57:18]line ЗÐМ: 0300000147 [15:57:18]line РÐМ: 0000000000091578 [15:57:18]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [15:57:18]line ФМ: 0000000000874657 [15:57:18]line ФД: 26835 [15:57:18]line ФПД: 198974434031983 [15:57:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T155732&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26835&fm=198974434031983&tin=02508201610067®Number=0000000000091578&sum=78500 [15:57:18]OFD Sender: Processing packet 26835 [packets to send 44, broken 43] [15:57:18]ProducePacketName [15:57:18]name=ofd_packets/00026835 [15:57:18]OFD Sender: To server: ‡•öpG, [15:57:18]CommunicateWithHost lk.salyk.kg:30040 [15:57:18]ConnectInit lk.salyk.kg [15:57:18]written 0, free lines is 4095 [15:57:18]Connected sock=10 [15:57:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 8C 0B 07 01 17 BC 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 2A 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 B3 32 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 32 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 92 20 00 00 00 00 07 04 06 00 A4 32 01 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 EC 13 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D3 68 00 00 35 04 06 00 B4 F7 58 75 B9 6F D6 60 08 DB DD 21 AB B8 [15:57:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 18 82 47 00 5B 47 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D3 68 00 00 F4 03 04 00 55 BB 13 66 B6 04 01 00 00 2C BB CB FD E3 C3 5C 59 [15:57:18]CommunicateWithHost err = 0 [15:57:18]CheckOFDResponse [15:57:18]1017 (14) - 77093643461234 [15:57:18]1041 (16) - 0000000000874657 [15:57:18]1040 (4) - 26835 [15:57:18]1012 (4) - 08.04.2024 09:39 [15:57:18]1206 (1) - 0 [15:57:18]OFD Sender: Remove packet 26835 [15:57:18]ProducePacketName [15:57:18]name=ofd_packets/00026835 [15:57:18]NVStorageDeleteData [15:57:18]Write to MH i2c: 01 00 00 06 42 48 [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: 01 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: 01 07 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: 01 07 00 06 42 00 00 00 00 00 73 0C CE [15:57:18]RasterBufferAndPrint [15:57:18]line [15:57:18]line [15:57:18]line [15:57:18]line [15:57:18]line [15:57:18]written 0, free lines is 3190 [15:57:18]MH_Cut [15:57:18]Write to MH i2c: D1 01 00 0D 42 01 21 [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: D1 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: D1 01 00 [15:57:18]MH_I2C_Read... [15:57:18]Read from MH i2c: D1 01 00 0D 42 00 20 [15:57:18]Write to MH i2c: 01 00 00 0E 42 50 [15:57:18]Write i2c OK [15:57:18]MH_I2C_Read... [15:57:19]OFD Sender: No OFD packet to send [15:57:20]*** Cut start [15:57:20]*** Partial cut [15:57:20]*** CUTSNS_PIN = 1 [15:57:20]*** CUTSNS_PIN = 0 [15:57:20]*** Brake cut motor [15:57:20]Read from MH i2c: 01 [15:57:20]MH_I2C_Read... [15:57:20]*** Stop cut motor [15:57:20]*** Cut end [15:57:20]Read from MH i2c: 01 07 00 [15:57:20]MH_I2C_Read... [15:57:20]Read from MH i2c: 01 07 00 0E 42 00 00 00 00 00 FF 0F 65 [15:57:20]process_action close_receipt done [15:57:20]requested_data is exist [15:57:20]produce_requested_data [15:57:20]requested_item fm.sn is exist - process it [15:57:20]wFMCommunicate request_size=4 [15:57:20]MH_SAM_APDU [15:57:20]CAPDU: 80 11 00 00 [15:57:20]Write to MH i2c: E2 08 00 0F 42 80 11 00 00 00 00 00 00 CB [15:57:20]Write i2c OK [15:57:20]MH_I2C_Read... [15:57:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:57:20]Read from MH i2c: E2 [15:57:20]MH_I2C_Read... [15:57:20]Read from MH i2c: E2 17 00 [15:57:20]MH_I2C_Read... [15:57:20]Read from MH i2c: E2 17 00 0F 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 23 [15:57:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [15:57:20]wFMCommunicate OK [15:57:20]requested_item fd.num is exist - process it [15:57:20]SAM_PROTO_GetFieldsCounters [15:57:20]wFMCommunicate request_size=4 [15:57:20]MH_SAM_APDU [15:57:20]CAPDU: 80 13 00 00 [15:57:20]Write to MH i2c: E2 08 00 10 42 80 13 00 00 00 00 00 00 CE [15:57:20]Write i2c OK [15:57:20]MH_I2C_Read... [15:57:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:57:20]Read from MH i2c: E2 [15:57:20]MH_I2C_Read... [15:57:20]Read from MH i2c: E2 62 00 [15:57:20]MH_I2C_Read... [15:57:20]Read from MH i2c: E2 62 00 10 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [15:57:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:57:20]wFMCommunicate OK [15:57:20]SAM_PROTO_GetFieldsCounters done [15:57:20]requested_item shift.num is exist - process it [15:57:20]requested_item shift.opened is exist - process it [15:57:20]req_shift_opened [15:57:20]FM_GetShiftState [15:57:20]SAM_PROTO_GetShiftState [15:57:20]wFMCommunicate request_size=4 [15:57:20]MH_SAM_APDU [15:57:20]CAPDU: 80 13 01 00 [15:57:20]Write to MH i2c: E2 08 00 11 42 80 13 01 00 00 00 00 00 D0 [15:57:20]Write i2c OK [15:57:20]MH_I2C_Read... [15:57:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:57:21]Read from MH i2c: E2 [15:57:21]MH_I2C_Read... [15:57:21]Read from MH i2c: E2 0E 00 [15:57:21]MH_I2C_Read... [15:57:21]Read from MH i2c: E2 0E 00 11 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5D [15:57:21]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [15:57:21]wFMCommunicate OK [15:57:21]SAM_PROTO_GetShiftState done [15:57:21]FM_GetShiftState done [15:57:21]req_shift_opened done [15:57:21]requested_item shift.open_date is exist - process it [15:57:21]req_shift_open_date [15:57:21]req_shift_open_date done [15:57:21]produce_requested_data done [15:57:21]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26835,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [15:57:21]process_action_free close_receipt [15:57:21]json_value_free [15:57:21]json_value_free done [15:57:21]process_json_proto returns [15:57:21]Send response to host [15:57:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26835,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [15:57:21]free response buf [15:57:21]execute_script done [15:57:21]execute_script returns [15:57:21]free content buf [15:57:21]Sock 9.Close socket [15:57:21]Sock 9.Thread stoped [15:57:24]OFD Sender: No OFD packet to send [15:57:29]OFD Sender: No OFD packet to send [15:57:34]OFD Sender: No OFD packet to send [15:57:39]OFD Sender: No OFD packet to send [15:57:44]OFD Sender: No OFD packet to send [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:24]OFD Sender: No OFD packet to send [15:58:29]OFD Sender: No OFD packet to send [15:58:34]OFD Sender: No OFD packet to send [15:58:39]OFD Sender: No OFD packet to send [15:58:44]OFD Sender: No OFD packet to send [15:58:49]OFD Sender: No OFD packet to send [15:58:54]OFD Sender: No OFD packet to send [15:58:59]OFD Sender: No OFD packet to send [15:59:04]OFD Sender: No OFD packet to send [15:59:09]OFD Sender: No OFD packet to send [15:59:14]OFD Sender: No OFD packet to send [15:59:19]OFD Sender: No OFD packet to send [15:59:24]OFD Sender: No OFD packet to send [15:59:29]OFD Sender: No OFD packet to send [15:59:34]OFD Sender: No OFD packet to send [15:59:39]OFD Sender: No OFD packet to send [15:59:44]OFD Sender: No OFD packet to send [15:59:49]OFD Sender: No OFD packet to send [15:59:54]OFD Sender: No OFD packet to send [15:59:59]OFD Sender: No OFD packet to send [16:00:04]OFD Sender: No OFD packet to send [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:50]accept exits with 8 [16:06:50]New connection [16:06:50]New thread 3066871140 created [16:06:50]Thread 3067014500 joined [16:06:50]Waiting for new connection... [16:06:50] Sock 8.Parse request [16:06:50]Sock 8.Check first char [16:06:50]Sock 8.First char is OK [16:06:50]request: POST /json_proto HTTP/1.0 [16:06:50]Method: POST [16:06:50]URL: /json_proto [16:06:50]Method is POST - this is cgi request [16:06:50]url: /json_proto [16:06:50]query_string will be loaded in cgi processing [16:06:50]execute_cgi json_proto POST (null) [16:06:50]execute_cgi path=json_proto method=POST [16:06:50]POST find Content-Length [16:06:50]Host: 172.17.35.3:8080 [16:06:50]Content-Length: 687 [16:06:50]Content-Type: application/json [16:06:50] [16:06:50]POST finish read [16:06:50]Found Content-Length = 687 [16:06:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359582", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:06:50]execute_script... [16:06:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359582", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:06:50]POST & json_proto [16:06:50]process_json_proto [16:06:50]json parsed OK: [16:06:50]protocol is kg_v1.0 [16:06:50]action value=close_receipt [16:06:50]process_action close_receipt [16:06:50]cmd_close_receipt [16:06:50]MH_GetDate [16:06:50]Write to MH i2c: F0 00 00 12 42 43 [16:06:50]Write i2c OK [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: F0 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: F0 09 00 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: F0 09 00 12 42 00 2A 16 14 66 2B 11 66 64 0C [16:06:50]GetLastDocTimeStamp 1712591852 [16:06:50]current date 1712592426 [16:06:50]FM_GetShiftState [16:06:50]SAM_PROTO_GetShiftState [16:06:50]wFMCommunicate request_size=4 [16:06:50]MH_SAM_APDU [16:06:50]CAPDU: 80 13 01 00 [16:06:50]Write to MH i2c: E2 08 00 13 42 80 13 01 00 00 00 00 00 D2 [16:06:50]Write i2c OK [16:06:50]MH_I2C_Read... [16:06:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:50]Read from MH i2c: E2 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: E2 0E 00 [16:06:50]MH_I2C_Read... [16:06:50]Read from MH i2c: E2 0E 00 13 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5F [16:06:50]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:06:50]wFMCommunicate OK [16:06:50]SAM_PROTO_GetShiftState done [16:06:50]FM_GetShiftState done [16:06:50]opened in 1712536270 [16:06:50]opened+sec_in_day 1712622670 [16:06:50]quantity*price = 100017 [16:06:50]sum+1 = 100018 [16:06:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 49 08.04.2024 16:07 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26836 ФПД: 28659122652140 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T160706&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26836&fm=28659122652140&tin=02508201610067®Number=0000000000091578&sum=100000 [16:06:51]StoreToDocumentArchive [16:06:51]shift 314 fd 26836 [16:06:51]save to /storage/0314/doc_00026836 [16:06:51]save last doc name /storage/0314/doc_00026836 to /storage/kkm_last_doc_name [16:06:51]save OK [16:06:51]Clear old archive folders... [16:06:51]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:06:51]tlvbuf is 00EEBB50 [16:06:51]SAM_PROTO_ClearQueue [16:06:51]wFMCommunicate request_size=4 [16:06:51]MH_SAM_APDU [16:06:51]CAPDU: 80 09 00 00 [16:06:51]Write to MH i2c: E2 08 00 20 42 80 09 00 00 00 00 00 00 D4 [16:06:51]Write i2c OK [16:06:51]MH_I2C_Read... [16:06:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:06:51]Read from MH i2c: E2 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 20 42 00 90 00 D6 [16:06:51]RAPDU: 90 00 [16:06:51]wFMCommunicate OK [16:06:51]SAM_PROTO_ClearQueue done [16:06:51]KKMCreateOFDPacket [16:06:51]OFDProtocolAddRootSTLVToBuf [16:06:51]FM_MakeSignedData [16:06:51]FM_MakeSignedData [16:06:51]SAM_PROTO_SignData [16:06:51]wFMCommunicate request_size=4 [16:06:51]MH_SAM_APDU [16:06:51]CAPDU: 80 0D 01 02 [16:06:51]Write to MH i2c: E2 08 00 21 42 80 0D 01 02 00 00 00 00 DC [16:06:51]Write i2c OK [16:06:51]MH_I2C_Read... [16:06:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:06:51]Read from MH i2c: E2 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 [16:06:51]MH_I2C_Read... [16:06:51]Read from MH i2c: E2 03 00 21 42 00 90 00 D7 [16:06:51]RAPDU: 90 00 [16:06:51]wFMCommunicate OK [16:06:51]wFMCommunicate request_size=255 [16:06:51]MH_SAM_APDU [16:06:51]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 2A 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D4 68 00 00 35 04 06 00 [16:06:51]Write to MH i2c: E2 02 01 22 42 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 2A 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D4 68 00 00 35 04 06 00 00 00 F9 [16:06:51]Write i2c OK [16:06:51]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 22 42 00 90 00 D8 [16:06:52]RAPDU: 90 00 [16:06:52]wFMCommunicate OK [16:06:52]wFMCommunicate request_size=11 [16:06:52]MH_SAM_APDU [16:06:52]CAPDU: 80 0D 02 02 06 1A 10 B8 D3 43 EC [16:06:52]Write to MH i2c: E2 0E 00 23 42 80 0D 02 02 06 00 1A 10 B8 D3 43 EC 00 00 CF [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 03 00 23 42 00 90 00 D9 [16:06:52]RAPDU: 90 00 [16:06:52]wFMCommunicate OK [16:06:52]wFMCommunicate request_size=4 [16:06:52]MH_SAM_APDU [16:06:52]CAPDU: 80 0D 03 02 [16:06:52]Write to MH i2c: E2 08 00 24 42 80 0D 03 02 00 00 00 00 E1 [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 0B 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 0B 00 24 42 00 50 67 24 A9 16 51 69 20 90 00 56 [16:06:52]RAPDU: 50 67 24 A9 16 51 69 20 90 00 [16:06:52]wFMCommunicate OK [16:06:52]SAM_PROTO_SignData done [16:06:52]FM_MakeSignedData done [16:06:52]CreateOFDProtocolMessage [16:06:52]wFMCommunicate request_size=4 [16:06:52]MH_SAM_APDU [16:06:52]CAPDU: 80 11 00 00 [16:06:52]Write to MH i2c: E2 08 00 25 42 80 11 00 00 00 00 00 00 E1 [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:52]Read from MH i2c: E2 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 17 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: E2 17 00 25 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 39 [16:06:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:06:52]wFMCommunicate OK [16:06:52]CreateOFDProtocolMessage done [16:06:52]OFDSenderStorePacket 26836 [16:06:52]StoreOFDPacket docnum=26836 [16:06:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C2 B8 08 01 9B 99 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 2A 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D4 68 00 00 35 04 06 00 1A 10 B8 D3 43 EC 50 67 24 A9 16 51 69 20 [16:06:52]CheckFolder [16:06:52]dirname=/storage/ofd_packets [16:06:52]CheckFolder done [16:06:52]ProducePacketName [16:06:52]name=ofd_packets/00026836 [16:06:52]NVStorageSaveData ofd_packets/00026836 [16:06:52]File name is /storage/ofd_packets/00026836 [16:06:52]Write 302 bytes [16:06:52]NVStorageSaveData done [16:06:52]OFDSenderStorePacket done [16:06:52]KKMCreateOFDPacket done [16:06:52]NVStorageSaveData kkm_last_timestamp [16:06:52]File name is /storage/kkm_last_timestamp [16:06:52]Write 4 bytes [16:06:52]NVStorageSaveData done [16:06:52]ExternCall_PrintAddStr [16:06:52]wPrintStart [16:06:52]Write to MH i2c: 01 00 00 26 42 68 [16:06:52]OFD Sender: Processing packet 26836 [packets to send 44, broken 43] [16:06:52]ProducePacketName [16:06:52]name=ofd_packets/00026836 [16:06:52]OFD Sender: To server: ‡•öpG, [16:06:52]CommunicateWithHost lk.salyk.kg:30040 [16:06:52]ConnectInit lk.salyk.kg [16:06:52]Write i2c OK [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: 01 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: 01 07 00 [16:06:52]MH_I2C_Read... [16:06:52]Read from MH i2c: 01 07 00 26 42 00 00 00 00 00 FF 0F 7D [16:06:52]RasterBufferAndPrint [16:06:52]line Счет N : (1)359582 [16:06:52]line ИÐÐ: 02508201610067 [16:06:52]line Контрольно-КаÑÑовый Чек [16:06:52]line ПРОДÐЖР[16:06:52]line ТРК (МРК, ГÐК) : 21 [16:06:52]line Товар: 2710194210 [16:06:52]line ДТ(л)-К-5 [16:06:52]line 13.930 * 71.80 [16:06:52]line = 1000.17 [16:06:52]line ÐДС 12% ÐСП 1% [16:06:52]line > о реализуемом товаре [16:06:52]line ОКРУГЛЕÐИЕ: -0.17 [16:06:52]line ИТОГО: 1000.00 [16:06:52]line ВнеÑено: 1000.00 [16:06:52]line СДÐЧÐ: 0.00 [16:06:52]line ÐСП 1% : 8.85 [16:06:52]line ÐДС 12% : 106.21 [16:06:52]line Ðаличными: 1000.00 [16:06:52]line Безнал.: 0.00 [16:06:52]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [16:06:52]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:06:52]line СÐО: Общий режим [16:06:52]line Чек 49 08.04.2024 16:07 [16:06:52]line Смена: 314 ФФД: 1.0 [16:06:52]line ЗÐМ: 0300000147 [16:06:52]line РÐМ: 0000000000091578 [16:06:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:06:52]line ФМ: 0000000000874657 [16:06:52]line ФД: 26836 [16:06:52]line ФПД: 28659122652140 [16:06:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T160706&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26836&fm=28659122652140&tin=02508201610067®Number=0000000000091578&sum=100000 [16:06:52]Connected sock=10 [16:06:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 C2 B8 08 01 9B 99 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 2A 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D4 68 00 00 35 04 06 00 1A 10 B8 D3 43 EC 50 67 24 A9 16 51 69 20 [16:06:52]written 0, free lines is 4095 [16:06:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 34 46 47 00 9C 0B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D4 68 00 00 F4 03 04 00 93 BD 13 66 B6 04 01 00 00 14 4C 70 02 17 2C 66 D9 [16:06:52]CommunicateWithHost err = 0 [16:06:52]CheckOFDResponse [16:06:52]1017 (14) - 77093643461234 [16:06:52]1041 (16) - 0000000000874657 [16:06:52]1040 (4) - 26836 [16:06:52]1012 (4) - 08.04.2024 09:49 [16:06:52]1206 (1) - 0 [16:06:52]OFD Sender: Remove packet 26836 [16:06:52]ProducePacketName [16:06:52]name=ofd_packets/00026836 [16:06:52]NVStorageDeleteData [16:06:53]Write to MH i2c: 01 00 00 51 42 93 [16:06:53]Write i2c OK [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: 01 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: 01 07 00 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: 01 07 00 51 42 00 00 00 00 00 73 0C 19 [16:06:53]RasterBufferAndPrint [16:06:53]line [16:06:53]line [16:06:53]line [16:06:53]line [16:06:53]line [16:06:53]written 0, free lines is 3191 [16:06:53]MH_Cut [16:06:53]Write to MH i2c: D1 01 00 58 42 01 6C [16:06:53]Write i2c OK [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: D1 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: D1 01 00 [16:06:53]MH_I2C_Read... [16:06:53]Read from MH i2c: D1 01 00 58 42 00 6B [16:06:53]Write to MH i2c: 01 00 00 59 42 9B [16:06:53]Write i2c OK [16:06:53]MH_I2C_Read... [16:06:53]OFD Sender: No OFD packet to send [16:06:54]*** Cut start [16:06:54]*** Partial cut [16:06:54]*** CUTSNS_PIN = 1 [16:06:54]*** CUTSNS_PIN = 0 [16:06:54]*** Brake cut motor [16:06:54]Read from MH i2c: 01 [16:06:54]MH_I2C_Read... [16:06:54]*** Stop cut motor [16:06:54]*** Cut end [16:06:54]Read from MH i2c: 01 07 00 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: 01 07 00 59 42 00 00 00 00 00 FF 0F B0 [16:06:54]process_action close_receipt done [16:06:54]requested_data is exist [16:06:54]produce_requested_data [16:06:54]requested_item fm.sn is exist - process it [16:06:54]wFMCommunicate request_size=4 [16:06:54]MH_SAM_APDU [16:06:54]CAPDU: 80 11 00 00 [16:06:54]Write to MH i2c: E2 08 00 5A 42 80 11 00 00 00 00 00 00 16 [16:06:54]Write i2c OK [16:06:54]MH_I2C_Read... [16:06:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:06:54]Read from MH i2c: E2 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 17 00 [16:06:54]MH_I2C_Read... [16:06:54]Read from MH i2c: E2 17 00 5A 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6E [16:06:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:06:54]wFMCommunicate OK [16:06:54]requested_item fd.num is exist - process it [16:06:54]SAM_PROTO_GetFieldsCounters [16:06:54]wFMCommunicate request_size=4 [16:06:54]MH_SAM_APDU [16:06:54]CAPDU: 80 13 00 00 [16:06:54]Write to MH i2c: E2 08 00 5B 42 80 13 00 00 00 00 00 00 19 [16:06:54]Write i2c OK [16:06:54]MH_I2C_Read... [16:06:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:06:55]Read from MH i2c: E2 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 62 00 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 62 00 5B 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 4E [16:06:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:06:55]wFMCommunicate OK [16:06:55]SAM_PROTO_GetFieldsCounters done [16:06:55]requested_item shift.num is exist - process it [16:06:55]requested_item shift.opened is exist - process it [16:06:55]req_shift_opened [16:06:55]FM_GetShiftState [16:06:55]SAM_PROTO_GetShiftState [16:06:55]wFMCommunicate request_size=4 [16:06:55]MH_SAM_APDU [16:06:55]CAPDU: 80 13 01 00 [16:06:55]Write to MH i2c: E2 08 00 5C 42 80 13 01 00 00 00 00 00 1B [16:06:55]Write i2c OK [16:06:55]MH_I2C_Read... [16:06:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:06:55]Read from MH i2c: E2 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 0E 00 [16:06:55]MH_I2C_Read... [16:06:55]Read from MH i2c: E2 0E 00 5C 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A8 [16:06:55]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:06:55]wFMCommunicate OK [16:06:55]SAM_PROTO_GetShiftState done [16:06:55]FM_GetShiftState done [16:06:55]req_shift_opened done [16:06:55]requested_item shift.open_date is exist - process it [16:06:55]req_shift_open_date [16:06:55]req_shift_open_date done [16:06:55]produce_requested_data done [16:06:55]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26836,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [16:06:55]process_action_free close_receipt [16:06:55]json_value_free [16:06:55]json_value_free done [16:06:55]process_json_proto returns [16:06:55]Send response to host [16:06:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26836,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [16:06:55]free response buf [16:06:55]execute_script done [16:06:55]execute_script returns [16:06:55]free content buf [16:06:55]Sock 8.Close socket [16:06:55]Sock 8.Thread stoped [16:06:58]OFD Sender: No OFD packet to send [16:07:03]OFD Sender: No OFD packet to send [16:07:08]OFD Sender: No OFD packet to send [16:07:13]OFD Sender: No OFD packet to send [16:07:18]OFD Sender: No OFD packet to send [16:07:23]OFD Sender: No OFD packet to send [16:07:28]OFD Sender: No OFD packet to send [16:07:33]OFD Sender: No OFD packet to send [16:07:38]OFD Sender: No OFD packet to send [16:07:43]OFD Sender: No OFD packet to send [16:07:48]OFD Sender: No OFD packet to send [16:07:53]OFD Sender: No OFD packet to send [16:07:58]OFD Sender: No OFD packet to send [16:08:03]OFD Sender: No OFD packet to send [16:08:08]OFD Sender: No OFD packet to send [16:08:13]OFD Sender: No OFD packet to send [16:08:18]OFD Sender: No OFD packet to send [16:08:18]accept exits with 9 [16:08:18]New connection [16:08:18]New thread 3067014500 created [16:08:18]Thread 3066871140 joined [16:08:18]Waiting for new connection... [16:08:18] Sock 9.Parse request [16:08:18]Sock 9.Check first char [16:08:18]Sock 9.First char is OK [16:08:18]request: POST /json_proto HTTP/1.0 [16:08:18]Method: POST [16:08:18]URL: /json_proto [16:08:18]Method is POST - this is cgi request [16:08:18]url: /json_proto [16:08:18]query_string will be loaded in cgi processing [16:08:18]execute_cgi json_proto POST (null) [16:08:18]execute_cgi path=json_proto method=POST [16:08:18]POST find Content-Length [16:08:18]Host: 172.17.35.3:8080 [16:08:18]Content-Length: 1092 [16:08:18]Content-Type: application/json [16:08:18] [16:08:18]POST finish read [16:08:18]Found Content-Length = 1092 [16:08:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 122\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A.\u000A\u0421\u0447\u0435\u0442 N : (1)359581\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 30.000 x 63.40\u000A\u0418\u0422\u041E\u0413: 1902.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043E\u0442\u043F\u0443\u0441\u043A: \u000A" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:08:18]execute_script... [16:08:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "print_text", "params" : { "text" : " *****\u0422\u041E\u0412\u0410\u0420\u041D\u042B\u0419 \u0427\u0415\u041A*****\u000A \u0410\u0417\u0421 122\u000A \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u043D\u0435\u0444\u0442\u044C\u000A 02508201610067\u000A\u041A\u0430\u0441\u0441\u0438\u0440 : \u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A.\u000A\u0421\u0447\u0435\u0442 N : (1)359581\u000A \u041F\u0420\u041E\u0414\u0410\u0416\u0410\u000A\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51\u000A\u0412\u0438\u0434 \u0413\u0421\u041C : 2710124130\u000A\u0410\u0438-92-\u041A-5\u000A 30.000 x 63.40\u000A\u0418\u0422\u041E\u0413: 1902.00\u000A\u0422\u0438\u043F \u043E\u043F\u043B\u0430\u0442\u044B: \u0422\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u043E\u0442\u043F\u0443\u0441\u043A: \u000A" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:08:18]POST & json_proto [16:08:18]process_json_proto [16:08:18]json parsed OK: [16:08:18]protocol is kg_v1.0 [16:08:18]action value=print_text [16:08:18]process_action print_text [16:08:18]cmd_print_text [16:08:18]ExternCall_PrintAddStr [16:08:18]wPrintStart [16:08:18]Write to MH i2c: 01 00 00 5D 42 9F [16:08:18]Write i2c OK [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: 01 [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: 01 07 00 [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: 01 07 00 5D 42 00 00 00 00 00 FF 0F B4 [16:08:18]RasterBufferAndPrint [16:08:18]line *****ТОВÐРÐЫЙ ЧЕК***** [16:08:18]line ÐЗС 122 [16:08:18]line Партнер нефть [16:08:18]line 02508201610067 [16:08:18]line КаÑÑир : Эдилбаев К. [16:08:18]line Счет N : (1)359581 [16:08:18]line ПРОДÐЖР[16:08:18]line ТРК (МРК, ГÐК) : 51 [16:08:18]line Вид ГСМ : 2710124130 [16:08:18]line Ðи-92-К-5 [16:08:18]line 30.000 x 63.40 [16:08:18]line ИТОГ: 1902.00 [16:08:18]line Тип оплаты: ТехнологичеÑкий отпуÑк: [16:08:18]written 0, free lines is 4095 [16:08:18]Write to MH i2c: 01 00 00 6D 42 AF [16:08:18]Write i2c OK [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: 01 [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: 01 07 00 [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: 01 07 00 6D 42 00 00 00 00 00 79 0E 3D [16:08:18]RasterBufferAndPrint [16:08:18]line [16:08:18]line [16:08:18]line [16:08:18]line [16:08:18]line [16:08:18]written 0, free lines is 3706 [16:08:18]MH_Cut [16:08:18]Write to MH i2c: D1 01 00 74 42 01 88 [16:08:18]Write i2c OK [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: D1 [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: D1 01 00 [16:08:18]MH_I2C_Read... [16:08:18]Read from MH i2c: D1 01 00 74 42 00 87 [16:08:18]Write to MH i2c: 01 00 00 75 42 B7 [16:08:18]Write i2c OK [16:08:18]MH_I2C_Read... [16:08:19]*** Cut start [16:08:19]*** Partial cut [16:08:19]*** CUTSNS_PIN = 1 [16:08:19]*** CUTSNS_PIN = 0 [16:08:19]*** Brake cut motor [16:08:19]Read from MH i2c: 01 [16:08:19]MH_I2C_Read... [16:08:19]*** Stop cut motor [16:08:19]*** Cut end [16:08:19]Read from MH i2c: 01 07 00 [16:08:19]MH_I2C_Read... [16:08:19]Read from MH i2c: 01 07 00 75 42 00 00 00 00 00 FF 0F CC [16:08:19]process_action print_text done [16:08:19]requested_data is exist [16:08:19]produce_requested_data [16:08:19]requested_item fm.sn is exist - process it [16:08:19]wFMCommunicate request_size=4 [16:08:19]MH_SAM_APDU [16:08:19]CAPDU: 80 11 00 00 [16:08:19]Write to MH i2c: E2 08 00 76 42 80 11 00 00 00 00 00 00 32 [16:08:19]Write i2c OK [16:08:19]MH_I2C_Read... [16:08:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:19]Read from MH i2c: E2 [16:08:19]MH_I2C_Read... [16:08:19]Read from MH i2c: E2 17 00 [16:08:19]MH_I2C_Read... [16:08:19]Read from MH i2c: E2 17 00 76 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8A [16:08:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:08:19]wFMCommunicate OK [16:08:19]requested_item fd.num is exist - process it [16:08:19]SAM_PROTO_GetFieldsCounters [16:08:19]wFMCommunicate request_size=4 [16:08:19]MH_SAM_APDU [16:08:19]CAPDU: 80 13 00 00 [16:08:19]Write to MH i2c: E2 08 00 77 42 80 13 00 00 00 00 00 00 35 [16:08:19]Write i2c OK [16:08:19]MH_I2C_Read... [16:08:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:08:20]Read from MH i2c: E2 [16:08:20]MH_I2C_Read... [16:08:20]Read from MH i2c: E2 62 00 [16:08:20]MH_I2C_Read... [16:08:20]Read from MH i2c: E2 62 00 77 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [16:08:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:08:20]wFMCommunicate OK [16:08:20]SAM_PROTO_GetFieldsCounters done [16:08:20]requested_item shift.num is exist - process it [16:08:20]requested_item shift.opened is exist - process it [16:08:20]req_shift_opened [16:08:20]FM_GetShiftState [16:08:20]SAM_PROTO_GetShiftState [16:08:20]wFMCommunicate request_size=4 [16:08:20]MH_SAM_APDU [16:08:20]CAPDU: 80 13 01 00 [16:08:20]Write to MH i2c: E2 08 00 78 42 80 13 01 00 00 00 00 00 37 [16:08:20]Write i2c OK [16:08:20]MH_I2C_Read... [16:08:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:20]Read from MH i2c: E2 [16:08:20]MH_I2C_Read... [16:08:20]Read from MH i2c: E2 0E 00 [16:08:20]MH_I2C_Read... [16:08:20]Read from MH i2c: E2 0E 00 78 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C4 [16:08:20]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:08:20]wFMCommunicate OK [16:08:20]SAM_PROTO_GetShiftState done [16:08:20]FM_GetShiftState done [16:08:20]req_shift_opened done [16:08:20]requested_item shift.open_date is exist - process it [16:08:20]req_shift_open_date [16:08:20]req_shift_open_date done [16:08:20]produce_requested_data done [16:08:20]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26836,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [16:08:20]process_action_free print_text [16:08:20]json_value_free [16:08:20]json_value_free done [16:08:20]process_json_proto returns [16:08:20]Send response to host [16:08:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26836,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [16:08:20]free response buf [16:08:20]execute_script done [16:08:20]execute_script returns [16:08:20]free content buf [16:08:20]Sock 9.Close socket [16:08:20]Sock 9.Thread stoped [16:08:23]OFD Sender: No OFD packet to send [16:08:28]OFD Sender: No OFD packet to send [16:08:33]OFD Sender: No OFD packet to send [16:08:38]OFD Sender: No OFD packet to send [16:08:43]OFD Sender: No OFD packet to send [16:08:48]OFD Sender: No OFD packet to send [16:08:48]accept exits with 8 [16:08:48]New connection [16:08:48]New thread 3066871140 created [16:08:48]Thread 3067014500 joined [16:08:48]Waiting for new connection... [16:08:48] Sock 8.Parse request [16:08:48]Sock 8.Check first char [16:08:48]Sock 8.First char is OK [16:08:48]request: POST /json_proto HTTP/1.0 [16:08:48]Method: POST [16:08:48]URL: /json_proto [16:08:48]Method is POST - this is cgi request [16:08:48]url: /json_proto [16:08:48]query_string will be loaded in cgi processing [16:08:48]execute_cgi json_proto POST (null) [16:08:48]execute_cgi path=json_proto method=POST [16:08:48]POST find Content-Length [16:08:48]Host: 172.17.35.3:8080 [16:08:48]Content-Length: 808 [16:08:48]Content-Type: application/json [16:08:48] [16:08:48]POST finish read [16:08:48]Found Content-Length = 808 [16:08:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359583", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:08:48]execute_script... [16:08:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359583", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:08:48]POST & json_proto [16:08:48]process_json_proto [16:08:48]json parsed OK: [16:08:48]protocol is kg_v1.0 [16:08:48]action value=close_receipt [16:08:48]process_action close_receipt [16:08:48]cmd_close_receipt [16:08:48]MH_GetDate [16:08:48]Write to MH i2c: F0 00 00 79 42 AA [16:08:48]Write i2c OK [16:08:48]MH_I2C_Read... [16:08:48]Read from MH i2c: F0 [16:08:48]MH_I2C_Read... [16:08:48]Read from MH i2c: F0 09 00 [16:08:48]MH_I2C_Read... [16:08:48]Read from MH i2c: F0 09 00 79 42 00 A0 16 14 66 2B 11 66 64 E9 [16:08:48]GetLastDocTimeStamp 1712592426 [16:08:48]current date 1712592544 [16:08:48]FM_GetShiftState [16:08:48]SAM_PROTO_GetShiftState [16:08:48]wFMCommunicate request_size=4 [16:08:48]MH_SAM_APDU [16:08:48]CAPDU: 80 13 01 00 [16:08:48]Write to MH i2c: E2 08 00 7A 42 80 13 01 00 00 00 00 00 39 [16:08:48]Write i2c OK [16:08:48]MH_I2C_Read... [16:08:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:48]Read from MH i2c: E2 [16:08:48]MH_I2C_Read... [16:08:48]Read from MH i2c: E2 0E 00 [16:08:48]MH_I2C_Read... [16:08:48]Read from MH i2c: E2 0E 00 7A 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C6 [16:08:48]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:08:48]wFMCommunicate OK [16:08:48]SAM_PROTO_GetShiftState done [16:08:48]FM_GetShiftState done [16:08:48]opened in 1712536270 [16:08:48]opened+sec_in_day 1712622670 [16:08:48]quantity*price = 100017 [16:08:48]sum+1 = 100018 [16:08:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 50 08.04.2024 16:09 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26837 ФПД: 144038752844148 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T160904&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26837&fm=144038752844148&tin=02508201610067®Number=0000000000091578&sum=100017 [16:08:49]StoreToDocumentArchive [16:08:49]shift 314 fd 26837 [16:08:49]save to /storage/0314/doc_00026837 [16:08:49]save last doc name /storage/0314/doc_00026837 to /storage/kkm_last_doc_name [16:08:49]save OK [16:08:49]Clear old archive folders... [16:08:49]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:08:49]tlvbuf is 00EF6F00 [16:08:49]SAM_PROTO_ClearQueue [16:08:49]wFMCommunicate request_size=4 [16:08:49]MH_SAM_APDU [16:08:49]CAPDU: 80 09 00 00 [16:08:49]Write to MH i2c: E2 08 00 87 42 80 09 00 00 00 00 00 00 3B [16:08:49]Write i2c OK [16:08:49]MH_I2C_Read... [16:08:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:08:49]Read from MH i2c: E2 [16:08:49]MH_I2C_Read... [16:08:49]Read from MH i2c: E2 03 00 [16:08:49]MH_I2C_Read... [16:08:49]Read from MH i2c: E2 03 00 87 42 00 90 00 3D [16:08:49]RAPDU: 90 00 [16:08:49]wFMCommunicate OK [16:08:49]SAM_PROTO_ClearQueue done [16:08:49]KKMCreateOFDPacket [16:08:49]OFDProtocolAddRootSTLVToBuf [16:08:49]FM_MakeSignedData [16:08:49]FM_MakeSignedData [16:08:49]SAM_PROTO_SignData [16:08:49]wFMCommunicate request_size=4 [16:08:49]MH_SAM_APDU [16:08:49]CAPDU: 80 0D 01 02 [16:08:49]Write to MH i2c: E2 08 00 88 42 80 0D 01 02 00 00 00 00 43 [16:08:49]Write i2c OK [16:08:49]MH_I2C_Read... [16:08:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:08:49]Read from MH i2c: E2 [16:08:49]MH_I2C_Read... [16:08:49]Read from MH i2c: E2 03 00 [16:08:49]MH_I2C_Read... [16:08:49]Read from MH i2c: E2 03 00 88 42 00 90 00 3E [16:08:49]RAPDU: 90 00 [16:08:49]wFMCommunicate OK [16:08:49]wFMCommunicate request_size=255 [16:08:49]MH_SAM_APDU [16:08:49]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A0 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D5 68 00 00 35 04 06 00 [16:08:49]Write to MH i2c: E2 02 01 89 42 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A0 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D5 68 00 00 35 04 06 00 00 00 FA [16:08:49]Write i2c OK [16:08:49]MH_I2C_Read... [16:08:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:50]Read from MH i2c: E2 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 03 00 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 03 00 89 42 00 90 00 3F [16:08:50]RAPDU: 90 00 [16:08:50]wFMCommunicate OK [16:08:50]wFMCommunicate request_size=11 [16:08:50]MH_SAM_APDU [16:08:50]CAPDU: 80 0D 02 02 06 83 00 A2 B2 79 74 [16:08:50]Write to MH i2c: E2 0E 00 8A 42 80 0D 02 02 06 00 83 00 A2 B2 79 74 00 00 16 [16:08:50]Write i2c OK [16:08:50]MH_I2C_Read... [16:08:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:50]Read from MH i2c: E2 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 03 00 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 03 00 8A 42 00 90 00 40 [16:08:50]RAPDU: 90 00 [16:08:50]wFMCommunicate OK [16:08:50]wFMCommunicate request_size=4 [16:08:50]MH_SAM_APDU [16:08:50]CAPDU: 80 0D 03 02 [16:08:50]Write to MH i2c: E2 08 00 8B 42 80 0D 03 02 00 00 00 00 48 [16:08:50]Write i2c OK [16:08:50]MH_I2C_Read... [16:08:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:08:50]Read from MH i2c: E2 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 0B 00 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 0B 00 8B 42 00 11 6B 33 1D 96 BE 9C 5F 90 00 64 [16:08:50]RAPDU: 11 6B 33 1D 96 BE 9C 5F 90 00 [16:08:50]wFMCommunicate OK [16:08:50]SAM_PROTO_SignData done [16:08:50]FM_MakeSignedData done [16:08:50]CreateOFDProtocolMessage [16:08:50]wFMCommunicate request_size=4 [16:08:50]MH_SAM_APDU [16:08:50]CAPDU: 80 11 00 00 [16:08:50]Write to MH i2c: E2 08 00 8C 42 80 11 00 00 00 00 00 00 48 [16:08:50]Write i2c OK [16:08:50]MH_I2C_Read... [16:08:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:50]Read from MH i2c: E2 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 17 00 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: E2 17 00 8C 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A0 [16:08:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:08:50]wFMCommunicate OK [16:08:50]CreateOFDProtocolMessage done [16:08:50]OFDSenderStorePacket 26837 [16:08:50]StoreOFDPacket docnum=26837 [16:08:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 58 5F 08 01 DE F3 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A0 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D5 68 00 00 35 04 06 00 83 00 A2 B2 79 74 11 6B 33 1D 96 BE 9C 5F [16:08:50]CheckFolder [16:08:50]dirname=/storage/ofd_packets [16:08:50]CheckFolder done [16:08:50]ProducePacketName [16:08:50]name=ofd_packets/00026837 [16:08:50]NVStorageSaveData ofd_packets/00026837 [16:08:50]File name is /storage/ofd_packets/00026837 [16:08:50]Write 302 bytes [16:08:50]NVStorageSaveData done [16:08:50]OFDSenderStorePacket done [16:08:50]KKMCreateOFDPacket done [16:08:50]NVStorageSaveData kkm_last_timestamp [16:08:50]File name is /storage/kkm_last_timestamp [16:08:50]Write 4 bytes [16:08:50]NVStorageSaveData done [16:08:50]ExternCall_PrintAddStr [16:08:50]wPrintStart [16:08:50]Write to MH i2c: 01 00 00 8D 42 CF [16:08:50]Write i2c OK [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: 01 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: 01 07 00 [16:08:50]MH_I2C_Read... [16:08:50]Read from MH i2c: 01 07 00 8D 42 00 00 00 00 00 FF 0F E4 [16:08:50]RasterBufferAndPrint [16:08:50]line Счет N : (1)359583 [16:08:50]line ИÐÐ: 02508201610067 [16:08:50]line Контрольно-КаÑÑовый Чек [16:08:50]line ПРОДÐЖР[16:08:50]line ТРК (МРК, ГÐК) : 11 [16:08:50]line Товар: 2710194210 [16:08:50]line ДТ(л)-К-5 [16:08:50]line 13.930 * 71.80 [16:08:50]line = 1000.17 [16:08:50]line ÐДС 12% ÐСП 1% [16:08:50]line > о реализуемом товаре [16:08:50]line ИТОГО: 1000.17 [16:08:50]line ÐСП 1% : 8.85 [16:08:50]line ÐДС 12% : 106.21 [16:08:50]line Ðаличными: 0.00 [16:08:50]line Безнал.: 1000.17 [16:08:50]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [16:08:50]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:08:50]line СÐО: Общий режим [16:08:50]line Чек 50 08.04.2024 16:09 [16:08:50]line Смена: 314 ФФД: 1.0 [16:08:50]line ЗÐМ: 0300000147 [16:08:50]line РÐМ: 0000000000091578 [16:08:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:08:50]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [16:08:50]line ФМ: 0000000000874657 [16:08:50]line ФД: 26837 [16:08:50]line ФПД: 144038752844148 [16:08:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T160904&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26837&fm=144038752844148&tin=02508201610067®Number=0000000000091578&sum=100017 [16:08:50]OFD Sender: Processing packet 26837 [packets to send 44, broken 43] [16:08:50]ProducePacketName [16:08:50]name=ofd_packets/00026837 [16:08:50]OFD Sender: To server: ‡•öpG, [16:08:50]CommunicateWithHost lk.salyk.kg:30040 [16:08:50]ConnectInit lk.salyk.kg [16:08:50]written 0, free lines is 4095 [16:08:50]Connected sock=10 [16:08:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 58 5F 08 01 DE F3 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 A0 16 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D5 68 00 00 35 04 06 00 83 00 A2 B2 79 74 11 6B 33 1D 96 BE 9C 5F [16:08:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 FD 7A 47 00 AB CC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D5 68 00 00 F4 03 04 00 09 BE 13 66 B6 04 01 00 00 7A 9E 25 2C 58 8F 93 66 [16:08:50]CommunicateWithHost err = 0 [16:08:50]CheckOFDResponse [16:08:50]1017 (14) - 77093643461234 [16:08:50]1041 (16) - 0000000000874657 [16:08:50]1040 (4) - 26837 [16:08:50]1012 (4) - 08.04.2024 09:51 [16:08:50]1206 (1) - 0 [16:08:50]OFD Sender: Remove packet 26837 [16:08:50]ProducePacketName [16:08:50]name=ofd_packets/00026837 [16:08:50]NVStorageDeleteData [16:08:51]Write to MH i2c: 01 00 00 B7 42 F9 [16:08:51]Write i2c OK [16:08:51]MH_I2C_Read... [16:08:51]Read from MH i2c: 01 [16:08:51]MH_I2C_Read... [16:08:51]Read from MH i2c: 01 07 00 [16:08:51]MH_I2C_Read... [16:08:51]Read from MH i2c: 01 07 00 B7 42 00 00 00 00 00 86 0C 92 [16:08:51]RasterBufferAndPrint [16:08:51]line [16:08:51]line [16:08:51]line [16:08:51]line [16:08:51]line [16:08:51]written 0, free lines is 3210 [16:08:51]MH_Cut [16:08:51]Write to MH i2c: D1 01 00 BE 42 01 D2 [16:08:51]Write i2c OK [16:08:51]MH_I2C_Read... [16:08:51]Read from MH i2c: D1 [16:08:51]MH_I2C_Read... [16:08:51]Read from MH i2c: D1 01 00 [16:08:51]MH_I2C_Read... [16:08:51]Read from MH i2c: D1 01 00 BE 42 00 D1 [16:08:51]Write to MH i2c: 01 00 00 BF 42 01 [16:08:51]Write i2c OK [16:08:51]MH_I2C_Read... [16:08:51]OFD Sender: No OFD packet to send [16:08:52]*** Cut start [16:08:52]*** Partial cut [16:08:52]*** CUTSNS_PIN = 1 [16:08:52]*** CUTSNS_PIN = 0 [16:08:52]*** Brake cut motor [16:08:52]Read from MH i2c: 01 [16:08:52]MH_I2C_Read... [16:08:52]*** Stop cut motor [16:08:52]*** Cut end [16:08:52]Read from MH i2c: 01 07 00 [16:08:52]MH_I2C_Read... [16:08:52]Read from MH i2c: 01 07 00 BF 42 00 00 00 00 00 FF 0F 16 [16:08:52]process_action close_receipt done [16:08:52]requested_data is exist [16:08:52]produce_requested_data [16:08:52]requested_item fm.sn is exist - process it [16:08:52]wFMCommunicate request_size=4 [16:08:52]MH_SAM_APDU [16:08:52]CAPDU: 80 11 00 00 [16:08:52]Write to MH i2c: E2 08 00 C0 42 80 11 00 00 00 00 00 00 7C [16:08:52]Write i2c OK [16:08:52]MH_I2C_Read... [16:08:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:52]Read from MH i2c: E2 [16:08:52]MH_I2C_Read... [16:08:52]Read from MH i2c: E2 17 00 [16:08:52]MH_I2C_Read... [16:08:52]Read from MH i2c: E2 17 00 C0 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D4 [16:08:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:08:52]wFMCommunicate OK [16:08:52]requested_item fd.num is exist - process it [16:08:52]SAM_PROTO_GetFieldsCounters [16:08:52]wFMCommunicate request_size=4 [16:08:52]MH_SAM_APDU [16:08:52]CAPDU: 80 13 00 00 [16:08:52]Write to MH i2c: E2 08 00 C1 42 80 13 00 00 00 00 00 00 7F [16:08:52]Write i2c OK [16:08:52]MH_I2C_Read... [16:08:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:08:53]Read from MH i2c: E2 [16:08:53]MH_I2C_Read... [16:08:53]Read from MH i2c: E2 62 00 [16:08:53]MH_I2C_Read... [16:08:53]Read from MH i2c: E2 62 00 C1 42 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [16:08:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:08:53]wFMCommunicate OK [16:08:53]SAM_PROTO_GetFieldsCounters done [16:08:53]requested_item shift.num is exist - process it [16:08:53]requested_item shift.opened is exist - process it [16:08:53]req_shift_opened [16:08:53]FM_GetShiftState [16:08:53]SAM_PROTO_GetShiftState [16:08:53]wFMCommunicate request_size=4 [16:08:53]MH_SAM_APDU [16:08:53]CAPDU: 80 13 01 00 [16:08:53]Write to MH i2c: E2 08 00 C2 42 80 13 01 00 00 00 00 00 81 [16:08:53]Write i2c OK [16:08:53]MH_I2C_Read... [16:08:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:53]Read from MH i2c: E2 [16:08:53]MH_I2C_Read... [16:08:53]Read from MH i2c: E2 0E 00 [16:08:53]MH_I2C_Read... [16:08:53]Read from MH i2c: E2 0E 00 C2 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0E [16:08:53]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:08:53]wFMCommunicate OK [16:08:53]SAM_PROTO_GetShiftState done [16:08:53]FM_GetShiftState done [16:08:53]req_shift_opened done [16:08:53]requested_item shift.open_date is exist - process it [16:08:53]req_shift_open_date [16:08:53]req_shift_open_date done [16:08:53]produce_requested_data done [16:08:53]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26837,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [16:08:53]process_action_free close_receipt [16:08:53]json_value_free [16:08:53]json_value_free done [16:08:53]process_json_proto returns [16:08:53]Send response to host [16:08:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26837,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [16:08:53]free response buf [16:08:53]execute_script done [16:08:53]execute_script returns [16:08:53]free content buf [16:08:53]Sock 8.Close socket [16:08:53]Sock 8.Thread stoped [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:11]OFD Sender: No OFD packet to send [16:11:16]OFD Sender: No OFD packet to send [16:11:21]OFD Sender: No OFD packet to send [16:11:26]OFD Sender: No OFD packet to send [16:11:31]OFD Sender: No OFD packet to send [16:11:36]OFD Sender: No OFD packet to send [16:11:41]OFD Sender: No OFD packet to send [16:11:46]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:56]OFD Sender: No OFD packet to send [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:11]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:05]accept exits with 9 [16:20:05]New connection [16:20:05]New thread 3067014500 created [16:20:05]Thread 3066871140 joined [16:20:05]Waiting for new connection... [16:20:05] Sock 9.Parse request [16:20:05]Sock 9.Check first char [16:20:05]Sock 9.First char is OK [16:20:05]request: POST /json_proto HTTP/1.0 [16:20:05]Method: POST [16:20:05]URL: /json_proto [16:20:05]Method is POST - this is cgi request [16:20:05]url: /json_proto [16:20:05]query_string will be loaded in cgi processing [16:20:05]execute_cgi json_proto POST (null) [16:20:05]execute_cgi path=json_proto method=POST [16:20:05]POST find Content-Length [16:20:05]Host: 172.17.35.3:8080 [16:20:05]Content-Length: 808 [16:20:05]Content-Type: application/json [16:20:05] [16:20:05]POST finish read [16:20:05]Found Content-Length = 808 [16:20:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359584", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:20:05]execute_script... [16:20: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 : (1)359584", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "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.17 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:20:05]POST & json_proto [16:20:05]process_json_proto [16:20:05]json parsed OK: [16:20:05]protocol is kg_v1.0 [16:20:05]action value=close_receipt [16:20:05]process_action close_receipt [16:20:05]cmd_close_receipt [16:20:05]MH_GetDate [16:20:05]Write to MH i2c: F0 00 00 C3 42 F4 [16:20:05]Write i2c OK [16:20:05]MH_I2C_Read... [16:20:05]Read from MH i2c: F0 [16:20:05]MH_I2C_Read... [16:20:05]Read from MH i2c: F0 09 00 [16:20:05]MH_I2C_Read... [16:20:05]Read from MH i2c: F0 09 00 C3 42 00 45 19 14 66 2B 11 66 64 DB [16:20:05]GetLastDocTimeStamp 1712592544 [16:20:05]current date 1712593221 [16:20:05]FM_GetShiftState [16:20:05]SAM_PROTO_GetShiftState [16:20:05]wFMCommunicate request_size=4 [16:20:05]MH_SAM_APDU [16:20:05]CAPDU: 80 13 01 00 [16:20:05]Write to MH i2c: E2 08 00 C4 42 80 13 01 00 00 00 00 00 83 [16:20:05]Write i2c OK [16:20:05]MH_I2C_Read... [16:20:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:20:05]Read from MH i2c: E2 [16:20:05]MH_I2C_Read... [16:20:05]Read from MH i2c: E2 0E 00 [16:20:05]MH_I2C_Read... [16:20:05]Read from MH i2c: E2 0E 00 C4 42 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 10 [16:20:05]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:20:05]wFMCommunicate OK [16:20:05]SAM_PROTO_GetShiftState done [16:20:05]FM_GetShiftState done [16:20:05]opened in 1712536270 [16:20:05]opened+sec_in_day 1712622670 [16:20:05]quantity*price = 100017 [16:20:05]sum+1 = 100018 [16:20:05]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.17 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.17 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 51 08.04.2024 16:20 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26838 ФПД: 33044512795452 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T162021&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26838&fm=33044512795452&tin=02508201610067®Number=0000000000091578&sum=100017 [16:20:06]StoreToDocumentArchive [16:20:06]shift 314 fd 26838 [16:20:06]save to /storage/0314/doc_00026838 [16:20:06]save last doc name /storage/0314/doc_00026838 to /storage/kkm_last_doc_name [16:20:06]save OK [16:20:06]Clear old archive folders... [16:20:06]ProcessDocumentItem done err = 0, tmpTLVsize=252 [16:20:06]tlvbuf is 00EDB4B0 [16:20:06]SAM_PROTO_ClearQueue [16:20:06]wFMCommunicate request_size=4 [16:20:06]MH_SAM_APDU [16:20:06]CAPDU: 80 09 00 00 [16:20:06]Write to MH i2c: E2 08 00 D1 42 80 09 00 00 00 00 00 00 85 [16:20:06]Write i2c OK [16:20:06]MH_I2C_Read... [16:20:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:20:06]Read from MH i2c: E2 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: E2 03 00 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: E2 03 00 D1 42 00 90 00 87 [16:20:06]RAPDU: 90 00 [16:20:06]wFMCommunicate OK [16:20:06]SAM_PROTO_ClearQueue done [16:20:06]KKMCreateOFDPacket [16:20:06]OFDProtocolAddRootSTLVToBuf [16:20:06]FM_MakeSignedData [16:20:06]FM_MakeSignedData [16:20:06]SAM_PROTO_SignData [16:20:06]wFMCommunicate request_size=4 [16:20:06]MH_SAM_APDU [16:20:06]CAPDU: 80 0D 01 02 [16:20:06]Write to MH i2c: E2 08 00 D2 42 80 0D 01 02 00 00 00 00 8D [16:20:06]Write i2c OK [16:20:06]MH_I2C_Read... [16:20:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:20:06]Read from MH i2c: E2 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: E2 03 00 [16:20:06]MH_I2C_Read... [16:20:06]Read from MH i2c: E2 03 00 D2 42 00 90 00 88 [16:20:06]RAPDU: 90 00 [16:20:06]wFMCommunicate OK [16:20:06]wFMCommunicate request_size=255 [16:20:06]MH_SAM_APDU [16:20:06]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 45 19 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D6 68 00 00 35 04 06 00 [16:20:06]Write to MH i2c: E2 02 01 D3 42 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 45 19 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D6 68 00 00 35 04 06 00 00 00 EE [16:20:06]Write i2c OK [16:20:06]MH_I2C_Read... [16:20:07]OFD Sender: No OFD packet to send [16:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 D3 42 00 90 00 89 [16:20:07]RAPDU: 90 00 [16:20:07]wFMCommunicate OK [16:20:07]wFMCommunicate request_size=11 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 0D 02 02 06 1E 0D C6 72 6B 3C [16:20:07]Write to MH i2c: E2 0E 00 D4 42 80 0D 02 02 06 00 1E 0D C6 72 6B 3C 00 00 A6 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 03 00 D4 42 00 90 00 8A [16:20:07]RAPDU: 90 00 [16:20:07]wFMCommunicate OK [16:20:07]wFMCommunicate request_size=4 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 0D 03 02 [16:20:07]Write to MH i2c: E2 08 00 D5 42 80 0D 03 02 00 00 00 00 92 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 0B 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 0B 00 D5 42 00 19 BD A8 EF BD 95 56 4D 90 00 F5 [16:20:07]RAPDU: 19 BD A8 EF BD 95 56 4D 90 00 [16:20:07]wFMCommunicate OK [16:20:07]SAM_PROTO_SignData done [16:20:07]FM_MakeSignedData done [16:20:07]CreateOFDProtocolMessage [16:20:07]wFMCommunicate request_size=4 [16:20:07]MH_SAM_APDU [16:20:07]CAPDU: 80 11 00 00 [16:20:07]Write to MH i2c: E2 08 00 D6 42 80 11 00 00 00 00 00 00 92 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:20:07]Read from MH i2c: E2 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 17 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: E2 17 00 D6 42 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EA [16:20:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:20:07]wFMCommunicate OK [16:20:07]CreateOFDProtocolMessage done [16:20:07]OFDSenderStorePacket 26838 [16:20:07]StoreOFDPacket docnum=26838 [16:20:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 0B 82 08 01 99 C2 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 45 19 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D6 68 00 00 35 04 06 00 1E 0D C6 72 6B 3C 19 BD A8 EF BD 95 56 4D [16:20:07]CheckFolder [16:20:07]dirname=/storage/ofd_packets [16:20:07]CheckFolder done [16:20:07]ProducePacketName [16:20:07]name=ofd_packets/00026838 [16:20:07]NVStorageSaveData ofd_packets/00026838 [16:20:07]File name is /storage/ofd_packets/00026838 [16:20:07]Write 302 bytes [16:20:07]NVStorageSaveData done [16:20:07]OFDSenderStorePacket done [16:20:07]KKMCreateOFDPacket done [16:20:07]NVStorageSaveData kkm_last_timestamp [16:20:07]File name is /storage/kkm_last_timestamp [16:20:07]Write 4 bytes [16:20:07]NVStorageSaveData done [16:20:07]ExternCall_PrintAddStr [16:20:07]wPrintStart [16:20:07]Write to MH i2c: 01 00 00 D7 42 19 [16:20:07]Write i2c OK [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: 01 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: 01 07 00 [16:20:07]MH_I2C_Read... [16:20:07]Read from MH i2c: 01 07 00 D7 42 00 00 00 00 00 FF 0F 2E [16:20:07]RasterBufferAndPrint [16:20:07]line Счет N : (1)359584 [16:20:07]line ИÐÐ: 02508201610067 [16:20:07]line Контрольно-КаÑÑовый Чек [16:20:07]line ПРОДÐЖР[16:20:07]line ТРК (МРК, ГÐК) : 21 [16:20:07]line Товар: 2710194210 [16:20:07]line ДТ(л)-К-5 [16:20:07]line 13.930 * 71.80 [16:20:07]line = 1000.17 [16:20:07]line ÐДС 12% ÐСП 1% [16:20:07]line > о реализуемом товаре [16:20:07]line ИТОГО: 1000.17 [16:20:07]line ÐСП 1% : 8.85 [16:20:07]line ÐДС 12% : 106.21 [16:20:07]line Ðаличными: 0.00 [16:20:07]line Безнал.: 1000.17 [16:20:07]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [16:20:07]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [16:20:07]line СÐО: Общий режим [16:20:07]line Чек 51 08.04.2024 16:20 [16:20:07]line Смена: 314 ФФД: 1.0 [16:20:07]line ЗÐМ: 0300000147 [16:20:07]line РÐМ: 0000000000091578 [16:20:07]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [16:20:07]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [16:20:07]line ФМ: 0000000000874657 [16:20:07]line ФД: 26838 [16:20:07]line ФПД: 33044512795452 [16:20:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T162021&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26838&fm=33044512795452&tin=02508201610067®Number=0000000000091578&sum=100017 [16:20:07]OFD Sender: Processing packet 26838 [packets to send 44, broken 43] [16:20:07]ProducePacketName [16:20:07]name=ofd_packets/00026838 [16:20:07]OFD Sender: To server: ‡•öpG, [16:20:07]CommunicateWithHost lk.salyk.kg:30040 [16:20:07]ConnectInit lk.salyk.kg [16:20:07]written 0, free lines is 4095 [16:20:07]Connected sock=10 [16:20:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 0B 82 08 01 99 C2 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B1 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B1 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 45 19 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D6 68 00 00 35 04 06 00 1E 0D C6 72 6B 3C 19 BD A8 EF BD 95 56 4D [16:20:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 76 A7 47 00 81 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D6 68 00 00 F4 03 04 00 AE C0 13 66 B6 04 01 00 00 62 6D 43 7E 04 7C E2 C9 [16:20:08]CommunicateWithHost err = 0 [16:20:08]CheckOFDResponse [16:20:08]1017 (14) - 77093643461234 [16:20:08]1041 (16) - 0000000000874657 [16:20:08]1040 (4) - 26838 [16:20:08]1012 (4) - 08.04.2024 10:02 [16:20:08]1206 (1) - 0 [16:20:08]OFD Sender: Remove packet 26838 [16:20:08]ProducePacketName [16:20:08]name=ofd_packets/00026838 [16:20:08]NVStorageDeleteData [16:20:08]Write to MH i2c: 01 00 00 01 43 44 [16:20:08]Write i2c OK [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: 01 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: 01 07 00 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: 01 07 00 01 43 00 00 00 00 00 87 0C DE [16:20:08]RasterBufferAndPrint [16:20:08]line [16:20:08]line [16:20:08]line [16:20:08]line [16:20:08]line [16:20:08]written 0, free lines is 3212 [16:20:08]MH_Cut [16:20:08]Write to MH i2c: D1 01 00 08 43 01 1D [16:20:08]Write i2c OK [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: D1 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: D1 01 00 [16:20:08]MH_I2C_Read... [16:20:08]Read from MH i2c: D1 01 00 08 43 00 1C [16:20:08]Write to MH i2c: 01 00 00 09 43 4C [16:20:08]Write i2c OK [16:20:08]MH_I2C_Read... [16:20:08]OFD Sender: No OFD packet to send [16:20:09]*** Cut start [16:20:09]*** Partial cut [16:20:09]*** CUTSNS_PIN = 1 [16:20:09]*** CUTSNS_PIN = 0 [16:20:09]*** Brake cut motor [16:20:09]Read from MH i2c: 01 [16:20:09]MH_I2C_Read... [16:20:09]*** Stop cut motor [16:20:09]*** Cut end [16:20:09]Read from MH i2c: 01 07 00 [16:20:09]MH_I2C_Read... [16:20:09]Read from MH i2c: 01 07 00 09 43 00 00 00 00 00 FF 0F 61 [16:20:09]process_action close_receipt done [16:20:09]requested_data is exist [16:20:09]produce_requested_data [16:20:09]requested_item fm.sn is exist - process it [16:20:09]wFMCommunicate request_size=4 [16:20:09]MH_SAM_APDU [16:20:09]CAPDU: 80 11 00 00 [16:20:09]Write to MH i2c: E2 08 00 0A 43 80 11 00 00 00 00 00 00 C7 [16:20:09]Write i2c OK [16:20:09]MH_I2C_Read... [16:20:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:20:10]Read from MH i2c: E2 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 17 00 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 17 00 0A 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 1F [16:20:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [16:20:10]wFMCommunicate OK [16:20:10]requested_item fd.num is exist - process it [16:20:10]SAM_PROTO_GetFieldsCounters [16:20:10]wFMCommunicate request_size=4 [16:20:10]MH_SAM_APDU [16:20:10]CAPDU: 80 13 00 00 [16:20:10]Write to MH i2c: E2 08 00 0B 43 80 13 00 00 00 00 00 00 CA [16:20:10]Write i2c OK [16:20:10]MH_I2C_Read... [16:20:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:20:10]Read from MH i2c: E2 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 62 00 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 62 00 0B 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [16:20:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:20:10]wFMCommunicate OK [16:20:10]SAM_PROTO_GetFieldsCounters done [16:20:10]requested_item shift.num is exist - process it [16:20:10]requested_item shift.opened is exist - process it [16:20:10]req_shift_opened [16:20:10]FM_GetShiftState [16:20:10]SAM_PROTO_GetShiftState [16:20:10]wFMCommunicate request_size=4 [16:20:10]MH_SAM_APDU [16:20:10]CAPDU: 80 13 01 00 [16:20:10]Write to MH i2c: E2 08 00 0C 43 80 13 01 00 00 00 00 00 CC [16:20:10]Write i2c OK [16:20:10]MH_I2C_Read... [16:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:20:10]Read from MH i2c: E2 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 0E 00 [16:20:10]MH_I2C_Read... [16:20:10]Read from MH i2c: E2 0E 00 0C 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 59 [16:20:10]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [16:20:10]wFMCommunicate OK [16:20:10]SAM_PROTO_GetShiftState done [16:20:10]FM_GetShiftState done [16:20:10]req_shift_opened done [16:20:10]requested_item shift.open_date is exist - process it [16:20:10]req_shift_open_date [16:20:10]req_shift_open_date done [16:20:10]produce_requested_data done [16:20:10]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26838,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [16:20:10]process_action_free close_receipt [16:20:10]json_value_free [16:20:10]json_value_free done [16:20:10]process_json_proto returns [16:20:10]Send response to host [16:20:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26838,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [16:20:10]free response buf [16:20:10]execute_script done [16:20:10]execute_script returns [16:20:10]free content buf [16:20:10]Sock 9.Close socket [16:20:10]Sock 9.Thread stoped [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:21:03]OFD Sender: No OFD packet to send [16:21:08]OFD Sender: No OFD packet to send [16:21:13]OFD Sender: No OFD packet to send [16:21:18]OFD Sender: No OFD packet to send [16:21:23]OFD Sender: No OFD packet to send [16:21:28]OFD Sender: No OFD packet to send [16:21:33]OFD Sender: No OFD packet to send [16:21:38]OFD Sender: No OFD packet to send [16:21:43]OFD Sender: No OFD packet to send [16:21:48]OFD Sender: No OFD packet to send [16:21:53]OFD Sender: No OFD packet to send [16:21:58]OFD Sender: No OFD packet to send [16:22:03]OFD Sender: No OFD packet to send [16:22:08]OFD Sender: No OFD packet to send [16:22:13]OFD Sender: No OFD packet to send [16:22:18]OFD Sender: No OFD packet to send [16:22:23]OFD Sender: No OFD packet to send [16:22:28]OFD Sender: No OFD packet to send [16:22:33]OFD Sender: No OFD packet to send [16:22:38]OFD Sender: No OFD packet to send [16:22:43]OFD Sender: No OFD packet to send [16:22:48]OFD Sender: No OFD packet to send [16:22:53]OFD Sender: No OFD packet to send [16:22:58]OFD Sender: No OFD packet to send [16:23:03]OFD Sender: No OFD packet to send [16:23:08]OFD Sender: No OFD packet to send [16:23:13]OFD Sender: No OFD packet to send [16:23:18]OFD Sender: No OFD packet to send [16:23:23]OFD Sender: No OFD packet to send [16:23:28]OFD Sender: No OFD packet to send [16:23:33]OFD Sender: No OFD packet to send [16:23:38]OFD Sender: No OFD packet to send [16:23:43]OFD Sender: No OFD packet to send [16:23:48]OFD Sender: No OFD packet to send [16:23:53]OFD Sender: No OFD packet to send [16:23:58]OFD Sender: No OFD packet to send [16:24:03]OFD Sender: No OFD packet to send [16:24:08]OFD Sender: No OFD packet to send [16:24:13]OFD Sender: No OFD packet to send [16:24:18]OFD Sender: No OFD packet to send [16:24:23]OFD Sender: No OFD packet to send [16:24:28]OFD Sender: No OFD packet to send [16:24:33]OFD Sender: No OFD packet to send [16:24:38]OFD Sender: No OFD packet to send [16:24:43]OFD Sender: No OFD packet to send [16:24:48]OFD Sender: No OFD packet to send [16:24:53]OFD Sender: No OFD packet to send [16:24:58]OFD Sender: No OFD packet to send [16:25:03]OFD Sender: No OFD packet to send [16:25:08]OFD Sender: No OFD packet to send [16:25:13]OFD Sender: No OFD packet to send [16:25:18]OFD Sender: No OFD packet to send [16:25:23]OFD Sender: No OFD packet to send [16:25:28]OFD Sender: No OFD packet to send [16:25:33]OFD Sender: No OFD packet to send [16:25:38]OFD Sender: No OFD packet to send [16:25:43]OFD Sender: No OFD packet to send [16:25:48]OFD Sender: No OFD packet to send [16:25:53]OFD Sender: No OFD packet to send [16:25:58]OFD Sender: No OFD packet to send [16:26:03]OFD Sender: No OFD packet to send [16:26:08]OFD Sender: No OFD packet to send [16:26:13]OFD Sender: No OFD packet to send [16:26:18]OFD Sender: No OFD packet to send [16:26:23]OFD Sender: No OFD packet to send [16:26:28]OFD Sender: No OFD packet to send [16:26:33]OFD Sender: No OFD packet to send [16:26:38]OFD Sender: No OFD packet to send [16:26:43]OFD Sender: No OFD packet to send [16:26:48]OFD Sender: No OFD packet to send [16:26:53]OFD Sender: No OFD packet to send [16:26:58]OFD Sender: No OFD packet to send [16:27:03]OFD Sender: No OFD packet to send [16:27:08]OFD Sender: No OFD packet to send [16:27:13]OFD Sender: No OFD packet to send [16:27:18]OFD Sender: No OFD packet to send [16:27:23]OFD Sender: No OFD packet to send [16:27:28]OFD Sender: No OFD packet to send [16:27:33]OFD Sender: No OFD packet to send [16:27:38]OFD Sender: No OFD packet to send [16:27:43]OFD Sender: No OFD packet to send [16:27:48]OFD Sender: No OFD packet to send [16:27:53]OFD Sender: No OFD packet to send [16:27:58]OFD Sender: No OFD packet to send [16:28:03]OFD Sender: No OFD packet to send [16:28:08]OFD Sender: No OFD packet to send [16:28:13]OFD Sender: No OFD packet to send [16:28:18]OFD Sender: No OFD packet to send [16:28:23]OFD Sender: No OFD packet to send [16:28:28]OFD Sender: No OFD packet to send [16:28:33]OFD Sender: No OFD packet to send [16:28:38]OFD Sender: No OFD packet to send [16:28:43]OFD Sender: No OFD packet to send [16:28:48]OFD Sender: No OFD packet to send [16:28:53]OFD Sender: No OFD packet to send [16:28:58]OFD Sender: No OFD packet to send [16:29:03]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:19]OFD Sender: No OFD packet to send [16:29:24]OFD Sender: No OFD packet to send [16:29:29]OFD Sender: No OFD packet to send [16:29:34]OFD Sender: No OFD packet to send [16:29:39]OFD Sender: No OFD packet to send [16:29:44]OFD Sender: No OFD packet to send [16:29:49]OFD Sender: No OFD packet to send [16:29:54]OFD Sender: No OFD packet to send [16:29:59]OFD Sender: No OFD packet to send [16:30:04]OFD Sender: No OFD packet to send [16:30:09]OFD Sender: No OFD packet to send [16:30:14]OFD Sender: No OFD packet to send [16:30:19]OFD Sender: No OFD packet to send [16:30:24]OFD Sender: No OFD packet to send [16:30:29]OFD Sender: No OFD packet to send [16:30:34]OFD Sender: No OFD packet to send [16:30:39]OFD Sender: No OFD packet to send [16:30:44]OFD Sender: No OFD packet to send [16:30:49]OFD Sender: No OFD packet to send [16:30:54]OFD Sender: No OFD packet to send [16:30:59]OFD Sender: No OFD packet to send [16:31:04]OFD Sender: No OFD packet to send [16:31:09]OFD Sender: No OFD packet to send [16:31:14]OFD Sender: No OFD packet to send [16:31:19]OFD Sender: No OFD packet to send [16:31:24]OFD Sender: No OFD packet to send [16:31:29]OFD Sender: No OFD packet to send [16:31:34]OFD Sender: No OFD packet to send [16:31:39]OFD Sender: No OFD packet to send [16:31:44]OFD Sender: No OFD packet to send [16:31:49]OFD Sender: No OFD packet to send [16:31:54]OFD Sender: No OFD packet to send [16:31:59]OFD Sender: No OFD packet to send [16:32:04]OFD Sender: No OFD packet to send [16:32:09]OFD Sender: No OFD packet to send [16:32:14]OFD Sender: No OFD packet to send [16:32:19]OFD Sender: No OFD packet to send [16:32:24]OFD Sender: No OFD packet to send [16:32:29]OFD Sender: No OFD packet to send [16:32:34]OFD Sender: No OFD packet to send [16:32:39]OFD Sender: No OFD packet to send [16:32:44]OFD Sender: No OFD packet to send [16:32:49]OFD Sender: No OFD packet to send [16:32:54]OFD Sender: No OFD packet to send [16:32:59]OFD Sender: No OFD packet to send [16:33:04]OFD Sender: No OFD packet to send [16:33:09]OFD Sender: No OFD packet to send [16:33:14]OFD Sender: No OFD packet to send [16:33:19]OFD Sender: No OFD packet to send [16:33:24]OFD Sender: No OFD packet to send [16:33:29]OFD Sender: No OFD packet to send [16:33:34]OFD Sender: No OFD packet to send [16:33:39]OFD Sender: No OFD packet to send [16:33:44]OFD Sender: No OFD packet to send [16:33:49]OFD Sender: No OFD packet to send [16:33:54]OFD Sender: No OFD packet to send [16:33:59]OFD Sender: No OFD packet to send [16:34:04]OFD Sender: No OFD packet to send [16:34:09]OFD Sender: No OFD packet to send [16:34:14]OFD Sender: No OFD packet to send [16:34:19]OFD Sender: No OFD packet to send [16:34:24]OFD Sender: No OFD packet to send [16:34:29]OFD Sender: No OFD packet to send [16:34:34]OFD Sender: No OFD packet to send [16:34:39]OFD Sender: No OFD packet to send [16:34:44]OFD Sender: No OFD packet to send [16:34:49]OFD Sender: No OFD packet to send [16:34:54]OFD Sender: No OFD packet to send [16:34:59]OFD Sender: No OFD packet to send [16:35:04]OFD Sender: No OFD packet to send [16:35:09]OFD Sender: No OFD packet to send [16:35:14]OFD Sender: No OFD packet to send [16:35:19]OFD Sender: No OFD packet to send [16:35:24]OFD Sender: No OFD packet to send [16:35:29]OFD Sender: No OFD packet to send [16:35:34]OFD Sender: No OFD packet to send [16:35:39]OFD Sender: No OFD packet to send [16:35:44]OFD Sender: No OFD packet to send [16:35:49]OFD Sender: No OFD packet to send [16:35:54]OFD Sender: No OFD packet to send [16:35:59]OFD Sender: No OFD packet to send [16:36:04]OFD Sender: No OFD packet to send [16:36:09]OFD Sender: No OFD packet to send [16:36:14]OFD Sender: No OFD packet to send [16:36:19]OFD Sender: No OFD packet to send [16:36:24]OFD Sender: No OFD packet to send [16:36:29]OFD Sender: No OFD packet to send [16:36:34]OFD Sender: No OFD packet to send [16:36:39]OFD Sender: No OFD packet to send [16:36:44]OFD Sender: No OFD packet to send [16:36:49]OFD Sender: No OFD packet to send [16:36:54]OFD Sender: No OFD packet to send [16:36:59]OFD Sender: No OFD packet to send [16:37:04]OFD Sender: No OFD packet to send [16:37:09]OFD Sender: No OFD packet to send [16:37:14]OFD Sender: No OFD packet to send [16:37:19]OFD Sender: No OFD packet to send [16:37:24]OFD Sender: No OFD packet to send [16:37:29]OFD Sender: No OFD packet to send [16:37:34]OFD Sender: No OFD packet to send [16:37:39]OFD Sender: No OFD packet to send [16:37:44]OFD Sender: No OFD packet to send [16:37:49]OFD Sender: No OFD packet to send [16:37:54]OFD Sender: No OFD packet to send [16:37:59]OFD Sender: No OFD packet to send [16:38:04]OFD Sender: No OFD packet to send [16:38:09]OFD Sender: No OFD packet to send [16:38:14]OFD Sender: No OFD packet to send [16:38:19]OFD Sender: No OFD packet to send [16:38:24]OFD Sender: No OFD packet to send [16:38:29]OFD Sender: No OFD packet to send [16:38:34]OFD Sender: No OFD packet to send [16:38:39]OFD Sender: No OFD packet to send [16:38:44]OFD Sender: No OFD packet to send [16:38:49]OFD Sender: No OFD packet to send [16:38:54]OFD Sender: No OFD packet to send [16:38:59]OFD Sender: No OFD packet to send [16:39:04]OFD Sender: No OFD packet to send [16:39:09]OFD Sender: No OFD packet to send [16:39:14]OFD Sender: No OFD packet to send [16:39:19]OFD Sender: No OFD packet to send [16:39:24]OFD Sender: No OFD packet to send [16:39:29]OFD Sender: No OFD packet to send [16:39:34]OFD Sender: No OFD packet to send [16:39:39]OFD Sender: No OFD packet to send [16:39:44]OFD Sender: No OFD packet to send [16:39:49]OFD Sender: No OFD packet to send [16:39:54]OFD Sender: No OFD packet to send [16:39:59]OFD Sender: No OFD packet to send [16:40:04]OFD Sender: No OFD packet to send [16:40:09]OFD Sender: No OFD packet to send [16:40:14]OFD Sender: No OFD packet to send [16:40:19]OFD Sender: No OFD packet to send [16:40:24]OFD Sender: No OFD packet to send [16:40:29]OFD Sender: No OFD packet to send [16:40:34]OFD Sender: No OFD packet to send [16:40:39]OFD Sender: No OFD packet to send [16:40:44]OFD Sender: No OFD packet to send [16:40:49]OFD Sender: No OFD packet to send [16:40:54]OFD Sender: No OFD packet to send [16:40:59]OFD Sender: No OFD packet to send [16:41:04]OFD Sender: No OFD packet to send [16:41:09]OFD Sender: No OFD packet to send [16:41:14]OFD Sender: No OFD packet to send [16:41:19]OFD Sender: No OFD packet to send [16:41:24]OFD Sender: No OFD packet to send [16:41:29]OFD Sender: No OFD packet to send [16:41:34]OFD Sender: No OFD packet to send [16:41:39]OFD Sender: No OFD packet to send [16:41:44]OFD Sender: No OFD packet to send [16:41:49]OFD Sender: No OFD packet to send [16:41:54]OFD Sender: No OFD packet to send [16:41:59]OFD Sender: No OFD packet to send [16:42:04]OFD Sender: No OFD packet to send [16:42:09]OFD Sender: No OFD packet to send [16:42:14]OFD Sender: No OFD packet to send [16:42:19]OFD Sender: No OFD packet to send [16:42:24]OFD Sender: No OFD packet to send [16:42:29]OFD Sender: No OFD packet to send [16:42:34]OFD Sender: No OFD packet to send [16:42:39]OFD Sender: No OFD packet to send [16:42:44]OFD Sender: No OFD packet to send [16:42:49]OFD Sender: No OFD packet to send [16:42:54]OFD Sender: No OFD packet to send [16:42:59]OFD Sender: No OFD packet to send [16:43:04]OFD Sender: No OFD packet to send [16:43:09]OFD Sender: No OFD packet to send [16:43:14]OFD Sender: No OFD packet to send [16:43:19]OFD Sender: No OFD packet to send [16:43:24]OFD Sender: No OFD packet to send [16:43:29]OFD Sender: No OFD packet to send [16:43:34]OFD Sender: No OFD packet to send [16:43:39]OFD Sender: No OFD packet to send [16:43:44]OFD Sender: No OFD packet to send [16:43:49]OFD Sender: No OFD packet to send [16:43:54]OFD Sender: No OFD packet to send [16:43:59]OFD Sender: No OFD packet to send [16:44:04]OFD Sender: No OFD packet to send [16:44:09]OFD Sender: No OFD packet to send [16:44:14]OFD Sender: No OFD packet to send [16:44:19]OFD Sender: No OFD packet to send [16:44:24]OFD Sender: No OFD packet to send [16:44:29]OFD Sender: No OFD packet to send [16:44:34]OFD Sender: No OFD packet to send [16:44:39]OFD Sender: No OFD packet to send [16:44:44]OFD Sender: No OFD packet to send [16:44:49]OFD Sender: No OFD packet to send [16:44:54]OFD Sender: No OFD packet to send [16:44:59]OFD Sender: No OFD packet to send [16:45:04]OFD Sender: No OFD packet to send [16:45:09]OFD Sender: No OFD packet to send [16:45:14]OFD Sender: No OFD packet to send [16:45:19]OFD Sender: No OFD packet to send [16:45:24]OFD Sender: No OFD packet to send [16:45:29]OFD Sender: No OFD packet to send [16:45:34]OFD Sender: No OFD packet to send [16:45:39]OFD Sender: No OFD packet to send [16:45:44]OFD Sender: No OFD packet to send [16:45:49]OFD Sender: No OFD packet to send [16:45:54]OFD Sender: No OFD packet to send [16:45:59]OFD Sender: No OFD packet to send [16:46:04]OFD Sender: No OFD packet to send [16:46:09]OFD Sender: No OFD packet to send [16:46:14]OFD Sender: No OFD packet to send [16:46:19]OFD Sender: No OFD packet to send [16:46:24]OFD Sender: No OFD packet to send [16:46:29]OFD Sender: No OFD packet to send [16:46:34]OFD Sender: No OFD packet to send [16:46:39]OFD Sender: No OFD packet to send [16:46:44]OFD Sender: No OFD packet to send [16:46:49]OFD Sender: No OFD packet to send [16:46:54]OFD Sender: No OFD packet to send [16:46:59]OFD Sender: No OFD packet to send [16:47:04]OFD Sender: No OFD packet to send [16:47:09]OFD Sender: No OFD packet to send [16:47:14]OFD Sender: No OFD packet to send [16:47:19]OFD Sender: No OFD packet to send [16:47:24]OFD Sender: No OFD packet to send [16:47:29]OFD Sender: No OFD packet to send [16:47:34]OFD Sender: No OFD packet to send [16:47:39]OFD Sender: No OFD packet to send [16:47:44]OFD Sender: No OFD packet to send [16:47:50]OFD Sender: No OFD packet to send [16:47:55]OFD Sender: No OFD packet to send [16:48:00]OFD Sender: No OFD packet to send [16:48:05]OFD Sender: No OFD packet to send [16:48:10]OFD Sender: No OFD packet to send [16:48:15]OFD Sender: No OFD packet to send [16:48:20]OFD Sender: No OFD packet to send [16:48:25]OFD Sender: No OFD packet to send [16:48:30]OFD Sender: No OFD packet to send [16:48:35]OFD Sender: No OFD packet to send [16:48:40]OFD Sender: No OFD packet to send [16:48:45]OFD Sender: No OFD packet to send [16:48:50]OFD Sender: No OFD packet to send [16:48:55]OFD Sender: No OFD packet to send [16:49:00]OFD Sender: No OFD packet to send [16:49:05]OFD Sender: No OFD packet to send [16:49:10]OFD Sender: No OFD packet to send [16:49:15]OFD Sender: No OFD packet to send [16:49:20]OFD Sender: No OFD packet to send [16:49:25]OFD Sender: No OFD packet to send [16:49:30]OFD Sender: No OFD packet to send [16:49:35]OFD Sender: No OFD packet to send [16:49:40]OFD Sender: No OFD packet to send [16:49:45]OFD Sender: No OFD packet to send [16:49:50]OFD Sender: No OFD packet to send [16:49:55]OFD Sender: No OFD packet to send [16:50:00]OFD Sender: No OFD packet to send [16:50:05]OFD Sender: No OFD packet to send [16:50:10]OFD Sender: No OFD packet to send [16:50:15]OFD Sender: No OFD packet to send [16:50:20]OFD Sender: No OFD packet to send [16:50:25]OFD Sender: No OFD packet to send [16:50:30]OFD Sender: No OFD packet to send [16:50:35]OFD Sender: No OFD packet to send [16:50:40]OFD Sender: No OFD packet to send [16:50:45]OFD Sender: No OFD packet to send [16:50:50]OFD Sender: No OFD packet to send [16:50:55]OFD Sender: No OFD packet to send [16:51:00]OFD Sender: No OFD packet to send [16:51:05]OFD Sender: No OFD packet to send [16:51:10]OFD Sender: No OFD packet to send [16:51:15]OFD Sender: No OFD packet to send [16:51:20]OFD Sender: No OFD packet to send [16:51:25]OFD Sender: No OFD packet to send [16:51:30]OFD Sender: No OFD packet to send [16:51:35]OFD Sender: No OFD packet to send [16:51:40]OFD Sender: No OFD packet to send [16:51:45]OFD Sender: No OFD packet to send [16:51:50]OFD Sender: No OFD packet to send [16:51:55]OFD Sender: No OFD packet to send [16:52:00]OFD Sender: No OFD packet to send [16:52:05]OFD Sender: No OFD packet to send [16:52:10]OFD Sender: No OFD packet to send [16:52:15]OFD Sender: No OFD packet to send [16:52:20]OFD Sender: No OFD packet to send [16:52:25]OFD Sender: No OFD packet to send [16:52:30]OFD Sender: No OFD packet to send [16:52:35]OFD Sender: No OFD packet to send [16:52:40]OFD Sender: No OFD packet to send [16:52:45]OFD Sender: No OFD packet to send [16:52:50]OFD Sender: No OFD packet to send [16:52:55]OFD Sender: No OFD packet to send [16:53:00]OFD Sender: No OFD packet to send [16:53:05]OFD Sender: No OFD packet to send [16:53:10]OFD Sender: No OFD packet to send [16:53:15]OFD Sender: No OFD packet to send [16:53:20]OFD Sender: No OFD packet to send [16:53:25]OFD Sender: No OFD packet to send [16:53:30]OFD Sender: No OFD packet to send [16:53:35]OFD Sender: No OFD packet to send [16:53:40]OFD Sender: No OFD packet to send [16:53:45]OFD Sender: No OFD packet to send [16:53:50]OFD Sender: No OFD packet to send [16:53:55]OFD Sender: No OFD packet to send [16:54:00]OFD Sender: No OFD packet to send [16:54:05]OFD Sender: No OFD packet to send [16:54:10]OFD Sender: No OFD packet to send [16:54:15]OFD Sender: No OFD packet to send [16:54:20]OFD Sender: No OFD packet to send [16:54:25]OFD Sender: No OFD packet to send [16:54:30]OFD Sender: No OFD packet to send [16:54:35]OFD Sender: No OFD packet to send [16:54:40]OFD Sender: No OFD packet to send [16:54:45]OFD Sender: No OFD packet to send [16:54:50]OFD Sender: No OFD packet to send [16:54:55]OFD Sender: No OFD packet to send [16:55:00]OFD Sender: No OFD packet to send [16:55:05]OFD Sender: No OFD packet to send [16:55:10]OFD Sender: No OFD packet to send [16:55:15]OFD Sender: No OFD packet to send [16:55:20]OFD Sender: No OFD packet to send [16:55:25]OFD Sender: No OFD packet to send [16:55:30]OFD Sender: No OFD packet to send [16:55:35]OFD Sender: No OFD packet to send [16:55:40]OFD Sender: No OFD packet to send [16:55:45]OFD Sender: No OFD packet to send [16:55:50]OFD Sender: No OFD packet to send [16:55:55]OFD Sender: No OFD packet to send [16:56:00]OFD Sender: No OFD packet to send [16:56:05]OFD Sender: No OFD packet to send [16:56:10]OFD Sender: No OFD packet to send [16:56:15]OFD Sender: No OFD packet to send [16:56:20]OFD Sender: No OFD packet to send [16:56:25]OFD Sender: No OFD packet to send [16:56:30]OFD Sender: No OFD packet to send [16:56:35]OFD Sender: No OFD packet to send [16:56:40]OFD Sender: No OFD packet to send [16:56:45]OFD Sender: No OFD packet to send [16:56:50]OFD Sender: No OFD packet to send [16:56:55]OFD Sender: No OFD packet to send [16:57:00]OFD Sender: No OFD packet to send [16:57:05]OFD Sender: No OFD packet to send [16:57:10]OFD Sender: No OFD packet to send [16:57:15]OFD Sender: No OFD packet to send [16:57:20]OFD Sender: No OFD packet to send [16:57:25]OFD Sender: No OFD packet to send [16:57:30]OFD Sender: No OFD packet to send [16:57:35]OFD Sender: No OFD packet to send [16:57:40]OFD Sender: No OFD packet to send [16:57:45]OFD Sender: No OFD packet to send [16:57:50]OFD Sender: No OFD packet to send [16:57:55]OFD Sender: No OFD packet to send [16:58:00]OFD Sender: No OFD packet to send [16:58:05]OFD Sender: No OFD packet to send [16:58:10]OFD Sender: No OFD packet to send [16:58:15]OFD Sender: No OFD packet to send [16:58:20]OFD Sender: No OFD packet to send [16:58:25]OFD Sender: No OFD packet to send [16:58:30]OFD Sender: No OFD packet to send [16:58:35]OFD Sender: No OFD packet to send [16:58:40]OFD Sender: No OFD packet to send [16:58:45]OFD Sender: No OFD packet to send [16:58:50]OFD Sender: No OFD packet to send [16:58:55]OFD Sender: No OFD packet to send [16:59:00]OFD Sender: No OFD packet to send [16:59:05]OFD Sender: No OFD packet to send [16:59:10]OFD Sender: No OFD packet to send [16:59:15]OFD Sender: No OFD packet to send [16:59:20]OFD Sender: No OFD packet to send [16:59:25]OFD Sender: No OFD packet to send [16:59:30]OFD Sender: No OFD packet to send [16:59:35]OFD Sender: No OFD packet to send [16:59:40]OFD Sender: No OFD packet to send [16:59:45]OFD Sender: No OFD packet to send [16:59:50]OFD Sender: No OFD packet to send [16:59:55]OFD Sender: No OFD packet to send [17:00:00]OFD Sender: No OFD packet to send [17:00:05]OFD Sender: No OFD packet to send [17:00:10]OFD Sender: No OFD packet to send [17:00:15]OFD Sender: No OFD packet to send [17:00:20]OFD Sender: No OFD packet to send [17:00:25]OFD Sender: No OFD packet to send [17:00:30]OFD Sender: No OFD packet to send [17:00:35]OFD Sender: No OFD packet to send [17:00:40]OFD Sender: No OFD packet to send [17:00:45]OFD Sender: No OFD packet to send [17:00:50]OFD Sender: No OFD packet to send [17:00:55]OFD Sender: No OFD packet to send [17:01:00]OFD Sender: No OFD packet to send [17:01:05]OFD Sender: No OFD packet to send [17:01:10]OFD Sender: No OFD packet to send [17:01:15]OFD Sender: No OFD packet to send [17:01:20]OFD Sender: No OFD packet to send [17:01:25]OFD Sender: No OFD packet to send [17:01:30]OFD Sender: No OFD packet to send [17:01:35]OFD Sender: No OFD packet to send [17:01:40]OFD Sender: No OFD packet to send [17:01:45]OFD Sender: No OFD packet to send [17:01:50]OFD Sender: No OFD packet to send [17:01:55]OFD Sender: No OFD packet to send [17:02:00]OFD Sender: No OFD packet to send [17:02:05]OFD Sender: No OFD packet to send [17:02:10]OFD Sender: No OFD packet to send [17:02:15]OFD Sender: No OFD packet to send [17:02:20]OFD Sender: No OFD packet to send [17:02:25]OFD Sender: No OFD packet to send [17:02:30]OFD Sender: No OFD packet to send [17:02:35]OFD Sender: No OFD packet to send [17:02:40]OFD Sender: No OFD packet to send [17:02:45]OFD Sender: No OFD packet to send [17:02:50]OFD Sender: No OFD packet to send [17:02:55]OFD Sender: No OFD packet to send [17:03:00]OFD Sender: No OFD packet to send [17:03:05]OFD Sender: No OFD packet to send [17:03:10]OFD Sender: No OFD packet to send [17:03:15]OFD Sender: No OFD packet to send [17:03:20]OFD Sender: No OFD packet to send [17:03:25]OFD Sender: No OFD packet to send [17:03:30]OFD Sender: No OFD packet to send [17:03:35]OFD Sender: No OFD packet to send [17:03:40]OFD Sender: No OFD packet to send [17:03:45]OFD Sender: No OFD packet to send [17:03:50]OFD Sender: No OFD packet to send [17:03:55]OFD Sender: No OFD packet to send [17:04:00]OFD Sender: No OFD packet to send [17:04:05]OFD Sender: No OFD packet to send [17:04:10]OFD Sender: No OFD packet to send [17:04:15]OFD Sender: No OFD packet to send [17:04:20]OFD Sender: No OFD packet to send [17:04:25]OFD Sender: No OFD packet to send [17:04:30]OFD Sender: No OFD packet to send [17:04:35]OFD Sender: No OFD packet to send [17:04:40]OFD Sender: No OFD packet to send [17:04:45]OFD Sender: No OFD packet to send [17:04:50]OFD Sender: No OFD packet to send [17:04:55]OFD Sender: No OFD packet to send [17:05:00]OFD Sender: No OFD packet to send [17:05:05]OFD Sender: No OFD packet to send [17:05:10]OFD Sender: No OFD packet to send [17:05:15]OFD Sender: No OFD packet to send [17:05:20]OFD Sender: No OFD packet to send [17:05:25]OFD Sender: No OFD packet to send [17:05:30]OFD Sender: No OFD packet to send [17:05:35]OFD Sender: No OFD packet to send [17:05:40]OFD Sender: No OFD packet to send [17:05:45]OFD Sender: No OFD packet to send [17:05:50]OFD Sender: No OFD packet to send [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:26]OFD Sender: No OFD packet to send [17:06:31]OFD Sender: No OFD packet to send [17:06:36]OFD Sender: No OFD packet to send [17:06:41]OFD Sender: No OFD packet to send [17:06:46]OFD Sender: No OFD packet to send [17:06:51]OFD Sender: No OFD packet to send [17:06:56]OFD Sender: No OFD packet to send [17:07:01]OFD Sender: No OFD packet to send [17:07:06]OFD Sender: No OFD packet to send [17:07:11]OFD Sender: No OFD packet to send [17:07:16]OFD Sender: No OFD packet to send [17:07:21]OFD Sender: No OFD packet to send [17:07:26]OFD Sender: No OFD packet to send [17:07:31]OFD Sender: No OFD packet to send [17:07:36]OFD Sender: No OFD packet to send [17:07:41]OFD Sender: No OFD packet to send [17:07:46]OFD Sender: No OFD packet to send [17:07:51]OFD Sender: No OFD packet to send [17:07:56]OFD Sender: No OFD packet to send [17:08:01]OFD Sender: No OFD packet to send [17:08:06]OFD Sender: No OFD packet to send [17:08:11]OFD Sender: No OFD packet to send [17:08:16]OFD Sender: No OFD packet to send [17:08:21]OFD Sender: No OFD packet to send [17:08:26]OFD Sender: No OFD packet to send [17:08:31]OFD Sender: No OFD packet to send [17:08:36]OFD Sender: No OFD packet to send [17:08:41]OFD Sender: No OFD packet to send [17:08:46]OFD Sender: No OFD packet to send [17:08:51]OFD Sender: No OFD packet to send [17:08:56]OFD Sender: No OFD packet to send [17:09:01]OFD Sender: No OFD packet to send [17:09:06]OFD Sender: No OFD packet to send [17:09:11]OFD Sender: No OFD packet to send [17:09:16]OFD Sender: No OFD packet to send [17:09:21]OFD Sender: No OFD packet to send [17:09:26]OFD Sender: No OFD packet to send [17:09:31]OFD Sender: No OFD packet to send [17:09:36]OFD Sender: No OFD packet to send [17:09:41]OFD Sender: No OFD packet to send [17:09:46]OFD Sender: No OFD packet to send [17:09:51]OFD Sender: No OFD packet to send [17:09:56]OFD Sender: No OFD packet to send [17:10:01]OFD Sender: No OFD packet to send [17:10:06]OFD Sender: No OFD packet to send [17:10:11]OFD Sender: No OFD packet to send [17:10:16]OFD Sender: No OFD packet to send [17:10:21]OFD Sender: No OFD packet to send [17:10:26]OFD Sender: No OFD packet to send [17:10:31]OFD Sender: No OFD packet to send [17:10:36]OFD Sender: No OFD packet to send [17:10:41]OFD Sender: No OFD packet to send [17:10:46]OFD Sender: No OFD packet to send [17:10:51]OFD Sender: No OFD packet to send [17:10:56]OFD Sender: No OFD packet to send [17:11:01]OFD Sender: No OFD packet to send [17:11:06]OFD Sender: No OFD packet to send [17:11:11]OFD Sender: No OFD packet to send [17:11:16]OFD Sender: No OFD packet to send [17:11:21]OFD Sender: No OFD packet to send [17:11:26]OFD Sender: No OFD packet to send [17:11:31]OFD Sender: No OFD packet to send [17:11:36]OFD Sender: No OFD packet to send [17:11:41]OFD Sender: No OFD packet to send [17:11:46]OFD Sender: No OFD packet to send [17:11:51]OFD Sender: No OFD packet to send [17:11:56]OFD Sender: No OFD packet to send [17:12:01]OFD Sender: No OFD packet to send [17:12:06]OFD Sender: No OFD packet to send [17:12:11]OFD Sender: No OFD packet to send [17:12:16]OFD Sender: No OFD packet to send [17:12:21]OFD Sender: No OFD packet to send [17:12:26]OFD Sender: No OFD packet to send [17:12:31]OFD Sender: No OFD packet to send [17:12:36]OFD Sender: No OFD packet to send [17:12:41]OFD Sender: No OFD packet to send [17:12:46]OFD Sender: No OFD packet to send [17:12:51]OFD Sender: No OFD packet to send [17:12:56]OFD Sender: No OFD packet to send [17:13:01]OFD Sender: No OFD packet to send [17:13:06]OFD Sender: No OFD packet to send [17:13:11]OFD Sender: No OFD packet to send [17:13:16]OFD Sender: No OFD packet to send [17:13:21]OFD Sender: No OFD packet to send [17:13:26]OFD Sender: No OFD packet to send [17:13:31]OFD Sender: No OFD packet to send [17:13:36]OFD Sender: No OFD packet to send [17:13:41]OFD Sender: No OFD packet to send [17:13:46]OFD Sender: No OFD packet to send [17:13:51]OFD Sender: No OFD packet to send [17:13:56]OFD Sender: No OFD packet to send [17:14:01]OFD Sender: No OFD packet to send [17:14:06]OFD Sender: No OFD packet to send [17:14:11]OFD Sender: No OFD packet to send [17:14:16]OFD Sender: No OFD packet to send [17:14:21]OFD Sender: No OFD packet to send [17:14:26]OFD Sender: No OFD packet to send [17:14:31]OFD Sender: No OFD packet to send [17:14:36]OFD Sender: No OFD packet to send [17:14:41]OFD Sender: No OFD packet to send [17:14:46]OFD Sender: No OFD packet to send [17:14:51]OFD Sender: No OFD packet to send [17:14:56]OFD Sender: No OFD packet to send [17:15:01]OFD Sender: No OFD packet to send [17:15:06]OFD Sender: No OFD packet to send [17:15:11]OFD Sender: No OFD packet to send [17:15:16]OFD Sender: No OFD packet to send [17:15:21]OFD Sender: No OFD packet to send [17:15:26]OFD Sender: No OFD packet to send [17:15:31]OFD Sender: No OFD packet to send [17:15:36]OFD Sender: No OFD packet to send [17:15:41]OFD Sender: No OFD packet to send [17:15:46]OFD Sender: No OFD packet to send [17:15:51]OFD Sender: No OFD packet to send [17:15:56]OFD Sender: No OFD packet to send [17:16:01]OFD Sender: No OFD packet to send [17:16:06]OFD Sender: No OFD packet to send [17:16:11]OFD Sender: No OFD packet to send [17:16:16]OFD Sender: No OFD packet to send [17:16:21]OFD Sender: No OFD packet to send [17:16:26]OFD Sender: No OFD packet to send [17:16:31]OFD Sender: No OFD packet to send [17:16:36]OFD Sender: No OFD packet to send [17:16:41]OFD Sender: No OFD packet to send [17:16:46]OFD Sender: No OFD packet to send [17:16:51]OFD Sender: No OFD packet to send [17:16:56]OFD Sender: No OFD packet to send [17:17:01]OFD Sender: No OFD packet to send [17:17:06]OFD Sender: No OFD packet to send [17:17:11]OFD Sender: No OFD packet to send [17:17:16]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]accept exits with 8 [17:19:11]New connection [17:19:11]New thread 3066871140 created [17:19:11]Thread 3067014500 joined [17:19:11]Waiting for new connection... [17:19:11] Sock 8.Parse request [17:19:11]Sock 8.Check first char [17:19:11]Sock 8.First char is OK [17:19:11]request: POST /json_proto HTTP/1.0 [17:19:11]Method: POST [17:19:11]URL: /json_proto [17:19:11]Method is POST - this is cgi request [17:19:11]url: /json_proto [17:19:11]query_string will be loaded in cgi processing [17:19:11]execute_cgi json_proto POST (null) [17:19:11]execute_cgi path=json_proto method=POST [17:19:11]POST find Content-Length [17:19:11]Host: 172.17.35.3:8080 [17:19:11]Content-Length: 687 [17:19:11]Content-Type: application/json [17:19:11] [17:19:11]POST finish read [17:19:11]Found Content-Length = 687 [17:19:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359585", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:19:11]execute_script... [17:19:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359585", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:19:11]POST & json_proto [17:19:11]process_json_proto [17:19:11]json parsed OK: [17:19:11]protocol is kg_v1.0 [17:19:11]action value=close_receipt [17:19:11]process_action close_receipt [17:19:11]cmd_close_receipt [17:19:11]MH_GetDate [17:19:11]Write to MH i2c: F0 00 00 0D 43 3F [17:19:11]Write i2c OK [17:19:11]MH_I2C_Read... [17:19:11]Read from MH i2c: F0 [17:19:11]MH_I2C_Read... [17:19:11]Read from MH i2c: F0 09 00 [17:19:11]MH_I2C_Read... [17:19:11]Read from MH i2c: F0 09 00 0D 43 00 1E 27 14 66 2B 11 66 64 0D [17:19:11]GetLastDocTimeStamp 1712593221 [17:19:11]current date 1712596766 [17:19:11]FM_GetShiftState [17:19:11]SAM_PROTO_GetShiftState [17:19:11]wFMCommunicate request_size=4 [17:19:11]MH_SAM_APDU [17:19:11]CAPDU: 80 13 01 00 [17:19:11]Write to MH i2c: E2 08 00 0E 43 80 13 01 00 00 00 00 00 CE [17:19:11]Write i2c OK [17:19:11]MH_I2C_Read... [17:19:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:19:11]Read from MH i2c: E2 [17:19:11]MH_I2C_Read... [17:19:11]Read from MH i2c: E2 0E 00 [17:19:11]MH_I2C_Read... [17:19:11]Read from MH i2c: E2 0E 00 0E 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5B [17:19:11]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:19:11]wFMCommunicate OK [17:19:11]SAM_PROTO_GetShiftState done [17:19:11]FM_GetShiftState done [17:19:11]opened in 1712536270 [17:19:11]opened+sec_in_day 1712622670 [17:19:11]quantity*price = 100017 [17:19:11]sum+1 = 100018 [17:19:11]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 52 08.04.2024 17:19 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26839 ФПД: 138926887845649 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T171926&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26839&fm=138926887845649&tin=02508201610067®Number=0000000000091578&sum=100000 [17:19:12]StoreToDocumentArchive [17:19:12]shift 314 fd 26839 [17:19:12]save to /storage/0314/doc_00026839 [17:19:12]save last doc name /storage/0314/doc_00026839 to /storage/kkm_last_doc_name [17:19:12]save OK [17:19:12]Clear old archive folders... [17:19:12]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:19:12]tlvbuf is 00E93760 [17:19:12]SAM_PROTO_ClearQueue [17:19:12]wFMCommunicate request_size=4 [17:19:12]MH_SAM_APDU [17:19:12]CAPDU: 80 09 00 00 [17:19:12]Write to MH i2c: E2 08 00 1B 43 80 09 00 00 00 00 00 00 D0 [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:19:12]Read from MH i2c: E2 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 1B 43 00 90 00 D2 [17:19:12]RAPDU: 90 00 [17:19:12]wFMCommunicate OK [17:19:12]SAM_PROTO_ClearQueue done [17:19:12]KKMCreateOFDPacket [17:19:12]OFDProtocolAddRootSTLVToBuf [17:19:12]FM_MakeSignedData [17:19:12]FM_MakeSignedData [17:19:12]SAM_PROTO_SignData [17:19:12]wFMCommunicate request_size=4 [17:19:12]MH_SAM_APDU [17:19:12]CAPDU: 80 0D 01 02 [17:19:12]Write to MH i2c: E2 08 00 1C 43 80 0D 01 02 00 00 00 00 D8 [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:19:12]Read from MH i2c: E2 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 1C 43 00 90 00 D3 [17:19:12]RAPDU: 90 00 [17:19:12]wFMCommunicate OK [17:19:12]wFMCommunicate request_size=255 [17:19:12]MH_SAM_APDU [17:19:12]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 1E 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D7 68 00 00 35 04 06 00 [17:19:12]Write to MH i2c: E2 02 01 1D 43 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 1E 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D7 68 00 00 35 04 06 00 00 00 00 [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:19:12]Read from MH i2c: E2 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 1D 43 00 90 00 D4 [17:19:12]RAPDU: 90 00 [17:19:12]wFMCommunicate OK [17:19:12]wFMCommunicate request_size=11 [17:19:12]MH_SAM_APDU [17:19:12]CAPDU: 80 0D 02 02 06 7E 5A 6F CC BF 11 [17:19:12]Write to MH i2c: E2 0E 00 1E 43 80 0D 02 02 06 00 7E 5A 6F CC BF 11 00 00 CA [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:19:12]Read from MH i2c: E2 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 03 00 1E 43 00 90 00 D5 [17:19:12]RAPDU: 90 00 [17:19:12]wFMCommunicate OK [17:19:12]wFMCommunicate request_size=4 [17:19:12]MH_SAM_APDU [17:19:12]CAPDU: 80 0D 03 02 [17:19:12]Write to MH i2c: E2 08 00 1F 43 80 0D 03 02 00 00 00 00 DD [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:19:12]Read from MH i2c: E2 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 0B 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 0B 00 1F 43 00 73 93 61 D3 98 4B F9 EC 90 00 E0 [17:19:12]RAPDU: 73 93 61 D3 98 4B F9 EC 90 00 [17:19:12]wFMCommunicate OK [17:19:12]SAM_PROTO_SignData done [17:19:12]FM_MakeSignedData done [17:19:12]CreateOFDProtocolMessage [17:19:12]wFMCommunicate request_size=4 [17:19:12]MH_SAM_APDU [17:19:12]CAPDU: 80 11 00 00 [17:19:12]Write to MH i2c: E2 08 00 20 43 80 11 00 00 00 00 00 00 DD [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:19:12]Read from MH i2c: E2 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 17 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: E2 17 00 20 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 35 [17:19:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:19:12]wFMCommunicate OK [17:19:12]CreateOFDProtocolMessage done [17:19:12]OFDSenderStorePacket 26839 [17:19:12]StoreOFDPacket docnum=26839 [17:19:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 ED 98 08 01 72 4B 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 1E 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D7 68 00 00 35 04 06 00 7E 5A 6F CC BF 11 73 93 61 D3 98 4B F9 EC [17:19:12]CheckFolder [17:19:12]dirname=/storage/ofd_packets [17:19:12]CheckFolder done [17:19:12]ProducePacketName [17:19:12]name=ofd_packets/00026839 [17:19:12]NVStorageSaveData ofd_packets/00026839 [17:19:12]File name is /storage/ofd_packets/00026839 [17:19:12]Write 302 bytes [17:19:12]NVStorageSaveData done [17:19:12]OFDSenderStorePacket done [17:19:12]KKMCreateOFDPacket done [17:19:12]NVStorageSaveData kkm_last_timestamp [17:19:12]File name is /storage/kkm_last_timestamp [17:19:12]Write 4 bytes [17:19:12]NVStorageSaveData done [17:19:12]ExternCall_PrintAddStr [17:19:12]wPrintStart [17:19:12]Write to MH i2c: 01 00 00 21 43 64 [17:19:12]Write i2c OK [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: 01 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: 01 07 00 [17:19:12]MH_I2C_Read... [17:19:12]Read from MH i2c: 01 07 00 21 43 00 00 00 00 00 FF 0F 79 [17:19:12]RasterBufferAndPrint [17:19:12]line Счет N : (1)359585 [17:19:12]line ИÐÐ: 02508201610067 [17:19:12]line Контрольно-КаÑÑовый Чек [17:19:12]line ПРОДÐЖР[17:19:12]line ТРК (МРК, ГÐК) : 11 [17:19:12]line Товар: 2710194210 [17:19:12]line ДТ(л)-К-5 [17:19:12]line 13.930 * 71.80 [17:19:12]line = 1000.17 [17:19:12]line ÐДС 12% ÐСП 1% [17:19:12]line > о реализуемом товаре [17:19:12]line ОКРУГЛЕÐИЕ: -0.17 [17:19:12]line ИТОГО: 1000.00 [17:19:12]line ВнеÑено: 1000.00 [17:19:12]line СДÐЧÐ: 0.00 [17:19:12]line ÐСП 1% : 8.85 [17:19:12]line ÐДС 12% : 106.21 [17:19:12]line Ðаличными: 1000.00 [17:19:12]line Безнал.: 0.00 [17:19:12]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [17:19:12]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:19:12]line СÐО: Общий режим [17:19:12]line Чек 52 08.04.2024 17:19 [17:19:12]line Смена: 314 ФФД: 1.0 [17:19:12]line ЗÐМ: 0300000147 [17:19:12]line РÐМ: 0000000000091578 [17:19:12]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:19:12]line ФМ: 0000000000874657 [17:19:12]line ФД: 26839 [17:19:12]line ФПД: 138926887845649 [17:19:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T171926&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26839&fm=138926887845649&tin=02508201610067®Number=0000000000091578&sum=100000 [17:19:13]OFD Sender: Processing packet 26839 [packets to send 44, broken 43] [17:19:13]ProducePacketName [17:19:13]name=ofd_packets/00026839 [17:19:13]OFD Sender: To server: ‡•öpG, [17:19:13]CommunicateWithHost lk.salyk.kg:30040 [17:19:13]ConnectInit lk.salyk.kg [17:19:13]written 0, free lines is 4095 [17:19:13]Connected sock=11 [17:19:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 ED 98 08 01 72 4B 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 1E 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D7 68 00 00 35 04 06 00 7E 5A 6F CC BF 11 73 93 61 D3 98 4B F9 EC [17:19:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 38 20 47 00 1E C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D7 68 00 00 F4 03 04 00 88 CE 13 66 B6 04 01 00 00 65 E6 BF 5A C5 99 D0 5E [17:19:13]CommunicateWithHost err = 0 [17:19:13]CheckOFDResponse [17:19:13]1017 (14) - 77093643461234 [17:19:13]1041 (16) - 0000000000874657 [17:19:13]1040 (4) - 26839 [17:19:13]1012 (4) - 08.04.2024 11:01 [17:19:13]1206 (1) - 0 [17:19:13]OFD Sender: Remove packet 26839 [17:19:13]ProducePacketName [17:19:13]name=ofd_packets/00026839 [17:19:13]NVStorageDeleteData [17:19:13]Write to MH i2c: 01 00 00 4C 43 8F [17:19:13]Write i2c OK [17:19:13]MH_I2C_Read... [17:19:13]Read from MH i2c: 01 [17:19:13]MH_I2C_Read... [17:19:13]Read from MH i2c: 01 07 00 [17:19:13]MH_I2C_Read... [17:19:13]Read from MH i2c: 01 07 00 4C 43 00 00 00 00 00 72 0C 14 [17:19:13]RasterBufferAndPrint [17:19:13]line [17:19:13]line [17:19:13]line [17:19:13]line [17:19:13]line [17:19:13]written 0, free lines is 3188 [17:19:13]MH_Cut [17:19:13]Write to MH i2c: D1 01 00 53 43 01 68 [17:19:13]Write i2c OK [17:19:13]MH_I2C_Read... [17:19:13]Read from MH i2c: D1 [17:19:13]MH_I2C_Read... [17:19:13]Read from MH i2c: D1 01 00 [17:19:13]MH_I2C_Read... [17:19:13]Read from MH i2c: D1 01 00 53 43 00 67 [17:19:13]Write to MH i2c: 01 00 00 54 43 97 [17:19:13]Write i2c OK [17:19:13]MH_I2C_Read... [17:19:13]OFD Sender: No OFD packet to send [17:19:14]*** Cut start [17:19:14]*** Partial cut [17:19:14]*** CUTSNS_PIN = 1 [17:19:14]*** CUTSNS_PIN = 0 [17:19:15]*** Brake cut motor [17:19:15]Read from MH i2c: 01 [17:19:15]MH_I2C_Read... [17:19:15]*** Stop cut motor [17:19:15]*** Cut end [17:19:15]Read from MH i2c: 01 07 00 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: 01 07 00 54 43 00 00 00 00 00 FF 0F AC [17:19:15]process_action close_receipt done [17:19:15]requested_data is exist [17:19:15]produce_requested_data [17:19:15]requested_item fm.sn is exist - process it [17:19:15]wFMCommunicate request_size=4 [17:19:15]MH_SAM_APDU [17:19:15]CAPDU: 80 11 00 00 [17:19:15]Write to MH i2c: E2 08 00 55 43 80 11 00 00 00 00 00 00 12 [17:19:15]Write i2c OK [17:19:15]MH_I2C_Read... [17:19:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:19:15]Read from MH i2c: E2 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: E2 17 00 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: E2 17 00 55 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6A [17:19:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:19:15]wFMCommunicate OK [17:19:15]requested_item fd.num is exist - process it [17:19:15]SAM_PROTO_GetFieldsCounters [17:19:15]wFMCommunicate request_size=4 [17:19:15]MH_SAM_APDU [17:19:15]CAPDU: 80 13 00 00 [17:19:15]Write to MH i2c: E2 08 00 56 43 80 13 00 00 00 00 00 00 15 [17:19:15]Write i2c OK [17:19:15]MH_I2C_Read... [17:19:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:19:15]Read from MH i2c: E2 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: E2 62 00 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: E2 62 00 56 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 56 [17:19:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:19:15]wFMCommunicate OK [17:19:15]SAM_PROTO_GetFieldsCounters done [17:19:15]requested_item shift.num is exist - process it [17:19:15]requested_item shift.opened is exist - process it [17:19:15]req_shift_opened [17:19:15]FM_GetShiftState [17:19:15]SAM_PROTO_GetShiftState [17:19:15]wFMCommunicate request_size=4 [17:19:15]MH_SAM_APDU [17:19:15]CAPDU: 80 13 01 00 [17:19:15]Write to MH i2c: E2 08 00 57 43 80 13 01 00 00 00 00 00 17 [17:19:15]Write i2c OK [17:19:15]MH_I2C_Read... [17:19:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:19:15]Read from MH i2c: E2 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: E2 0E 00 [17:19:15]MH_I2C_Read... [17:19:15]Read from MH i2c: E2 0E 00 57 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A4 [17:19:15]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:19:15]wFMCommunicate OK [17:19:15]SAM_PROTO_GetShiftState done [17:19:15]FM_GetShiftState done [17:19:15]req_shift_opened done [17:19:15]requested_item shift.open_date is exist - process it [17:19:15]req_shift_open_date [17:19:15]req_shift_open_date done [17:19:15]produce_requested_data done [17:19:15]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26839,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [17:19:15]process_action_free close_receipt [17:19:15]json_value_free [17:19:15]json_value_free done [17:19:15]process_json_proto returns [17:19:15]Send response to host [17:19:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26839,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [17:19:15]free response buf [17:19:15]execute_script done [17:19:15]execute_script returns [17:19:15]free content buf [17:19:15]Sock 8.Close socket [17:19:15]Sock 8.Thread stoped [17:19:17]accept exits with 9 [17:19:17]New connection [17:19:17]New thread 3067014500 created [17:19:17]Thread 3066871140 joined [17:19:17]Waiting for new connection... [17:19:17] Sock 9.Parse request [17:19:17]Sock 9.Check first char [17:19:17]Sock 9.First char is OK [17:19:17]request: POST /json_proto HTTP/1.0 [17:19:17]Method: POST [17:19:17]URL: /json_proto [17:19:17]Method is POST - this is cgi request [17:19:17]url: /json_proto [17:19:17]query_string will be loaded in cgi processing [17:19:17]execute_cgi json_proto POST (null) [17:19:17]execute_cgi path=json_proto method=POST [17:19:17]POST find Content-Length [17:19:17]Host: 172.17.35.3:8080 [17:19:17]Content-Length: 743 [17:19:17]Content-Type: application/json [17:19:17] [17:19:17]POST finish read [17:19:17]Found Content-Length = 743 [17:19:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 26839, "base_FM": "0000000000874657", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359585", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:19:17]execute_script... [17:19:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 26839, "base_FM": "0000000000874657", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359585", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:19:17]POST & json_proto [17:19:17]process_json_proto [17:19:17]json parsed OK: [17:19:17]protocol is kg_v1.0 [17:19:17]action value=close_receipt [17:19:17]process_action close_receipt [17:19:17]cmd_close_receipt [17:19:17]MH_GetDate [17:19:17]Write to MH i2c: F0 00 00 58 43 8A [17:19:17]Write i2c OK [17:19:17]MH_I2C_Read... [17:19:17]Read from MH i2c: F0 [17:19:17]MH_I2C_Read... [17:19:17]Read from MH i2c: F0 09 00 [17:19:17]MH_I2C_Read... [17:19:17]Read from MH i2c: F0 09 00 58 43 00 25 27 14 66 2B 11 66 64 5F [17:19:17]GetLastDocTimeStamp 1712596766 [17:19:17]current date 1712596773 [17:19:17]FM_GetShiftState [17:19:17]SAM_PROTO_GetShiftState [17:19:17]wFMCommunicate request_size=4 [17:19:17]MH_SAM_APDU [17:19:17]CAPDU: 80 13 01 00 [17:19:17]Write to MH i2c: E2 08 00 59 43 80 13 01 00 00 00 00 00 19 [17:19:17]Write i2c OK [17:19:17]MH_I2C_Read... [17:19:17]Read from MH i2c: E2 [17:19:17]MH_I2C_Read... [17:19:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:19:17]Read from MH i2c: E2 0E 00 [17:19:17]MH_I2C_Read... [17:19:17]Read from MH i2c: E2 0E 00 59 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A6 [17:19:17]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:19:17]wFMCommunicate OK [17:19:17]SAM_PROTO_GetShiftState done [17:19:17]FM_GetShiftState done [17:19:17]opened in 1712536270 [17:19:17]opened+sec_in_day 1712622670 [17:19:17]quantity*price = 100017 [17:19:17]sum+1 = 100018 [17:19:17]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 53 08.04.2024 17:19 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФД оÑн.: 26839 ФМ оÑн.: 0000000000874657 ФМ: 0000000000874657 ФД: 26840 ФПД: 125285361326146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T171933&type=2&operation_type=1&fn_number=0000000000874657&fd_number=26840&fm=125285361326146&tin=02508201610067®Number=0000000000091578&sum=100000 [17:19:18]StoreToDocumentArchive [17:19:18]shift 314 fd 26840 [17:19:18]save to /storage/0314/doc_00026840 [17:19:18]save last doc name /storage/0314/doc_00026840 to /storage/kkm_last_doc_name [17:19:18]save OK [17:19:18]Clear old archive folders... [17:19:18]ProcessDocumentItem done err = 0, tmpTLVsize=280 [17:19:18]tlvbuf is 00E9E5F0 [17:19:18]SAM_PROTO_ClearQueue [17:19:18]wFMCommunicate request_size=4 [17:19:18]MH_SAM_APDU [17:19:18]CAPDU: 80 09 00 00 [17:19:18]Write to MH i2c: E2 08 00 68 43 80 09 00 00 00 00 00 00 1D [17:19:18]Write i2c OK [17:19:18]MH_I2C_Read... [17:19:18]OFD Sender: No OFD packet to send [17:19:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:19:18]Read from MH i2c: E2 [17:19:18]MH_I2C_Read... [17:19:18]Read from MH i2c: E2 03 00 [17:19:18]MH_I2C_Read... [17:19:18]Read from MH i2c: E2 03 00 68 43 00 90 00 1F [17:19:18]RAPDU: 90 00 [17:19:18]wFMCommunicate OK [17:19:18]SAM_PROTO_ClearQueue done [17:19:18]KKMCreateOFDPacket [17:19:18]OFDProtocolAddRootSTLVToBuf [17:19:18]FM_MakeSignedData [17:19:18]FM_MakeSignedData [17:19:18]SAM_PROTO_SignData [17:19:18]wFMCommunicate request_size=4 [17:19:18]MH_SAM_APDU [17:19:18]CAPDU: 80 0D 01 02 [17:19:18]Write to MH i2c: E2 08 00 69 43 80 0D 01 02 00 00 00 00 25 [17:19:18]Write i2c OK [17:19:18]MH_I2C_Read... [17:19:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:19:19]Read from MH i2c: E2 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 03 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 03 00 69 43 00 90 00 20 [17:19:19]RAPDU: 90 00 [17:19:19]wFMCommunicate OK [17:19:19]wFMCommunicate request_size=255 [17:19:19]MH_SAM_APDU [17:19:19]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 02 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 25 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 27 04 04 00 D7 68 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 11 04 10 00 [17:19:19]Write to MH i2c: E2 02 01 6A 43 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 02 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 25 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 27 04 04 00 D7 68 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 11 04 10 00 00 00 87 [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:19:19]Read from MH i2c: E2 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 03 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 03 00 6A 43 00 90 00 21 [17:19:19]RAPDU: 90 00 [17:19:19]wFMCommunicate OK [17:19:19]wFMCommunicate request_size=39 [17:19:19]MH_SAM_APDU [17:19:19]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D8 68 00 00 35 04 06 00 71 F2 45 75 18 42 [17:19:19]Write to MH i2c: E2 2A 00 6B 43 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D8 68 00 00 35 04 06 00 71 F2 45 75 18 42 00 00 9F [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:19:19]Read from MH i2c: E2 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 03 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 03 00 6B 43 00 90 00 22 [17:19:19]RAPDU: 90 00 [17:19:19]wFMCommunicate OK [17:19:19]wFMCommunicate request_size=4 [17:19:19]MH_SAM_APDU [17:19:19]CAPDU: 80 0D 03 02 [17:19:19]Write to MH i2c: E2 08 00 6C 43 80 0D 03 02 00 00 00 00 2A [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:19:19]Read from MH i2c: E2 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 0B 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 0B 00 6C 43 00 D5 FE 82 DD A8 B6 40 5F 90 00 5A [17:19:19]RAPDU: D5 FE 82 DD A8 B6 40 5F 90 00 [17:19:19]wFMCommunicate OK [17:19:19]SAM_PROTO_SignData done [17:19:19]FM_MakeSignedData done [17:19:19]CreateOFDProtocolMessage [17:19:19]wFMCommunicate request_size=4 [17:19:19]MH_SAM_APDU [17:19:19]CAPDU: 80 11 00 00 [17:19:19]Write to MH i2c: E2 08 00 6D 43 80 11 00 00 00 00 00 00 2A [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:19:19]Read from MH i2c: E2 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 17 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: E2 17 00 6D 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 82 [17:19:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:19:19]wFMCommunicate OK [17:19:19]CreateOFDProtocolMessage done [17:19:19]OFDSenderStorePacket 26840 [17:19:19]StoreOFDPacket docnum=26840 [17:19:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 2C 01 00 00 7B BC 24 01 BF BE 5A 03 01 00 03 00 18 01 1E 04 01 00 02 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 25 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 27 04 04 00 D7 68 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D8 68 00 00 35 04 06 00 71 F2 45 75 18 42 D5 FE 82 DD A8 B6 40 5F [17:19:19]CheckFolder [17:19:19]dirname=/storage/ofd_packets [17:19:19]CheckFolder done [17:19:19]ProducePacketName [17:19:19]name=ofd_packets/00026840 [17:19:19]NVStorageSaveData ofd_packets/00026840 [17:19:19]File name is /storage/ofd_packets/00026840 [17:19:19]Write 330 bytes [17:19:19]NVStorageSaveData done [17:19:19]OFDSenderStorePacket done [17:19:19]KKMCreateOFDPacket done [17:19:19]NVStorageSaveData kkm_last_timestamp [17:19:19]File name is /storage/kkm_last_timestamp [17:19:19]Write 4 bytes [17:19:19]NVStorageSaveData done [17:19:19]ExternCall_PrintAddStr [17:19:19]wPrintStart [17:19:19]Write to MH i2c: 01 00 00 6E 43 B1 [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: 01 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: 01 07 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: 01 07 00 6E 43 00 00 00 00 00 FF 0F C6 [17:19:19]RasterBufferAndPrint [17:19:19]line Счет N : (1)359585 [17:19:19]line ИÐÐ: 02508201610067 [17:19:19]line Контрольно-КаÑÑовый Чек [17:19:19]line ВОЗВРÐТ ПРОДÐЖИ [17:19:19]line ТРК (МРК, ГÐК) : 11 [17:19:19]line Товар: 2710194210 [17:19:19]line ДТ(л)-К-5 [17:19:19]line 13.930 * 71.80 [17:19:19]line = 1000.17 [17:19:19]line ÐДС 12% ÐСП 1% [17:19:19]line > о реализуемом товаре [17:19:19]line ОКРУГЛЕÐИЕ: -0.17 [17:19:19]line ИТОГО: 1000.00 [17:19:19]line ÐСП 1% : 8.85 [17:19:19]line ÐДС 12% : 106.21 [17:19:19]line Ðаличными: 1000.00 [17:19:19]line Безнал.: 0.00 [17:19:19]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [17:19:19]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:19:19]line СÐО: Общий режим [17:19:19]line Чек 53 08.04.2024 17:19 [17:19:19]line Смена: 314 ФФД: 1.0 [17:19:19]line ЗÐМ: 0300000147 [17:19:19]line РÐМ: 0000000000091578 [17:19:19]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:19:19]line ФД оÑн.: 26839 [17:19:19]line ФМ оÑн.: 0000000000874657 [17:19:19]line ФМ: 0000000000874657 [17:19:19]line ФД: 26840 [17:19:19]line ФПД: 125285361326146 [17:19:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T171933&type=2&operation_type=1&fn_number=0000000000874657&fd_number=26840&fm=125285361326146&tin=02508201610067®Number=0000000000091578&sum=100000 [17:19:19]written 0, free lines is 4095 [17:19:19]OFD Sender: Processing packet 26840 [packets to send 44, broken 43] [17:19:19]ProducePacketName [17:19:19]name=ofd_packets/00026840 [17:19:19]OFD Sender: To server: ‡•öpG, [17:19:19]CommunicateWithHost lk.salyk.kg:30040 [17:19:19]ConnectInit lk.salyk.kg [17:19:19]Connected sock=10 [17:19:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 2C 01 00 00 7B BC 24 01 BF BE 5A 03 01 00 03 00 18 01 1E 04 01 00 02 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 25 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 27 04 04 00 D7 68 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D8 68 00 00 35 04 06 00 71 F2 45 75 18 42 D5 FE 82 DD A8 B6 40 5F [17:19:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 F4 80 47 00 BF 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D8 68 00 00 F4 03 04 00 8E CE 13 66 B6 04 01 00 00 88 7D AD B1 2A A0 C9 AF [17:19:19]CommunicateWithHost err = 0 [17:19:19]CheckOFDResponse [17:19:19]1017 (14) - 77093643461234 [17:19:19]1041 (16) - 0000000000874657 [17:19:19]1040 (4) - 26840 [17:19:19]1012 (4) - 08.04.2024 11:01 [17:19:19]1206 (1) - 0 [17:19:19]OFD Sender: Remove packet 26840 [17:19:19]ProducePacketName [17:19:19]name=ofd_packets/00026840 [17:19:19]NVStorageDeleteData [17:19:19]Write to MH i2c: 01 00 00 99 43 DC [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: 01 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: 01 07 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: 01 07 00 99 43 00 00 00 00 00 7D 0C 6C [17:19:19]RasterBufferAndPrint [17:19:19]line [17:19:19]line [17:19:19]line [17:19:19]line [17:19:19]line [17:19:19]written 0, free lines is 3203 [17:19:19]MH_Cut [17:19:19]Write to MH i2c: D1 01 00 A0 43 01 B5 [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: D1 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: D1 01 00 [17:19:19]MH_I2C_Read... [17:19:19]Read from MH i2c: D1 01 00 A0 43 00 B4 [17:19:19]Write to MH i2c: 01 00 00 A1 43 E4 [17:19:19]Write i2c OK [17:19:19]MH_I2C_Read... [17:19:20]OFD Sender: No OFD packet to send [17:19:21]*** Cut start [17:19:21]*** Partial cut [17:19:21]*** CUTSNS_PIN = 1 [17:19:21]*** CUTSNS_PIN = 0 [17:19:21]*** Brake cut motor [17:19:21]Read from MH i2c: 01 [17:19:21]MH_I2C_Read... [17:19:21]*** Stop cut motor [17:19:21]*** Cut end [17:19:21]Read from MH i2c: 01 07 00 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: 01 07 00 A1 43 00 00 00 00 00 FF 0F F9 [17:19:21]process_action close_receipt done [17:19:21]requested_data is exist [17:19:21]produce_requested_data [17:19:21]requested_item fm.sn is exist - process it [17:19:21]wFMCommunicate request_size=4 [17:19:21]MH_SAM_APDU [17:19:21]CAPDU: 80 11 00 00 [17:19:21]Write to MH i2c: E2 08 00 A2 43 80 11 00 00 00 00 00 00 5F [17:19:21]Write i2c OK [17:19:21]MH_I2C_Read... [17:19:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:19:21]Read from MH i2c: E2 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: E2 17 00 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: E2 17 00 A2 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B7 [17:19:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:19:21]wFMCommunicate OK [17:19:21]requested_item fd.num is exist - process it [17:19:21]SAM_PROTO_GetFieldsCounters [17:19:21]wFMCommunicate request_size=4 [17:19:21]MH_SAM_APDU [17:19:21]CAPDU: 80 13 00 00 [17:19:21]Write to MH i2c: E2 08 00 A3 43 80 13 00 00 00 00 00 00 62 [17:19:21]Write i2c OK [17:19:21]MH_I2C_Read... [17:19:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:19:21]Read from MH i2c: E2 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: E2 62 00 [17:19:21]MH_I2C_Read... [17:19:21]Read from MH i2c: E2 62 00 A3 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 A7 [17:19:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:19:21]wFMCommunicate OK [17:19:21]SAM_PROTO_GetFieldsCounters done [17:19:21]requested_item shift.num is exist - process it [17:19:21]requested_item shift.opened is exist - process it [17:19:21]req_shift_opened [17:19:21]FM_GetShiftState [17:19:21]SAM_PROTO_GetShiftState [17:19:21]wFMCommunicate request_size=4 [17:19:21]MH_SAM_APDU [17:19:21]CAPDU: 80 13 01 00 [17:19:21]Write to MH i2c: E2 08 00 A4 43 80 13 01 00 00 00 00 00 64 [17:19:21]Write i2c OK [17:19:22]MH_I2C_Read... [17:19:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:19:22]Read from MH i2c: E2 [17:19:22]MH_I2C_Read... [17:19:22]Read from MH i2c: E2 0E 00 [17:19:22]MH_I2C_Read... [17:19:22]Read from MH i2c: E2 0E 00 A4 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 F1 [17:19:22]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:19:22]wFMCommunicate OK [17:19:22]SAM_PROTO_GetShiftState done [17:19:22]FM_GetShiftState done [17:19:22]req_shift_opened done [17:19:22]requested_item shift.open_date is exist - process it [17:19:22]req_shift_open_date [17:19:22]req_shift_open_date done [17:19:22]produce_requested_data done [17:19:22]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26840,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [17:19:22]process_action_free close_receipt [17:19:22]json_value_free [17:19:22]json_value_free done [17:19:22]process_json_proto returns [17:19:22]Send response to host [17:19:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26840,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [17:19:22]free response buf [17:19:22]execute_script done [17:19:22]execute_script returns [17:19:22]free content buf [17:19:22]Sock 9.Close socket [17:19:22]Sock 9.Thread stoped [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:25]accept exits with 8 [17:20:25]New connection [17:20:25]New thread 3066871140 created [17:20:25]Thread 3067014500 joined [17:20:25]Waiting for new connection... [17:20:25] Sock 8.Parse request [17:20:25]Sock 8.Check first char [17:20:25]Sock 8.First char is OK [17:20:25]request: POST /json_proto HTTP/1.0 [17:20:25]Method: POST [17:20:25]URL: /json_proto [17:20:25]Method is POST - this is cgi request [17:20:25]url: /json_proto [17:20:25]query_string will be loaded in cgi processing [17:20:25]execute_cgi json_proto POST (null) [17:20:25]execute_cgi path=json_proto method=POST [17:20:25]POST find Content-Length [17:20:25]Host: 172.17.35.3:8080 [17:20:25]Content-Length: 682 [17:20:25]Content-Type: application/json [17:20:25] [17:20:25]POST finish read [17:20:25]Found Content-Length = 682 [17:20:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359586", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:25]execute_script... [17:20:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359586", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:25]POST & json_proto [17:20:25]process_json_proto [17:20:25]json parsed OK: [17:20:25]protocol is kg_v1.0 [17:20:25]action value=close_receipt [17:20:25]process_action close_receipt [17:20:25]cmd_close_receipt [17:20:25]MH_GetDate [17:20:25]Write to MH i2c: F0 00 00 A5 43 D7 [17:20:25]Write i2c OK [17:20:25]MH_I2C_Read... [17:20:25]Read from MH i2c: F0 [17:20:25]MH_I2C_Read... [17:20:25]Read from MH i2c: F0 09 00 [17:20:25]MH_I2C_Read... [17:20:25]Read from MH i2c: F0 09 00 A5 43 00 69 27 14 66 2B 11 66 64 F0 [17:20:25]GetLastDocTimeStamp 1712596773 [17:20:25]current date 1712596841 [17:20:25]FM_GetShiftState [17:20:25]SAM_PROTO_GetShiftState [17:20:25]wFMCommunicate request_size=4 [17:20:25]MH_SAM_APDU [17:20:25]CAPDU: 80 13 01 00 [17:20:25]Write to MH i2c: E2 08 00 A6 43 80 13 01 00 00 00 00 00 66 [17:20:25]Write i2c OK [17:20:25]MH_I2C_Read... [17:20:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:25]Read from MH i2c: E2 [17:20:25]MH_I2C_Read... [17:20:25]Read from MH i2c: E2 0E 00 [17:20:25]MH_I2C_Read... [17:20:25]Read from MH i2c: E2 0E 00 A6 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 F3 [17:20:25]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:20:25]wFMCommunicate OK [17:20:25]SAM_PROTO_GetShiftState done [17:20:25]FM_GetShiftState done [17:20:25]opened in 1712536270 [17:20:25]opened+sec_in_day 1712622670 [17:20:25]quantity*price = 100045 [17:20:25]sum+1 = 100046 [17:20:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 54 08.04.2024 17:20 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26841 ФПД: 255511628547501 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T172041&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26841&fm=255511628547501&tin=02508201610067®Number=0000000000091578&sum=100000 [17:20:26]StoreToDocumentArchive [17:20:26]shift 314 fd 26841 [17:20:26]save to /storage/0314/doc_00026841 [17:20:26]save last doc name /storage/0314/doc_00026841 to /storage/kkm_last_doc_name [17:20:26]save OK [17:20:26]Clear old archive folders... [17:20:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [17:20:26]tlvbuf is 00F51410 [17:20:26]SAM_PROTO_ClearQueue [17:20:26]wFMCommunicate request_size=4 [17:20:26]MH_SAM_APDU [17:20:26]CAPDU: 80 09 00 00 [17:20:26]Write to MH i2c: E2 08 00 B3 43 80 09 00 00 00 00 00 00 68 [17:20:26]Write i2c OK [17:20:26]MH_I2C_Read... [17:20:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:20:27]Read from MH i2c: E2 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 B3 43 00 90 00 6A [17:20:27]RAPDU: 90 00 [17:20:27]wFMCommunicate OK [17:20:27]SAM_PROTO_ClearQueue done [17:20:27]KKMCreateOFDPacket [17:20:27]OFDProtocolAddRootSTLVToBuf [17:20:27]FM_MakeSignedData [17:20:27]FM_MakeSignedData [17:20:27]SAM_PROTO_SignData [17:20:27]wFMCommunicate request_size=4 [17:20:27]MH_SAM_APDU [17:20:27]CAPDU: 80 0D 01 02 [17:20:27]Write to MH i2c: E2 08 00 B4 43 80 0D 01 02 00 00 00 00 70 [17:20:27]Write i2c OK [17:20:27]MH_I2C_Read... [17:20:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:20:27]Read from MH i2c: E2 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 B4 43 00 90 00 6B [17:20:27]RAPDU: 90 00 [17:20:27]wFMCommunicate OK [17:20:27]wFMCommunicate request_size=255 [17:20:27]MH_SAM_APDU [17:20:27]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 69 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D9 68 00 00 35 04 06 00 E8 [17:20:27]Write to MH i2c: E2 02 01 B5 43 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 69 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D9 68 00 00 35 04 06 00 E8 00 00 A8 [17:20:27]Write i2c OK [17:20:27]MH_I2C_Read... [17:20:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:27]Read from MH i2c: E2 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 B5 43 00 90 00 6C [17:20:27]RAPDU: 90 00 [17:20:27]wFMCommunicate OK [17:20:27]wFMCommunicate request_size=10 [17:20:27]MH_SAM_APDU [17:20:27]CAPDU: 80 0D 02 02 05 62 EF DB 05 AD [17:20:27]Write to MH i2c: E2 0D 00 B6 43 80 0D 02 02 05 00 62 EF DB 05 AD 00 00 5B [17:20:27]Write i2c OK [17:20:27]MH_I2C_Read... [17:20:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:27]Read from MH i2c: E2 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 03 00 B6 43 00 90 00 6D [17:20:27]RAPDU: 90 00 [17:20:27]wFMCommunicate OK [17:20:27]wFMCommunicate request_size=4 [17:20:27]MH_SAM_APDU [17:20:27]CAPDU: 80 0D 03 02 [17:20:27]Write to MH i2c: E2 08 00 B7 43 80 0D 03 02 00 00 00 00 75 [17:20:27]Write i2c OK [17:20:27]MH_I2C_Read... [17:20:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:20:27]Read from MH i2c: E2 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 0B 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 0B 00 B7 43 00 17 34 13 E6 6B 2E 8E 82 90 00 63 [17:20:27]RAPDU: 17 34 13 E6 6B 2E 8E 82 90 00 [17:20:27]wFMCommunicate OK [17:20:27]SAM_PROTO_SignData done [17:20:27]FM_MakeSignedData done [17:20:27]CreateOFDProtocolMessage [17:20:27]wFMCommunicate request_size=4 [17:20:27]MH_SAM_APDU [17:20:27]CAPDU: 80 11 00 00 [17:20:27]Write to MH i2c: E2 08 00 B8 43 80 11 00 00 00 00 00 00 75 [17:20:27]Write i2c OK [17:20:27]MH_I2C_Read... [17:20:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:27]Read from MH i2c: E2 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 17 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: E2 17 00 B8 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CD [17:20:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:20:27]wFMCommunicate OK [17:20:27]CreateOFDProtocolMessage done [17:20:27]OFDSenderStorePacket 26841 [17:20:27]StoreOFDPacket docnum=26841 [17:20:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 71 59 07 01 E3 5D 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 69 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D9 68 00 00 35 04 06 00 E8 62 EF DB 05 AD 17 34 13 E6 6B 2E 8E 82 [17:20:27]CheckFolder [17:20:27]dirname=/storage/ofd_packets [17:20:27]CheckFolder done [17:20:27]ProducePacketName [17:20:27]name=ofd_packets/00026841 [17:20:27]NVStorageSaveData ofd_packets/00026841 [17:20:27]File name is /storage/ofd_packets/00026841 [17:20:27]Write 301 bytes [17:20:27]NVStorageSaveData done [17:20:27]OFDSenderStorePacket done [17:20:27]KKMCreateOFDPacket done [17:20:27]NVStorageSaveData kkm_last_timestamp [17:20:27]File name is /storage/kkm_last_timestamp [17:20:27]Write 4 bytes [17:20:27]NVStorageSaveData done [17:20:27]ExternCall_PrintAddStr [17:20:27]wPrintStart [17:20:27]Write to MH i2c: 01 00 00 B9 43 FC [17:20:27]Write i2c OK [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: 01 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: 01 07 00 [17:20:27]MH_I2C_Read... [17:20:27]Read from MH i2c: 01 07 00 B9 43 00 00 00 00 00 FF 0F 11 [17:20:27]RasterBufferAndPrint [17:20:27]line Счет N : (1)359586 [17:20:27]line ИÐÐ: 02508201610067 [17:20:27]line Контрольно-КаÑÑовый Чек [17:20:27]line ПРОДÐЖР[17:20:27]line ТРК (МРК, ГÐК) : 51 [17:20:27]line Товар: 2710124130 [17:20:27]line Ðи-92-К-5 [17:20:27]line 15.780 * 63.40 [17:20:27]line = 1000.45 [17:20:27]line ÐДС 12% ÐСП 1% [17:20:27]line > о реализуемом товаре [17:20:27]line ОКРУГЛЕÐИЕ: -0.45 [17:20:27]line ИТОГО: 1000.00 [17:20:27]line ВнеÑено: 1000.00 [17:20:27]line СДÐЧÐ: 0.00 [17:20:27]line ÐСП 1% : 8.85 [17:20:27]line ÐДС 12% : 106.24 [17:20:27]line Ðаличными: 1000.00 [17:20:27]line Безнал.: 0.00 [17:20:27]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [17:20:27]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:20:27]line СÐО: Общий режим [17:20:27]line Чек 54 08.04.2024 17:20 [17:20:27]line Смена: 314 ФФД: 1.0 [17:20:27]line ЗÐМ: 0300000147 [17:20:27]line РÐМ: 0000000000091578 [17:20:27]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:20:27]line ФМ: 0000000000874657 [17:20:27]line ФД: 26841 [17:20:27]line ФПД: 255511628547501 [17:20:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T172041&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26841&fm=255511628547501&tin=02508201610067®Number=0000000000091578&sum=100000 [17:20:27]OFD Sender: Processing packet 26841 [packets to send 44, broken 43] [17:20:27]ProducePacketName [17:20:27]name=ofd_packets/00026841 [17:20:27]OFD Sender: To server: ‡•öpG, [17:20:27]CommunicateWithHost lk.salyk.kg:30040 [17:20:27]ConnectInit lk.salyk.kg [17:20:27]written 0, free lines is 4095 [17:20:27]Connected sock=10 [17:20:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 71 59 07 01 E3 5D 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 69 27 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D9 68 00 00 35 04 06 00 E8 62 EF DB 05 AD 17 34 13 E6 6B 2E 8E 82 [17:20:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 11 48 47 00 23 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 D9 68 00 00 F4 03 04 00 D3 CE 13 66 B6 04 01 00 00 A5 A4 CE 66 98 D9 83 BE [17:20:28]CommunicateWithHost err = 0 [17:20:28]CheckOFDResponse [17:20:28]1017 (14) - 77093643461234 [17:20:28]1041 (16) - 0000000000874657 [17:20:28]1040 (4) - 26841 [17:20:28]1012 (4) - 08.04.2024 11:02 [17:20:28]1206 (1) - 0 [17:20:28]OFD Sender: Remove packet 26841 [17:20:28]ProducePacketName [17:20:28]name=ofd_packets/00026841 [17:20:28]NVStorageDeleteData [17:20:28]Write to MH i2c: 01 00 00 E4 43 27 [17:20:28]Write i2c OK [17:20:28]MH_I2C_Read... [17:20:28]Read from MH i2c: 01 [17:20:28]MH_I2C_Read... [17:20:28]Read from MH i2c: 01 07 00 [17:20:28]MH_I2C_Read... [17:20:28]Read from MH i2c: 01 07 00 E4 43 00 00 00 00 00 7D 0C B7 [17:20:28]RasterBufferAndPrint [17:20:28]line [17:20:28]line [17:20:28]line [17:20:28]line [17:20:28]line [17:20:28]written 0, free lines is 3200 [17:20:28]MH_Cut [17:20:28]Write to MH i2c: D1 01 00 EB 43 01 00 [17:20:28]Write i2c OK [17:20:28]MH_I2C_Read... [17:20:28]Read from MH i2c: D1 [17:20:28]MH_I2C_Read... [17:20:28]Read from MH i2c: D1 01 00 [17:20:28]MH_I2C_Read... [17:20:28]Read from MH i2c: D1 01 00 EB 43 00 FF [17:20:28]Write to MH i2c: 01 00 00 EC 43 2F [17:20:28]Write i2c OK [17:20:28]MH_I2C_Read... [17:20:28]OFD Sender: No OFD packet to send [17:20:29]*** Cut start [17:20:29]*** Partial cut [17:20:29]*** CUTSNS_PIN = 1 [17:20:29]*** CUTSNS_PIN = 0 [17:20:29]*** Brake cut motor [17:20:30]Read from MH i2c: 01 [17:20:30]MH_I2C_Read... [17:20:30]*** Stop cut motor [17:20:30]*** Cut end [17:20:30]Read from MH i2c: 01 07 00 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: 01 07 00 EC 43 00 00 00 00 00 FF 0F 44 [17:20:30]process_action close_receipt done [17:20:30]requested_data is exist [17:20:30]produce_requested_data [17:20:30]requested_item fm.sn is exist - process it [17:20:30]wFMCommunicate request_size=4 [17:20:30]MH_SAM_APDU [17:20:30]CAPDU: 80 11 00 00 [17:20:30]Write to MH i2c: E2 08 00 ED 43 80 11 00 00 00 00 00 00 AA [17:20:30]Write i2c OK [17:20:30]MH_I2C_Read... [17:20:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:30]Read from MH i2c: E2 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: E2 17 00 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: E2 17 00 ED 43 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 02 [17:20:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:20:30]wFMCommunicate OK [17:20:30]requested_item fd.num is exist - process it [17:20:30]SAM_PROTO_GetFieldsCounters [17:20:30]wFMCommunicate request_size=4 [17:20:30]MH_SAM_APDU [17:20:30]CAPDU: 80 13 00 00 [17:20:30]Write to MH i2c: E2 08 00 EE 43 80 13 00 00 00 00 00 00 AD [17:20:30]Write i2c OK [17:20:30]MH_I2C_Read... [17:20:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:20:30]Read from MH i2c: E2 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: E2 62 00 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: E2 62 00 EE 43 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 F6 [17:20:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 D9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:20:30]wFMCommunicate OK [17:20:30]SAM_PROTO_GetFieldsCounters done [17:20:30]requested_item shift.num is exist - process it [17:20:30]requested_item shift.opened is exist - process it [17:20:30]req_shift_opened [17:20:30]FM_GetShiftState [17:20:30]SAM_PROTO_GetShiftState [17:20:30]wFMCommunicate request_size=4 [17:20:30]MH_SAM_APDU [17:20:30]CAPDU: 80 13 01 00 [17:20:30]Write to MH i2c: E2 08 00 EF 43 80 13 01 00 00 00 00 00 AF [17:20:30]Write i2c OK [17:20:30]MH_I2C_Read... [17:20:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:30]Read from MH i2c: E2 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: E2 0E 00 [17:20:30]MH_I2C_Read... [17:20:30]Read from MH i2c: E2 0E 00 EF 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 3C [17:20:30]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:20:30]wFMCommunicate OK [17:20:30]SAM_PROTO_GetShiftState done [17:20:30]FM_GetShiftState done [17:20:30]req_shift_opened done [17:20:30]requested_item shift.open_date is exist - process it [17:20:30]req_shift_open_date [17:20:30]req_shift_open_date done [17:20:30]produce_requested_data done [17:20:30]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26841,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [17:20:30]process_action_free close_receipt [17:20:30]json_value_free [17:20:30]json_value_free done [17:20:30]process_json_proto returns [17:20:30]Send response to host [17:20:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26841,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [17:20:30]free response buf [17:20:30]execute_script done [17:20:30]execute_script returns [17:20:30]free content buf [17:20:30]Sock 8.Close socket [17:20:30]Sock 8.Thread stoped [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:29]OFD Sender: No OFD packet to send [17:27:34]OFD Sender: No OFD packet to send [17:27:39]OFD Sender: No OFD packet to send [17:27:44]OFD Sender: No OFD packet to send [17:27:49]OFD Sender: No OFD packet to send [17:27:54]OFD Sender: No OFD packet to send [17:27:59]OFD Sender: No OFD packet to send [17:28:04]OFD Sender: No OFD packet to send [17:28:09]OFD Sender: No OFD packet to send [17:28:14]OFD Sender: No OFD packet to send [17:28:19]OFD Sender: No OFD packet to send [17:28:24]OFD Sender: No OFD packet to send [17:28:29]OFD Sender: No OFD packet to send [17:28:34]OFD Sender: No OFD packet to send [17:28:39]OFD Sender: No OFD packet to send [17:28:44]OFD Sender: No OFD packet to send [17:28:49]OFD Sender: No OFD packet to send [17:28:54]OFD Sender: No OFD packet to send [17:28:59]OFD Sender: No OFD packet to send [17:29:04]OFD Sender: No OFD packet to send [17:29:09]OFD Sender: No OFD packet to send [17:29:14]OFD Sender: No OFD packet to send [17:29:19]OFD Sender: No OFD packet to send [17:29:24]OFD Sender: No OFD packet to send [17:29:29]OFD Sender: No OFD packet to send [17:29:34]OFD Sender: No OFD packet to send [17:29:39]OFD Sender: No OFD packet to send [17:29:44]OFD Sender: No OFD packet to send [17:29:49]OFD Sender: No OFD packet to send [17:29:54]OFD Sender: No OFD packet to send [17:29:59]OFD Sender: No OFD packet to send [17:30:04]OFD Sender: No OFD packet to send [17:30:09]OFD Sender: No OFD packet to send [17:30:14]OFD Sender: No OFD packet to send [17:30:19]OFD Sender: No OFD packet to send [17:30:24]OFD Sender: No OFD packet to send [17:30:29]OFD Sender: No OFD packet to send [17:30:34]OFD Sender: No OFD packet to send [17:30:39]OFD Sender: No OFD packet to send [17:30:44]OFD Sender: No OFD packet to send [17:30:49]OFD Sender: No OFD packet to send [17:30:54]OFD Sender: No OFD packet to send [17:30:59]OFD Sender: No OFD packet to send [17:31:04]OFD Sender: No OFD packet to send [17:31:09]OFD Sender: No OFD packet to send [17:31:14]OFD Sender: No OFD packet to send [17:31:19]OFD Sender: No OFD packet to send [17:31:24]OFD Sender: No OFD packet to send [17:31:29]OFD Sender: No OFD packet to send [17:31:34]OFD Sender: No OFD packet to send [17:31:39]OFD Sender: No OFD packet to send [17:31:44]OFD Sender: No OFD packet to send [17:31:49]OFD Sender: No OFD packet to send [17:31:54]OFD Sender: No OFD packet to send [17:31:59]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:54]OFD Sender: No OFD packet to send [17:33:59]OFD Sender: No OFD packet to send [17:34:04]OFD Sender: No OFD packet to send [17:34:09]OFD Sender: No OFD packet to send [17:34:14]OFD Sender: No OFD packet to send [17:34:19]OFD Sender: No OFD packet to send [17:34:24]OFD Sender: No OFD packet to send [17:34:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:54]OFD Sender: No OFD packet to send [17:34:59]OFD Sender: No OFD packet to send [17:35:04]OFD Sender: No OFD packet to send [17:35:09]OFD Sender: No OFD packet to send [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:37]accept exits with 9 [17:35:37]New connection [17:35:37]New thread 3067014500 created [17:35:37]Thread 3066871140 joined [17:35:37]Waiting for new connection... [17:35:37] Sock 9.Parse request [17:35:37]Sock 9.Check first char [17:35:37]Sock 9.First char is OK [17:35:37]request: POST /json_proto HTTP/1.0 [17:35:37]Method: POST [17:35:37]URL: /json_proto [17:35:37]Method is POST - this is cgi request [17:35:37]url: /json_proto [17:35:37]query_string will be loaded in cgi processing [17:35:37]execute_cgi json_proto POST (null) [17:35:37]execute_cgi path=json_proto method=POST [17:35:37]POST find Content-Length [17:35:37]Host: 172.17.35.3:8080 [17:35:37]Content-Length: 687 [17:35:37]Content-Type: application/json [17:35:37] [17:35:37]POST finish read [17:35:37]Found Content-Length = 687 [17:35:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359587", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:35:37]execute_script... [17:35:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359587", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:35:37]POST & json_proto [17:35:37]process_json_proto [17:35:37]json parsed OK: [17:35:37]protocol is kg_v1.0 [17:35:37]action value=close_receipt [17:35:37]process_action close_receipt [17:35:37]cmd_close_receipt [17:35:37]MH_GetDate [17:35:37]Write to MH i2c: F0 00 00 F0 43 22 [17:35:37]Write i2c OK [17:35:37]MH_I2C_Read... [17:35:37]Read from MH i2c: F0 [17:35:37]MH_I2C_Read... [17:35:37]Read from MH i2c: F0 09 00 [17:35:37]MH_I2C_Read... [17:35:37]Read from MH i2c: F0 09 00 F0 43 00 F8 2A 14 66 2B 11 66 64 CD [17:35:37]GetLastDocTimeStamp 1712596841 [17:35:37]current date 1712597752 [17:35:37]FM_GetShiftState [17:35:37]SAM_PROTO_GetShiftState [17:35:37]wFMCommunicate request_size=4 [17:35:37]MH_SAM_APDU [17:35:37]CAPDU: 80 13 01 00 [17:35:37]Write to MH i2c: E2 08 00 F1 43 80 13 01 00 00 00 00 00 B1 [17:35:37]Write i2c OK [17:35:37]MH_I2C_Read... [17:35:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:35:37]Read from MH i2c: E2 [17:35:37]MH_I2C_Read... [17:35:37]Read from MH i2c: E2 0E 00 [17:35:37]MH_I2C_Read... [17:35:37]Read from MH i2c: E2 0E 00 F1 43 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 3E [17:35:37]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:35:37]wFMCommunicate OK [17:35:37]SAM_PROTO_GetShiftState done [17:35:37]FM_GetShiftState done [17:35:37]opened in 1712536270 [17:35:37]opened+sec_in_day 1712622670 [17:35:37]quantity*price = 100017 [17:35:37]sum+1 = 100018 [17:35:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 55 08.04.2024 17:35 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26842 ФПД: 87961202032006 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T173553&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26842&fm=87961202032006&tin=02508201610067®Number=0000000000091578&sum=100000 [17:35:38]StoreToDocumentArchive [17:35:38]shift 314 fd 26842 [17:35:38]save to /storage/0314/doc_00026842 [17:35:38]save last doc name /storage/0314/doc_00026842 to /storage/kkm_last_doc_name [17:35:38]save OK [17:35:38]Clear old archive folders... [17:35:38]ProcessDocumentItem done err = 0, tmpTLVsize=252 [17:35:38]tlvbuf is 00E54A50 [17:35:38]SAM_PROTO_ClearQueue [17:35:38]wFMCommunicate request_size=4 [17:35:38]MH_SAM_APDU [17:35:38]CAPDU: 80 09 00 00 [17:35:38]Write to MH i2c: E2 08 00 FE 43 80 09 00 00 00 00 00 00 B3 [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:35:38]Read from MH i2c: E2 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 FE 43 00 90 00 B5 [17:35:38]RAPDU: 90 00 [17:35:38]wFMCommunicate OK [17:35:38]SAM_PROTO_ClearQueue done [17:35:38]KKMCreateOFDPacket [17:35:38]OFDProtocolAddRootSTLVToBuf [17:35:38]FM_MakeSignedData [17:35:38]FM_MakeSignedData [17:35:38]SAM_PROTO_SignData [17:35:38]wFMCommunicate request_size=4 [17:35:38]MH_SAM_APDU [17:35:38]CAPDU: 80 0D 01 02 [17:35:38]Write to MH i2c: E2 08 00 FF 43 80 0D 01 02 00 00 00 00 BB [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:35:38]Read from MH i2c: E2 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 FF 43 00 90 00 B6 [17:35:38]RAPDU: 90 00 [17:35:38]wFMCommunicate OK [17:35:38]wFMCommunicate request_size=255 [17:35:38]MH_SAM_APDU [17:35:38]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 F9 2A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DA 68 00 00 35 04 06 00 [17:35:38]Write to MH i2c: E2 02 01 00 44 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 F9 2A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DA 68 00 00 35 04 06 00 00 00 C8 [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:35:38]Read from MH i2c: E2 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 00 44 00 90 00 B8 [17:35:38]RAPDU: 90 00 [17:35:38]wFMCommunicate OK [17:35:38]wFMCommunicate request_size=11 [17:35:38]MH_SAM_APDU [17:35:38]CAPDU: 80 0D 02 02 06 50 00 10 33 7D 86 [17:35:38]Write to MH i2c: E2 0E 00 01 44 80 0D 02 02 06 00 50 00 10 33 7D 86 00 00 61 [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:35:38]Read from MH i2c: E2 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 03 00 01 44 00 90 00 B9 [17:35:38]RAPDU: 90 00 [17:35:38]wFMCommunicate OK [17:35:38]wFMCommunicate request_size=4 [17:35:38]MH_SAM_APDU [17:35:38]CAPDU: 80 0D 03 02 [17:35:38]Write to MH i2c: E2 08 00 02 44 80 0D 03 02 00 00 00 00 C1 [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:35:38]Read from MH i2c: E2 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 0B 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 0B 00 02 44 00 A9 69 0C E0 21 20 23 E1 90 00 05 [17:35:38]RAPDU: A9 69 0C E0 21 20 23 E1 90 00 [17:35:38]wFMCommunicate OK [17:35:38]SAM_PROTO_SignData done [17:35:38]FM_MakeSignedData done [17:35:38]CreateOFDProtocolMessage [17:35:38]wFMCommunicate request_size=4 [17:35:38]MH_SAM_APDU [17:35:38]CAPDU: 80 11 00 00 [17:35:38]Write to MH i2c: E2 08 00 03 44 80 11 00 00 00 00 00 00 C1 [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:35:38]Read from MH i2c: E2 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 17 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: E2 17 00 03 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 19 [17:35:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:35:38]wFMCommunicate OK [17:35:38]CreateOFDProtocolMessage done [17:35:38]OFDSenderStorePacket 26842 [17:35:38]StoreOFDPacket docnum=26842 [17:35:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 5E 00 08 01 DC D7 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 F9 2A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DA 68 00 00 35 04 06 00 50 00 10 33 7D 86 A9 69 0C E0 21 20 23 E1 [17:35:38]CheckFolder [17:35:38]dirname=/storage/ofd_packets [17:35:38]CheckFolder done [17:35:38]ProducePacketName [17:35:38]name=ofd_packets/00026842 [17:35:38]NVStorageSaveData ofd_packets/00026842 [17:35:38]File name is /storage/ofd_packets/00026842 [17:35:38]Write 302 bytes [17:35:38]NVStorageSaveData done [17:35:38]OFDSenderStorePacket done [17:35:38]KKMCreateOFDPacket done [17:35:38]NVStorageSaveData kkm_last_timestamp [17:35:38]File name is /storage/kkm_last_timestamp [17:35:38]Write 4 bytes [17:35:38]NVStorageSaveData done [17:35:38]ExternCall_PrintAddStr [17:35:38]wPrintStart [17:35:38]Write to MH i2c: 01 00 00 04 44 48 [17:35:38]Write i2c OK [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: 01 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: 01 07 00 [17:35:38]MH_I2C_Read... [17:35:38]Read from MH i2c: 01 07 00 04 44 00 00 00 00 00 FF 0F 5D [17:35:38]RasterBufferAndPrint [17:35:38]line Счет N : (1)359587 [17:35:38]line ИÐÐ: 02508201610067 [17:35:38]line Контрольно-КаÑÑовый Чек [17:35:38]line ПРОДÐЖР[17:35:38]line ТРК (МРК, ГÐК) : 21 [17:35:38]line Товар: 2710194210 [17:35:38]line ДТ(л)-К-5 [17:35:38]line 13.930 * 71.80 [17:35:38]line = 1000.17 [17:35:38]line ÐДС 12% ÐСП 1% [17:35:38]line > о реализуемом товаре [17:35:38]line ОКРУГЛЕÐИЕ: -0.17 [17:35:38]line ИТОГО: 1000.00 [17:35:38]line ВнеÑено: 1000.00 [17:35:38]line СДÐЧÐ: 0.00 [17:35:38]line ÐСП 1% : 8.85 [17:35:38]line ÐДС 12% : 106.21 [17:35:38]line Ðаличными: 1000.00 [17:35:38]line Безнал.: 0.00 [17:35:38]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [17:35:38]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [17:35:38]line СÐО: Общий режим [17:35:38]line Чек 55 08.04.2024 17:35 [17:35:38]line Смена: 314 ФФД: 1.0 [17:35:38]line ЗÐМ: 0300000147 [17:35:38]line РÐМ: 0000000000091578 [17:35:38]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [17:35:38]line ФМ: 0000000000874657 [17:35:38]line ФД: 26842 [17:35:38]line ФПД: 87961202032006 [17:35:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T173553&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26842&fm=87961202032006&tin=02508201610067®Number=0000000000091578&sum=100000 [17:35:39]OFD Sender: Processing packet 26842 [packets to send 44, broken 43] [17:35:39]ProducePacketName [17:35:39]name=ofd_packets/00026842 [17:35:39]OFD Sender: To server: ‡•öpG, [17:35:39]CommunicateWithHost lk.salyk.kg:30040 [17:35:39]ConnectInit lk.salyk.kg [17:35:39]written 0, free lines is 4095 [17:35:39]Connected sock=10 [17:35:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 5E 00 08 01 DC D7 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 F9 2A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DA 68 00 00 35 04 06 00 50 00 10 33 7D 86 A9 69 0C E0 21 20 23 E1 [17:35:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 50 60 47 00 48 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DA 68 00 00 F4 03 04 00 62 D2 13 66 B6 04 01 00 00 E7 9C AF 6A 1A 62 10 9C [17:35:39]CommunicateWithHost err = 0 [17:35:39]CheckOFDResponse [17:35:39]1017 (14) - 77093643461234 [17:35:39]1041 (16) - 0000000000874657 [17:35:39]1040 (4) - 26842 [17:35:39]1012 (4) - 08.04.2024 11:17 [17:35:39]1206 (1) - 0 [17:35:39]OFD Sender: Remove packet 26842 [17:35:39]ProducePacketName [17:35:39]name=ofd_packets/00026842 [17:35:39]NVStorageDeleteData [17:35:39]Write to MH i2c: 01 00 00 2F 44 73 [17:35:39]Write i2c OK [17:35:39]MH_I2C_Read... [17:35:39]Read from MH i2c: 01 [17:35:39]MH_I2C_Read... [17:35:39]Read from MH i2c: 01 07 00 [17:35:39]MH_I2C_Read... [17:35:39]Read from MH i2c: 01 07 00 2F 44 00 00 00 00 00 73 0C F9 [17:35:39]RasterBufferAndPrint [17:35:39]line [17:35:39]line [17:35:39]line [17:35:39]line [17:35:39]line [17:35:39]written 0, free lines is 3190 [17:35:39]MH_Cut [17:35:39]Write to MH i2c: D1 01 00 36 44 01 4C [17:35:39]Write i2c OK [17:35:39]MH_I2C_Read... [17:35:39]Read from MH i2c: D1 [17:35:39]MH_I2C_Read... [17:35:39]Read from MH i2c: D1 01 00 [17:35:39]MH_I2C_Read... [17:35:39]Read from MH i2c: D1 01 00 36 44 00 4B [17:35:39]Write to MH i2c: 01 00 00 37 44 7B [17:35:39]Write i2c OK [17:35:39]MH_I2C_Read... [17:35:39]OFD Sender: No OFD packet to send [17:35:40]*** Cut start [17:35:40]*** Partial cut [17:35:40]*** CUTSNS_PIN = 1 [17:35:40]*** CUTSNS_PIN = 0 [17:35:41]*** Brake cut motor [17:35:41]Read from MH i2c: 01 [17:35:41]MH_I2C_Read... [17:35:41]*** Stop cut motor [17:35:41]*** Cut end [17:35:41]Read from MH i2c: 01 07 00 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: 01 07 00 37 44 00 00 00 00 00 FF 0F 90 [17:35:41]process_action close_receipt done [17:35:41]requested_data is exist [17:35:41]produce_requested_data [17:35:41]requested_item fm.sn is exist - process it [17:35:41]wFMCommunicate request_size=4 [17:35:41]MH_SAM_APDU [17:35:41]CAPDU: 80 11 00 00 [17:35:41]Write to MH i2c: E2 08 00 38 44 80 11 00 00 00 00 00 00 F6 [17:35:41]Write i2c OK [17:35:41]MH_I2C_Read... [17:35:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:35:41]Read from MH i2c: E2 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: E2 17 00 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: E2 17 00 38 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4E [17:35:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [17:35:41]wFMCommunicate OK [17:35:41]requested_item fd.num is exist - process it [17:35:41]SAM_PROTO_GetFieldsCounters [17:35:41]wFMCommunicate request_size=4 [17:35:41]MH_SAM_APDU [17:35:41]CAPDU: 80 13 00 00 [17:35:41]Write to MH i2c: E2 08 00 39 44 80 13 00 00 00 00 00 00 F9 [17:35:41]Write i2c OK [17:35:41]MH_I2C_Read... [17:35:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:35:41]Read from MH i2c: E2 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: E2 62 00 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: E2 62 00 39 44 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [17:35:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:35:41]wFMCommunicate OK [17:35:41]SAM_PROTO_GetFieldsCounters done [17:35:41]requested_item shift.num is exist - process it [17:35:41]requested_item shift.opened is exist - process it [17:35:41]req_shift_opened [17:35:41]FM_GetShiftState [17:35:41]SAM_PROTO_GetShiftState [17:35:41]wFMCommunicate request_size=4 [17:35:41]MH_SAM_APDU [17:35:41]CAPDU: 80 13 01 00 [17:35:41]Write to MH i2c: E2 08 00 3A 44 80 13 01 00 00 00 00 00 FB [17:35:41]Write i2c OK [17:35:41]MH_I2C_Read... [17:35:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:35:41]Read from MH i2c: E2 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: E2 0E 00 [17:35:41]MH_I2C_Read... [17:35:41]Read from MH i2c: E2 0E 00 3A 44 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 88 [17:35:41]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [17:35:41]wFMCommunicate OK [17:35:41]SAM_PROTO_GetShiftState done [17:35:41]FM_GetShiftState done [17:35:41]req_shift_opened done [17:35:41]requested_item shift.open_date is exist - process it [17:35:41]req_shift_open_date [17:35:41]req_shift_open_date done [17:35:41]produce_requested_data done [17:35:41]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26842,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [17:35:41]process_action_free close_receipt [17:35:41]json_value_free [17:35:41]json_value_free done [17:35:41]process_json_proto returns [17:35:41]Send response to host [17:35:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26842,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [17:35:41]free response buf [17:35:41]execute_script done [17:35:41]execute_script returns [17:35:41]free content buf [17:35:41]Sock 9.Close socket [17:35:41]Sock 9.Thread stoped [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:14]OFD Sender: No OFD packet to send [17:36:19]OFD Sender: No OFD packet to send [17:36:24]OFD Sender: No OFD packet to send [17:36:29]OFD Sender: No OFD packet to send [17:36:34]OFD Sender: No OFD packet to send [17:36:39]OFD Sender: No OFD packet to send [17:36:44]OFD Sender: No OFD packet to send [17:36:49]OFD Sender: No OFD packet to send [17:36:55]OFD Sender: No OFD packet to send [17:37:00]OFD Sender: No OFD packet to send [17:37:05]OFD Sender: No OFD packet to send [17:37:10]OFD Sender: No OFD packet to send [17:37:15]OFD Sender: No OFD packet to send [17:37:20]OFD Sender: No OFD packet to send [17:37:25]OFD Sender: No OFD packet to send [17:37:30]OFD Sender: No OFD packet to send [17:37:35]OFD Sender: No OFD packet to send [17:37:40]OFD Sender: No OFD packet to send [17:37:45]OFD Sender: No OFD packet to send [17:37:50]OFD Sender: No OFD packet to send [17:37:55]OFD Sender: No OFD packet to send [17:38:00]OFD Sender: No OFD packet to send [17:38:05]OFD Sender: No OFD packet to send [17:38:10]OFD Sender: No OFD packet to send [17:38:15]OFD Sender: No OFD packet to send [17:38:20]OFD Sender: No OFD packet to send [17:38:25]OFD Sender: No OFD packet to send [17:38:30]OFD Sender: No OFD packet to send [17:38:35]OFD Sender: No OFD packet to send [17:38:40]OFD Sender: No OFD packet to send [17:38:45]OFD Sender: No OFD packet to send [17:38:50]OFD Sender: No OFD packet to send [17:38:55]OFD Sender: No OFD packet to send [17:39:00]OFD Sender: No OFD packet to send [17:39:05]OFD Sender: No OFD packet to send [17:39:10]OFD Sender: No OFD packet to send [17:39:15]OFD Sender: No OFD packet to send [17:39:20]OFD Sender: No OFD packet to send [17:39:25]OFD Sender: No OFD packet to send [17:39:30]OFD Sender: No OFD packet to send [17:39:35]OFD Sender: No OFD packet to send [17:39:40]OFD Sender: No OFD packet to send [17:39:45]OFD Sender: No OFD packet to send [17:39:50]OFD Sender: No OFD packet to send [17:39:55]OFD Sender: No OFD packet to send [17:40:00]OFD Sender: No OFD packet to send [17:40:05]OFD Sender: No OFD packet to send [17:40:10]OFD Sender: No OFD packet to send [17:40:15]OFD Sender: No OFD packet to send [17:40:20]OFD Sender: No OFD packet to send [17:40:25]OFD Sender: No OFD packet to send [17:40:30]OFD Sender: No OFD packet to send [17:40:35]OFD Sender: No OFD packet to send [17:40:40]OFD Sender: No OFD packet to send [17:40:45]OFD Sender: No OFD packet to send [17:40:50]OFD Sender: No OFD packet to send [17:40:55]OFD Sender: No OFD packet to send [17:41:00]OFD Sender: No OFD packet to send [17:41:05]OFD Sender: No OFD packet to send [17:41:10]OFD Sender: No OFD packet to send [17:41:15]OFD Sender: No OFD packet to send [17:41:20]OFD Sender: No OFD packet to send [17:41:25]OFD Sender: No OFD packet to send [17:41:30]OFD Sender: No OFD packet to send [17:41:35]OFD Sender: No OFD packet to send [17:41:40]OFD Sender: No OFD packet to send [17:41:45]OFD Sender: No OFD packet to send [17:41:50]OFD Sender: No OFD packet to send [17:41:55]OFD Sender: No OFD packet to send [17:42:00]OFD Sender: No OFD packet to send [17:42:05]OFD Sender: No OFD packet to send [17:42:10]OFD Sender: No OFD packet to send [17:42:15]OFD Sender: No OFD packet to send [17:42:20]OFD Sender: No OFD packet to send [17:42:25]OFD Sender: No OFD packet to send [17:42:30]OFD Sender: No OFD packet to send [17:42:35]OFD Sender: No OFD packet to send [17:42:40]OFD Sender: No OFD packet to send [17:42:45]OFD Sender: No OFD packet to send [17:42:50]OFD Sender: No OFD packet to send [17:42:55]OFD Sender: No OFD packet to send [17:43:00]OFD Sender: No OFD packet to send [17:43:05]OFD Sender: No OFD packet to send [17:43:10]OFD Sender: No OFD packet to send [17:43:15]OFD Sender: No OFD packet to send [17:43:20]OFD Sender: No OFD packet to send [17:43:25]OFD Sender: No OFD packet to send [17:43:30]OFD Sender: No OFD packet to send [17:43:35]OFD Sender: No OFD packet to send [17:43:40]OFD Sender: No OFD packet to send [17:43:45]OFD Sender: No OFD packet to send [17:43:50]OFD Sender: No OFD packet to send [17:43:55]OFD Sender: No OFD packet to send [17:44:00]OFD Sender: No OFD packet to send [17:44:05]OFD Sender: No OFD packet to send [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:10]OFD Sender: No OFD packet to send [17:45:15]OFD Sender: No OFD packet to send [17:45:20]OFD Sender: No OFD packet to send [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:15]OFD Sender: No OFD packet to send [17:46:20]OFD Sender: No OFD packet to send [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:40]OFD Sender: No OFD packet to send [17:47:45]OFD Sender: No OFD packet to send [17:47:50]OFD Sender: No OFD packet to send [17:47:55]OFD Sender: No OFD packet to send [17:48:00]OFD Sender: No OFD packet to send [17:48:05]OFD Sender: No OFD packet to send [17:48:10]OFD Sender: No OFD packet to send [17:48:15]OFD Sender: No OFD packet to send [17:48:20]OFD Sender: No OFD packet to send [17:48:25]OFD Sender: No OFD packet to send [17:48:30]OFD Sender: No OFD packet to send [17:48:35]OFD Sender: No OFD packet to send [17:48:40]OFD Sender: No OFD packet to send [17:48:45]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:40]OFD Sender: No OFD packet to send [17:50:45]OFD Sender: No OFD packet to send [17:50:50]OFD Sender: No OFD packet to send [17:50:55]OFD Sender: No OFD packet to send [17:51:00]OFD Sender: No OFD packet to send [17:51:05]OFD Sender: No OFD packet to send [17:51:10]OFD Sender: No OFD packet to send [17:51:15]OFD Sender: No OFD packet to send [17:51:20]OFD Sender: No OFD packet to send [17:51:25]OFD Sender: No OFD packet to send [17:51:30]OFD Sender: No OFD packet to send [17:51:35]OFD Sender: No OFD packet to send [17:51:40]OFD Sender: No OFD packet to send [17:51:45]OFD Sender: No OFD packet to send [17:51:50]OFD Sender: No OFD packet to send [17:51:55]OFD Sender: No OFD packet to send [17:52:00]OFD Sender: No OFD packet to send [17:52:05]OFD Sender: No OFD packet to send [17:52:10]OFD Sender: No OFD packet to send [17:52:15]OFD Sender: No OFD packet to send [17:52:20]OFD Sender: No OFD packet to send [17:52:25]OFD Sender: No OFD packet to send [17:52:30]OFD Sender: No OFD packet to send [17:52:35]OFD Sender: No OFD packet to send [17:52:40]OFD Sender: No OFD packet to send [17:52:45]OFD Sender: No OFD packet to send [17:52:50]OFD Sender: No OFD packet to send [17:52:55]OFD Sender: No OFD packet to send [17:53:00]OFD Sender: No OFD packet to send [17:53:05]OFD Sender: No OFD packet to send [17:53:10]OFD Sender: No OFD packet to send [17:53:15]OFD Sender: No OFD packet to send [17:53:20]OFD Sender: No OFD packet to send [17:53:25]OFD Sender: No OFD packet to send [17:53:30]OFD Sender: No OFD packet to send [17:53:35]OFD Sender: No OFD packet to send [17:53:40]OFD Sender: No OFD packet to send [17:53:45]OFD Sender: No OFD packet to send [17:53:50]OFD Sender: No OFD packet to send [17:53:55]OFD Sender: No OFD packet to send [17:54:00]OFD Sender: No OFD packet to send [17:54:05]OFD Sender: No OFD packet to send [17:54:10]OFD Sender: No OFD packet to send [17:54:15]OFD Sender: No OFD packet to send [17:54:20]OFD Sender: No OFD packet to send [17:54:25]OFD Sender: No OFD packet to send [17:54:30]OFD Sender: No OFD packet to send [17:54:35]OFD Sender: No OFD packet to send [17:54:40]OFD Sender: No OFD packet to send [17:54:45]OFD Sender: No OFD packet to send [17:54:50]OFD Sender: No OFD packet to send [17:54:55]OFD Sender: No OFD packet to send [17:55:00]OFD Sender: No OFD packet to send [17:55:05]OFD Sender: No OFD packet to send [17:55:10]OFD Sender: No OFD packet to send [17:55:15]OFD Sender: No OFD packet to send [17:55:20]OFD Sender: No OFD packet to send [17:55:25]OFD Sender: No OFD packet to send [17:55:30]OFD Sender: No OFD packet to send [17:55:35]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:44]accept exits with 8 [18:03:44]New connection [18:03:44]New thread 3066871140 created [18:03:44]Thread 3067014500 joined [18:03:44]Waiting for new connection... [18:03:44] Sock 8.Parse request [18:03:44]Sock 8.Check first char [18:03:44]Sock 8.First char is OK [18:03:44]request: POST /json_proto HTTP/1.0 [18:03:44]Method: POST [18:03:44]URL: /json_proto [18:03:44]Method is POST - this is cgi request [18:03:44]url: /json_proto [18:03:44]query_string will be loaded in cgi processing [18:03:44]execute_cgi json_proto POST (null) [18:03:44]execute_cgi path=json_proto method=POST [18:03:44]POST find Content-Length [18:03:44]Host: 172.17.35.3:8080 [18:03:44]Content-Length: 682 [18:03:44]Content-Type: application/json [18:03:44] [18:03:44]POST finish read [18:03:44]Found Content-Length = 682 [18:03:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359588", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:44]execute_script... [18:03:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359588", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:03:44]POST & json_proto [18:03:44]process_json_proto [18:03:44]json parsed OK: [18:03:44]protocol is kg_v1.0 [18:03:44]action value=close_receipt [18:03:44]process_action close_receipt [18:03:44]cmd_close_receipt [18:03:44]MH_GetDate [18:03:44]Write to MH i2c: F0 00 00 3B 44 6E [18:03:44]Write i2c OK [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: F0 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: F0 09 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: F0 09 00 3B 44 00 90 31 14 66 2B 11 66 64 B8 [18:03:44]GetLastDocTimeStamp 1712597753 [18:03:44]current date 1712599440 [18:03:44]FM_GetShiftState [18:03:44]SAM_PROTO_GetShiftState [18:03:44]wFMCommunicate request_size=4 [18:03:44]MH_SAM_APDU [18:03:44]CAPDU: 80 13 01 00 [18:03:44]Write to MH i2c: E2 08 00 3C 44 80 13 01 00 00 00 00 00 FD [18:03:44]Write i2c OK [18:03:44]MH_I2C_Read... [18:03:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:44]Read from MH i2c: E2 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 0E 00 [18:03:44]MH_I2C_Read... [18:03:44]Read from MH i2c: E2 0E 00 3C 44 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 8A [18:03:44]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [18:03:44]wFMCommunicate OK [18:03:44]SAM_PROTO_GetShiftState done [18:03:44]FM_GetShiftState done [18:03:44]opened in 1712536270 [18:03:44]opened+sec_in_day 1712622670 [18:03:44]quantity*price = 100045 [18:03:44]sum+1 = 100046 [18:03:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 56 08.04.2024 18:04 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26843 ФПД: 82022279827017 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T180400&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26843&fm=82022279827017&tin=02508201610067®Number=0000000000091578&sum=100000 [18:03:45]StoreToDocumentArchive [18:03:45]shift 314 fd 26843 [18:03:45]save to /storage/0314/doc_00026843 [18:03:45]save last doc name /storage/0314/doc_00026843 to /storage/kkm_last_doc_name [18:03:45]save OK [18:03:45]Clear old archive folders... [18:03:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:03:45]tlvbuf is 00EB6B40 [18:03:45]SAM_PROTO_ClearQueue [18:03:45]wFMCommunicate request_size=4 [18:03:45]MH_SAM_APDU [18:03:45]CAPDU: 80 09 00 00 [18:03:46]Write to MH i2c: E2 08 00 49 44 80 09 00 00 00 00 00 00 FF [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 49 44 00 90 00 01 [18:03:46]RAPDU: 90 00 [18:03:46]wFMCommunicate OK [18:03:46]SAM_PROTO_ClearQueue done [18:03:46]KKMCreateOFDPacket [18:03:46]OFDProtocolAddRootSTLVToBuf [18:03:46]FM_MakeSignedData [18:03:46]FM_MakeSignedData [18:03:46]SAM_PROTO_SignData [18:03:46]wFMCommunicate request_size=4 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 0D 01 02 [18:03:46]Write to MH i2c: E2 08 00 4A 44 80 0D 01 02 00 00 00 00 07 [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 4A 44 00 90 00 02 [18:03:46]RAPDU: 90 00 [18:03:46]wFMCommunicate OK [18:03:46]wFMCommunicate request_size=255 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 90 31 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DB 68 00 00 35 04 06 00 4A [18:03:46]Write to MH i2c: E2 02 01 4B 44 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 90 31 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DB 68 00 00 35 04 06 00 4A 00 00 D6 [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 4B 44 00 90 00 03 [18:03:46]RAPDU: 90 00 [18:03:46]wFMCommunicate OK [18:03:46]wFMCommunicate request_size=10 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 0D 02 02 05 99 4C DA 4E 49 [18:03:46]Write to MH i2c: E2 0D 00 4C 44 80 0D 02 02 05 00 99 4C DA 4E 49 00 00 6A [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 03 00 4C 44 00 90 00 04 [18:03:46]RAPDU: 90 00 [18:03:46]wFMCommunicate OK [18:03:46]wFMCommunicate request_size=4 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 0D 03 02 [18:03:46]Write to MH i2c: E2 08 00 4D 44 80 0D 03 02 00 00 00 00 0C [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:03:46]OFD Sender: No OFD packet to send [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 0B 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 0B 00 4D 44 00 AD 2F A1 FE 47 28 9B 61 90 00 F3 [18:03:46]RAPDU: AD 2F A1 FE 47 28 9B 61 90 00 [18:03:46]wFMCommunicate OK [18:03:46]SAM_PROTO_SignData done [18:03:46]FM_MakeSignedData done [18:03:46]CreateOFDProtocolMessage [18:03:46]wFMCommunicate request_size=4 [18:03:46]MH_SAM_APDU [18:03:46]CAPDU: 80 11 00 00 [18:03:46]Write to MH i2c: E2 08 00 4E 44 80 11 00 00 00 00 00 00 0C [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:46]Read from MH i2c: E2 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 17 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: E2 17 00 4E 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 64 [18:03:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:03:46]wFMCommunicate OK [18:03:46]CreateOFDProtocolMessage done [18:03:46]OFDSenderStorePacket 26843 [18:03:46]StoreOFDPacket docnum=26843 [18:03:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 A5 48 07 01 E4 2E 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 90 31 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DB 68 00 00 35 04 06 00 4A 99 4C DA 4E 49 AD 2F A1 FE 47 28 9B 61 [18:03:46]CheckFolder [18:03:46]dirname=/storage/ofd_packets [18:03:46]CheckFolder done [18:03:46]ProducePacketName [18:03:46]name=ofd_packets/00026843 [18:03:46]NVStorageSaveData ofd_packets/00026843 [18:03:46]File name is /storage/ofd_packets/00026843 [18:03:46]Write 301 bytes [18:03:46]NVStorageSaveData done [18:03:46]OFDSenderStorePacket done [18:03:46]KKMCreateOFDPacket done [18:03:46]NVStorageSaveData kkm_last_timestamp [18:03:46]File name is /storage/kkm_last_timestamp [18:03:46]Write 4 bytes [18:03:46]NVStorageSaveData done [18:03:46]ExternCall_PrintAddStr [18:03:46]wPrintStart [18:03:46]Write to MH i2c: 01 00 00 4F 44 93 [18:03:46]Write i2c OK [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: 01 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: 01 07 00 [18:03:46]MH_I2C_Read... [18:03:46]Read from MH i2c: 01 07 00 4F 44 00 00 00 00 00 FF 0F A8 [18:03:46]RasterBufferAndPrint [18:03:46]line Счет N : (1)359588 [18:03:46]line ИÐÐ: 02508201610067 [18:03:46]line Контрольно-КаÑÑовый Чек [18:03:46]line ПРОДÐЖР[18:03:46]line ТРК (МРК, ГÐК) : 61 [18:03:46]line Товар: 2710124130 [18:03:46]line Ðи-92-К-5 [18:03:46]line 15.780 * 63.40 [18:03:46]line = 1000.45 [18:03:46]line ÐДС 12% ÐСП 1% [18:03:46]line > о реализуемом товаре [18:03:46]line ОКРУГЛЕÐИЕ: -0.45 [18:03:46]line ИТОГО: 1000.00 [18:03:46]line ВнеÑено: 1000.00 [18:03:46]line СДÐЧÐ: 0.00 [18:03:46]line ÐСП 1% : 8.85 [18:03:46]line ÐДС 12% : 106.24 [18:03:46]line Ðаличными: 1000.00 [18:03:46]line Безнал.: 0.00 [18:03:46]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [18:03:46]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:03:46]line СÐО: Общий режим [18:03:46]line Чек 56 08.04.2024 18:04 [18:03:46]line Смена: 314 ФФД: 1.0 [18:03:46]line ЗÐМ: 0300000147 [18:03:46]line РÐМ: 0000000000091578 [18:03:46]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:03:46]line ФМ: 0000000000874657 [18:03:46]line ФД: 26843 [18:03:46]line ФПД: 82022279827017 [18:03:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T180400&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26843&fm=82022279827017&tin=02508201610067®Number=0000000000091578&sum=100000 [18:03:46]OFD Sender: Processing packet 26843 [packets to send 44, broken 43] [18:03:46]ProducePacketName [18:03:46]name=ofd_packets/00026843 [18:03:46]OFD Sender: To server: ‡•öpG, [18:03:46]CommunicateWithHost lk.salyk.kg:30040 [18:03:46]ConnectInit lk.salyk.kg [18:03:46]written 0, free lines is 4095 [18:03:46]Connected sock=10 [18:03:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 A5 48 07 01 E4 2E 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 90 31 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DB 68 00 00 35 04 06 00 4A 99 4C DA 4E 49 AD 2F A1 FE 47 28 9B 61 [18:03:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 C9 78 47 00 DD B4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DB 68 00 00 F4 03 04 00 FA D8 13 66 B6 04 01 00 00 92 58 A5 09 D8 06 27 C5 [18:03:47]CommunicateWithHost err = 0 [18:03:47]CheckOFDResponse [18:03:47]1017 (14) - 77093643461234 [18:03:47]1041 (16) - 0000000000874657 [18:03:47]1040 (4) - 26843 [18:03:47]1012 (4) - 08.04.2024 11:46 [18:03:47]1206 (1) - 0 [18:03:47]OFD Sender: Remove packet 26843 [18:03:47]ProducePacketName [18:03:47]name=ofd_packets/00026843 [18:03:47]NVStorageDeleteData [18:03:47]Write to MH i2c: 01 00 00 7A 44 BE [18:03:47]Write i2c OK [18:03:47]MH_I2C_Read... [18:03:47]Read from MH i2c: 01 [18:03:47]MH_I2C_Read... [18:03:47]Read from MH i2c: 01 07 00 [18:03:47]MH_I2C_Read... [18:03:47]Read from MH i2c: 01 07 00 7A 44 00 00 00 00 00 6D 0C 3E [18:03:47]RasterBufferAndPrint [18:03:47]line [18:03:47]line [18:03:47]line [18:03:47]line [18:03:47]line [18:03:47]written 0, free lines is 3185 [18:03:47]MH_Cut [18:03:47]Write to MH i2c: D1 01 00 81 44 01 97 [18:03:47]Write i2c OK [18:03:47]MH_I2C_Read... [18:03:47]Read from MH i2c: D1 [18:03:47]MH_I2C_Read... [18:03:47]Read from MH i2c: D1 01 00 [18:03:47]MH_I2C_Read... [18:03:47]Read from MH i2c: D1 01 00 81 44 00 96 [18:03:47]Write to MH i2c: 01 00 00 82 44 C6 [18:03:47]Write i2c OK [18:03:47]MH_I2C_Read... [18:03:47]OFD Sender: No OFD packet to send [18:03:48]*** Cut start [18:03:48]*** Partial cut [18:03:48]*** CUTSNS_PIN = 1 [18:03:48]*** CUTSNS_PIN = 0 [18:03:48]*** Brake cut motor [18:03:49]Read from MH i2c: 01 [18:03:49]MH_I2C_Read... [18:03:49]*** Stop cut motor [18:03:49]*** Cut end [18:03:49]Read from MH i2c: 01 07 00 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: 01 07 00 82 44 00 00 00 00 00 FF 0F DB [18:03:49]process_action close_receipt done [18:03:49]requested_data is exist [18:03:49]produce_requested_data [18:03:49]requested_item fm.sn is exist - process it [18:03:49]wFMCommunicate request_size=4 [18:03:49]MH_SAM_APDU [18:03:49]CAPDU: 80 11 00 00 [18:03:49]Write to MH i2c: E2 08 00 83 44 80 11 00 00 00 00 00 00 41 [18:03:49]Write i2c OK [18:03:49]MH_I2C_Read... [18:03:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:03:49]Read from MH i2c: E2 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: E2 17 00 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: E2 17 00 83 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 99 [18:03:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:03:49]wFMCommunicate OK [18:03:49]requested_item fd.num is exist - process it [18:03:49]SAM_PROTO_GetFieldsCounters [18:03:49]wFMCommunicate request_size=4 [18:03:49]MH_SAM_APDU [18:03:49]CAPDU: 80 13 00 00 [18:03:49]Write to MH i2c: E2 08 00 84 44 80 13 00 00 00 00 00 00 44 [18:03:49]Write i2c OK [18:03:49]MH_I2C_Read... [18:03:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:03:49]Read from MH i2c: E2 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: E2 62 00 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: E2 62 00 84 44 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 95 [18:03:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:03:49]wFMCommunicate OK [18:03:49]SAM_PROTO_GetFieldsCounters done [18:03:49]requested_item shift.num is exist - process it [18:03:49]requested_item shift.opened is exist - process it [18:03:49]req_shift_opened [18:03:49]FM_GetShiftState [18:03:49]SAM_PROTO_GetShiftState [18:03:49]wFMCommunicate request_size=4 [18:03:49]MH_SAM_APDU [18:03:49]CAPDU: 80 13 01 00 [18:03:49]Write to MH i2c: E2 08 00 85 44 80 13 01 00 00 00 00 00 46 [18:03:49]Write i2c OK [18:03:49]MH_I2C_Read... [18:03:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:03:49]Read from MH i2c: E2 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: E2 0E 00 [18:03:49]MH_I2C_Read... [18:03:49]Read from MH i2c: E2 0E 00 85 44 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 D3 [18:03:49]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [18:03:49]wFMCommunicate OK [18:03:49]SAM_PROTO_GetShiftState done [18:03:49]FM_GetShiftState done [18:03:49]req_shift_opened done [18:03:49]requested_item shift.open_date is exist - process it [18:03:49]req_shift_open_date [18:03:49]req_shift_open_date done [18:03:49]produce_requested_data done [18:03:49]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26843,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [18:03:49]process_action_free close_receipt [18:03:49]json_value_free [18:03:49]json_value_free done [18:03:49]process_json_proto returns [18:03:49]Send response to host [18:03:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26843,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [18:03:49]free response buf [18:03:49]execute_script done [18:03:49]execute_script returns [18:03:49]free content buf [18:03:49]Sock 8.Close socket [18:03:49]Sock 8.Thread stoped [18:03:52]OFD Sender: No OFD packet to send [18:03:57]OFD Sender: No OFD packet to send [18:04:02]OFD Sender: No OFD packet to send [18:04:07]OFD Sender: No OFD packet to send [18:04:12]OFD Sender: No OFD packet to send [18:04:17]OFD Sender: No OFD packet to send [18:04:22]OFD Sender: No OFD packet to send [18:04:27]OFD Sender: No OFD packet to send [18:04:32]OFD Sender: No OFD packet to send [18:04:37]OFD Sender: No OFD packet to send [18:04:42]OFD Sender: No OFD packet to send [18:04:47]OFD Sender: No OFD packet to send [18:04:52]OFD Sender: No OFD packet to send [18:04:57]OFD Sender: No OFD packet to send [18:05:02]OFD Sender: No OFD packet to send [18:05:07]OFD Sender: No OFD packet to send [18:05:12]OFD Sender: No OFD packet to send [18:05:17]OFD Sender: No OFD packet to send [18:05:22]OFD Sender: No OFD packet to send [18:05:27]OFD Sender: No OFD packet to send [18:05:32]OFD Sender: No OFD packet to send [18:05:37]OFD Sender: No OFD packet to send [18:05:42]OFD Sender: No OFD packet to send [18:05:47]OFD Sender: No OFD packet to send [18:05:52]OFD Sender: No OFD packet to send [18:05:57]OFD Sender: No OFD packet to send [18:06:02]OFD Sender: No OFD packet to send [18:06:07]OFD Sender: No OFD packet to send [18:06:12]OFD Sender: No OFD packet to send [18:06:17]OFD Sender: No OFD packet to send [18:06:22]OFD Sender: No OFD packet to send [18:06:27]OFD Sender: No OFD packet to send [18:06:32]OFD Sender: No OFD packet to send [18:06:37]OFD Sender: No OFD packet to send [18:06:42]OFD Sender: No OFD packet to send [18:06:47]OFD Sender: No OFD packet to send [18:06:52]OFD Sender: No OFD packet to send [18:06:57]OFD Sender: No OFD packet to send [18:07:02]OFD Sender: No OFD packet to send [18:07:07]OFD Sender: No OFD packet to send [18:07:12]OFD Sender: No OFD packet to send [18:07:17]OFD Sender: No OFD packet to send [18:07:22]OFD Sender: No OFD packet to send [18:07:27]OFD Sender: No OFD packet to send [18:07:32]OFD Sender: No OFD packet to send [18:07:37]OFD Sender: No OFD packet to send [18:07:42]OFD Sender: No OFD packet to send [18:07:47]OFD Sender: No OFD packet to send [18:07:52]OFD Sender: No OFD packet to send [18:07:57]OFD Sender: No OFD packet to send [18:08:02]OFD Sender: No OFD packet to send [18:08:07]OFD Sender: No OFD packet to send [18:08:12]OFD Sender: No OFD packet to send [18:08:17]OFD Sender: No OFD packet to send [18:08:22]OFD Sender: No OFD packet to send [18:08:27]OFD Sender: No OFD packet to send [18:08:32]OFD Sender: No OFD packet to send [18:08:37]OFD Sender: No OFD packet to send [18:08:42]OFD Sender: No OFD packet to send [18:08:47]OFD Sender: No OFD packet to send [18:08:52]OFD Sender: No OFD packet to send [18:08:57]OFD Sender: No OFD packet to send [18:09:02]OFD Sender: No OFD packet to send [18:09:07]OFD Sender: No OFD packet to send [18:09:12]OFD Sender: No OFD packet to send [18:09:17]OFD Sender: No OFD packet to send [18:09:22]OFD Sender: No OFD packet to send [18:09:27]OFD Sender: No OFD packet to send [18:09:32]OFD Sender: No OFD packet to send [18:09:37]OFD Sender: No OFD packet to send [18:09:42]OFD Sender: No OFD packet to send [18:09:48]OFD Sender: No OFD packet to send [18:09:53]OFD Sender: No OFD packet to send [18:09:58]OFD Sender: No OFD packet to send [18:10:03]OFD Sender: No OFD packet to send [18:10:08]OFD Sender: No OFD packet to send [18:10:13]OFD Sender: No OFD packet to send [18:10:18]OFD Sender: No OFD packet to send [18:10:23]OFD Sender: No OFD packet to send [18:10:24]accept exits with 9 [18:10:24]New connection [18:10:24]New thread 3067014500 created [18:10:24]Thread 3066871140 joined [18:10:24]Waiting for new connection... [18:10:24] Sock 9.Parse request [18:10:24]Sock 9.Check first char [18:10:24]Sock 9.First char is OK [18:10:24]request: POST /json_proto HTTP/1.0 [18:10:24]Method: POST [18:10:24]URL: /json_proto [18:10:24]Method is POST - this is cgi request [18:10:24]url: /json_proto [18:10:24]query_string will be loaded in cgi processing [18:10:24]execute_cgi json_proto POST (null) [18:10:24]execute_cgi path=json_proto method=POST [18:10:24]POST find Content-Length [18:10:24]Host: 172.17.35.3:8080 [18:10:24]Content-Length: 677 [18:10:24]Content-Type: application/json [18:10:24] [18:10:24]POST finish read [18:10:24]Found Content-Length = 677 [18:10:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359589", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 9.740, "sum" : 700.31, "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:10:24]execute_script... [18:10:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359589", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 9.740, "sum" : 700.31, "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:10:24]POST & json_proto [18:10:24]process_json_proto [18:10:24]json parsed OK: [18:10:24]protocol is kg_v1.0 [18:10:24]action value=close_receipt [18:10:24]process_action close_receipt [18:10:24]cmd_close_receipt [18:10:24]MH_GetDate [18:10:24]Write to MH i2c: F0 00 00 86 44 B9 [18:10:24]Write i2c OK [18:10:24]MH_I2C_Read... [18:10:24]Read from MH i2c: F0 [18:10:24]MH_I2C_Read... [18:10:24]Read from MH i2c: F0 09 00 [18:10:24]MH_I2C_Read... [18:10:24]Read from MH i2c: F0 09 00 86 44 00 20 33 14 66 2B 11 66 64 95 [18:10:24]GetLastDocTimeStamp 1712599440 [18:10:24]current date 1712599840 [18:10:24]FM_GetShiftState [18:10:24]SAM_PROTO_GetShiftState [18:10:24]wFMCommunicate request_size=4 [18:10:24]MH_SAM_APDU [18:10:24]CAPDU: 80 13 01 00 [18:10:24]Write to MH i2c: E2 08 00 87 44 80 13 01 00 00 00 00 00 48 [18:10:24]Write i2c OK [18:10:24]MH_I2C_Read... [18:10:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:10:24]Read from MH i2c: E2 [18:10:24]MH_I2C_Read... [18:10:24]Read from MH i2c: E2 0E 00 [18:10:24]MH_I2C_Read... [18:10:24]Read from MH i2c: E2 0E 00 87 44 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 D5 [18:10:24]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [18:10:24]wFMCommunicate OK [18:10:24]SAM_PROTO_GetShiftState done [18:10:24]FM_GetShiftState done [18:10:24]opened in 1712536270 [18:10:24]opened+sec_in_day 1712622670 [18:10:24]quantity*price = 70030 [18:10:24]sum+1 = 70032 [18:10:24]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.31 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.37 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 57 08.04.2024 18:10 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26844 ФПД: 151064476179195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T181040&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26844&fm=151064476179195&tin=02508201610067®Number=0000000000091578&sum=70000 [18:10:25]StoreToDocumentArchive [18:10:25]shift 314 fd 26844 [18:10:25]save to /storage/0314/doc_00026844 [18:10:25]save last doc name /storage/0314/doc_00026844 to /storage/kkm_last_doc_name [18:10:25]save OK [18:10:25]Clear old archive folders... [18:10:25]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:10:25]tlvbuf is B6F67260 [18:10:25]SAM_PROTO_ClearQueue [18:10:25]wFMCommunicate request_size=4 [18:10:25]MH_SAM_APDU [18:10:25]CAPDU: 80 09 00 00 [18:10:25]Write to MH i2c: E2 08 00 94 44 80 09 00 00 00 00 00 00 4A [18:10:25]Write i2c OK [18:10:25]MH_I2C_Read... [18:10:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:10:25]Read from MH i2c: E2 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 94 44 00 90 00 4C [18:10:25]RAPDU: 90 00 [18:10:25]wFMCommunicate OK [18:10:25]SAM_PROTO_ClearQueue done [18:10:25]KKMCreateOFDPacket [18:10:25]OFDProtocolAddRootSTLVToBuf [18:10:25]FM_MakeSignedData [18:10:25]FM_MakeSignedData [18:10:25]SAM_PROTO_SignData [18:10:25]wFMCommunicate request_size=4 [18:10:25]MH_SAM_APDU [18:10:25]CAPDU: 80 0D 01 02 [18:10:25]Write to MH i2c: E2 08 00 95 44 80 0D 01 02 00 00 00 00 52 [18:10:25]Write i2c OK [18:10:25]MH_I2C_Read... [18:10:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:10:25]Read from MH i2c: E2 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 95 44 00 90 00 4D [18:10:25]RAPDU: 90 00 [18:10:25]wFMCommunicate OK [18:10:25]wFMCommunicate request_size=255 [18:10:25]MH_SAM_APDU [18:10:25]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 0C 26 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 8F 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 0D 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 39 00 00 00 F4 03 04 00 20 33 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DC 68 00 00 35 04 06 00 89 [18:10:25]Write to MH i2c: E2 02 01 96 44 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 0C 26 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 8F 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 0D 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 39 00 00 00 F4 03 04 00 20 33 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DC 68 00 00 35 04 06 00 89 00 00 19 [18:10:25]Write i2c OK [18:10:25]MH_I2C_Read... [18:10:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:10:25]Read from MH i2c: E2 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 96 44 00 90 00 4E [18:10:25]RAPDU: 90 00 [18:10:25]wFMCommunicate OK [18:10:25]wFMCommunicate request_size=10 [18:10:25]MH_SAM_APDU [18:10:25]CAPDU: 80 0D 02 02 05 64 70 70 DA FB [18:10:25]Write to MH i2c: E2 0D 00 97 44 80 0D 02 02 05 00 64 70 70 DA FB 00 00 78 [18:10:25]Write i2c OK [18:10:25]MH_I2C_Read... [18:10:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:10:25]Read from MH i2c: E2 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 [18:10:25]MH_I2C_Read... [18:10:25]Read from MH i2c: E2 03 00 97 44 00 90 00 4F [18:10:25]RAPDU: 90 00 [18:10:25]wFMCommunicate OK [18:10:25]wFMCommunicate request_size=4 [18:10:25]MH_SAM_APDU [18:10:25]CAPDU: 80 0D 03 02 [18:10:25]Write to MH i2c: E2 08 00 98 44 80 0D 03 02 00 00 00 00 57 [18:10:25]Write i2c OK [18:10:25]MH_I2C_Read... [18:10:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:10:26]Read from MH i2c: E2 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: E2 0B 00 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: E2 0B 00 98 44 00 83 49 30 89 92 F8 57 07 90 00 C5 [18:10:26]RAPDU: 83 49 30 89 92 F8 57 07 90 00 [18:10:26]wFMCommunicate OK [18:10:26]SAM_PROTO_SignData done [18:10:26]FM_MakeSignedData done [18:10:26]CreateOFDProtocolMessage [18:10:26]wFMCommunicate request_size=4 [18:10:26]MH_SAM_APDU [18:10:26]CAPDU: 80 11 00 00 [18:10:26]Write to MH i2c: E2 08 00 99 44 80 11 00 00 00 00 00 00 57 [18:10:26]Write i2c OK [18:10:26]MH_I2C_Read... [18:10:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:10:26]Read from MH i2c: E2 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: E2 17 00 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: E2 17 00 99 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AF [18:10:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:10:26]wFMCommunicate OK [18:10:26]CreateOFDProtocolMessage done [18:10:26]OFDSenderStorePacket 26844 [18:10:26]StoreOFDPacket docnum=26844 [18:10:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 FE FD 07 01 36 E3 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 0C 26 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 8F 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 0D 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 39 00 00 00 F4 03 04 00 20 33 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DC 68 00 00 35 04 06 00 89 64 70 70 DA FB 83 49 30 89 92 F8 57 07 [18:10:26]CheckFolder [18:10:26]dirname=/storage/ofd_packets [18:10:26]CheckFolder done [18:10:26]ProducePacketName [18:10:26]name=ofd_packets/00026844 [18:10:26]NVStorageSaveData ofd_packets/00026844 [18:10:26]File name is /storage/ofd_packets/00026844 [18:10:26]Write 301 bytes [18:10:26]NVStorageSaveData done [18:10:26]OFDSenderStorePacket done [18:10:26]KKMCreateOFDPacket done [18:10:26]NVStorageSaveData kkm_last_timestamp [18:10:26]File name is /storage/kkm_last_timestamp [18:10:26]Write 4 bytes [18:10:26]NVStorageSaveData done [18:10:26]ExternCall_PrintAddStr [18:10:26]wPrintStart [18:10:26]Write to MH i2c: 01 00 00 9A 44 DE [18:10:26]Write i2c OK [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: 01 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: 01 07 00 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: 01 07 00 9A 44 00 00 00 00 00 FF 0F F3 [18:10:26]RasterBufferAndPrint [18:10:26]line Счет N : (1)359589 [18:10:26]line ИÐÐ: 02508201610067 [18:10:26]line Контрольно-КаÑÑовый Чек [18:10:26]line ПРОДÐЖР[18:10:26]line ТРК (МРК, ГÐК) : 53 [18:10:26]line Товар: 2710124500 [18:10:26]line Ðи-95-К-5 [18:10:26]line 9.740 * 71.90 [18:10:26]line = 700.31 [18:10:26]line ÐДС 12% ÐСП 1% [18:10:26]line > о реализуемом товаре [18:10:26]line ОКРУГЛЕÐИЕ: -0.31 [18:10:26]line ИТОГО: 700.00 [18:10:26]line ВнеÑено: 700.00 [18:10:26]line СДÐЧÐ: 0.00 [18:10:26]line ÐСП 1% : 6.20 [18:10:26]line ÐДС 12% : 74.37 [18:10:26]line Ðаличными: 700.00 [18:10:26]line Безнал.: 0.00 [18:10:26]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [18:10:26]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:10:26]line СÐО: Общий режим [18:10:26]line Чек 57 08.04.2024 18:10 [18:10:26]line Смена: 314 ФФД: 1.0 [18:10:26]line ЗÐМ: 0300000147 [18:10:26]line РÐМ: 0000000000091578 [18:10:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:10:26]line ФМ: 0000000000874657 [18:10:26]line ФД: 26844 [18:10:26]line ФПД: 151064476179195 [18:10:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T181040&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26844&fm=151064476179195&tin=02508201610067®Number=0000000000091578&sum=70000 [18:10:26]written 0, free lines is 4095 [18:10:26]OFD Sender: Processing packet 26844 [packets to send 44, broken 43] [18:10:26]ProducePacketName [18:10:26]name=ofd_packets/00026844 [18:10:26]OFD Sender: To server: ‡•öpG, [18:10:26]CommunicateWithHost lk.salyk.kg:30040 [18:10:26]ConnectInit lk.salyk.kg [18:10:26]Connected sock=10 [18:10:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 FE FD 07 01 36 E3 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 0C 26 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 8F 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 0D 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 39 00 00 00 F4 03 04 00 20 33 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DC 68 00 00 35 04 06 00 89 64 70 70 DA FB 83 49 30 89 92 F8 57 07 [18:10:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9B A7 47 00 C4 DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DC 68 00 00 F4 03 04 00 89 DA 13 66 B6 04 01 00 00 27 3D F8 C1 DD B5 D7 EC [18:10:26]CommunicateWithHost err = 0 [18:10:26]CheckOFDResponse [18:10:26]1017 (14) - 77093643461234 [18:10:26]1041 (16) - 0000000000874657 [18:10:26]1040 (4) - 26844 [18:10:26]1012 (4) - 08.04.2024 11:52 [18:10:26]1206 (1) - 0 [18:10:26]OFD Sender: Remove packet 26844 [18:10:26]ProducePacketName [18:10:26]name=ofd_packets/00026844 [18:10:26]NVStorageDeleteData [18:10:26]Write to MH i2c: 01 00 00 C5 44 09 [18:10:26]Write i2c OK [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: 01 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: 01 07 00 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: 01 07 00 C5 44 00 00 00 00 00 72 0C 8E [18:10:26]RasterBufferAndPrint [18:10:26]line [18:10:26]line [18:10:26]line [18:10:26]line [18:10:26]line [18:10:26]written 0, free lines is 3189 [18:10:26]MH_Cut [18:10:26]Write to MH i2c: D1 01 00 CC 44 01 E2 [18:10:26]Write i2c OK [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: D1 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: D1 01 00 [18:10:26]MH_I2C_Read... [18:10:26]Read from MH i2c: D1 01 00 CC 44 00 E1 [18:10:26]Write to MH i2c: 01 00 00 CD 44 11 [18:10:26]Write i2c OK [18:10:26]MH_I2C_Read... [18:10:27]OFD Sender: No OFD packet to send [18:10:28]*** Cut start [18:10:28]*** Partial cut [18:10:28]*** CUTSNS_PIN = 1 [18:10:28]*** CUTSNS_PIN = 0 [18:10:28]*** Brake cut motor [18:10:28]Read from MH i2c: 01 [18:10:28]MH_I2C_Read... [18:10:28]*** Stop cut motor [18:10:28]*** Cut end [18:10:28]Read from MH i2c: 01 07 00 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: 01 07 00 CD 44 00 00 00 00 00 FF 0F 26 [18:10:28]process_action close_receipt done [18:10:28]requested_data is exist [18:10:28]produce_requested_data [18:10:28]requested_item fm.sn is exist - process it [18:10:28]wFMCommunicate request_size=4 [18:10:28]MH_SAM_APDU [18:10:28]CAPDU: 80 11 00 00 [18:10:28]Write to MH i2c: E2 08 00 CE 44 80 11 00 00 00 00 00 00 8C [18:10:28]Write i2c OK [18:10:28]MH_I2C_Read... [18:10:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:10:28]Read from MH i2c: E2 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: E2 17 00 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: E2 17 00 CE 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E4 [18:10:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:10:28]wFMCommunicate OK [18:10:28]requested_item fd.num is exist - process it [18:10:28]SAM_PROTO_GetFieldsCounters [18:10:28]wFMCommunicate request_size=4 [18:10:28]MH_SAM_APDU [18:10:28]CAPDU: 80 13 00 00 [18:10:28]Write to MH i2c: E2 08 00 CF 44 80 13 00 00 00 00 00 00 8F [18:10:28]Write i2c OK [18:10:28]MH_I2C_Read... [18:10:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:10:28]Read from MH i2c: E2 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: E2 62 00 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: E2 62 00 CF 44 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 E4 [18:10:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:10:28]wFMCommunicate OK [18:10:28]SAM_PROTO_GetFieldsCounters done [18:10:28]requested_item shift.num is exist - process it [18:10:28]requested_item shift.opened is exist - process it [18:10:28]req_shift_opened [18:10:28]FM_GetShiftState [18:10:28]SAM_PROTO_GetShiftState [18:10:28]wFMCommunicate request_size=4 [18:10:28]MH_SAM_APDU [18:10:28]CAPDU: 80 13 01 00 [18:10:28]Write to MH i2c: E2 08 00 D0 44 80 13 01 00 00 00 00 00 91 [18:10:28]Write i2c OK [18:10:28]MH_I2C_Read... [18:10:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:10:28]Read from MH i2c: E2 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: E2 0E 00 [18:10:28]MH_I2C_Read... [18:10:28]Read from MH i2c: E2 0E 00 D0 44 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 1E [18:10:28]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [18:10:28]wFMCommunicate OK [18:10:28]SAM_PROTO_GetShiftState done [18:10:28]FM_GetShiftState done [18:10:28]req_shift_opened done [18:10:28]requested_item shift.open_date is exist - process it [18:10:28]req_shift_open_date [18:10:28]req_shift_open_date done [18:10:28]produce_requested_data done [18:10:28]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26844,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [18:10:28]process_action_free close_receipt [18:10:28]json_value_free [18:10:28]json_value_free done [18:10:28]process_json_proto returns [18:10:28]Send response to host [18:10:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26844,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [18:10:28]free response buf [18:10:28]execute_script done [18:10:28]execute_script returns [18:10:28]free content buf [18:10:28]Sock 9.Close socket [18:10:28]Sock 9.Thread stoped [18:10:32]OFD Sender: No OFD packet to send [18:10:37]OFD Sender: No OFD packet to send [18:10:42]OFD Sender: No OFD packet to send [18:10:47]OFD Sender: No OFD packet to send [18:10:52]OFD Sender: No OFD packet to send [18:10:57]OFD Sender: No OFD packet to send [18:11:02]OFD Sender: No OFD packet to send [18:11:07]OFD Sender: No OFD packet to send [18:11:12]OFD Sender: No OFD packet to send [18:11:17]OFD Sender: No OFD packet to send [18:11:22]OFD Sender: No OFD packet to send [18:11:27]OFD Sender: No OFD packet to send [18:11:32]OFD Sender: No OFD packet to send [18:11:37]OFD Sender: No OFD packet to send [18:11:42]OFD Sender: No OFD packet to send [18:11:47]OFD Sender: No OFD packet to send [18:11:52]OFD Sender: No OFD packet to send [18:11:57]OFD Sender: No OFD packet to send [18:12:02]OFD Sender: No OFD packet to send [18:12:07]OFD Sender: No OFD packet to send [18:12:12]OFD Sender: No OFD packet to send [18:12:17]OFD Sender: No OFD packet to send [18:12:22]OFD Sender: No OFD packet to send [18:12:27]OFD Sender: No OFD packet to send [18:12:32]OFD Sender: No OFD packet to send [18:12:37]OFD Sender: No OFD packet to send [18:12:42]OFD Sender: No OFD packet to send [18:12:47]OFD Sender: No OFD packet to send [18:12:52]OFD Sender: No OFD packet to send [18:12:57]OFD Sender: No OFD packet to send [18:13:02]OFD Sender: No OFD packet to send [18:13:07]OFD Sender: No OFD packet to send [18:13:12]OFD Sender: No OFD packet to send [18:13:17]OFD Sender: No OFD packet to send [18:13:22]OFD Sender: No OFD packet to send [18:13:27]OFD Sender: No OFD packet to send [18:13:32]OFD Sender: No OFD packet to send [18:13:37]OFD Sender: No OFD packet to send [18:13:42]OFD Sender: No OFD packet to send [18:13:47]OFD Sender: No OFD packet to send [18:13:52]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:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24:27]OFD Sender: No OFD packet to send [18:24:32]OFD Sender: No OFD packet to send [18:24:37]OFD Sender: No OFD packet to send [18:24:42]OFD Sender: No OFD packet to send [18:24:47]OFD Sender: No OFD packet to send [18:24:52]OFD Sender: No OFD packet to send [18:24:58]OFD Sender: No OFD packet to send [18:25:03]OFD Sender: No OFD packet to send [18:25:08]OFD Sender: No OFD packet to send [18:25:13]OFD Sender: No OFD packet to send [18:25:18]OFD Sender: No OFD packet to send [18:25:23]OFD Sender: No OFD packet to send [18:25:28]OFD Sender: No OFD packet to send [18:25:33]OFD Sender: No OFD packet to send [18:25:38]OFD Sender: No OFD packet to send [18:25:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:28]OFD Sender: No OFD packet to send [18:33:33]OFD Sender: No OFD packet to send [18:33:38]OFD Sender: No OFD packet to send [18:33:43]OFD Sender: No OFD packet to send [18:33:48]OFD Sender: No OFD packet to send [18:33:53]OFD Sender: No OFD packet to send [18:33:58]OFD Sender: No OFD packet to send [18:34:03]OFD Sender: No OFD packet to send [18:34:08]OFD Sender: No OFD packet to send [18:34:13]OFD Sender: No OFD packet to send [18:34:18]OFD Sender: No OFD packet to send [18:34:23]OFD Sender: No OFD packet to send [18:34:28]OFD Sender: No OFD packet to send [18:34:33]OFD Sender: No OFD packet to send [18:34:38]OFD Sender: No OFD packet to send [18:34:43]OFD Sender: No OFD packet to send [18:34:48]OFD Sender: No OFD packet to send [18:34:53]OFD Sender: No OFD packet to send [18:34:58]OFD Sender: No OFD packet to send [18:35:03]OFD Sender: No OFD packet to send [18:35:08]OFD Sender: No OFD packet to send [18:35:13]OFD Sender: No OFD packet to send [18:35:18]OFD Sender: No OFD packet to send [18:35:23]OFD Sender: No OFD packet to send [18:35:28]OFD Sender: No OFD packet to send [18:35:33]OFD Sender: No OFD packet to send [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:58]OFD Sender: No OFD packet to send [18:36:03]OFD Sender: No OFD packet to send [18:36:08]OFD Sender: No OFD packet to send [18:36:13]OFD Sender: No OFD packet to send [18:36:18]OFD Sender: No OFD packet to send [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:35]accept exits with 8 [18:36:35]New connection [18:36:35]New thread 3066871140 created [18:36:35]Thread 3067014500 joined [18:36:35]Waiting for new connection... [18:36:35] Sock 8.Parse request [18:36:35]Sock 8.Check first char [18:36:35]Sock 8.First char is OK [18:36:35]request: POST /json_proto HTTP/1.0 [18:36:35]Method: POST [18:36:35]URL: /json_proto [18:36:35]Method is POST - this is cgi request [18:36:35]url: /json_proto [18:36:35]query_string will be loaded in cgi processing [18:36:35]execute_cgi json_proto POST (null) [18:36:35]execute_cgi path=json_proto method=POST [18:36:35]POST find Content-Length [18:36:35]Host: 172.17.35.3:8080 [18:36:35]Content-Length: 678 [18:36:35]Content-Type: application/json [18:36:35] [18:36:35]POST finish read [18:36:35]Found Content-Length = 678 [18:36:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359590", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 10.300, "sum" : 740.57, "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" ] } } [18:36:35]execute_script... [18:36:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359590", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 10.300, "sum" : 740.57, "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" ] } } [18:36:35]POST & json_proto [18:36:35]process_json_proto [18:36:35]json parsed OK: [18:36:35]protocol is kg_v1.0 [18:36:35]action value=close_receipt [18:36:35]process_action close_receipt [18:36:35]cmd_close_receipt [18:36:35]MH_GetDate [18:36:35]Write to MH i2c: F0 00 00 D1 44 04 [18:36:35]Write i2c OK [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: F0 [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: F0 09 00 [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: F0 09 00 D1 44 00 43 39 14 66 2B 11 66 64 09 [18:36:35]GetLastDocTimeStamp 1712599840 [18:36:35]current date 1712601411 [18:36:35]FM_GetShiftState [18:36:35]SAM_PROTO_GetShiftState [18:36:35]wFMCommunicate request_size=4 [18:36:35]MH_SAM_APDU [18:36:35]CAPDU: 80 13 01 00 [18:36:35]Write to MH i2c: E2 08 00 D2 44 80 13 01 00 00 00 00 00 93 [18:36:35]Write i2c OK [18:36:35]MH_I2C_Read... [18:36:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:35]Read from MH i2c: E2 [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: E2 0E 00 [18:36:35]MH_I2C_Read... [18:36:35]Read from MH i2c: E2 0E 00 D2 44 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 20 [18:36:35]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [18:36:35]wFMCommunicate OK [18:36:35]SAM_PROTO_GetShiftState done [18:36:35]FM_GetShiftState done [18:36:35]opened in 1712536270 [18:36:35]opened+sec_in_day 1712622670 [18:36:35]quantity*price = 74057 [18:36:35]sum+1 = 74058 [18:36:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.57 ИТОГО: 740.00 ВнеÑено: 740.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.55 ÐДС 12% : 78.64 Ðаличными: 740.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 58 08.04.2024 18:36 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26845 ФПД: 200427063514243 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T183651&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26845&fm=200427063514243&tin=02508201610067®Number=0000000000091578&sum=74000 [18:36:36]StoreToDocumentArchive [18:36:36]shift 314 fd 26845 [18:36:36]save to /storage/0314/doc_00026845 [18:36:36]save last doc name /storage/0314/doc_00026845 to /storage/kkm_last_doc_name [18:36:36]save OK [18:36:36]Clear old archive folders... [18:36:36]ProcessDocumentItem done err = 0, tmpTLVsize=251 [18:36:36]tlvbuf is 00EF6BF0 [18:36:36]SAM_PROTO_ClearQueue [18:36:36]wFMCommunicate request_size=4 [18:36:36]MH_SAM_APDU [18:36:36]CAPDU: 80 09 00 00 [18:36:36]Write to MH i2c: E2 08 00 DF 44 80 09 00 00 00 00 00 00 95 [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 DF 44 00 90 00 97 [18:36:36]RAPDU: 90 00 [18:36:36]wFMCommunicate OK [18:36:36]SAM_PROTO_ClearQueue done [18:36:36]KKMCreateOFDPacket [18:36:36]OFDProtocolAddRootSTLVToBuf [18:36:36]FM_MakeSignedData [18:36:36]FM_MakeSignedData [18:36:36]SAM_PROTO_SignData [18:36:36]wFMCommunicate request_size=4 [18:36:36]MH_SAM_APDU [18:36:36]CAPDU: 80 0D 01 02 [18:36:36]Write to MH i2c: E2 08 00 E0 44 80 0D 01 02 00 00 00 00 9D [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 E0 44 00 90 00 98 [18:36:36]RAPDU: 90 00 [18:36:36]wFMCommunicate OK [18:36:36]wFMCommunicate request_size=255 [18:36:36]MH_SAM_APDU [18:36:36]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 3C 28 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 49 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 B8 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 3A 00 00 00 F4 03 04 00 43 39 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DD 68 00 00 35 04 06 00 B6 [18:36:36]Write to MH i2c: E2 02 01 E1 44 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 3C 28 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 49 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 B8 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 3A 00 00 00 F4 03 04 00 43 39 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DD 68 00 00 35 04 06 00 B6 00 00 E7 [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 E1 44 00 90 00 99 [18:36:36]RAPDU: 90 00 [18:36:36]wFMCommunicate OK [18:36:36]wFMCommunicate request_size=10 [18:36:36]MH_SAM_APDU [18:36:36]CAPDU: 80 0D 02 02 05 49 8F EC 94 83 [18:36:36]Write to MH i2c: E2 0D 00 E2 44 80 0D 02 02 05 00 49 8F EC 94 83 00 00 85 [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 03 00 E2 44 00 90 00 9A [18:36:36]RAPDU: 90 00 [18:36:36]wFMCommunicate OK [18:36:36]wFMCommunicate request_size=4 [18:36:36]MH_SAM_APDU [18:36:36]CAPDU: 80 0D 03 02 [18:36:36]Write to MH i2c: E2 08 00 E3 44 80 0D 03 02 00 00 00 00 A2 [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 0B 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 0B 00 E3 44 00 15 37 67 D4 F1 FA 1C 93 90 00 C4 [18:36:36]RAPDU: 15 37 67 D4 F1 FA 1C 93 90 00 [18:36:36]wFMCommunicate OK [18:36:36]SAM_PROTO_SignData done [18:36:36]FM_MakeSignedData done [18:36:36]CreateOFDProtocolMessage [18:36:36]wFMCommunicate request_size=4 [18:36:36]MH_SAM_APDU [18:36:36]CAPDU: 80 11 00 00 [18:36:36]Write to MH i2c: E2 08 00 E4 44 80 11 00 00 00 00 00 00 A2 [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:36]Read from MH i2c: E2 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 17 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: E2 17 00 E4 44 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FA [18:36:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:36:36]wFMCommunicate OK [18:36:36]CreateOFDProtocolMessage done [18:36:36]OFDSenderStorePacket 26845 [18:36:36]StoreOFDPacket docnum=26845 [18:36:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E5 AB 07 01 B9 E4 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 3C 28 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 49 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 B8 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 3A 00 00 00 F4 03 04 00 43 39 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DD 68 00 00 35 04 06 00 B6 49 8F EC 94 83 15 37 67 D4 F1 FA 1C 93 [18:36:36]CheckFolder [18:36:36]dirname=/storage/ofd_packets [18:36:36]CheckFolder done [18:36:36]ProducePacketName [18:36:36]name=ofd_packets/00026845 [18:36:36]NVStorageSaveData ofd_packets/00026845 [18:36:36]File name is /storage/ofd_packets/00026845 [18:36:36]Write 301 bytes [18:36:36]NVStorageSaveData done [18:36:36]OFDSenderStorePacket done [18:36:36]KKMCreateOFDPacket done [18:36:36]NVStorageSaveData kkm_last_timestamp [18:36:36]File name is /storage/kkm_last_timestamp [18:36:36]Write 4 bytes [18:36:36]NVStorageSaveData done [18:36:36]ExternCall_PrintAddStr [18:36:36]wPrintStart [18:36:36]Write to MH i2c: 01 00 00 E5 44 29 [18:36:36]Write i2c OK [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: 01 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: 01 07 00 [18:36:36]MH_I2C_Read... [18:36:36]Read from MH i2c: 01 07 00 E5 44 00 00 00 00 00 FF 0F 3E [18:36:36]RasterBufferAndPrint [18:36:36]line Счет N : (1)359590 [18:36:36]line ИÐÐ: 02508201610067 [18:36:36]line Контрольно-КаÑÑовый Чек [18:36:36]line ПРОДÐЖР[18:36:36]line ТРК (МРК, ГÐК) : 53 [18:36:36]line Товар: 2710124500 [18:36:36]line Ðи-95-К-5 [18:36:36]line 10.300 * 71.90 [18:36:36]line = 740.57 [18:36:36]line ÐДС 12% ÐСП 1% [18:36:36]line > о реализуемом товаре [18:36:36]line ОКРУГЛЕÐИЕ: -0.57 [18:36:36]line ИТОГО: 740.00 [18:36:36]line ВнеÑено: 740.00 [18:36:36]line СДÐЧÐ: 0.00 [18:36:36]line ÐСП 1% : 6.55 [18:36:36]line ÐДС 12% : 78.64 [18:36:36]line Ðаличными: 740.00 [18:36:36]line Безнал.: 0.00 [18:36:36]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [18:36:36]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [18:36:36]line СÐО: Общий режим [18:36:36]line Чек 58 08.04.2024 18:36 [18:36:36]line Смена: 314 ФФД: 1.0 [18:36:36]line ЗÐМ: 0300000147 [18:36:36]line РÐМ: 0000000000091578 [18:36:36]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [18:36:36]line ФМ: 0000000000874657 [18:36:36]line ФД: 26845 [18:36:36]line ФПД: 200427063514243 [18:36:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T183651&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26845&fm=200427063514243&tin=02508201610067®Number=0000000000091578&sum=74000 [18:36:37]OFD Sender: Processing packet 26845 [packets to send 44, broken 43] [18:36:37]ProducePacketName [18:36:37]name=ofd_packets/00026845 [18:36:37]OFD Sender: To server: ‡•öpG, [18:36:37]CommunicateWithHost lk.salyk.kg:30040 [18:36:37]ConnectInit lk.salyk.kg [18:36:37]written 0, free lines is 4095 [18:36:37]Connected sock=10 [18:36:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 E5 AB 07 01 B9 E4 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 3C 28 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 49 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 B8 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 3A 00 00 00 F4 03 04 00 43 39 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DD 68 00 00 35 04 06 00 B6 49 8F EC 94 83 15 37 67 D4 F1 FA 1C 93 [18:36:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 63 2D 47 00 49 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DD 68 00 00 F4 03 04 00 AC E0 13 66 B6 04 01 00 00 E6 09 BC 6E 03 EB 03 BA [18:36:37]CommunicateWithHost err = 0 [18:36:37]CheckOFDResponse [18:36:37]1017 (14) - 77093643461234 [18:36:37]1041 (16) - 0000000000874657 [18:36:37]1040 (4) - 26845 [18:36:37]1012 (4) - 08.04.2024 12:18 [18:36:37]1206 (1) - 0 [18:36:37]OFD Sender: Remove packet 26845 [18:36:37]ProducePacketName [18:36:37]name=ofd_packets/00026845 [18:36:37]NVStorageDeleteData [18:36:37]Write to MH i2c: 01 00 00 10 45 55 [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: 01 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: 01 07 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: 01 07 00 10 45 00 00 00 00 00 76 0C DE [18:36:37]RasterBufferAndPrint [18:36:37]line [18:36:37]line [18:36:37]line [18:36:37]line [18:36:37]line [18:36:37]written 0, free lines is 3192 [18:36:37]MH_Cut [18:36:37]Write to MH i2c: D1 01 00 17 45 01 2E [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: D1 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: D1 01 00 [18:36:37]MH_I2C_Read... [18:36:37]Read from MH i2c: D1 01 00 17 45 00 2D [18:36:37]Write to MH i2c: 01 00 00 18 45 5D [18:36:37]Write i2c OK [18:36:37]MH_I2C_Read... [18:36:38]OFD Sender: No OFD packet to send [18:36:38]*** Cut start [18:36:38]*** Partial cut [18:36:38]*** CUTSNS_PIN = 1 [18:36:38]*** CUTSNS_PIN = 0 [18:36:39]*** Brake cut motor [18:36:39]Read from MH i2c: 01 [18:36:39]MH_I2C_Read... [18:36:39]*** Stop cut motor [18:36:39]*** Cut end [18:36:39]Read from MH i2c: 01 07 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: 01 07 00 18 45 00 00 00 00 00 FF 0F 72 [18:36:39]process_action close_receipt done [18:36:39]requested_data is exist [18:36:39]produce_requested_data [18:36:39]requested_item fm.sn is exist - process it [18:36:39]wFMCommunicate request_size=4 [18:36:39]MH_SAM_APDU [18:36:39]CAPDU: 80 11 00 00 [18:36:39]Write to MH i2c: E2 08 00 19 45 80 11 00 00 00 00 00 00 D8 [18:36:39]Write i2c OK [18:36:39]MH_I2C_Read... [18:36:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:39]Read from MH i2c: E2 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 17 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 17 00 19 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 30 [18:36:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [18:36:39]wFMCommunicate OK [18:36:39]requested_item fd.num is exist - process it [18:36:39]SAM_PROTO_GetFieldsCounters [18:36:39]wFMCommunicate request_size=4 [18:36:39]MH_SAM_APDU [18:36:39]CAPDU: 80 13 00 00 [18:36:39]Write to MH i2c: E2 08 00 1A 45 80 13 00 00 00 00 00 00 DB [18:36:39]Write i2c OK [18:36:39]MH_I2C_Read... [18:36:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:39]Read from MH i2c: E2 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 62 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 62 00 1A 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [18:36:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DD 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:36:39]wFMCommunicate OK [18:36:39]SAM_PROTO_GetFieldsCounters done [18:36:39]requested_item shift.num is exist - process it [18:36:39]requested_item shift.opened is exist - process it [18:36:39]req_shift_opened [18:36:39]FM_GetShiftState [18:36:39]SAM_PROTO_GetShiftState [18:36:39]wFMCommunicate request_size=4 [18:36:39]MH_SAM_APDU [18:36:39]CAPDU: 80 13 01 00 [18:36:39]Write to MH i2c: E2 08 00 1B 45 80 13 01 00 00 00 00 00 DD [18:36:39]Write i2c OK [18:36:39]MH_I2C_Read... [18:36:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:39]Read from MH i2c: E2 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 0E 00 [18:36:39]MH_I2C_Read... [18:36:39]Read from MH i2c: E2 0E 00 1B 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 6A [18:36:39]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [18:36:39]wFMCommunicate OK [18:36:39]SAM_PROTO_GetShiftState done [18:36:39]FM_GetShiftState done [18:36:39]req_shift_opened done [18:36:39]requested_item shift.open_date is exist - process it [18:36:39]req_shift_open_date [18:36:39]req_shift_open_date done [18:36:39]produce_requested_data done [18:36:39]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26845,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [18:36:39]process_action_free close_receipt [18:36:39]json_value_free [18:36:39]json_value_free done [18:36:39]process_json_proto returns [18:36:39]Send response to host [18:36:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26845,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [18:36:39]free response buf [18:36:39]execute_script done [18:36:39]execute_script returns [18:36:39]free content buf [18:36:39]Sock 8.Close socket [18:36:39]Sock 8.Thread stoped [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]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:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:49]OFD Sender: No OFD packet to send [18:58:54]OFD Sender: No OFD packet to send [18:58:59]OFD Sender: No OFD packet to send [18:59:04]OFD Sender: No OFD packet to send [18:59:09]OFD Sender: No OFD packet to send [18:59:14]OFD Sender: No OFD packet to send [18:59:19]OFD Sender: No OFD packet to send [18:59:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:13]accept exits with 9 [19:05:13]New connection [19:05:13]New thread 3067014500 created [19:05:13]Thread 3066871140 joined [19:05:13]Waiting for new connection... [19:05:13] Sock 9.Parse request [19:05:13]Sock 9.Check first char [19:05:13]Sock 9.First char is OK [19:05:13]request: POST /json_proto HTTP/1.0 [19:05:13]Method: POST [19:05:13]URL: /json_proto [19:05:13]Method is POST - this is cgi request [19:05:13]url: /json_proto [19:05:13]query_string will be loaded in cgi processing [19:05:13]execute_cgi json_proto POST (null) [19:05:13]execute_cgi path=json_proto method=POST [19:05:13]POST find Content-Length [19:05:13]Host: 172.17.35.3:8080 [19:05:13]Content-Length: 819 [19:05:13]Content-Type: application/json [19:05:13] [19:05:13]POST finish read [19:05:13]Found Content-Length = 819 [19:05:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359591", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "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" : 1000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:13]execute_script... [19:05: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)359591", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "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" : 1000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:05:13]POST & json_proto [19:05:13]process_json_proto [19:05:13]json parsed OK: [19:05:13]protocol is kg_v1.0 [19:05:13]action value=close_receipt [19:05:13]process_action close_receipt [19:05:13]cmd_close_receipt [19:05:13]MH_GetDate [19:05:13]Write to MH i2c: F0 00 00 1C 45 50 [19:05:13]Write i2c OK [19:05:13]MH_I2C_Read... [19:05:13]Read from MH i2c: F0 [19:05:13]MH_I2C_Read... [19:05:13]Read from MH i2c: F0 09 00 [19:05:13]MH_I2C_Read... [19:05:13]Read from MH i2c: F0 09 00 1C 45 00 F9 3F 14 66 2B 11 66 64 11 [19:05:13]GetLastDocTimeStamp 1712601411 [19:05:13]current date 1712603129 [19:05:13]FM_GetShiftState [19:05:13]SAM_PROTO_GetShiftState [19:05:13]wFMCommunicate request_size=4 [19:05:13]MH_SAM_APDU [19:05:13]CAPDU: 80 13 01 00 [19:05:13]Write to MH i2c: E2 08 00 1D 45 80 13 01 00 00 00 00 00 DF [19:05:13]Write i2c OK [19:05:13]MH_I2C_Read... [19:05:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:13]Read from MH i2c: E2 [19:05:13]MH_I2C_Read... [19:05:13]Read from MH i2c: E2 0E 00 [19:05:13]MH_I2C_Read... [19:05:13]Read from MH i2c: E2 0E 00 1D 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 6C [19:05:13]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:05:13]wFMCommunicate OK [19:05:13]SAM_PROTO_GetShiftState done [19:05:13]FM_GetShiftState done [19:05:13]opened in 1712536270 [19:05:13]opened+sec_in_day 1712622670 [19:05:13]quantity*price = 100012 [19:05:13]sum+1 = 100014 [19:05:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.13 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.13 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 59 08.04.2024 19:05 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000874657 ФД: 26846 ФПД: 137663457815347 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T190529&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26846&fm=137663457815347&tin=02508201610067®Number=0000000000091578&sum=100013 [19:05:14]StoreToDocumentArchive [19:05:14]shift 314 fd 26846 [19:05:14]save to /storage/0314/doc_00026846 [19:05:14]save last doc name /storage/0314/doc_00026846 to /storage/kkm_last_doc_name [19:05:14]save OK [19:05:14]Clear old archive folders... [19:05:14]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:05:14]tlvbuf is 00E3BB50 [19:05:14]SAM_PROTO_ClearQueue [19:05:14]wFMCommunicate request_size=4 [19:05:14]MH_SAM_APDU [19:05:14]CAPDU: 80 09 00 00 [19:05:14]Write to MH i2c: E2 08 00 2A 45 80 09 00 00 00 00 00 00 E1 [19:05:14]Write i2c OK [19:05:14]MH_I2C_Read... [19:05:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:05:14]Read from MH i2c: E2 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 2A 45 00 90 00 E3 [19:05:14]RAPDU: 90 00 [19:05:14]wFMCommunicate OK [19:05:14]SAM_PROTO_ClearQueue done [19:05:14]KKMCreateOFDPacket [19:05:14]OFDProtocolAddRootSTLVToBuf [19:05:14]FM_MakeSignedData [19:05:14]FM_MakeSignedData [19:05:14]SAM_PROTO_SignData [19:05:14]wFMCommunicate request_size=4 [19:05:14]MH_SAM_APDU [19:05:14]CAPDU: 80 0D 01 02 [19:05:14]Write to MH i2c: E2 08 00 2B 45 80 0D 01 02 00 00 00 00 E9 [19:05:14]Write i2c OK [19:05:14]MH_I2C_Read... [19:05:14]OFD Sender: No OFD packet to send [19:05:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:05:14]Read from MH i2c: E2 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 2B 45 00 90 00 E4 [19:05:14]RAPDU: 90 00 [19:05:14]wFMCommunicate OK [19:05:14]wFMCommunicate request_size=255 [19:05:14]MH_SAM_APDU [19:05:14]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 F9 3F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DE 68 00 00 35 04 06 00 7D [19:05:14]Write to MH i2c: E2 02 01 2C 45 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 F9 3F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DE 68 00 00 35 04 06 00 7D 00 00 64 [19:05:14]Write i2c OK [19:05:14]MH_I2C_Read... [19:05:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:14]Read from MH i2c: E2 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 2C 45 00 90 00 E5 [19:05:14]RAPDU: 90 00 [19:05:14]wFMCommunicate OK [19:05:14]wFMCommunicate request_size=10 [19:05:14]MH_SAM_APDU [19:05:14]CAPDU: 80 0D 02 02 05 34 45 80 6B 33 [19:05:14]Write to MH i2c: E2 0D 00 2D 45 80 0D 02 02 05 00 34 45 80 6B 33 00 00 8D [19:05:14]Write i2c OK [19:05:14]MH_I2C_Read... [19:05:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:05:14]Read from MH i2c: E2 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 [19:05:14]MH_I2C_Read... [19:05:14]Read from MH i2c: E2 03 00 2D 45 00 90 00 E6 [19:05:14]RAPDU: 90 00 [19:05:14]wFMCommunicate OK [19:05:14]wFMCommunicate request_size=4 [19:05:14]MH_SAM_APDU [19:05:14]CAPDU: 80 0D 03 02 [19:05:14]Write to MH i2c: E2 08 00 2E 45 80 0D 03 02 00 00 00 00 EE [19:05:14]Write i2c OK [19:05:14]MH_I2C_Read... [19:05:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:05:15]Read from MH i2c: E2 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: E2 0B 00 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: E2 0B 00 2E 45 00 32 B7 AF 7E 87 55 5C 82 90 00 BF [19:05:15]RAPDU: 32 B7 AF 7E 87 55 5C 82 90 00 [19:05:15]wFMCommunicate OK [19:05:15]SAM_PROTO_SignData done [19:05:15]FM_MakeSignedData done [19:05:15]CreateOFDProtocolMessage [19:05:15]wFMCommunicate request_size=4 [19:05:15]MH_SAM_APDU [19:05:15]CAPDU: 80 11 00 00 [19:05:15]Write to MH i2c: E2 08 00 2F 45 80 11 00 00 00 00 00 00 EE [19:05:15]Write i2c OK [19:05:15]MH_I2C_Read... [19:05:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:15]Read from MH i2c: E2 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: E2 17 00 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: E2 17 00 2F 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 46 [19:05:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:05:15]wFMCommunicate OK [19:05:15]CreateOFDProtocolMessage done [19:05:15]OFDSenderStorePacket 26846 [19:05:15]StoreOFDPacket docnum=26846 [19:05:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 F3 41 07 01 85 6D 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 F9 3F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DE 68 00 00 35 04 06 00 7D 34 45 80 6B 33 32 B7 AF 7E 87 55 5C 82 [19:05:15]CheckFolder [19:05:15]dirname=/storage/ofd_packets [19:05:15]CheckFolder done [19:05:15]ProducePacketName [19:05:15]name=ofd_packets/00026846 [19:05:15]NVStorageSaveData ofd_packets/00026846 [19:05:15]File name is /storage/ofd_packets/00026846 [19:05:15]Write 301 bytes [19:05:15]NVStorageSaveData done [19:05:15]OFDSenderStorePacket done [19:05:15]KKMCreateOFDPacket done [19:05:15]NVStorageSaveData kkm_last_timestamp [19:05:15]File name is /storage/kkm_last_timestamp [19:05:15]Write 4 bytes [19:05:15]NVStorageSaveData done [19:05:15]ExternCall_PrintAddStr [19:05:15]wPrintStart [19:05:15]Write to MH i2c: 01 00 00 30 45 75 [19:05:15]Write i2c OK [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: 01 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: 01 07 00 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: 01 07 00 30 45 00 00 00 00 00 FF 0F 8A [19:05:15]RasterBufferAndPrint [19:05:15]line Счет N : (1)359591 [19:05:15]line ИÐÐ: 02508201610067 [19:05:15]line Контрольно-КаÑÑовый Чек [19:05:15]line ПРОДÐЖР[19:05:15]line ТРК (МРК, ГÐК) : 63 [19:05:15]line Товар: 2710124500 [19:05:15]line Ðи-95-К-5 [19:05:15]line 13.910 * 71.90 [19:05:15]line = 1000.13 [19:05:15]line ÐДС 12% ÐСП 1% [19:05:15]line > о реализуемом товаре [19:05:15]line ИТОГО: 1000.13 [19:05:15]line ÐСП 1% : 8.85 [19:05:15]line ÐДС 12% : 106.21 [19:05:15]line Ðаличными: 0.00 [19:05:15]line Безнал.: 1000.13 [19:05:15]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [19:05:15]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:05:15]line СÐО: Общий режим [19:05:15]line Чек 59 08.04.2024 19:05 [19:05:15]line Смена: 314 ФФД: 1.0 [19:05:15]line ЗÐМ: 0300000147 [19:05:15]line РÐМ: 0000000000091578 [19:05:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:05:15]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [19:05:15]line ФМ: 0000000000874657 [19:05:15]line ФД: 26846 [19:05:15]line ФПД: 137663457815347 [19:05:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T190529&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26846&fm=137663457815347&tin=02508201610067®Number=0000000000091578&sum=100013 [19:05:15]OFD Sender: Processing packet 26846 [packets to send 44, broken 43] [19:05:15]ProducePacketName [19:05:15]name=ofd_packets/00026846 [19:05:15]OFD Sender: To server: ‡•öpG, [19:05:15]CommunicateWithHost lk.salyk.kg:30040 [19:05:15]ConnectInit lk.salyk.kg [19:05:15]written 0, free lines is 4095 [19:05:15]Connected sock=10 [19:05:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 F3 41 07 01 85 6D 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 F9 3F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DE 68 00 00 35 04 06 00 7D 34 45 80 6B 33 32 B7 AF 7E 87 55 5C 82 [19:05:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 5B 80 47 00 4C 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 38 37 34 36 35 37 10 04 04 00 DE 68 00 00 F4 03 04 00 62 E7 13 66 B6 04 01 00 00 7E EB FC C4 E6 74 B2 09 [19:05:15]CommunicateWithHost err = 0 [19:05:15]CheckOFDResponse [19:05:15]1017 (14) - 77093643461234 [19:05:15]1041 (16) - 0000000000874657 [19:05:15]1040 (4) - 26846 [19:05:15]1012 (4) - 08.04.2024 12:47 [19:05:15]1206 (1) - 0 [19:05:15]OFD Sender: Remove packet 26846 [19:05:15]ProducePacketName [19:05:15]name=ofd_packets/00026846 [19:05:15]NVStorageDeleteData [19:05:15]Write to MH i2c: 01 00 00 5A 45 9F [19:05:15]Write i2c OK [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: 01 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: 01 07 00 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: 01 07 00 5A 45 00 00 00 00 00 84 0C 36 [19:05:15]RasterBufferAndPrint [19:05:15]line [19:05:15]line [19:05:15]line [19:05:15]line [19:05:15]line [19:05:15]written 0, free lines is 3208 [19:05:15]MH_Cut [19:05:15]Write to MH i2c: D1 01 00 61 45 01 78 [19:05:15]Write i2c OK [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: D1 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: D1 01 00 [19:05:15]MH_I2C_Read... [19:05:15]Read from MH i2c: D1 01 00 61 45 00 77 [19:05:15]Write to MH i2c: 01 00 00 62 45 A7 [19:05:15]Write i2c OK [19:05:15]MH_I2C_Read... [19:05:16]OFD Sender: No OFD packet to send [19:05:16]*** Cut start [19:05:16]*** Partial cut [19:05:16]*** CUTSNS_PIN = 1 [19:05:17]*** CUTSNS_PIN = 0 [19:05:17]*** Brake cut motor [19:05:17]Read from MH i2c: 01 [19:05:17]MH_I2C_Read... [19:05:17]*** Stop cut motor [19:05:17]*** Cut end [19:05:17]Read from MH i2c: 01 07 00 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: 01 07 00 62 45 00 00 00 00 00 FF 0F BC [19:05:17]process_action close_receipt done [19:05:17]requested_data is exist [19:05:17]produce_requested_data [19:05:17]requested_item fm.sn is exist - process it [19:05:17]wFMCommunicate request_size=4 [19:05:17]MH_SAM_APDU [19:05:17]CAPDU: 80 11 00 00 [19:05:17]Write to MH i2c: E2 08 00 63 45 80 11 00 00 00 00 00 00 22 [19:05:17]Write i2c OK [19:05:17]MH_I2C_Read... [19:05:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:05:17]Read from MH i2c: E2 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 17 00 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 17 00 63 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 7A [19:05:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:05:17]wFMCommunicate OK [19:05:17]requested_item fd.num is exist - process it [19:05:17]SAM_PROTO_GetFieldsCounters [19:05:17]wFMCommunicate request_size=4 [19:05:17]MH_SAM_APDU [19:05:17]CAPDU: 80 13 00 00 [19:05:17]Write to MH i2c: E2 08 00 64 45 80 13 00 00 00 00 00 00 25 [19:05:17]Write i2c OK [19:05:17]MH_I2C_Read... [19:05:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:05:17]Read from MH i2c: E2 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 62 00 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 62 00 64 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 82 [19:05:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:05:17]wFMCommunicate OK [19:05:17]SAM_PROTO_GetFieldsCounters done [19:05:17]requested_item shift.num is exist - process it [19:05:17]requested_item shift.opened is exist - process it [19:05:17]req_shift_opened [19:05:17]FM_GetShiftState [19:05:17]SAM_PROTO_GetShiftState [19:05:17]wFMCommunicate request_size=4 [19:05:17]MH_SAM_APDU [19:05:17]CAPDU: 80 13 01 00 [19:05:17]Write to MH i2c: E2 08 00 65 45 80 13 01 00 00 00 00 00 27 [19:05:17]Write i2c OK [19:05:17]MH_I2C_Read... [19:05:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:05:17]Read from MH i2c: E2 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 0E 00 [19:05:17]MH_I2C_Read... [19:05:17]Read from MH i2c: E2 0E 00 65 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B4 [19:05:17]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:05:17]wFMCommunicate OK [19:05:17]SAM_PROTO_GetShiftState done [19:05:17]FM_GetShiftState done [19:05:17]req_shift_opened done [19:05:17]requested_item shift.open_date is exist - process it [19:05:17]req_shift_open_date [19:05:17]req_shift_open_date done [19:05:17]produce_requested_data done [19:05:17]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26846,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [19:05:17]process_action_free close_receipt [19:05:17]json_value_free [19:05:17]json_value_free done [19:05:17]process_json_proto returns [19:05:17]Send response to host [19:05:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26846,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [19:05:17]free response buf [19:05:17]execute_script done [19:05:17]execute_script returns [19:05:17]free content buf [19:05:17]Sock 9.Close socket [19:05:17]Sock 9.Thread stoped [19:05:21]OFD Sender: No OFD packet to send [19:05:26]OFD Sender: No OFD packet to send [19:05:31]OFD Sender: No OFD packet to send [19:05:36]OFD Sender: No OFD packet to send [19:05:41]OFD Sender: No OFD packet to send [19:05:46]OFD Sender: No OFD packet to send [19:05:51]OFD Sender: No OFD packet to send [19:05:56]OFD Sender: No OFD packet to send [19:06:01]OFD Sender: No OFD packet to send [19:06:06]OFD Sender: No OFD packet to send [19:06:11]OFD Sender: No OFD packet to send [19:06:16]OFD Sender: No OFD packet to send [19:06:21]OFD Sender: No OFD packet to send [19:06:26]OFD Sender: No OFD packet to send [19:06:31]OFD Sender: No OFD packet to send [19:06:36]OFD Sender: No OFD packet to send [19:06:41]OFD Sender: No OFD packet to send [19:06:46]OFD Sender: No OFD packet to send [19:06:51]OFD Sender: No OFD packet to send [19:06:56]OFD Sender: No OFD packet to send [19:07:01]OFD Sender: No OFD packet to send [19:07:06]OFD Sender: No OFD packet to send [19:07:11]OFD Sender: No OFD packet to send [19:07:16]OFD Sender: No OFD packet to send [19:07:21]OFD Sender: No OFD packet to send [19:07:26]OFD Sender: No OFD packet to send [19:07:31]OFD Sender: No OFD packet to send [19:07:36]OFD Sender: No OFD packet to send [19:07:41]OFD Sender: No OFD packet to send [19:07:46]OFD Sender: No OFD packet to send [19:07:51]OFD Sender: No OFD packet to send [19:07:56]OFD Sender: No OFD packet to send [19:08:01]OFD Sender: No OFD packet to send [19:08:06]OFD Sender: No OFD packet to send [19:08:11]OFD Sender: No OFD packet to send [19:08:16]OFD Sender: No OFD packet to send [19:08:21]OFD Sender: No OFD packet to send [19:08:26]OFD Sender: No OFD packet to send [19:08:31]OFD Sender: No OFD packet to send [19:08:36]OFD Sender: No OFD packet to send [19:08:41]OFD Sender: No OFD packet to send [19:08:46]OFD Sender: No OFD packet to send [19:08:51]OFD Sender: No OFD packet to send [19:08:56]OFD Sender: No OFD packet to send [19:09:01]OFD Sender: No OFD packet to send [19:09:06]OFD Sender: No OFD packet to send [19:09:11]OFD Sender: No OFD packet to send [19:09:16]OFD Sender: No OFD packet to send [19:09:21]OFD Sender: No OFD packet to send [19:09:26]OFD Sender: No OFD packet to send [19:09:31]OFD Sender: No OFD packet to send [19:09:36]OFD Sender: No OFD packet to send [19:09:41]OFD Sender: No OFD packet to send [19:09:46]OFD Sender: No OFD packet to send [19:09:51]OFD Sender: No OFD packet to send [19:09:56]OFD Sender: No OFD packet to send [19:10:01]OFD Sender: No OFD packet to send [19:10:06]OFD Sender: No OFD packet to send [19:10:11]OFD Sender: No OFD packet to send [19:10:16]OFD Sender: No OFD packet to send [19:10:21]OFD Sender: No OFD packet to send [19:10:26]OFD Sender: No OFD packet to send [19:10:31]OFD Sender: No OFD packet to send [19:10:36]OFD Sender: No OFD packet to send [19:10:41]OFD Sender: No OFD packet to send [19:10:46]OFD Sender: No OFD packet to send [19:10:51]OFD Sender: No OFD packet to send [19:10:56]OFD Sender: No OFD packet to send [19:11:01]OFD Sender: No OFD packet to send [19:11:06]OFD Sender: No OFD packet to send [19:11:11]OFD Sender: No OFD packet to send [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:41]OFD Sender: No OFD packet to send [19:14:46]OFD Sender: No OFD packet to send [19:14:51]OFD Sender: No OFD packet to send [19:14:56]OFD Sender: No OFD packet to send [19:15:01]OFD Sender: No OFD packet to send [19:15:06]OFD Sender: No OFD packet to send [19:15:11]OFD Sender: No OFD packet to send [19:15:16]OFD Sender: No OFD packet to send [19:15:21]OFD Sender: No OFD packet to send [19:15:26]OFD Sender: No OFD packet to send [19:15:31]OFD Sender: No OFD packet to send [19:15:36]OFD Sender: No OFD packet to send [19:15:41]OFD Sender: No OFD packet to send [19:15:46]OFD Sender: No OFD packet to send [19:15:51]OFD Sender: No OFD packet to send [19:15:56]OFD Sender: No OFD packet to send [19:16:01]OFD Sender: No OFD packet to send [19:16:06]OFD Sender: No OFD packet to send [19:16:11]OFD Sender: No OFD packet to send [19:16:16]OFD Sender: No OFD packet to send [19:16:21]OFD Sender: No OFD packet to send [19:16:26]OFD Sender: No OFD packet to send [19:16:31]OFD Sender: No OFD packet to send [19:16:36]OFD Sender: No OFD packet to send [19:16:41]OFD Sender: No OFD packet to send [19:16:46]OFD Sender: No OFD packet to send [19:16:51]OFD Sender: No OFD packet to send [19:16:56]OFD Sender: No OFD packet to send [19:17:01]OFD Sender: No OFD packet to send [19:17:06]OFD Sender: No OFD packet to send [19:17:11]OFD Sender: No OFD packet to send [19:17:16]OFD Sender: No OFD packet to send [19:17:21]OFD Sender: No OFD packet to send [19:17:26]OFD Sender: No OFD packet to send [19:17:31]OFD Sender: No OFD packet to send [19:17:36]OFD Sender: No OFD packet to send [19:17:41]OFD Sender: No OFD packet to send [19:17:46]OFD Sender: No OFD packet to send [19:17:51]OFD Sender: No OFD packet to send [19:17:56]OFD Sender: No OFD packet to send [19:18:01]OFD Sender: No OFD packet to send [19:18:06]OFD Sender: No OFD packet to send [19:18:11]OFD Sender: No OFD packet to send [19:18:16]OFD Sender: No OFD packet to send [19:18:21]OFD Sender: No OFD packet to send [19:18:26]OFD Sender: No OFD packet to send [19:18:31]OFD Sender: No OFD packet to send [19:18:36]OFD Sender: No OFD packet to send [19:18:41]OFD Sender: No OFD packet to send [19:18:46]OFD Sender: No OFD packet to send [19:18:51]OFD Sender: No OFD packet to send [19:18:56]OFD Sender: No OFD packet to send [19:19:01]OFD Sender: No OFD packet to send [19:19:06]OFD Sender: No OFD packet to send [19:19:11]OFD Sender: No OFD packet to send [19:19:16]OFD Sender: No OFD packet to send [19:19:21]OFD Sender: No OFD packet to send [19:19:26]OFD Sender: No OFD packet to send [19:19:31]OFD Sender: No OFD packet to send [19:19:36]OFD Sender: No OFD packet to send [19:19:41]OFD Sender: No OFD packet to send [19:19:46]OFD Sender: No OFD packet to send [19:19:51]OFD Sender: No OFD packet to send [19:19:56]OFD Sender: No OFD packet to send [19:20:01]OFD Sender: No OFD packet to send [19:20:06]OFD Sender: No OFD packet to send [19:20:11]OFD Sender: No OFD packet to send [19:20:16]OFD Sender: No OFD packet to send [19:20:21]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [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:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:27]OFD Sender: No OFD packet to send [19:24:32]OFD Sender: No OFD packet to send [19:24:37]OFD Sender: No OFD packet to send [19:24:42]OFD Sender: No OFD packet to send [19:24:47]OFD Sender: No OFD packet to send [19:24:52]OFD Sender: No OFD packet to send [19:24:57]OFD Sender: No OFD packet to send [19:25:02]OFD Sender: No OFD packet to send [19:25:07]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:07]OFD Sender: No OFD packet to send [19:27:12]OFD Sender: No OFD packet to send [19:27:17]OFD Sender: No OFD packet to send [19:27:22]OFD Sender: No OFD packet to send [19:27:27]OFD Sender: No OFD packet to send [19:27:32]OFD Sender: No OFD packet to send [19:27:37]OFD Sender: No OFD packet to send [19:27:42]OFD Sender: No OFD packet to send [19:27:47]OFD Sender: No OFD packet to send [19:27:52]OFD Sender: No OFD packet to send [19:27:57]OFD Sender: No OFD packet to send [19:28:02]OFD Sender: No OFD packet to send [19:28:07]OFD Sender: No OFD packet to send [19:28:12]OFD Sender: No OFD packet to send [19:28:17]OFD Sender: No OFD packet to send [19:28:22]OFD Sender: No OFD packet to send [19:28:27]OFD Sender: No OFD packet to send [19:28:32]OFD Sender: No OFD packet to send [19:28:37]OFD Sender: No OFD packet to send [19:28:42]OFD Sender: No OFD packet to send [19:28:47]OFD Sender: No OFD packet to send [19:28:52]OFD Sender: No OFD packet to send [19:28:57]OFD Sender: No OFD packet to send [19:29:02]OFD Sender: No OFD packet to send [19:29:07]OFD Sender: No OFD packet to send [19:29:12]OFD Sender: No OFD packet to send [19:29:17]OFD Sender: No OFD packet to send [19:29:22]OFD Sender: No OFD packet to send [19:29:27]OFD Sender: No OFD packet to send [19:29:32]OFD Sender: No OFD packet to send [19:29:37]OFD Sender: No OFD packet to send [19:29:42]OFD Sender: No OFD packet to send [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:07]OFD Sender: No OFD packet to send [19:30:12]OFD Sender: No OFD packet to send [19:30:17]OFD Sender: No OFD packet to send [19:30:22]OFD Sender: No OFD packet to send [19:30:27]OFD Sender: No OFD packet to send [19:30:32]OFD Sender: No OFD packet to send [19:30:37]OFD Sender: No OFD packet to send [19:30:42]OFD Sender: No OFD packet to send [19:30:47]OFD Sender: No OFD packet to send [19:30:52]OFD Sender: No OFD packet to send [19:30:57]OFD Sender: No OFD packet to send [19:31:02]OFD Sender: No OFD packet to send [19:31:07]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:21]accept exits with 8 [19:32:21]New connection [19:32:21]New thread 3066871140 created [19:32:21]Thread 3067014500 joined [19:32:21]Waiting for new connection... [19:32:21] Sock 8.Parse request [19:32:21]Sock 8.Check first char [19:32:21]Sock 8.First char is OK [19:32:21]request: POST /json_proto HTTP/1.0 [19:32:21]Method: POST [19:32:21]URL: /json_proto [19:32:21]Method is POST - this is cgi request [19:32:21]url: /json_proto [19:32:21]query_string will be loaded in cgi processing [19:32:21]execute_cgi json_proto POST (null) [19:32:21]execute_cgi path=json_proto method=POST [19:32:21]POST find Content-Length [19:32:21]Host: 172.17.35.3:8080 [19:32:21]Content-Length: 682 [19:32:21]Content-Type: application/json [19:32:21] [19:32:21]POST finish read [19:32:21]Found Content-Length = 682 [19:32:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359592", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:21]execute_script... [19:32: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 : (1)359592", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:32:21]POST & json_proto [19:32:21]process_json_proto [19:32:21]json parsed OK: [19:32:21]protocol is kg_v1.0 [19:32:21]action value=close_receipt [19:32:21]process_action close_receipt [19:32:21]cmd_close_receipt [19:32:21]MH_GetDate [19:32:21]Write to MH i2c: F0 00 00 66 45 9A [19:32:21]Write i2c OK [19:32:21]MH_I2C_Read... [19:32:21]Read from MH i2c: F0 [19:32:21]MH_I2C_Read... [19:32:21]Read from MH i2c: F0 09 00 [19:32:21]MH_I2C_Read... [19:32:21]Read from MH i2c: F0 09 00 66 45 00 55 46 14 66 2B 11 66 64 BE [19:32:21]GetLastDocTimeStamp 1712603129 [19:32:21]current date 1712604757 [19:32:21]FM_GetShiftState [19:32:21]SAM_PROTO_GetShiftState [19:32:21]wFMCommunicate request_size=4 [19:32:21]MH_SAM_APDU [19:32:21]CAPDU: 80 13 01 00 [19:32:21]Write to MH i2c: E2 08 00 67 45 80 13 01 00 00 00 00 00 29 [19:32:21]Write i2c OK [19:32:21]MH_I2C_Read... [19:32:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:21]Read from MH i2c: E2 [19:32:21]MH_I2C_Read... [19:32:21]Read from MH i2c: E2 0E 00 [19:32:21]MH_I2C_Read... [19:32:21]Read from MH i2c: E2 0E 00 67 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B6 [19:32:21]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:32:21]wFMCommunicate OK [19:32:21]SAM_PROTO_GetShiftState done [19:32:21]FM_GetShiftState done [19:32:21]opened in 1712536270 [19:32:21]opened+sec_in_day 1712622670 [19:32:21]quantity*price = 100045 [19:32:21]sum+1 = 100046 [19:32:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 60 08.04.2024 19:32 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26847 ФПД: 194442704233508 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T193237&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26847&fm=194442704233508&tin=02508201610067®Number=0000000000091578&sum=100000 [19:32:22]StoreToDocumentArchive [19:32:22]shift 314 fd 26847 [19:32:22]save to /storage/0314/doc_00026847 [19:32:22]save last doc name /storage/0314/doc_00026847 to /storage/kkm_last_doc_name [19:32:22]save OK [19:32:22]Clear old archive folders... [19:32:22]OFD Sender: No OFD packet to send [19:32:22]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:32:22]tlvbuf is 00F76040 [19:32:22]SAM_PROTO_ClearQueue [19:32:22]wFMCommunicate request_size=4 [19:32:22]MH_SAM_APDU [19:32:22]CAPDU: 80 09 00 00 [19:32:22]Write to MH i2c: E2 08 00 74 45 80 09 00 00 00 00 00 00 2B [19:32:22]Write i2c OK [19:32:22]MH_I2C_Read... [19:32:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:32:22]Read from MH i2c: E2 [19:32:22]MH_I2C_Read... [19:32:22]Read from MH i2c: E2 03 00 [19:32:22]MH_I2C_Read... [19:32:22]Read from MH i2c: E2 03 00 74 45 00 90 00 2D [19:32:22]RAPDU: 90 00 [19:32:22]wFMCommunicate OK [19:32:22]SAM_PROTO_ClearQueue done [19:32:22]KKMCreateOFDPacket [19:32:22]OFDProtocolAddRootSTLVToBuf [19:32:22]FM_MakeSignedData [19:32:22]FM_MakeSignedData [19:32:22]SAM_PROTO_SignData [19:32:22]wFMCommunicate request_size=4 [19:32:22]MH_SAM_APDU [19:32:22]CAPDU: 80 0D 01 02 [19:32:22]Write to MH i2c: E2 08 00 75 45 80 0D 01 02 00 00 00 00 33 [19:32:22]Write i2c OK [19:32:22]MH_I2C_Read... [19:32:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:32:22]Read from MH i2c: E2 [19:32:22]MH_I2C_Read... [19:32:22]Read from MH i2c: E2 03 00 [19:32:22]MH_I2C_Read... [19:32:22]Read from MH i2c: E2 03 00 75 45 00 90 00 2E [19:32:22]RAPDU: 90 00 [19:32:22]wFMCommunicate OK [19:32:22]wFMCommunicate request_size=255 [19:32:22]MH_SAM_APDU [19:32:22]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 55 46 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DF 68 00 00 35 04 06 00 B0 [19:32:22]Write to MH i2c: E2 02 01 76 45 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 55 46 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DF 68 00 00 35 04 06 00 B0 00 00 4A [19:32:22]Write i2c OK [19:32:22]MH_I2C_Read... [19:32:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:23]Read from MH i2c: E2 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 03 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 03 00 76 45 00 90 00 2F [19:32:23]RAPDU: 90 00 [19:32:23]wFMCommunicate OK [19:32:23]wFMCommunicate request_size=10 [19:32:23]MH_SAM_APDU [19:32:23]CAPDU: 80 0D 02 02 05 D8 38 50 A4 24 [19:32:23]Write to MH i2c: E2 0D 00 77 45 80 0D 02 02 05 00 D8 38 50 A4 24 00 00 68 [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:32:23]Read from MH i2c: E2 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 03 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 03 00 77 45 00 90 00 30 [19:32:23]RAPDU: 90 00 [19:32:23]wFMCommunicate OK [19:32:23]wFMCommunicate request_size=4 [19:32:23]MH_SAM_APDU [19:32:23]CAPDU: 80 0D 03 02 [19:32:23]Write to MH i2c: E2 08 00 78 45 80 0D 03 02 00 00 00 00 38 [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:32:23]Read from MH i2c: E2 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 0B 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 0B 00 78 45 00 02 F0 FE 38 95 1A A2 D0 90 00 82 [19:32:23]RAPDU: 02 F0 FE 38 95 1A A2 D0 90 00 [19:32:23]wFMCommunicate OK [19:32:23]SAM_PROTO_SignData done [19:32:23]FM_MakeSignedData done [19:32:23]CreateOFDProtocolMessage [19:32:23]wFMCommunicate request_size=4 [19:32:23]MH_SAM_APDU [19:32:23]CAPDU: 80 11 00 00 [19:32:23]Write to MH i2c: E2 08 00 79 45 80 11 00 00 00 00 00 00 38 [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:23]Read from MH i2c: E2 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 17 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: E2 17 00 79 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 90 [19:32:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:32:23]wFMCommunicate OK [19:32:23]CreateOFDProtocolMessage done [19:32:23]OFDSenderStorePacket 26847 [19:32:23]StoreOFDPacket docnum=26847 [19:32:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 8D 30 07 01 37 0A 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 55 46 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DF 68 00 00 35 04 06 00 B0 D8 38 50 A4 24 02 F0 FE 38 95 1A A2 D0 [19:32:23]CheckFolder [19:32:23]dirname=/storage/ofd_packets [19:32:23]CheckFolder done [19:32:23]ProducePacketName [19:32:23]name=ofd_packets/00026847 [19:32:23]NVStorageSaveData ofd_packets/00026847 [19:32:23]File name is /storage/ofd_packets/00026847 [19:32:23]Write 301 bytes [19:32:23]NVStorageSaveData done [19:32:23]OFDSenderStorePacket done [19:32:23]KKMCreateOFDPacket done [19:32:23]NVStorageSaveData kkm_last_timestamp [19:32:23]File name is /storage/kkm_last_timestamp [19:32:23]Write 4 bytes [19:32:23]NVStorageSaveData done [19:32:23]ExternCall_PrintAddStr [19:32:23]wPrintStart [19:32:23]Write to MH i2c: 01 00 00 7A 45 BF [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: 01 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: 01 07 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: 01 07 00 7A 45 00 00 00 00 00 FF 0F D4 [19:32:23]RasterBufferAndPrint [19:32:23]line Счет N : (1)359592 [19:32:23]line ИÐÐ: 02508201610067 [19:32:23]line Контрольно-КаÑÑовый Чек [19:32:23]line ПРОДÐЖР[19:32:23]line ТРК (МРК, ГÐК) : 51 [19:32:23]line Товар: 2710124130 [19:32:23]line Ðи-92-К-5 [19:32:23]line 15.780 * 63.40 [19:32:23]line = 1000.45 [19:32:23]line ÐДС 12% ÐСП 1% [19:32:23]line > о реализуемом товаре [19:32:23]line ОКРУГЛЕÐИЕ: -0.45 [19:32:23]line ИТОГО: 1000.00 [19:32:23]line ВнеÑено: 1000.00 [19:32:23]line СДÐЧÐ: 0.00 [19:32:23]line ÐСП 1% : 8.85 [19:32:23]line ÐДС 12% : 106.24 [19:32:23]line Ðаличными: 1000.00 [19:32:23]line Безнал.: 0.00 [19:32:23]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [19:32:23]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:32:23]line СÐО: Общий режим [19:32:23]line Чек 60 08.04.2024 19:32 [19:32:23]line Смена: 314 ФФД: 1.0 [19:32:23]line ЗÐМ: 0300000147 [19:32:23]line РÐМ: 0000000000091578 [19:32:23]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:32:23]line ФМ: 0000000000874657 [19:32:23]line ФД: 26847 [19:32:23]line ФПД: 194442704233508 [19:32:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T193237&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26847&fm=194442704233508&tin=02508201610067®Number=0000000000091578&sum=100000 [19:32:23]OFD Sender: Processing packet 26847 [packets to send 44, broken 43] [19:32:23]ProducePacketName [19:32:23]name=ofd_packets/00026847 [19:32:23]OFD Sender: To server: ‡•öpG, [19:32:23]CommunicateWithHost lk.salyk.kg:30040 [19:32:23]ConnectInit lk.salyk.kg [19:32:23]written 0, free lines is 4095 [19:32:23]Connected sock=10 [19:32:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 8D 30 07 01 37 0A 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 55 46 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DF 68 00 00 35 04 06 00 B0 D8 38 50 A4 24 02 F0 FE 38 95 1A A2 D0 [19:32:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 09 03 47 00 FA 9C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 DF 68 00 00 F4 03 04 00 BE ED 13 66 B6 04 01 00 00 EC 00 75 B7 93 FA EB 34 [19:32:23]CommunicateWithHost err = 0 [19:32:23]CheckOFDResponse [19:32:23]1017 (14) - 77093643461234 [19:32:23]1041 (16) - 0000000000874657 [19:32:23]1040 (4) - 26847 [19:32:23]1012 (4) - 08.04.2024 13:14 [19:32:23]1206 (1) - 0 [19:32:23]OFD Sender: Remove packet 26847 [19:32:23]ProducePacketName [19:32:23]name=ofd_packets/00026847 [19:32:23]NVStorageDeleteData [19:32:23]Write to MH i2c: 01 00 00 A5 45 EA [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: 01 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: 01 07 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: 01 07 00 A5 45 00 00 00 00 00 6F 0C 6C [19:32:23]RasterBufferAndPrint [19:32:23]line [19:32:23]line [19:32:23]line [19:32:23]line [19:32:23]line [19:32:23]written 0, free lines is 3186 [19:32:23]MH_Cut [19:32:23]Write to MH i2c: D1 01 00 AC 45 01 C3 [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: D1 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: D1 01 00 [19:32:23]MH_I2C_Read... [19:32:23]Read from MH i2c: D1 01 00 AC 45 00 C2 [19:32:23]Write to MH i2c: 01 00 00 AD 45 F2 [19:32:23]Write i2c OK [19:32:23]MH_I2C_Read... [19:32:24]OFD Sender: No OFD packet to send [19:32:25]*** Cut start [19:32:25]*** Partial cut [19:32:25]*** CUTSNS_PIN = 1 [19:32:25]*** CUTSNS_PIN = 0 [19:32:25]*** Brake cut motor [19:32:25]Read from MH i2c: 01 [19:32:25]MH_I2C_Read... [19:32:25]*** Stop cut motor [19:32:25]*** Cut end [19:32:25]Read from MH i2c: 01 07 00 [19:32:25]MH_I2C_Read... [19:32:25]Read from MH i2c: 01 07 00 AD 45 00 00 00 00 00 FF 0F 07 [19:32:25]process_action close_receipt done [19:32:25]requested_data is exist [19:32:25]produce_requested_data [19:32:25]requested_item fm.sn is exist - process it [19:32:25]wFMCommunicate request_size=4 [19:32:25]MH_SAM_APDU [19:32:25]CAPDU: 80 11 00 00 [19:32:25]Write to MH i2c: E2 08 00 AE 45 80 11 00 00 00 00 00 00 6D [19:32:25]Write i2c OK [19:32:25]MH_I2C_Read... [19:32:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:32:25]Read from MH i2c: E2 [19:32:25]MH_I2C_Read... [19:32:25]Read from MH i2c: E2 17 00 [19:32:25]MH_I2C_Read... [19:32:25]Read from MH i2c: E2 17 00 AE 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C5 [19:32:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:32:25]wFMCommunicate OK [19:32:25]requested_item fd.num is exist - process it [19:32:25]SAM_PROTO_GetFieldsCounters [19:32:25]wFMCommunicate request_size=4 [19:32:25]MH_SAM_APDU [19:32:25]CAPDU: 80 13 00 00 [19:32:25]Write to MH i2c: E2 08 00 AF 45 80 13 00 00 00 00 00 00 70 [19:32:25]Write i2c OK [19:32:25]MH_I2C_Read... [19:32:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:32:25]Read from MH i2c: E2 [19:32:25]MH_I2C_Read... [19:32:25]Read from MH i2c: E2 62 00 [19:32:25]MH_I2C_Read... [19:32:25]Read from MH i2c: E2 62 00 AF 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [19:32:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 DF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:32:26]wFMCommunicate OK [19:32:26]SAM_PROTO_GetFieldsCounters done [19:32:26]requested_item shift.num is exist - process it [19:32:26]requested_item shift.opened is exist - process it [19:32:26]req_shift_opened [19:32:26]FM_GetShiftState [19:32:26]SAM_PROTO_GetShiftState [19:32:26]wFMCommunicate request_size=4 [19:32:26]MH_SAM_APDU [19:32:26]CAPDU: 80 13 01 00 [19:32:26]Write to MH i2c: E2 08 00 B0 45 80 13 01 00 00 00 00 00 72 [19:32:26]Write i2c OK [19:32:26]MH_I2C_Read... [19:32:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:32:26]Read from MH i2c: E2 [19:32:26]MH_I2C_Read... [19:32:26]Read from MH i2c: E2 0E 00 [19:32:26]MH_I2C_Read... [19:32:26]Read from MH i2c: E2 0E 00 B0 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 FF [19:32:26]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:32:26]wFMCommunicate OK [19:32:26]SAM_PROTO_GetShiftState done [19:32:26]FM_GetShiftState done [19:32:26]req_shift_opened done [19:32:26]requested_item shift.open_date is exist - process it [19:32:26]req_shift_open_date [19:32:26]req_shift_open_date done [19:32:26]produce_requested_data done [19:32:26]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26847,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [19:32:26]process_action_free close_receipt [19:32:26]json_value_free [19:32:26]json_value_free done [19:32:26]process_json_proto returns [19:32:26]Send response to host [19:32:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26847,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [19:32:26]free response buf [19:32:26]execute_script done [19:32:26]execute_script returns [19:32:26]free content buf [19:32:26]Sock 8.Close socket [19:32:26]Sock 8.Thread stoped [19:32:29]OFD Sender: No OFD packet to send [19:32:34]OFD Sender: No OFD packet to send [19:32:39]OFD Sender: No OFD packet to send [19:32:44]OFD Sender: No OFD packet to send [19:32:49]OFD Sender: No OFD packet to send [19:32:54]OFD Sender: No OFD packet to send [19:32:59]OFD Sender: No OFD packet to send [19:33:04]OFD Sender: No OFD packet to send [19:33:09]OFD Sender: No OFD packet to send [19:33:14]OFD Sender: No OFD packet to send [19:33:19]OFD Sender: No OFD packet to send [19:33:24]OFD Sender: No OFD packet to send [19:33:29]OFD Sender: No OFD packet to send [19:33:34]OFD Sender: No OFD packet to send [19:33:39]OFD Sender: No OFD packet to send [19:33:44]OFD Sender: No OFD packet to send [19:33:49]OFD Sender: No OFD packet to send [19:33:54]OFD Sender: No OFD packet to send [19:33:59]OFD Sender: No OFD packet to send [19:34:04]OFD Sender: No OFD packet to send [19:34:09]OFD Sender: No OFD packet to send [19:34:14]OFD Sender: No OFD packet to send [19:34:19]OFD Sender: No OFD packet to send [19:34:24]OFD Sender: No OFD packet to send [19:34:29]OFD Sender: No OFD packet to send [19:34:34]OFD Sender: No OFD packet to send [19:34:39]OFD Sender: No OFD packet to send [19:34:44]OFD Sender: No OFD packet to send [19:34:49]OFD Sender: No OFD packet to send [19:34:54]OFD Sender: No OFD packet to send [19:34:59]OFD Sender: No OFD packet to send [19:35:04]OFD Sender: No OFD packet to send [19:35:09]OFD Sender: No OFD packet to send [19:35:14]OFD Sender: No OFD packet to send [19:35:19]OFD Sender: No OFD packet to send [19:35:24]OFD Sender: No OFD packet to send [19:35:29]OFD Sender: No OFD packet to send [19:35:34]OFD Sender: No OFD packet to send [19:35:39]OFD Sender: No OFD packet to send [19:35:44]OFD Sender: No OFD packet to send [19:35:49]OFD Sender: No OFD packet to send [19:35:54]OFD Sender: No OFD packet to send [19:35:59]OFD Sender: No OFD packet to send [19:36:04]OFD Sender: No OFD packet to send [19:36:09]OFD Sender: No OFD packet to send [19:36:14]OFD Sender: No OFD packet to send [19:36:19]OFD Sender: No OFD packet to send [19:36:24]OFD Sender: No OFD packet to send [19:36:29]OFD Sender: No OFD packet to send [19:36:34]OFD Sender: No OFD packet to send [19:36:39]OFD Sender: No OFD packet to send [19:36:44]OFD Sender: No OFD packet to send [19:36:49]OFD Sender: No OFD packet to send [19:36:54]OFD Sender: No OFD packet to send [19:36:59]OFD Sender: No OFD packet to send [19:37:04]OFD Sender: No OFD packet to send [19:37:09]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:19]OFD Sender: No OFD packet to send [19:37:24]OFD Sender: No OFD packet to send [19:37:29]OFD Sender: No OFD packet to send [19:37:34]OFD Sender: No OFD packet to send [19:37:39]OFD Sender: No OFD packet to send [19:37:44]OFD Sender: No OFD packet to send [19:37:49]OFD Sender: No OFD packet to send [19:37:54]OFD Sender: No OFD packet to send [19:37:59]OFD Sender: No OFD packet to send [19:38:04]OFD Sender: No OFD packet to send [19:38:09]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:20]accept exits with 9 [19:39:20]New connection [19:39:20]New thread 3067014500 created [19:39:20]Thread 3066871140 joined [19:39:20]Waiting for new connection... [19:39:20] Sock 9.Parse request [19:39:20]Sock 9.Check first char [19:39:20]Sock 9.First char is OK [19:39:20]request: POST /json_proto HTTP/1.0 [19:39:20]Method: POST [19:39:20]URL: /json_proto [19:39:20]Method is POST - this is cgi request [19:39:20]url: /json_proto [19:39:20]query_string will be loaded in cgi processing [19:39:20]execute_cgi json_proto POST (null) [19:39:20]execute_cgi path=json_proto method=POST [19:39:20]POST find Content-Length [19:39:20]Host: 172.17.35.3:8080 [19:39:20]Content-Length: 682 [19:39:20]Content-Type: application/json [19:39:20] [19:39:20]POST finish read [19:39:20]Found Content-Length = 682 [19:39:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359593", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 41.730, "sum" : 3000.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 3000.00, "payments": [ { "type": 0, "sum" : 3000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:20]execute_script... [19:39: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 : (1)359593", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 41.730, "sum" : 3000.39, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 3000.00, "total" : 3000.00, "payments": [ { "type": 0, "sum" : 3000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:39:20]POST & json_proto [19:39:20]process_json_proto [19:39:20]json parsed OK: [19:39:20]protocol is kg_v1.0 [19:39:20]action value=close_receipt [19:39:20]process_action close_receipt [19:39:20]cmd_close_receipt [19:39:20]MH_GetDate [19:39:20]Write to MH i2c: F0 00 00 B1 45 E5 [19:39:20]Write i2c OK [19:39:20]MH_I2C_Read... [19:39:20]Read from MH i2c: F0 [19:39:20]MH_I2C_Read... [19:39:20]Read from MH i2c: F0 09 00 [19:39:20]MH_I2C_Read... [19:39:20]Read from MH i2c: F0 09 00 B1 45 00 F8 47 14 66 2B 11 66 64 AD [19:39:20]GetLastDocTimeStamp 1712604757 [19:39:20]current date 1712605176 [19:39:20]FM_GetShiftState [19:39:20]SAM_PROTO_GetShiftState [19:39:20]wFMCommunicate request_size=4 [19:39:20]MH_SAM_APDU [19:39:20]CAPDU: 80 13 01 00 [19:39:20]Write to MH i2c: E2 08 00 B2 45 80 13 01 00 00 00 00 00 74 [19:39:20]Write i2c OK [19:39:20]MH_I2C_Read... [19:39:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:20]Read from MH i2c: E2 [19:39:20]MH_I2C_Read... [19:39:20]Read from MH i2c: E2 0E 00 [19:39:20]MH_I2C_Read... [19:39:20]Read from MH i2c: E2 0E 00 B2 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 01 [19:39:20]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:39:20]wFMCommunicate OK [19:39:20]SAM_PROTO_GetShiftState done [19:39:20]FM_GetShiftState done [19:39:20]opened in 1712536270 [19:39:20]opened+sec_in_day 1712622670 [19:39:20]quantity*price = 300038 [19:39:20]sum+1 = 300040 [19:39:20]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.39 ИТОГО: 3000.00 ВнеÑено: 3000.00 СДÐЧÐ: 0.00 ÐСП 1% : 26.55 ÐДС 12% : 318.62 Ðаличными: 3000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 61 08.04.2024 19:39 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26848 ФПД: 79433679542402 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T193936&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26848&fm=79433679542402&tin=02508201610067®Number=0000000000091578&sum=300000 [19:39:21]StoreToDocumentArchive [19:39:21]shift 314 fd 26848 [19:39:21]save to /storage/0314/doc_00026848 [19:39:21]save last doc name /storage/0314/doc_00026848 to /storage/kkm_last_doc_name [19:39:21]save OK [19:39:21]Clear old archive folders... [19:39:21]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:39:21]tlvbuf is 00EE5CF0 [19:39:21]SAM_PROTO_ClearQueue [19:39:21]wFMCommunicate request_size=4 [19:39:21]MH_SAM_APDU [19:39:21]CAPDU: 80 09 00 00 [19:39:21]Write to MH i2c: E2 08 00 BF 45 80 09 00 00 00 00 00 00 76 [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:39:21]Read from MH i2c: E2 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 BF 45 00 90 00 78 [19:39:21]RAPDU: 90 00 [19:39:21]wFMCommunicate OK [19:39:21]SAM_PROTO_ClearQueue done [19:39:21]KKMCreateOFDPacket [19:39:21]OFDProtocolAddRootSTLVToBuf [19:39:21]FM_MakeSignedData [19:39:21]FM_MakeSignedData [19:39:21]SAM_PROTO_SignData [19:39:21]wFMCommunicate request_size=4 [19:39:21]MH_SAM_APDU [19:39:21]CAPDU: 80 0D 01 02 [19:39:21]Write to MH i2c: E2 08 00 C0 45 80 0D 01 02 00 00 00 00 7E [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:39:21]Read from MH i2c: E2 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 C0 45 00 90 00 79 [19:39:21]RAPDU: 90 00 [19:39:21]wFMCommunicate OK [19:39:21]wFMCommunicate request_size=255 [19:39:21]MH_SAM_APDU [19:39:21]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 02 A3 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 07 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 7C 00 00 00 00 07 04 06 00 E0 93 04 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 F8 47 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E0 68 00 00 35 04 06 00 48 [19:39:21]Write to MH i2c: E2 02 01 C1 45 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 02 A3 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 07 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 7C 00 00 00 00 07 04 06 00 E0 93 04 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 F8 47 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E0 68 00 00 35 04 06 00 48 00 00 16 [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:21]Read from MH i2c: E2 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 C1 45 00 90 00 7A [19:39:21]RAPDU: 90 00 [19:39:21]wFMCommunicate OK [19:39:21]wFMCommunicate request_size=10 [19:39:21]MH_SAM_APDU [19:39:21]CAPDU: 80 0D 02 02 05 3E 98 40 98 82 [19:39:21]Write to MH i2c: E2 0D 00 C2 45 80 0D 02 02 05 00 3E 98 40 98 82 00 00 BB [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:39:21]Read from MH i2c: E2 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 03 00 C2 45 00 90 00 7B [19:39:21]RAPDU: 90 00 [19:39:21]wFMCommunicate OK [19:39:21]wFMCommunicate request_size=4 [19:39:21]MH_SAM_APDU [19:39:21]CAPDU: 80 0D 03 02 [19:39:21]Write to MH i2c: E2 08 00 C3 45 80 0D 03 02 00 00 00 00 83 [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:39:21]Read from MH i2c: E2 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 0B 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 0B 00 C3 45 00 EC D4 32 9B 78 47 31 29 90 00 2A [19:39:21]RAPDU: EC D4 32 9B 78 47 31 29 90 00 [19:39:21]wFMCommunicate OK [19:39:21]SAM_PROTO_SignData done [19:39:21]FM_MakeSignedData done [19:39:21]CreateOFDProtocolMessage [19:39:21]wFMCommunicate request_size=4 [19:39:21]MH_SAM_APDU [19:39:21]CAPDU: 80 11 00 00 [19:39:21]Write to MH i2c: E2 08 00 C4 45 80 11 00 00 00 00 00 00 83 [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:21]Read from MH i2c: E2 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 17 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: E2 17 00 C4 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 DB [19:39:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:39:21]wFMCommunicate OK [19:39:21]CreateOFDProtocolMessage done [19:39:21]OFDSenderStorePacket 26848 [19:39:21]StoreOFDPacket docnum=26848 [19:39:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 F9 48 07 01 72 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 02 A3 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 07 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 7C 00 00 00 00 07 04 06 00 E0 93 04 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 F8 47 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E0 68 00 00 35 04 06 00 48 3E 98 40 98 82 EC D4 32 9B 78 47 31 29 [19:39:21]CheckFolder [19:39:21]dirname=/storage/ofd_packets [19:39:21]CheckFolder done [19:39:21]ProducePacketName [19:39:21]name=ofd_packets/00026848 [19:39:21]NVStorageSaveData ofd_packets/00026848 [19:39:21]File name is /storage/ofd_packets/00026848 [19:39:21]Write 301 bytes [19:39:21]NVStorageSaveData done [19:39:21]OFDSenderStorePacket done [19:39:21]KKMCreateOFDPacket done [19:39:21]NVStorageSaveData kkm_last_timestamp [19:39:21]File name is /storage/kkm_last_timestamp [19:39:21]Write 4 bytes [19:39:21]NVStorageSaveData done [19:39:21]ExternCall_PrintAddStr [19:39:21]wPrintStart [19:39:21]Write to MH i2c: 01 00 00 C5 45 0A [19:39:21]Write i2c OK [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: 01 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: 01 07 00 [19:39:21]MH_I2C_Read... [19:39:21]Read from MH i2c: 01 07 00 C5 45 00 00 00 00 00 FF 0F 1F [19:39:21]RasterBufferAndPrint [19:39:21]line Счет N : (1)359593 [19:39:21]line ИÐÐ: 02508201610067 [19:39:21]line Контрольно-КаÑÑовый Чек [19:39:21]line ПРОДÐЖР[19:39:21]line ТРК (МРК, ГÐК) : 63 [19:39:21]line Товар: 2710124500 [19:39:21]line Ðи-95-К-5 [19:39:21]line 41.730 * 71.90 [19:39:21]line = 3000.39 [19:39:21]line ÐДС 12% ÐСП 1% [19:39:21]line > о реализуемом товаре [19:39:21]line ОКРУГЛЕÐИЕ: -0.39 [19:39:21]line ИТОГО: 3000.00 [19:39:21]line ВнеÑено: 3000.00 [19:39:21]line СДÐЧÐ: 0.00 [19:39:21]line ÐСП 1% : 26.55 [19:39:21]line ÐДС 12% : 318.62 [19:39:21]line Ðаличными: 3000.00 [19:39:21]line Безнал.: 0.00 [19:39:21]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [19:39:21]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:39:21]line СÐО: Общий режим [19:39:21]line Чек 61 08.04.2024 19:39 [19:39:21]line Смена: 314 ФФД: 1.0 [19:39:21]line ЗÐМ: 0300000147 [19:39:21]line РÐМ: 0000000000091578 [19:39:21]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:39:21]line ФМ: 0000000000874657 [19:39:21]line ФД: 26848 [19:39:21]line ФПД: 79433679542402 [19:39:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T193936&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26848&fm=79433679542402&tin=02508201610067®Number=0000000000091578&sum=300000 [19:39:22]OFD Sender: Processing packet 26848 [packets to send 44, broken 43] [19:39:22]ProducePacketName [19:39:22]name=ofd_packets/00026848 [19:39:22]OFD Sender: To server: ‡•öpG, [19:39:22]CommunicateWithHost lk.salyk.kg:30040 [19:39:22]ConnectInit lk.salyk.kg [19:39:22]written 0, free lines is 4095 [19:39:22]Connected sock=10 [19:39:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 F9 48 07 01 72 80 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 02 A3 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 07 94 04 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 93 04 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 0A 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 7C 00 00 00 00 07 04 06 00 E0 93 04 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 F8 47 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E0 68 00 00 35 04 06 00 48 3E 98 40 98 82 EC D4 32 9B 78 47 31 29 [19:39:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 2C D0 47 00 99 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 38 37 34 36 35 37 10 04 04 00 E0 68 00 00 F4 03 04 00 61 EF 13 66 B6 04 01 00 00 07 40 62 78 49 3B 0B 0E [19:39:22]CommunicateWithHost err = 0 [19:39:22]CheckOFDResponse [19:39:22]1017 (14) - 77093643461234 [19:39:22]1041 (16) - 0000000000874657 [19:39:22]1040 (4) - 26848 [19:39:22]1012 (4) - 08.04.2024 13:21 [19:39:22]1206 (1) - 0 [19:39:22]OFD Sender: Remove packet 26848 [19:39:22]ProducePacketName [19:39:22]name=ofd_packets/00026848 [19:39:22]NVStorageDeleteData [19:39:22]Write to MH i2c: 01 00 00 F0 45 35 [19:39:22]Write i2c OK [19:39:22]MH_I2C_Read... [19:39:22]Read from MH i2c: 01 [19:39:22]MH_I2C_Read... [19:39:22]Read from MH i2c: 01 07 00 [19:39:22]MH_I2C_Read... [19:39:22]Read from MH i2c: 01 07 00 F0 45 00 00 00 00 00 7C 0C C4 [19:39:22]RasterBufferAndPrint [19:39:22]line [19:39:22]line [19:39:22]line [19:39:22]line [19:39:22]line [19:39:22]written 0, free lines is 3198 [19:39:22]MH_Cut [19:39:22]Write to MH i2c: D1 01 00 F7 45 01 0E [19:39:22]Write i2c OK [19:39:22]MH_I2C_Read... [19:39:22]Read from MH i2c: D1 [19:39:22]MH_I2C_Read... [19:39:22]Read from MH i2c: D1 01 00 [19:39:22]MH_I2C_Read... [19:39:22]Read from MH i2c: D1 01 00 F7 45 00 0D [19:39:22]Write to MH i2c: 01 00 00 F8 45 3D [19:39:22]Write i2c OK [19:39:22]MH_I2C_Read... [19:39:22]OFD Sender: No OFD packet to send [19:39:23]*** Cut start [19:39:23]*** Partial cut [19:39:23]*** CUTSNS_PIN = 1 [19:39:23]*** CUTSNS_PIN = 0 [19:39:23]*** Brake cut motor [19:39:24]Read from MH i2c: 01 [19:39:24]MH_I2C_Read... [19:39:24]*** Stop cut motor [19:39:24]*** Cut end [19:39:24]Read from MH i2c: 01 07 00 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: 01 07 00 F8 45 00 00 00 00 00 FF 0F 52 [19:39:24]process_action close_receipt done [19:39:24]requested_data is exist [19:39:24]produce_requested_data [19:39:24]requested_item fm.sn is exist - process it [19:39:24]wFMCommunicate request_size=4 [19:39:24]MH_SAM_APDU [19:39:24]CAPDU: 80 11 00 00 [19:39:24]Write to MH i2c: E2 08 00 F9 45 80 11 00 00 00 00 00 00 B8 [19:39:24]Write i2c OK [19:39:24]MH_I2C_Read... [19:39:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:39:24]Read from MH i2c: E2 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: E2 17 00 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: E2 17 00 F9 45 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 10 [19:39:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:39:24]wFMCommunicate OK [19:39:24]requested_item fd.num is exist - process it [19:39:24]SAM_PROTO_GetFieldsCounters [19:39:24]wFMCommunicate request_size=4 [19:39:24]MH_SAM_APDU [19:39:24]CAPDU: 80 13 00 00 [19:39:24]Write to MH i2c: E2 08 00 FA 45 80 13 00 00 00 00 00 00 BB [19:39:24]Write i2c OK [19:39:24]MH_I2C_Read... [19:39:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:39:24]Read from MH i2c: E2 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: E2 62 00 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: E2 62 00 FA 45 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [19:39:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:39:24]wFMCommunicate OK [19:39:24]SAM_PROTO_GetFieldsCounters done [19:39:24]requested_item shift.num is exist - process it [19:39:24]requested_item shift.opened is exist - process it [19:39:24]req_shift_opened [19:39:24]FM_GetShiftState [19:39:24]SAM_PROTO_GetShiftState [19:39:24]wFMCommunicate request_size=4 [19:39:24]MH_SAM_APDU [19:39:24]CAPDU: 80 13 01 00 [19:39:24]Write to MH i2c: E2 08 00 FB 45 80 13 01 00 00 00 00 00 BD [19:39:24]Write i2c OK [19:39:24]MH_I2C_Read... [19:39:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:39:24]Read from MH i2c: E2 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: E2 0E 00 [19:39:24]MH_I2C_Read... [19:39:24]Read from MH i2c: E2 0E 00 FB 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 4A [19:39:24]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:39:24]wFMCommunicate OK [19:39:24]SAM_PROTO_GetShiftState done [19:39:24]FM_GetShiftState done [19:39:24]req_shift_opened done [19:39:24]requested_item shift.open_date is exist - process it [19:39:24]req_shift_open_date [19:39:24]req_shift_open_date done [19:39:24]produce_requested_data done [19:39:24]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26848,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [19:39:24]process_action_free close_receipt [19:39:24]json_value_free [19:39:24]json_value_free done [19:39:24]process_json_proto returns [19:39:24]Send response to host [19:39:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26848,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [19:39:24]free response buf [19:39:24]execute_script done [19:39:24]execute_script returns [19:39:24]free content buf [19:39:24]Sock 9.Close socket [19:39:24]Sock 9.Thread stoped [19:39:27]OFD Sender: No OFD packet to send [19:39:32]OFD Sender: No OFD packet to send [19:39:37]OFD Sender: No OFD packet to send [19:39:42]OFD Sender: No OFD packet to send [19:39:47]OFD Sender: No OFD packet to send [19:39:52]OFD Sender: No OFD packet to send [19:39:57]OFD Sender: No OFD packet to send [19:40:02]OFD Sender: No OFD packet to send [19:40:07]OFD Sender: No OFD packet to send [19:40:12]OFD Sender: No OFD packet to send [19:40:17]OFD Sender: No OFD packet to send [19:40:22]OFD Sender: No OFD packet to send [19:40:27]OFD Sender: No OFD packet to send [19:40:32]OFD Sender: No OFD packet to send [19:40:37]OFD Sender: No OFD packet to send [19:40:42]OFD Sender: No OFD packet to send [19:40:47]OFD Sender: No OFD packet to send [19:40:52]OFD Sender: No OFD packet to send [19:40:57]OFD Sender: No OFD packet to send [19:41:02]OFD Sender: No OFD packet to send [19:41:07]OFD Sender: No OFD packet to send [19:41:12]OFD Sender: No OFD packet to send [19:41:17]OFD Sender: No OFD packet to send [19:41:22]OFD Sender: No OFD packet to send [19:41:27]OFD Sender: No OFD packet to send [19:41:32]OFD Sender: No OFD packet to send [19:41:37]OFD Sender: No OFD packet to send [19:41:42]OFD Sender: No OFD packet to send [19:41:47]OFD Sender: No OFD packet to send [19:41:52]OFD Sender: No OFD packet to send [19:41:57]OFD Sender: No OFD packet to send [19:42:02]OFD Sender: No OFD packet to send [19:42:07]OFD Sender: No OFD packet to send [19:42:12]OFD Sender: No OFD packet to send [19:42:17]OFD Sender: No OFD packet to send [19:42:22]OFD Sender: No OFD packet to send [19:42:27]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:35]accept exits with 8 [19:42:35]New connection [19:42:35]New thread 3066871140 created [19:42:35]Thread 3067014500 joined [19:42:35]Waiting for new connection... [19:42:35] Sock 8.Parse request [19:42:35]Sock 8.Check first char [19:42:35]Sock 8.First char is OK [19:42:35]request: POST /json_proto HTTP/1.0 [19:42:35]Method: POST [19:42:35]URL: /json_proto [19:42:35]Method is POST - this is cgi request [19:42:35]url: /json_proto [19:42:35]query_string will be loaded in cgi processing [19:42:35]execute_cgi json_proto POST (null) [19:42:35]execute_cgi path=json_proto method=POST [19:42:35]POST find Content-Length [19:42:35]Host: 172.17.35.3:8080 [19:42:35]Content-Length: 677 [19:42:35]Content-Type: application/json [19:42:35] [19:42:35]POST finish read [19:42:35]Found Content-Length = 677 [19:42:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359594", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:35]execute_script... [19:42:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359594", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 4.740, "sum" : 300.52, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:42:35]POST & json_proto [19:42:35]process_json_proto [19:42:35]json parsed OK: [19:42:35]protocol is kg_v1.0 [19:42:35]action value=close_receipt [19:42:35]process_action close_receipt [19:42:35]cmd_close_receipt [19:42:35]MH_GetDate [19:42:35]Write to MH i2c: F0 00 00 FC 45 30 [19:42:35]Write i2c OK [19:42:35]MH_I2C_Read... [19:42:35]Read from MH i2c: F0 [19:42:35]MH_I2C_Read... [19:42:35]Read from MH i2c: F0 09 00 [19:42:35]MH_I2C_Read... [19:42:35]Read from MH i2c: F0 09 00 FC 45 00 BC 48 14 66 2B 11 66 64 BD [19:42:35]GetLastDocTimeStamp 1712605176 [19:42:35]current date 1712605372 [19:42:35]FM_GetShiftState [19:42:35]SAM_PROTO_GetShiftState [19:42:35]wFMCommunicate request_size=4 [19:42:35]MH_SAM_APDU [19:42:35]CAPDU: 80 13 01 00 [19:42:35]Write to MH i2c: E2 08 00 FD 45 80 13 01 00 00 00 00 00 BF [19:42:35]Write i2c OK [19:42:35]MH_I2C_Read... [19:42:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:35]Read from MH i2c: E2 [19:42:35]MH_I2C_Read... [19:42:35]Read from MH i2c: E2 0E 00 [19:42:35]MH_I2C_Read... [19:42:35]Read from MH i2c: E2 0E 00 FD 45 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 4C [19:42:35]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:42:35]wFMCommunicate OK [19:42:35]SAM_PROTO_GetShiftState done [19:42:35]FM_GetShiftState done [19:42:35]opened in 1712536270 [19:42:35]opened+sec_in_day 1712622670 [19:42:35]quantity*price = 30051 [19:42:35]sum+1 = 30053 [19:42:35]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.52 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.91 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 62 08.04.2024 19:42 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26849 ФПД: 249332093031360 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T194252&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26849&fm=249332093031360&tin=02508201610067®Number=0000000000091578&sum=30000 [19:42:37]StoreToDocumentArchive [19:42:37]shift 314 fd 26849 [19:42:37]save to /storage/0314/doc_00026849 [19:42:37]save last doc name /storage/0314/doc_00026849 to /storage/kkm_last_doc_name [19:42:37]save OK [19:42:37]Clear old archive folders... [19:42:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:42:37]tlvbuf is 00EDAF40 [19:42:37]SAM_PROTO_ClearQueue [19:42:37]wFMCommunicate request_size=4 [19:42:37]MH_SAM_APDU [19:42:37]CAPDU: 80 09 00 00 [19:42:37]Write to MH i2c: E2 08 00 0A 46 80 09 00 00 00 00 00 00 C2 [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:42:37]Read from MH i2c: E2 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 0A 46 00 90 00 C4 [19:42:37]RAPDU: 90 00 [19:42:37]wFMCommunicate OK [19:42:37]SAM_PROTO_ClearQueue done [19:42:37]KKMCreateOFDPacket [19:42:37]OFDProtocolAddRootSTLVToBuf [19:42:37]FM_MakeSignedData [19:42:37]FM_MakeSignedData [19:42:37]SAM_PROTO_SignData [19:42:37]wFMCommunicate request_size=4 [19:42:37]MH_SAM_APDU [19:42:37]CAPDU: 80 0D 01 02 [19:42:37]Write to MH i2c: E2 08 00 0B 46 80 0D 01 02 00 00 00 00 CA [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:42:37]Read from MH i2c: E2 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 0B 46 00 90 00 C5 [19:42:37]RAPDU: 90 00 [19:42:37]wFMCommunicate OK [19:42:37]wFMCommunicate request_size=255 [19:42:37]MH_SAM_APDU [19:42:37]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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 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 3E 00 00 00 F4 03 04 00 BC 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E1 68 00 00 35 04 06 00 E2 [19:42:37]Write to MH i2c: E2 02 01 0C 46 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 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 3E 00 00 00 F4 03 04 00 BC 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E1 68 00 00 35 04 06 00 E2 00 00 23 [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:37]Read from MH i2c: E2 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 0C 46 00 90 00 C6 [19:42:37]RAPDU: 90 00 [19:42:37]wFMCommunicate OK [19:42:37]wFMCommunicate request_size=10 [19:42:37]MH_SAM_APDU [19:42:37]CAPDU: 80 0D 02 02 05 C4 26 D6 13 C0 [19:42:37]Write to MH i2c: E2 0D 00 0D 46 80 0D 02 02 05 00 C4 26 D6 13 C0 00 00 6A [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:42:37]Read from MH i2c: E2 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 03 00 0D 46 00 90 00 C7 [19:42:37]RAPDU: 90 00 [19:42:37]wFMCommunicate OK [19:42:37]wFMCommunicate request_size=4 [19:42:37]MH_SAM_APDU [19:42:37]CAPDU: 80 0D 03 02 [19:42:37]Write to MH i2c: E2 08 00 0E 46 80 0D 03 02 00 00 00 00 CF [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:42:37]Read from MH i2c: E2 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 0B 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 0B 00 0E 46 00 11 CD AC E0 59 97 0B 4F 90 00 84 [19:42:37]RAPDU: 11 CD AC E0 59 97 0B 4F 90 00 [19:42:37]wFMCommunicate OK [19:42:37]SAM_PROTO_SignData done [19:42:37]FM_MakeSignedData done [19:42:37]CreateOFDProtocolMessage [19:42:37]wFMCommunicate request_size=4 [19:42:37]MH_SAM_APDU [19:42:37]CAPDU: 80 11 00 00 [19:42:37]Write to MH i2c: E2 08 00 0F 46 80 11 00 00 00 00 00 00 CF [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:37]Read from MH i2c: E2 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 17 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: E2 17 00 0F 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 27 [19:42:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:42:37]wFMCommunicate OK [19:42:37]CreateOFDProtocolMessage done [19:42:37]OFDSenderStorePacket 26849 [19:42:37]StoreOFDPacket docnum=26849 [19:42:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 F6 41 07 01 01 0E 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 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 3E 00 00 00 F4 03 04 00 BC 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E1 68 00 00 35 04 06 00 E2 C4 26 D6 13 C0 11 CD AC E0 59 97 0B 4F [19:42:37]CheckFolder [19:42:37]dirname=/storage/ofd_packets [19:42:37]CheckFolder done [19:42:37]ProducePacketName [19:42:37]name=ofd_packets/00026849 [19:42:37]NVStorageSaveData ofd_packets/00026849 [19:42:37]File name is /storage/ofd_packets/00026849 [19:42:37]Write 301 bytes [19:42:37]NVStorageSaveData done [19:42:37]OFDSenderStorePacket done [19:42:37]KKMCreateOFDPacket done [19:42:37]NVStorageSaveData kkm_last_timestamp [19:42:37]File name is /storage/kkm_last_timestamp [19:42:37]Write 4 bytes [19:42:37]NVStorageSaveData done [19:42:37]ExternCall_PrintAddStr [19:42:37]wPrintStart [19:42:37]Write to MH i2c: 01 00 00 10 46 56 [19:42:37]Write i2c OK [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: 01 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: 01 07 00 [19:42:37]MH_I2C_Read... [19:42:37]Read from MH i2c: 01 07 00 10 46 00 00 00 00 00 FF 0F 6B [19:42:37]RasterBufferAndPrint [19:42:37]line Счет N : (1)359594 [19:42:37]line ИÐÐ: 02508201610067 [19:42:37]line Контрольно-КаÑÑовый Чек [19:42:37]line ПРОДÐЖР[19:42:37]line ТРК (МРК, ГÐК) : 61 [19:42:37]line Товар: 2710124130 [19:42:37]line Ðи-92-К-5 [19:42:37]line 4.740 * 63.40 [19:42:37]line = 300.52 [19:42:37]line ÐДС 12% ÐСП 1% [19:42:37]line > о реализуемом товаре [19:42:37]line ОКРУГЛЕÐИЕ: -0.52 [19:42:37]line ИТОГО: 300.00 [19:42:37]line ВнеÑено: 300.00 [19:42:37]line СДÐЧÐ: 0.00 [19:42:37]line ÐСП 1% : 2.66 [19:42:37]line ÐДС 12% : 31.91 [19:42:37]line Ðаличными: 300.00 [19:42:37]line Безнал.: 0.00 [19:42:37]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [19:42:37]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:42:37]line СÐО: Общий режим [19:42:37]line Чек 62 08.04.2024 19:42 [19:42:37]line Смена: 314 ФФД: 1.0 [19:42:37]line ЗÐМ: 0300000147 [19:42:37]line РÐМ: 0000000000091578 [19:42:37]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:42:37]line ФМ: 0000000000874657 [19:42:37]line ФД: 26849 [19:42:37]line ФПД: 249332093031360 [19:42:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T194252&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26849&fm=249332093031360&tin=02508201610067®Number=0000000000091578&sum=30000 [19:42:37]OFD Sender: Processing packet 26849 [packets to send 44, broken 43] [19:42:37]ProducePacketName [19:42:37]name=ofd_packets/00026849 [19:42:37]OFD Sender: To server: ‡•öpG, [19:42:37]CommunicateWithHost lk.salyk.kg:30040 [19:42:37]ConnectInit lk.salyk.kg [19:42:37]written 0, free lines is 4095 [19:42:37]Connected sock=10 [19:42:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 F6 41 07 01 01 0E 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 84 12 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 64 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 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 3E 00 00 00 F4 03 04 00 BC 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E1 68 00 00 35 04 06 00 E2 C4 26 D6 13 C0 11 CD AC E0 59 97 0B 4F [19:42:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 C4 D9 47 00 37 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E1 68 00 00 F4 03 04 00 25 F0 13 66 B6 04 01 00 00 0D EC 27 D3 31 06 7E BF [19:42:38]CommunicateWithHost err = 0 [19:42:38]CheckOFDResponse [19:42:38]1017 (14) - 77093643461234 [19:42:38]1041 (16) - 0000000000874657 [19:42:38]1040 (4) - 26849 [19:42:38]1012 (4) - 08.04.2024 13:24 [19:42:38]1206 (1) - 0 [19:42:38]OFD Sender: Remove packet 26849 [19:42:38]ProducePacketName [19:42:38]name=ofd_packets/00026849 [19:42:38]NVStorageDeleteData [19:42:38]Write to MH i2c: 01 00 00 3B 46 81 [19:42:38]Write i2c OK [19:42:38]MH_I2C_Read... [19:42:38]Read from MH i2c: 01 [19:42:38]MH_I2C_Read... [19:42:38]Read from MH i2c: 01 07 00 [19:42:38]MH_I2C_Read... [19:42:38]Read from MH i2c: 01 07 00 3B 46 00 00 00 00 00 77 0C 0B [19:42:38]RasterBufferAndPrint [19:42:38]line [19:42:38]line [19:42:38]line [19:42:38]line [19:42:38]line [19:42:38]written 0, free lines is 3194 [19:42:38]MH_Cut [19:42:38]Write to MH i2c: D1 01 00 42 46 01 5A [19:42:38]Write i2c OK [19:42:38]MH_I2C_Read... [19:42:38]Read from MH i2c: D1 [19:42:38]MH_I2C_Read... [19:42:38]Read from MH i2c: D1 01 00 [19:42:38]MH_I2C_Read... [19:42:38]Read from MH i2c: D1 01 00 42 46 00 59 [19:42:38]Write to MH i2c: 01 00 00 43 46 89 [19:42:38]Write i2c OK [19:42:38]MH_I2C_Read... [19:42:38]OFD Sender: No OFD packet to send [19:42:39]*** Cut start [19:42:39]*** Partial cut [19:42:39]*** CUTSNS_PIN = 1 [19:42:39]*** CUTSNS_PIN = 0 [19:42:39]*** Brake cut motor [19:42:40]Read from MH i2c: 01 [19:42:40]MH_I2C_Read... [19:42:40]*** Stop cut motor [19:42:40]*** Cut end [19:42:40]Read from MH i2c: 01 07 00 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: 01 07 00 43 46 00 00 00 00 00 FF 0F 9E [19:42:40]process_action close_receipt done [19:42:40]requested_data is exist [19:42:40]produce_requested_data [19:42:40]requested_item fm.sn is exist - process it [19:42:40]wFMCommunicate request_size=4 [19:42:40]MH_SAM_APDU [19:42:40]CAPDU: 80 11 00 00 [19:42:40]Write to MH i2c: E2 08 00 44 46 80 11 00 00 00 00 00 00 04 [19:42:40]Write i2c OK [19:42:40]MH_I2C_Read... [19:42:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:42:40]Read from MH i2c: E2 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: E2 17 00 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: E2 17 00 44 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 5C [19:42:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:42:40]wFMCommunicate OK [19:42:40]requested_item fd.num is exist - process it [19:42:40]SAM_PROTO_GetFieldsCounters [19:42:40]wFMCommunicate request_size=4 [19:42:40]MH_SAM_APDU [19:42:40]CAPDU: 80 13 00 00 [19:42:40]Write to MH i2c: E2 08 00 45 46 80 13 00 00 00 00 00 00 07 [19:42:40]Write i2c OK [19:42:40]MH_I2C_Read... [19:42:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:42:40]Read from MH i2c: E2 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: E2 62 00 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: E2 62 00 45 46 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 70 [19:42:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:42:40]wFMCommunicate OK [19:42:40]SAM_PROTO_GetFieldsCounters done [19:42:40]requested_item shift.num is exist - process it [19:42:40]requested_item shift.opened is exist - process it [19:42:40]req_shift_opened [19:42:40]FM_GetShiftState [19:42:40]SAM_PROTO_GetShiftState [19:42:40]wFMCommunicate request_size=4 [19:42:40]MH_SAM_APDU [19:42:40]CAPDU: 80 13 01 00 [19:42:40]Write to MH i2c: E2 08 00 46 46 80 13 01 00 00 00 00 00 09 [19:42:40]Write i2c OK [19:42:40]MH_I2C_Read... [19:42:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:42:40]Read from MH i2c: E2 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: E2 0E 00 [19:42:40]MH_I2C_Read... [19:42:40]Read from MH i2c: E2 0E 00 46 46 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 96 [19:42:40]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:42:40]wFMCommunicate OK [19:42:40]SAM_PROTO_GetShiftState done [19:42:40]FM_GetShiftState done [19:42:40]req_shift_opened done [19:42:40]requested_item shift.open_date is exist - process it [19:42:40]req_shift_open_date [19:42:40]req_shift_open_date done [19:42:40]produce_requested_data done [19:42:40]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26849,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [19:42:40]process_action_free close_receipt [19:42:40]json_value_free [19:42:40]json_value_free done [19:42:40]process_json_proto returns [19:42:40]Send response to host [19:42:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26849,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [19:42:40]free response buf [19:42:40]execute_script done [19:42:40]execute_script returns [19:42:40]free content buf [19:42:40]Sock 8.Close socket [19:42:40]Sock 8.Thread stoped [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:25]accept exits with 9 [19:43:25]New connection [19:43:25]New thread 3067014500 created [19:43:25]Thread 3066871140 joined [19:43:25]Waiting for new connection... [19:43:25] Sock 9.Parse request [19:43:25]Sock 9.Check first char [19:43:25]Sock 9.First char is OK [19:43:25]request: POST /json_proto HTTP/1.0 [19:43:25]Method: POST [19:43:25]URL: /json_proto [19:43:25]Method is POST - this is cgi request [19:43:25]url: /json_proto [19:43:25]query_string will be loaded in cgi processing [19:43:25]execute_cgi json_proto POST (null) [19:43:25]execute_cgi path=json_proto method=POST [19:43:25]POST find Content-Length [19:43:25]Host: 172.17.35.3:8080 [19:43:25]Content-Length: 682 [19:43:25]Content-Type: application/json [19:43:25] [19:43:25]POST finish read [19:43:25]Found Content-Length = 682 [19:43:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359595", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 27.820, "sum" : 2000.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:43:25]execute_script... [19:43: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 : (1)359595", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 27.820, "sum" : 2000.26, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:43:25]POST & json_proto [19:43:25]process_json_proto [19:43:25]json parsed OK: [19:43:25]protocol is kg_v1.0 [19:43:25]action value=close_receipt [19:43:25]process_action close_receipt [19:43:25]cmd_close_receipt [19:43:25]MH_GetDate [19:43:25]Write to MH i2c: F0 00 00 47 46 7C [19:43:25]Write i2c OK [19:43:25]MH_I2C_Read... [19:43:25]Read from MH i2c: F0 [19:43:25]MH_I2C_Read... [19:43:25]Read from MH i2c: F0 09 00 [19:43:25]MH_I2C_Read... [19:43:25]Read from MH i2c: F0 09 00 47 46 00 ED 48 14 66 2B 11 66 64 3A [19:43:25]GetLastDocTimeStamp 1712605372 [19:43:25]current date 1712605421 [19:43:25]FM_GetShiftState [19:43:25]SAM_PROTO_GetShiftState [19:43:25]wFMCommunicate request_size=4 [19:43:25]MH_SAM_APDU [19:43:25]CAPDU: 80 13 01 00 [19:43:25]Write to MH i2c: E2 08 00 48 46 80 13 01 00 00 00 00 00 0B [19:43:25]Write i2c OK [19:43:25]MH_I2C_Read... [19:43:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:25]Read from MH i2c: E2 [19:43:25]MH_I2C_Read... [19:43:25]Read from MH i2c: E2 0E 00 [19:43:25]MH_I2C_Read... [19:43:25]Read from MH i2c: E2 0E 00 48 46 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 98 [19:43:25]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:43:25]wFMCommunicate OK [19:43:25]SAM_PROTO_GetShiftState done [19:43:25]FM_GetShiftState done [19:43:25]opened in 1712536270 [19:43:25]opened+sec_in_day 1712622670 [19:43:25]quantity*price = 200025 [19:43:25]sum+1 = 200027 [19:43:25]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.26 ИТОГО: 2000.00 ВнеÑено: 2000.00 СДÐЧÐ: 0.00 ÐСП 1% : 17.70 ÐДС 12% : 212.42 Ðаличными: 2000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 63 08.04.2024 19:43 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26850 ФПД: 252942611195337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T194341&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26850&fm=252942611195337&tin=02508201610067®Number=0000000000091578&sum=200000 [19:43:26]StoreToDocumentArchive [19:43:26]shift 314 fd 26850 [19:43:26]save to /storage/0314/doc_00026850 [19:43:26]save last doc name /storage/0314/doc_00026850 to /storage/kkm_last_doc_name [19:43:26]save OK [19:43:26]Clear old archive folders... [19:43:26]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:43:26]tlvbuf is 00F75AA0 [19:43:26]SAM_PROTO_ClearQueue [19:43:26]wFMCommunicate request_size=4 [19:43:26]MH_SAM_APDU [19:43:26]CAPDU: 80 09 00 00 [19:43:26]Write to MH i2c: E2 08 00 55 46 80 09 00 00 00 00 00 00 0D [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:43:26]Read from MH i2c: E2 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 55 46 00 90 00 0F [19:43:26]RAPDU: 90 00 [19:43:26]wFMCommunicate OK [19:43:26]SAM_PROTO_ClearQueue done [19:43:26]KKMCreateOFDPacket [19:43:26]OFDProtocolAddRootSTLVToBuf [19:43:26]FM_MakeSignedData [19:43:26]FM_MakeSignedData [19:43:26]SAM_PROTO_SignData [19:43:26]wFMCommunicate request_size=4 [19:43:26]MH_SAM_APDU [19:43:26]CAPDU: 80 0D 01 02 [19:43:26]Write to MH i2c: E2 08 00 56 46 80 0D 01 02 00 00 00 00 15 [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:43:26]Read from MH i2c: E2 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 56 46 00 90 00 10 [19:43:26]RAPDU: 90 00 [19:43:26]wFMCommunicate OK [19:43:26]wFMCommunicate request_size=255 [19:43:26]MH_SAM_APDU [19:43:26]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 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 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 3F 00 00 00 F4 03 04 00 ED 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E2 68 00 00 35 04 06 00 E6 [19:43:26]Write to MH i2c: E2 02 01 57 46 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 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 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 3F 00 00 00 F4 03 04 00 ED 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E2 68 00 00 35 04 06 00 E6 00 00 16 [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:43:26]Read from MH i2c: E2 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 57 46 00 90 00 11 [19:43:26]RAPDU: 90 00 [19:43:26]wFMCommunicate OK [19:43:26]wFMCommunicate request_size=10 [19:43:26]MH_SAM_APDU [19:43:26]CAPDU: 80 0D 02 02 05 0C CA 7D 25 C9 [19:43:26]Write to MH i2c: E2 0D 00 58 46 80 0D 02 02 05 00 0C CA 7D 25 C9 00 00 63 [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:43:26]Read from MH i2c: E2 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 03 00 58 46 00 90 00 12 [19:43:26]RAPDU: 90 00 [19:43:26]wFMCommunicate OK [19:43:26]wFMCommunicate request_size=4 [19:43:26]MH_SAM_APDU [19:43:26]CAPDU: 80 0D 03 02 [19:43:26]Write to MH i2c: E2 08 00 59 46 80 0D 03 02 00 00 00 00 1A [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:43:26]Read from MH i2c: E2 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 0B 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 0B 00 59 46 00 D1 91 BF 78 59 ED EF 28 90 00 11 [19:43:26]RAPDU: D1 91 BF 78 59 ED EF 28 90 00 [19:43:26]wFMCommunicate OK [19:43:26]SAM_PROTO_SignData done [19:43:26]FM_MakeSignedData done [19:43:26]CreateOFDProtocolMessage [19:43:26]wFMCommunicate request_size=4 [19:43:26]MH_SAM_APDU [19:43:26]CAPDU: 80 11 00 00 [19:43:26]Write to MH i2c: E2 08 00 5A 46 80 11 00 00 00 00 00 00 1A [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:26]Read from MH i2c: E2 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 17 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: E2 17 00 5A 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 72 [19:43:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:43:26]wFMCommunicate OK [19:43:26]CreateOFDProtocolMessage done [19:43:26]OFDSenderStorePacket 26850 [19:43:26]StoreOFDPacket docnum=26850 [19:43:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 7F 40 07 01 74 70 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 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 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 3F 00 00 00 F4 03 04 00 ED 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E2 68 00 00 35 04 06 00 E6 0C CA 7D 25 C9 D1 91 BF 78 59 ED EF 28 [19:43:26]CheckFolder [19:43:26]dirname=/storage/ofd_packets [19:43:26]CheckFolder done [19:43:26]ProducePacketName [19:43:26]name=ofd_packets/00026850 [19:43:26]NVStorageSaveData ofd_packets/00026850 [19:43:26]File name is /storage/ofd_packets/00026850 [19:43:26]Write 301 bytes [19:43:26]NVStorageSaveData done [19:43:26]OFDSenderStorePacket done [19:43:26]KKMCreateOFDPacket done [19:43:26]NVStorageSaveData kkm_last_timestamp [19:43:26]File name is /storage/kkm_last_timestamp [19:43:26]Write 4 bytes [19:43:26]NVStorageSaveData done [19:43:26]ExternCall_PrintAddStr [19:43:26]wPrintStart [19:43:26]Write to MH i2c: 01 00 00 5B 46 A1 [19:43:26]Write i2c OK [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: 01 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: 01 07 00 [19:43:26]MH_I2C_Read... [19:43:26]Read from MH i2c: 01 07 00 5B 46 00 00 00 00 00 FF 0F B6 [19:43:26]RasterBufferAndPrint [19:43:26]line Счет N : (1)359595 [19:43:26]line ИÐÐ: 02508201610067 [19:43:26]line Контрольно-КаÑÑовый Чек [19:43:26]line ПРОДÐЖР[19:43:26]line ТРК (МРК, ГÐК) : 53 [19:43:26]line Товар: 2710124500 [19:43:26]line Ðи-95-К-5 [19:43:26]line 27.820 * 71.90 [19:43:26]line = 2000.26 [19:43:26]line ÐДС 12% ÐСП 1% [19:43:26]line > о реализуемом товаре [19:43:26]line ОКРУГЛЕÐИЕ: -0.26 [19:43:26]line ИТОГО: 2000.00 [19:43:26]line ВнеÑено: 2000.00 [19:43:26]line СДÐЧÐ: 0.00 [19:43:26]line ÐСП 1% : 17.70 [19:43:26]line ÐДС 12% : 212.42 [19:43:26]line Ðаличными: 2000.00 [19:43:26]line Безнал.: 0.00 [19:43:26]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [19:43:26]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [19:43:26]line СÐО: Общий режим [19:43:26]line Чек 63 08.04.2024 19:43 [19:43:26]line Смена: 314 ФФД: 1.0 [19:43:26]line ЗÐМ: 0300000147 [19:43:26]line РÐМ: 0000000000091578 [19:43:26]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [19:43:26]line ФМ: 0000000000874657 [19:43:26]line ФД: 26850 [19:43:26]line ФПД: 252942611195337 [19:43:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T194341&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26850&fm=252942611195337&tin=02508201610067®Number=0000000000091578&sum=200000 [19:43:27]OFD Sender: Processing packet 26850 [packets to send 44, broken 43] [19:43:27]ProducePacketName [19:43:27]name=ofd_packets/00026850 [19:43:27]OFD Sender: To server: ‡•öpG, [19:43:27]CommunicateWithHost lk.salyk.kg:30040 [19:43:27]ConnectInit lk.salyk.kg [19:43:27]written 0, free lines is 4095 [19:43:27]Connected sock=10 [19:43:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 7F 40 07 01 74 70 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 AC 6C 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 5A 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 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 3F 00 00 00 F4 03 04 00 ED 48 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E2 68 00 00 35 04 06 00 E6 0C CA 7D 25 C9 D1 91 BF 78 59 ED EF 28 [19:43:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 4F D5 47 00 F9 85 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E2 68 00 00 F4 03 04 00 56 F0 13 66 B6 04 01 00 00 09 B9 D1 62 A0 81 DF 06 [19:43:27]CommunicateWithHost err = 0 [19:43:27]CheckOFDResponse [19:43:27]1017 (14) - 77093643461234 [19:43:27]1041 (16) - 0000000000874657 [19:43:27]1040 (4) - 26850 [19:43:27]1012 (4) - 08.04.2024 13:25 [19:43:27]1206 (1) - 0 [19:43:27]OFD Sender: Remove packet 26850 [19:43:27]ProducePacketName [19:43:27]name=ofd_packets/00026850 [19:43:27]NVStorageDeleteData [19:43:27]Write to MH i2c: 01 00 00 86 46 CC [19:43:27]Write i2c OK [19:43:27]MH_I2C_Read... [19:43:27]Read from MH i2c: 01 [19:43:27]MH_I2C_Read... [19:43:27]Read from MH i2c: 01 07 00 [19:43:27]MH_I2C_Read... [19:43:27]Read from MH i2c: 01 07 00 86 46 00 00 00 00 00 7D 0C 5C [19:43:27]RasterBufferAndPrint [19:43:27]line [19:43:27]line [19:43:27]line [19:43:27]line [19:43:27]line [19:43:27]written 0, free lines is 3201 [19:43:27]MH_Cut [19:43:27]Write to MH i2c: D1 01 00 8D 46 01 A5 [19:43:27]Write i2c OK [19:43:27]MH_I2C_Read... [19:43:27]Read from MH i2c: D1 [19:43:27]MH_I2C_Read... [19:43:27]Read from MH i2c: D1 01 00 [19:43:27]MH_I2C_Read... [19:43:27]Read from MH i2c: D1 01 00 8D 46 00 A4 [19:43:27]Write to MH i2c: 01 00 00 8E 46 D4 [19:43:27]Write i2c OK [19:43:27]MH_I2C_Read... [19:43:28]OFD Sender: No OFD packet to send [19:43:28]*** Cut start [19:43:28]*** Partial cut [19:43:28]*** CUTSNS_PIN = 1 [19:43:28]*** CUTSNS_PIN = 0 [19:43:29]*** Brake cut motor [19:43:29]Read from MH i2c: 01 [19:43:29]MH_I2C_Read... [19:43:29]*** Stop cut motor [19:43:29]*** Cut end [19:43:29]Read from MH i2c: 01 07 00 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: 01 07 00 8E 46 00 00 00 00 00 FF 0F E9 [19:43:29]process_action close_receipt done [19:43:29]requested_data is exist [19:43:29]produce_requested_data [19:43:29]requested_item fm.sn is exist - process it [19:43:29]wFMCommunicate request_size=4 [19:43:29]MH_SAM_APDU [19:43:29]CAPDU: 80 11 00 00 [19:43:29]Write to MH i2c: E2 08 00 8F 46 80 11 00 00 00 00 00 00 4F [19:43:29]Write i2c OK [19:43:29]MH_I2C_Read... [19:43:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:29]Read from MH i2c: E2 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: E2 17 00 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: E2 17 00 8F 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 A7 [19:43:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [19:43:29]wFMCommunicate OK [19:43:29]requested_item fd.num is exist - process it [19:43:29]SAM_PROTO_GetFieldsCounters [19:43:29]wFMCommunicate request_size=4 [19:43:29]MH_SAM_APDU [19:43:29]CAPDU: 80 13 00 00 [19:43:29]Write to MH i2c: E2 08 00 90 46 80 13 00 00 00 00 00 00 52 [19:43:29]Write i2c OK [19:43:29]MH_I2C_Read... [19:43:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:43:29]Read from MH i2c: E2 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: E2 62 00 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: E2 62 00 90 46 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [19:43:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:43:29]wFMCommunicate OK [19:43:29]SAM_PROTO_GetFieldsCounters done [19:43:29]requested_item shift.num is exist - process it [19:43:29]requested_item shift.opened is exist - process it [19:43:29]req_shift_opened [19:43:29]FM_GetShiftState [19:43:29]SAM_PROTO_GetShiftState [19:43:29]wFMCommunicate request_size=4 [19:43:29]MH_SAM_APDU [19:43:29]CAPDU: 80 13 01 00 [19:43:29]Write to MH i2c: E2 08 00 91 46 80 13 01 00 00 00 00 00 54 [19:43:29]Write i2c OK [19:43:29]MH_I2C_Read... [19:43:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:29]Read from MH i2c: E2 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: E2 0E 00 [19:43:29]MH_I2C_Read... [19:43:29]Read from MH i2c: E2 0E 00 91 46 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E1 [19:43:29]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [19:43:29]wFMCommunicate OK [19:43:29]SAM_PROTO_GetShiftState done [19:43:29]FM_GetShiftState done [19:43:29]req_shift_opened done [19:43:29]requested_item shift.open_date is exist - process it [19:43:29]req_shift_open_date [19:43:29]req_shift_open_date done [19:43:29]produce_requested_data done [19:43:29]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26850,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [19:43:29]process_action_free close_receipt [19:43:29]json_value_free [19:43:29]json_value_free done [19:43:29]process_json_proto returns [19:43:29]Send response to host [19:43:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26850,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [19:43:29]free response buf [19:43:29]execute_script done [19:43:29]execute_script returns [19:43:29]free content buf [19:43:29]Sock 9.Close socket [19:43:29]Sock 9.Thread stoped [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:33]OFD Sender: No OFD packet to send [19:56:38]OFD Sender: No OFD packet to send [19:56:43]OFD Sender: No OFD packet to send [19:56:48]OFD Sender: No OFD packet to send [19:56:53]OFD Sender: No OFD packet to send [19:56:58]OFD Sender: No OFD packet to send [19:57:03]OFD Sender: No OFD packet to send [19:57:08]OFD Sender: No OFD packet to send [19:57:13]OFD Sender: No OFD packet to send [19:57:18]OFD Sender: No OFD packet to send [19:57:23]OFD Sender: No OFD packet to send [19:57:28]OFD Sender: No OFD packet to send [19:57:33]OFD Sender: No OFD packet to send [19:57:38]OFD Sender: No OFD packet to send [19:57:43]OFD Sender: No OFD packet to send [19:57:48]OFD Sender: No OFD packet to send [19:57:53]OFD Sender: No OFD packet to send [19:57:58]OFD Sender: No OFD packet to send [19:58:03]OFD Sender: No OFD packet to send [19:58:08]OFD Sender: No OFD packet to send [19:58:13]OFD Sender: No OFD packet to send [19:58:18]OFD Sender: No OFD packet to send [19:58:23]OFD Sender: No OFD packet to send [19:58:28]OFD Sender: No OFD packet to send [19:58:33]OFD Sender: No OFD packet to send [19:58:38]OFD Sender: No OFD packet to send [19:58:43]OFD Sender: No OFD packet to send [19:58:48]OFD Sender: No OFD packet to send [19:58:53]OFD Sender: No OFD packet to send [19:58:58]OFD Sender: No OFD packet to send [19:59:03]OFD Sender: No OFD packet to send [19:59:08]OFD Sender: No OFD packet to send [19:59:13]OFD Sender: No OFD packet to send [19:59:18]OFD Sender: No OFD packet to send [19:59:23]OFD Sender: No OFD packet to send [19:59:28]OFD Sender: No OFD packet to send [19:59:33]OFD Sender: No OFD packet to send [19:59:38]OFD Sender: No OFD packet to send [19:59:43]OFD Sender: No OFD packet to send [19:59:48]OFD Sender: No OFD packet to send [19:59:53]OFD Sender: No OFD packet to send [19:59:58]OFD Sender: No OFD packet to send [20:00:03]OFD Sender: No OFD packet to send [20:00:08]OFD Sender: No OFD packet to send [20:00:13]OFD Sender: No OFD packet to send [20:00:18]OFD Sender: No OFD packet to send [20:00:23]OFD Sender: No OFD packet to send [20:00:28]OFD Sender: No OFD packet to send [20:00:33]OFD Sender: No OFD packet to send [20:00:38]OFD Sender: No OFD packet to send [20:00:43]OFD Sender: No OFD packet to send [20:00:48]OFD Sender: No OFD packet to send [20:00:53]OFD Sender: No OFD packet to send [20:00:58]OFD Sender: No OFD packet to send [20:01:03]OFD Sender: No OFD packet to send [20:01:08]OFD Sender: No OFD packet to send [20:01:13]OFD Sender: No OFD packet to send [20:01:18]OFD Sender: No OFD packet to send [20:01:23]OFD Sender: No OFD packet to send [20:01:28]OFD Sender: No OFD packet to send [20:01:33]OFD Sender: No OFD packet to send [20:01:38]OFD Sender: No OFD packet to send [20:01:43]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]OFD Sender: No OFD packet to send [20:04:24]OFD Sender: No OFD packet to send [20:04:29]OFD Sender: No OFD packet to send [20:04:34]OFD Sender: No OFD packet to send [20:04:39]OFD Sender: No OFD packet to send [20:04:44]OFD Sender: No OFD packet to send [20:04:49]OFD Sender: No OFD packet to send [20:04:54]OFD Sender: No OFD packet to send [20:04:59]OFD Sender: No OFD packet to send [20:05:04]OFD Sender: No OFD packet to send [20:05:09]OFD Sender: No OFD packet to send [20:05:14]OFD Sender: No OFD packet to send [20:05:19]OFD Sender: No OFD packet to send [20:05:24]OFD Sender: No OFD packet to send [20:05:29]OFD Sender: No OFD packet to send [20:05:34]OFD Sender: No OFD packet to send [20:05:39]OFD Sender: No OFD packet to send [20:05:44]OFD Sender: No OFD packet to send [20:05:49]OFD Sender: No OFD packet to send [20:05:54]OFD Sender: No OFD packet to send [20:05:59]OFD Sender: No OFD packet to send [20:06:04]OFD Sender: No OFD packet to send [20:06:09]OFD Sender: No OFD packet to send [20:06:14]OFD Sender: No OFD packet to send [20:06:19]OFD Sender: No OFD packet to send [20:06:24]OFD Sender: No OFD packet to send [20:06:29]OFD Sender: No OFD packet to send [20:06:34]OFD Sender: No OFD packet to send [20:06:39]OFD Sender: No OFD packet to send [20:06:44]OFD Sender: No OFD packet to send [20:06:49]OFD Sender: No OFD packet to send [20:06:54]OFD Sender: No OFD packet to send [20:06:59]OFD Sender: No OFD packet to send [20:07:04]OFD Sender: No OFD packet to send [20:07:09]OFD Sender: No OFD packet to send [20:07:14]OFD Sender: No OFD packet to send [20:07:19]OFD Sender: No OFD packet to send [20:07:24]OFD Sender: No OFD packet to send [20:07:29]OFD Sender: No OFD packet to send [20:07:34]OFD Sender: No OFD packet to send [20:07:39]OFD Sender: No OFD packet to send [20:07:44]OFD Sender: No OFD packet to send [20:07:49]OFD Sender: No OFD packet to send [20:07:54]OFD Sender: No OFD packet to send [20:07:59]OFD Sender: No OFD packet to send [20:08:04]OFD Sender: No OFD packet to send [20:08:09]OFD Sender: No OFD packet to send [20:08:14]OFD Sender: No OFD packet to send [20:08:19]OFD Sender: No OFD packet to send [20:08:24]OFD Sender: No OFD packet to send [20:08:29]OFD Sender: No OFD packet to send [20:08:34]OFD Sender: No OFD packet to send [20:08:39]OFD Sender: No OFD packet to send [20:08:44]OFD Sender: No OFD packet to send [20:08:49]OFD Sender: No OFD packet to send [20:08:54]OFD Sender: No OFD packet to send [20:08:59]OFD Sender: No OFD packet to send [20:09:04]OFD Sender: No OFD packet to send [20:09:09]OFD Sender: No OFD packet to send [20:09:14]OFD Sender: No OFD packet to send [20:09:19]OFD Sender: No OFD packet to send [20:09:24]OFD Sender: No OFD packet to send [20:09:29]OFD Sender: No OFD packet to send [20:09:34]OFD Sender: No OFD packet to send [20:09:39]OFD Sender: No OFD packet to send [20:09:44]OFD Sender: No OFD packet to send [20:09:49]OFD Sender: No OFD packet to send [20:09:54]OFD Sender: No OFD packet to send [20:09:59]OFD Sender: No OFD packet to send [20:10:04]OFD Sender: No OFD packet to send [20:10:09]OFD Sender: No OFD packet to send [20:10:14]OFD Sender: No OFD packet to send [20:10:19]OFD Sender: No OFD packet to send [20:10:24]OFD Sender: No OFD packet to send [20:10:29]OFD Sender: No OFD packet to send [20:10:34]OFD Sender: No OFD packet to send [20:10:39]OFD Sender: No OFD packet to send [20:10:44]OFD Sender: No OFD packet to send [20:10:49]OFD Sender: No OFD packet to send [20:10:54]OFD Sender: No OFD packet to send [20:10:59]OFD Sender: No OFD packet to send [20:11:04]OFD Sender: No OFD packet to send [20:11:09]OFD Sender: No OFD packet to send [20:11:14]OFD Sender: No OFD packet to send [20:11:19]OFD Sender: No OFD packet to send [20:11:24]OFD Sender: No OFD packet to send [20:11:29]OFD Sender: No OFD packet to send [20:11:34]OFD Sender: No OFD packet to send [20:11:39]OFD Sender: No OFD packet to send [20:11:44]OFD Sender: No OFD packet to send [20:11:49]OFD Sender: No OFD packet to send [20:11:54]OFD Sender: No OFD packet to send [20:11:59]OFD Sender: No OFD packet to send [20:12:04]OFD Sender: No OFD packet to send [20:12:09]OFD Sender: No OFD packet to send [20:12:14]OFD Sender: No OFD packet to send [20:12:19]OFD Sender: No OFD packet to send [20:12:24]OFD Sender: No OFD packet to send [20:12:29]OFD Sender: No OFD packet to send [20:12:34]OFD Sender: No OFD packet to send [20:12:39]OFD Sender: No OFD packet to send [20:12:44]OFD Sender: No OFD packet to send [20:12:49]OFD Sender: No OFD packet to send [20:12:54]OFD Sender: No OFD packet to send [20:12:59]OFD Sender: No OFD packet to send [20:13:04]OFD Sender: No OFD packet to send [20:13:09]OFD Sender: No OFD packet to send [20:13:14]OFD Sender: No OFD packet to send [20:13:19]OFD Sender: No OFD packet to send [20:13:24]OFD Sender: No OFD packet to send [20:13:29]OFD Sender: No OFD packet to send [20:13:34]OFD Sender: No OFD packet to send [20:13:39]OFD Sender: No OFD packet to send [20:13:44]OFD Sender: No OFD packet to send [20:13:49]OFD Sender: No OFD packet to send [20:13:54]OFD Sender: No OFD packet to send [20:13:59]OFD Sender: No OFD packet to send [20:14:04]OFD Sender: No OFD packet to send [20:14:09]OFD Sender: No OFD packet to send [20:14:14]OFD Sender: No OFD packet to send [20:14:19]OFD Sender: No OFD packet to send [20:14:24]OFD Sender: No OFD packet to send [20:14:29]OFD Sender: No OFD packet to send [20:14:34]OFD Sender: No OFD packet to send [20:14:39]OFD Sender: No OFD packet to send [20:14:44]OFD Sender: No OFD packet to send [20:14:49]OFD Sender: No OFD packet to send [20:14:54]OFD Sender: No OFD packet to send [20:14:59]OFD Sender: No OFD packet to send [20:15:03]accept exits with 8 [20:15:03]New connection [20:15:03]New thread 3066871140 created [20:15:03]Thread 3067014500 joined [20:15:03]Waiting for new connection... [20:15:03] Sock 8.Parse request [20:15:03]Sock 8.Check first char [20:15:03]Sock 8.First char is OK [20:15:03]request: POST /json_proto HTTP/1.0 [20:15:03]Method: POST [20:15:03]URL: /json_proto [20:15:03]Method is POST - this is cgi request [20:15:03]url: /json_proto [20:15:03]query_string will be loaded in cgi processing [20:15:03]execute_cgi json_proto POST (null) [20:15:03]execute_cgi path=json_proto method=POST [20:15:03]POST find Content-Length [20:15:03]Host: 172.17.35.3:8080 [20:15:03]Content-Length: 682 [20:15:03]Content-Type: application/json [20:15:03] [20:15:03]POST finish read [20:15:03]Found Content-Length = 682 [20:15:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359596", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:03]execute_script... [20:15:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359596", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:03]POST & json_proto [20:15:03]process_json_proto [20:15:03]json parsed OK: [20:15:03]protocol is kg_v1.0 [20:15:03]action value=close_receipt [20:15:03]process_action close_receipt [20:15:03]cmd_close_receipt [20:15:03]MH_GetDate [20:15:03]Write to MH i2c: F0 00 00 92 46 C7 [20:15:03]Write i2c OK [20:15:03]MH_I2C_Read... [20:15:03]Read from MH i2c: F0 [20:15:03]MH_I2C_Read... [20:15:03]Read from MH i2c: F0 09 00 [20:15:03]MH_I2C_Read... [20:15:03]Read from MH i2c: F0 09 00 92 46 00 58 50 14 66 2B 11 66 64 F8 [20:15:03]GetLastDocTimeStamp 1712605421 [20:15:03]current date 1712607320 [20:15:03]FM_GetShiftState [20:15:03]SAM_PROTO_GetShiftState [20:15:03]wFMCommunicate request_size=4 [20:15:03]MH_SAM_APDU [20:15:03]CAPDU: 80 13 01 00 [20:15:03]Write to MH i2c: E2 08 00 93 46 80 13 01 00 00 00 00 00 56 [20:15:03]Write i2c OK [20:15:03]MH_I2C_Read... [20:15:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:03]Read from MH i2c: E2 [20:15:03]MH_I2C_Read... [20:15:03]Read from MH i2c: E2 0E 00 [20:15:03]MH_I2C_Read... [20:15:03]Read from MH i2c: E2 0E 00 93 46 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 E3 [20:15:03]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [20:15:03]wFMCommunicate OK [20:15:03]SAM_PROTO_GetShiftState done [20:15:03]FM_GetShiftState done [20:15:03]opened in 1712536270 [20:15:03]opened+sec_in_day 1712622670 [20:15:03]quantity*price = 100045 [20:15:03]sum+1 = 100046 [20:15:03]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 64 08.04.2024 20:15 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26851 ФПД: 230443636166198 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T201520&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26851&fm=230443636166198&tin=02508201610067®Number=0000000000091578&sum=100000 [20:15:05]StoreToDocumentArchive [20:15:05]shift 314 fd 26851 [20:15:05]save to /storage/0314/doc_00026851 [20:15:05]save last doc name /storage/0314/doc_00026851 to /storage/kkm_last_doc_name [20:15:05]save OK [20:15:05]Clear old archive folders... [20:15:05]ProcessDocumentItem done err = 0, tmpTLVsize=251 [20:15:05]tlvbuf is 00F50F40 [20:15:05]SAM_PROTO_ClearQueue [20:15:05]wFMCommunicate request_size=4 [20:15:05]MH_SAM_APDU [20:15:05]CAPDU: 80 09 00 00 [20:15:05]Write to MH i2c: E2 08 00 A0 46 80 09 00 00 00 00 00 00 58 [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:15:05]Read from MH i2c: E2 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 A0 46 00 90 00 5A [20:15:05]RAPDU: 90 00 [20:15:05]wFMCommunicate OK [20:15:05]SAM_PROTO_ClearQueue done [20:15:05]KKMCreateOFDPacket [20:15:05]OFDProtocolAddRootSTLVToBuf [20:15:05]FM_MakeSignedData [20:15:05]FM_MakeSignedData [20:15:05]SAM_PROTO_SignData [20:15:05]wFMCommunicate request_size=4 [20:15:05]MH_SAM_APDU [20:15:05]CAPDU: 80 0D 01 02 [20:15:05]Write to MH i2c: E2 08 00 A1 46 80 0D 01 02 00 00 00 00 60 [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:15:05]Read from MH i2c: E2 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 A1 46 00 90 00 5B [20:15:05]RAPDU: 90 00 [20:15:05]wFMCommunicate OK [20:15:05]wFMCommunicate request_size=255 [20:15:05]MH_SAM_APDU [20:15:05]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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 58 50 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E3 68 00 00 35 04 06 00 D1 [20:15:05]Write to MH i2c: E2 02 01 A2 46 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 58 50 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E3 68 00 00 35 04 06 00 D1 00 00 AD [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:05]Read from MH i2c: E2 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 A2 46 00 90 00 5C [20:15:05]RAPDU: 90 00 [20:15:05]wFMCommunicate OK [20:15:05]wFMCommunicate request_size=10 [20:15:05]MH_SAM_APDU [20:15:05]CAPDU: 80 0D 02 02 05 96 57 13 0E 36 [20:15:05]Write to MH i2c: E2 0D 00 A3 46 80 0D 02 02 05 00 96 57 13 0E 36 00 00 B1 [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:05]Read from MH i2c: E2 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 03 00 A3 46 00 90 00 5D [20:15:05]RAPDU: 90 00 [20:15:05]wFMCommunicate OK [20:15:05]wFMCommunicate request_size=4 [20:15:05]MH_SAM_APDU [20:15:05]CAPDU: 80 0D 03 02 [20:15:05]Write to MH i2c: E2 08 00 A4 46 80 0D 03 02 00 00 00 00 65 [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:15:05]Read from MH i2c: E2 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 0B 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 0B 00 A4 46 00 7C C9 B9 CE EA 51 71 42 90 00 20 [20:15:05]RAPDU: 7C C9 B9 CE EA 51 71 42 90 00 [20:15:05]wFMCommunicate OK [20:15:05]SAM_PROTO_SignData done [20:15:05]FM_MakeSignedData done [20:15:05]CreateOFDProtocolMessage [20:15:05]wFMCommunicate request_size=4 [20:15:05]MH_SAM_APDU [20:15:05]CAPDU: 80 11 00 00 [20:15:05]Write to MH i2c: E2 08 00 A5 46 80 11 00 00 00 00 00 00 65 [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:05]Read from MH i2c: E2 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 17 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: E2 17 00 A5 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 BD [20:15:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:15:05]wFMCommunicate OK [20:15:05]CreateOFDProtocolMessage done [20:15:05]OFDSenderStorePacket 26851 [20:15:05]StoreOFDPacket docnum=26851 [20:15:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 4E 05 07 01 CE 82 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 58 50 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E3 68 00 00 35 04 06 00 D1 96 57 13 0E 36 7C C9 B9 CE EA 51 71 42 [20:15:05]CheckFolder [20:15:05]dirname=/storage/ofd_packets [20:15:05]CheckFolder done [20:15:05]ProducePacketName [20:15:05]name=ofd_packets/00026851 [20:15:05]NVStorageSaveData ofd_packets/00026851 [20:15:05]File name is /storage/ofd_packets/00026851 [20:15:05]Write 301 bytes [20:15:05]NVStorageSaveData done [20:15:05]OFDSenderStorePacket done [20:15:05]KKMCreateOFDPacket done [20:15:05]NVStorageSaveData kkm_last_timestamp [20:15:05]File name is /storage/kkm_last_timestamp [20:15:05]Write 4 bytes [20:15:05]NVStorageSaveData done [20:15:05]ExternCall_PrintAddStr [20:15:05]wPrintStart [20:15:05]Write to MH i2c: 01 00 00 A6 46 EC [20:15:05]Write i2c OK [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: 01 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: 01 07 00 [20:15:05]MH_I2C_Read... [20:15:05]Read from MH i2c: 01 07 00 A6 46 00 00 00 00 00 FF 0F 01 [20:15:05]RasterBufferAndPrint [20:15:05]line Счет N : (1)359596 [20:15:05]line ИÐÐ: 02508201610067 [20:15:05]line Контрольно-КаÑÑовый Чек [20:15:05]line ПРОДÐЖР[20:15:05]line ТРК (МРК, ГÐК) : 51 [20:15:05]line Товар: 2710124130 [20:15:05]line Ðи-92-К-5 [20:15:05]line 15.780 * 63.40 [20:15:05]line = 1000.45 [20:15:05]line ÐДС 12% ÐСП 1% [20:15:05]line > о реализуемом товаре [20:15:05]line ОКРУГЛЕÐИЕ: -0.45 [20:15:05]line ИТОГО: 1000.00 [20:15:05]line ВнеÑено: 1000.00 [20:15:05]line СДÐЧÐ: 0.00 [20:15:05]line ÐСП 1% : 8.85 [20:15:05]line ÐДС 12% : 106.24 [20:15:05]line Ðаличными: 1000.00 [20:15:05]line Безнал.: 0.00 [20:15:05]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [20:15:05]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:15:05]line СÐО: Общий режим [20:15:05]line Чек 64 08.04.2024 20:15 [20:15:05]line Смена: 314 ФФД: 1.0 [20:15:05]line ЗÐМ: 0300000147 [20:15:05]line РÐМ: 0000000000091578 [20:15:05]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:15:05]line ФМ: 0000000000874657 [20:15:05]line ФД: 26851 [20:15:05]line ФПД: 230443636166198 [20:15:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T201520&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26851&fm=230443636166198&tin=02508201610067®Number=0000000000091578&sum=100000 [20:15:05]OFD Sender: Processing packet 26851 [packets to send 44, broken 43] [20:15:05]ProducePacketName [20:15:05]name=ofd_packets/00026851 [20:15:05]OFD Sender: To server: ‡•öpG, [20:15:05]CommunicateWithHost lk.salyk.kg:30040 [20:15:06]ConnectInit lk.salyk.kg [20:15:06]written 0, free lines is 4095 [20:15:06]Connected sock=9 [20:15:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 4E 05 07 01 CE 82 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 58 50 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E3 68 00 00 35 04 06 00 D1 96 57 13 0E 36 7C C9 B9 CE EA 51 71 42 [20:15:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 E8 AF 47 00 7E F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E3 68 00 00 F4 03 04 00 C1 F7 13 66 B6 04 01 00 00 2F 85 83 EF 61 21 A8 37 [20:15:06]CommunicateWithHost err = 0 [20:15:06]CheckOFDResponse [20:15:06]1017 (14) - 77093643461234 [20:15:06]1041 (16) - 0000000000874657 [20:15:06]1040 (4) - 26851 [20:15:06]1012 (4) - 08.04.2024 13:57 [20:15:06]1206 (1) - 0 [20:15:06]OFD Sender: Remove packet 26851 [20:15:06]ProducePacketName [20:15:06]name=ofd_packets/00026851 [20:15:06]NVStorageDeleteData [20:15:06]Write to MH i2c: 01 00 00 D1 46 17 [20:15:06]Write i2c OK [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: 01 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: 01 07 00 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: 01 07 00 D1 46 00 00 00 00 00 79 0C A3 [20:15:06]RasterBufferAndPrint [20:15:06]line [20:15:06]line [20:15:06]line [20:15:06]line [20:15:06]line [20:15:06]written 0, free lines is 3196 [20:15:06]MH_Cut [20:15:06]Write to MH i2c: D1 01 00 D8 46 01 F0 [20:15:06]Write i2c OK [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: D1 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: D1 01 00 [20:15:06]MH_I2C_Read... [20:15:06]Read from MH i2c: D1 01 00 D8 46 00 EF [20:15:06]Write to MH i2c: 01 00 00 D9 46 1F [20:15:06]Write i2c OK [20:15:06]MH_I2C_Read... [20:15:06]OFD Sender: No OFD packet to send [20:15:07]*** Cut start [20:15:07]*** Partial cut [20:15:07]*** CUTSNS_PIN = 1 [20:15:07]*** CUTSNS_PIN = 0 [20:15:07]*** Brake cut motor [20:15:08]Read from MH i2c: 01 [20:15:08]MH_I2C_Read... [20:15:08]*** Stop cut motor [20:15:08]*** Cut end [20:15:08]Read from MH i2c: 01 07 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: 01 07 00 D9 46 00 00 00 00 00 FF 0F 34 [20:15:08]process_action close_receipt done [20:15:08]requested_data is exist [20:15:08]produce_requested_data [20:15:08]requested_item fm.sn is exist - process it [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 11 00 00 [20:15:08]Write to MH i2c: E2 08 00 DA 46 80 11 00 00 00 00 00 00 9A [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 17 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 17 00 DA 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F2 [20:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:15:08]wFMCommunicate OK [20:15:08]requested_item fd.num is exist - process it [20:15:08]SAM_PROTO_GetFieldsCounters [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 13 00 00 [20:15:08]Write to MH i2c: E2 08 00 DB 46 80 13 00 00 00 00 00 00 9D [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 62 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 62 00 DB 46 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [20:15:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:15:08]wFMCommunicate OK [20:15:08]SAM_PROTO_GetFieldsCounters done [20:15:08]requested_item shift.num is exist - process it [20:15:08]requested_item shift.opened is exist - process it [20:15:08]req_shift_opened [20:15:08]FM_GetShiftState [20:15:08]SAM_PROTO_GetShiftState [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 13 01 00 [20:15:08]Write to MH i2c: E2 08 00 DC 46 80 13 01 00 00 00 00 00 9F [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 0E 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 0E 00 DC 46 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 2C [20:15:08]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [20:15:08]wFMCommunicate OK [20:15:08]SAM_PROTO_GetShiftState done [20:15:08]FM_GetShiftState done [20:15:08]req_shift_opened done [20:15:08]requested_item shift.open_date is exist - process it [20:15:08]req_shift_open_date [20:15:08]req_shift_open_date done [20:15:08]produce_requested_data done [20:15:08]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26851,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [20:15:08]process_action_free close_receipt [20:15:08]json_value_free [20:15:08]json_value_free done [20:15:08]process_json_proto returns [20:15:08]Send response to host [20:15:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26851,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [20:15:08]free response buf [20:15:08]execute_script done [20:15:08]execute_script returns [20:15:08]free content buf [20:15:08]Sock 8.Close socket [20:15:08]Sock 8.Thread stoped [20:15:11]OFD Sender: No OFD packet to send [20:15:16]OFD Sender: No OFD packet to send [20:15:21]OFD Sender: No OFD packet to send [20:15:26]OFD Sender: No OFD packet to send [20:15:31]OFD Sender: No OFD packet to send [20:15:36]OFD Sender: No OFD packet to send [20:15:41]OFD Sender: No OFD packet to send [20:15:46]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:07]OFD Sender: No OFD packet to send [20:19:12]OFD Sender: No OFD packet to send [20:19:17]OFD Sender: No OFD packet to send [20:19:22]OFD Sender: No OFD packet to send [20:19:27]OFD Sender: No OFD packet to send [20:19:32]OFD Sender: No OFD packet to send [20:19:37]OFD Sender: No OFD packet to send [20:19:42]OFD Sender: No OFD packet to send [20:19:47]OFD Sender: No OFD packet to send [20:19:52]OFD Sender: No OFD packet to send [20:19:57]OFD Sender: No OFD packet to send [20:20:02]OFD Sender: No OFD packet to send [20:20:07]OFD Sender: No OFD packet to send [20:20:12]OFD Sender: No OFD packet to send [20:20:17]OFD Sender: No OFD packet to send [20:20:22]OFD Sender: No OFD packet to send [20:20:27]OFD Sender: No OFD packet to send [20:20:32]OFD Sender: No OFD packet to send [20:20:37]OFD Sender: No OFD packet to send [20:20:42]OFD Sender: No OFD packet to send [20:20:47]OFD Sender: No OFD packet to send [20:20:52]OFD Sender: No OFD packet to send [20:20:57]OFD Sender: No OFD packet to send [20:21:02]OFD Sender: No OFD packet to send [20:21:07]OFD Sender: No OFD packet to send [20:21:12]OFD Sender: No OFD packet to send [20:21:17]OFD Sender: No OFD packet to send [20:21:22]OFD Sender: No OFD packet to send [20:21:27]OFD Sender: No OFD packet to send [20:21:32]OFD Sender: No OFD packet to send [20:21:37]OFD Sender: No OFD packet to send [20:21:42]OFD Sender: No OFD packet to send [20:21:47]OFD Sender: No OFD packet to send [20:21:52]OFD Sender: No OFD packet to send [20:21:57]OFD Sender: No OFD packet to send [20:22:02]OFD Sender: No OFD packet to send [20:22:07]OFD Sender: No OFD packet to send [20:22:12]OFD Sender: No OFD packet to send [20:22:17]OFD Sender: No OFD packet to send [20:22:22]OFD Sender: No OFD packet to send [20:22:27]OFD Sender: No OFD packet to send [20:22:32]OFD Sender: No OFD packet to send [20:22:37]OFD Sender: No OFD packet to send [20:22:42]OFD Sender: No OFD packet to send [20:22:47]OFD Sender: No OFD packet to send [20:22:52]OFD Sender: No OFD packet to send [20:22:57]OFD Sender: No OFD packet to send [20:23:02]OFD Sender: No OFD packet to send [20:23:07]OFD Sender: No OFD packet to send [20:23:12]OFD Sender: No OFD packet to send [20:23:17]OFD Sender: No OFD packet to send [20:23:22]OFD Sender: No OFD packet to send [20:23:27]OFD Sender: No OFD packet to send [20:23:32]OFD Sender: No OFD packet to send [20:23:37]OFD Sender: No OFD packet to send [20:23:42]OFD Sender: No OFD packet to send [20:23:47]OFD Sender: No OFD packet to send [20:23:52]OFD Sender: No OFD packet to send [20:23:57]OFD Sender: No OFD packet to send [20:24:02]OFD Sender: No OFD packet to send [20:24:07]OFD Sender: No OFD packet to send [20:24:12]OFD Sender: No OFD packet to send [20:24:17]OFD Sender: No OFD packet to send [20:24:22]OFD Sender: No OFD packet to send [20:24:27]OFD Sender: No OFD packet to send [20:24:32]OFD Sender: No OFD packet to send [20:24:37]OFD Sender: No OFD packet to send [20:24:42]OFD Sender: No OFD packet to send [20:24:47]OFD Sender: No OFD packet to send [20:24:52]OFD Sender: No OFD packet to send [20:24:57]OFD Sender: No OFD packet to send [20:25:02]OFD Sender: No OFD packet to send [20:25:07]OFD Sender: No OFD packet to send [20:25:12]OFD Sender: No OFD packet to send [20:25:17]OFD Sender: No OFD packet to send [20:25:22]OFD Sender: No OFD packet to send [20:25:27]OFD Sender: No OFD packet to send [20:25:32]OFD Sender: No OFD packet to send [20:25:37]OFD Sender: No OFD packet to send [20:25:42]OFD Sender: No OFD packet to send [20:25:47]OFD Sender: No OFD packet to send [20:25:52]OFD Sender: No OFD packet to send [20:25:57]OFD Sender: No OFD packet to send [20:26:02]OFD Sender: No OFD packet to send [20:26:07]OFD Sender: No OFD packet to send [20:26:12]OFD Sender: No OFD packet to send [20:26:17]OFD Sender: No OFD packet to send [20:26:22]OFD Sender: No OFD packet to send [20:26:27]OFD Sender: No OFD packet to send [20:26:32]OFD Sender: No OFD packet to send [20:26:37]OFD Sender: No OFD packet to send [20:26:42]OFD Sender: No OFD packet to send [20:26:47]OFD Sender: No OFD packet to send [20:26:52]OFD Sender: No OFD packet to send [20:26:57]OFD Sender: No OFD packet to send [20:27:02]OFD Sender: No OFD packet to send [20:27:07]OFD Sender: No OFD packet to send [20:27:12]OFD Sender: No OFD packet to send [20:27:17]OFD Sender: No OFD packet to send [20:27:22]OFD Sender: No OFD packet to send [20:27:27]OFD Sender: No OFD packet to send [20:27:32]OFD Sender: No OFD packet to send [20:27:37]OFD Sender: No OFD packet to send [20:27:42]OFD Sender: No OFD packet to send [20:27:47]OFD Sender: No OFD packet to send [20:27:52]OFD Sender: No OFD packet to send [20:27:57]OFD Sender: No OFD packet to send [20:28:02]OFD Sender: No OFD packet to send [20:28:07]OFD Sender: No OFD packet to send [20:28:12]OFD Sender: No OFD packet to send [20:28:17]OFD Sender: No OFD packet to send [20:28:22]OFD Sender: No OFD packet to send [20:28:27]OFD Sender: No OFD packet to send [20:28:32]OFD Sender: No OFD packet to send [20:28:37]OFD Sender: No OFD packet to send [20:28:42]OFD Sender: No OFD packet to send [20:28:47]OFD Sender: No OFD packet to send [20:28:52]OFD Sender: No OFD packet to send [20:28:57]OFD Sender: No OFD packet to send [20:29:02]OFD Sender: No OFD packet to send [20:29:07]OFD Sender: No OFD packet to send [20:29:12]OFD Sender: No OFD packet to send [20:29:17]OFD Sender: No OFD packet to send [20:29:22]OFD Sender: No OFD packet to send [20:29:27]OFD Sender: No OFD packet to send [20:29:31]accept exits with 10 [20:29:31]New connection [20:29:31]New thread 3067014500 created [20:29:31]Thread 3066871140 joined [20:29:31]Waiting for new connection... [20:29:31] Sock 10.Parse request [20:29:31]Sock 10.Check first char [20:29:31]Sock 10.First char is OK [20:29:31]request: POST /json_proto HTTP/1.0 [20:29:31]Method: POST [20:29:31]URL: /json_proto [20:29:31]Method is POST - this is cgi request [20:29:31]url: /json_proto [20:29:31]query_string will be loaded in cgi processing [20:29:31]execute_cgi json_proto POST (null) [20:29:31]execute_cgi path=json_proto method=POST [20:29:31]POST find Content-Length [20:29:31]Host: 172.17.35.3:8080 [20:29:31]Content-Length: 687 [20:29:31]Content-Type: application/json [20:29:31] [20:29:31]POST finish read [20:29:31]Found Content-Length = 687 [20:29:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359597", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:29:31]execute_script... [20:29:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359597", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:29:31]POST & json_proto [20:29:31]process_json_proto [20:29:31]json parsed OK: [20:29:31]protocol is kg_v1.0 [20:29:31]action value=close_receipt [20:29:31]process_action close_receipt [20:29:31]cmd_close_receipt [20:29:31]MH_GetDate [20:29:31]Write to MH i2c: F0 00 00 DD 46 12 [20:29:31]Write i2c OK [20:29:31]MH_I2C_Read... [20:29:31]Read from MH i2c: F0 [20:29:31]MH_I2C_Read... [20:29:31]Read from MH i2c: F0 09 00 [20:29:31]MH_I2C_Read... [20:29:31]Read from MH i2c: F0 09 00 DD 46 00 BC 53 14 66 2B 11 66 64 AA [20:29:31]GetLastDocTimeStamp 1712607320 [20:29:31]current date 1712608188 [20:29:31]FM_GetShiftState [20:29:31]SAM_PROTO_GetShiftState [20:29:31]wFMCommunicate request_size=4 [20:29:31]MH_SAM_APDU [20:29:31]CAPDU: 80 13 01 00 [20:29:31]Write to MH i2c: E2 08 00 DE 46 80 13 01 00 00 00 00 00 A1 [20:29:31]Write i2c OK [20:29:31]MH_I2C_Read... [20:29:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:31]Read from MH i2c: E2 [20:29:31]MH_I2C_Read... [20:29:31]Read from MH i2c: E2 0E 00 [20:29:31]MH_I2C_Read... [20:29:31]Read from MH i2c: E2 0E 00 DE 46 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 2E [20:29:31]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [20:29:31]wFMCommunicate OK [20:29:31]SAM_PROTO_GetShiftState done [20:29:31]FM_GetShiftState done [20:29:31]opened in 1712536270 [20:29:31]opened+sec_in_day 1712622670 [20:29:31]quantity*price = 100017 [20:29:31]sum+1 = 100018 [20:29:31]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 65 08.04.2024 20:29 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26852 ФПД: 51923559358806 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T202948&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26852&fm=51923559358806&tin=02508201610067®Number=0000000000091578&sum=100000 [20:29:32]StoreToDocumentArchive [20:29:32]shift 314 fd 26852 [20:29:32]save to /storage/0314/doc_00026852 [20:29:32]save last doc name /storage/0314/doc_00026852 to /storage/kkm_last_doc_name [20:29:32]save OK [20:29:32]Clear old archive folders... [20:29:32]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:29:32]tlvbuf is 00EB7360 [20:29:32]SAM_PROTO_ClearQueue [20:29:32]wFMCommunicate request_size=4 [20:29:32]MH_SAM_APDU [20:29:32]CAPDU: 80 09 00 00 [20:29:32]Write to MH i2c: E2 08 00 EB 46 80 09 00 00 00 00 00 00 A3 [20:29:32]Write i2c OK [20:29:32]MH_I2C_Read... [20:29:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:29:32]Read from MH i2c: E2 [20:29:32]MH_I2C_Read... [20:29:32]Read from MH i2c: E2 03 00 [20:29:32]MH_I2C_Read... [20:29:32]Read from MH i2c: E2 03 00 EB 46 00 90 00 A5 [20:29:32]RAPDU: 90 00 [20:29:32]wFMCommunicate OK [20:29:32]SAM_PROTO_ClearQueue done [20:29:32]KKMCreateOFDPacket [20:29:32]OFDProtocolAddRootSTLVToBuf [20:29:32]FM_MakeSignedData [20:29:32]FM_MakeSignedData [20:29:32]SAM_PROTO_SignData [20:29:32]wFMCommunicate request_size=4 [20:29:32]MH_SAM_APDU [20:29:32]CAPDU: 80 0D 01 02 [20:29:32]Write to MH i2c: E2 08 00 EC 46 80 0D 01 02 00 00 00 00 AB [20:29:32]Write i2c OK [20:29:32]MH_I2C_Read... [20:29:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:29:32]Read from MH i2c: E2 [20:29:32]MH_I2C_Read... [20:29:32]Read from MH i2c: E2 03 00 [20:29:32]MH_I2C_Read... [20:29:32]Read from MH i2c: E2 03 00 EC 46 00 90 00 A6 [20:29:32]RAPDU: 90 00 [20:29:32]wFMCommunicate OK [20:29:32]wFMCommunicate request_size=255 [20:29:32]MH_SAM_APDU [20:29:32]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BC 53 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E4 68 00 00 35 04 06 00 [20:29:32]Write to MH i2c: E2 02 01 ED 46 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BC 53 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E4 68 00 00 35 04 06 00 00 00 B7 [20:29:32]Write i2c OK [20:29:32]MH_I2C_Read... [20:29:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:33]Read from MH i2c: E2 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 03 00 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 03 00 ED 46 00 90 00 A7 [20:29:33]RAPDU: 90 00 [20:29:33]wFMCommunicate OK [20:29:33]wFMCommunicate request_size=11 [20:29:33]MH_SAM_APDU [20:29:33]CAPDU: 80 0D 02 02 06 2F 39 65 4F A1 56 [20:29:33]Write to MH i2c: E2 0E 00 EE 46 80 0D 02 02 06 00 2F 39 65 4F A1 56 00 00 CD [20:29:33]Write i2c OK [20:29:33]MH_I2C_Read... [20:29:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:29:33]Read from MH i2c: E2 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 03 00 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 03 00 EE 46 00 90 00 A8 [20:29:33]RAPDU: 90 00 [20:29:33]wFMCommunicate OK [20:29:33]wFMCommunicate request_size=4 [20:29:33]MH_SAM_APDU [20:29:33]CAPDU: 80 0D 03 02 [20:29:33]Write to MH i2c: E2 08 00 EF 46 80 0D 03 02 00 00 00 00 B0 [20:29:33]Write i2c OK [20:29:33]MH_I2C_Read... [20:29:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:29:33]Read from MH i2c: E2 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 0B 00 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 0B 00 EF 46 00 4F 1D 0D E1 9C AA 07 44 90 00 9C [20:29:33]RAPDU: 4F 1D 0D E1 9C AA 07 44 90 00 [20:29:33]wFMCommunicate OK [20:29:33]SAM_PROTO_SignData done [20:29:33]FM_MakeSignedData done [20:29:33]CreateOFDProtocolMessage [20:29:33]wFMCommunicate request_size=4 [20:29:33]MH_SAM_APDU [20:29:33]CAPDU: 80 11 00 00 [20:29:33]Write to MH i2c: E2 08 00 F0 46 80 11 00 00 00 00 00 00 B0 [20:29:33]Write i2c OK [20:29:33]MH_I2C_Read... [20:29:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:33]Read from MH i2c: E2 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 17 00 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: E2 17 00 F0 46 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 08 [20:29:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:29:33]wFMCommunicate OK [20:29:33]CreateOFDProtocolMessage done [20:29:33]OFDSenderStorePacket 26852 [20:29:33]StoreOFDPacket docnum=26852 [20:29:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 83 A5 08 01 63 9C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BC 53 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E4 68 00 00 35 04 06 00 2F 39 65 4F A1 56 4F 1D 0D E1 9C AA 07 44 [20:29:33]CheckFolder [20:29:33]dirname=/storage/ofd_packets [20:29:33]CheckFolder done [20:29:33]ProducePacketName [20:29:33]name=ofd_packets/00026852 [20:29:33]NVStorageSaveData ofd_packets/00026852 [20:29:33]File name is /storage/ofd_packets/00026852 [20:29:33]Write 302 bytes [20:29:33]NVStorageSaveData done [20:29:33]OFDSenderStorePacket done [20:29:33]KKMCreateOFDPacket done [20:29:33]NVStorageSaveData kkm_last_timestamp [20:29:33]File name is /storage/kkm_last_timestamp [20:29:33]Write 4 bytes [20:29:33]NVStorageSaveData done [20:29:33]ExternCall_PrintAddStr [20:29:33]wPrintStart [20:29:33]Write to MH i2c: 01 00 00 F1 46 37 [20:29:33]Write i2c OK [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: 01 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: 01 07 00 [20:29:33]MH_I2C_Read... [20:29:33]Read from MH i2c: 01 07 00 F1 46 00 00 00 00 00 FF 0F 4C [20:29:33]RasterBufferAndPrint [20:29:33]line Счет N : (1)359597 [20:29:33]line ИÐÐ: 02508201610067 [20:29:33]line Контрольно-КаÑÑовый Чек [20:29:33]line ПРОДÐЖР[20:29:33]line ТРК (МРК, ГÐК) : 11 [20:29:33]line Товар: 2710194210 [20:29:33]line ДТ(л)-К-5 [20:29:33]line 13.930 * 71.80 [20:29:33]line = 1000.17 [20:29:33]line ÐДС 12% ÐСП 1% [20:29:33]line > о реализуемом товаре [20:29:33]line ОКРУГЛЕÐИЕ: -0.17 [20:29:33]line ИТОГО: 1000.00 [20:29:33]line ВнеÑено: 1000.00 [20:29:33]line СДÐЧÐ: 0.00 [20:29:33]line ÐСП 1% : 8.85 [20:29:33]line ÐДС 12% : 106.21 [20:29:33]line Ðаличными: 1000.00 [20:29:33]line Безнал.: 0.00 [20:29:33]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [20:29:33]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:29:33]line СÐО: Общий режим [20:29:33]line Чек 65 08.04.2024 20:29 [20:29:33]line Смена: 314 ФФД: 1.0 [20:29:33]line ЗÐМ: 0300000147 [20:29:33]line РÐМ: 0000000000091578 [20:29:33]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:29:33]line ФМ: 0000000000874657 [20:29:33]line ФД: 26852 [20:29:33]line ФПД: 51923559358806 [20:29:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T202948&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26852&fm=51923559358806&tin=02508201610067®Number=0000000000091578&sum=100000 [20:29:33]OFD Sender: Processing packet 26852 [packets to send 44, broken 43] [20:29:33]ProducePacketName [20:29:33]name=ofd_packets/00026852 [20:29:33]OFD Sender: To server: ‡•öpG, [20:29:33]CommunicateWithHost lk.salyk.kg:30040 [20:29:33]ConnectInit lk.salyk.kg [20:29:33]written 0, free lines is 4095 [20:29:33]Connected sock=9 [20:29:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 83 A5 08 01 63 9C 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 0A 00 32 37 31 30 31 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 BC 53 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E4 68 00 00 35 04 06 00 2F 39 65 4F A1 56 4F 1D 0D E1 9C AA 07 44 [20:29:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 65 60 47 00 BC 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E4 68 00 00 F4 03 04 00 25 FB 13 66 B6 04 01 00 00 10 FA D8 B9 C3 97 32 7B [20:29:33]CommunicateWithHost err = 0 [20:29:33]CheckOFDResponse [20:29:33]1017 (14) - 77093643461234 [20:29:33]1041 (16) - 0000000000874657 [20:29:33]1040 (4) - 26852 [20:29:33]1012 (4) - 08.04.2024 14:11 [20:29:33]1206 (1) - 0 [20:29:33]OFD Sender: Remove packet 26852 [20:29:33]ProducePacketName [20:29:33]name=ofd_packets/00026852 [20:29:33]NVStorageDeleteData [20:29:34]Write to MH i2c: 01 00 00 1C 47 63 [20:29:34]Write i2c OK [20:29:34]MH_I2C_Read... [20:29:34]Read from MH i2c: 01 [20:29:34]MH_I2C_Read... [20:29:34]Read from MH i2c: 01 07 00 [20:29:34]MH_I2C_Read... [20:29:34]Read from MH i2c: 01 07 00 1C 47 00 00 00 00 00 75 0C EB [20:29:34]RasterBufferAndPrint [20:29:34]line [20:29:34]line [20:29:34]line [20:29:34]line [20:29:34]line [20:29:34]written 0, free lines is 3192 [20:29:34]MH_Cut [20:29:34]Write to MH i2c: D1 01 00 23 47 01 3C [20:29:34]Write i2c OK [20:29:34]MH_I2C_Read... [20:29:34]Read from MH i2c: D1 [20:29:34]MH_I2C_Read... [20:29:34]Read from MH i2c: D1 01 00 [20:29:34]MH_I2C_Read... [20:29:34]Read from MH i2c: D1 01 00 23 47 00 3B [20:29:34]Write to MH i2c: 01 00 00 24 47 6B [20:29:34]Write i2c OK [20:29:34]MH_I2C_Read... [20:29:34]OFD Sender: No OFD packet to send [20:29:35]*** Cut start [20:29:35]*** Partial cut [20:29:35]*** CUTSNS_PIN = 1 [20:29:35]*** CUTSNS_PIN = 0 [20:29:35]*** Brake cut motor [20:29:35]Read from MH i2c: 01 [20:29:35]MH_I2C_Read... [20:29:35]*** Stop cut motor [20:29:35]*** Cut end [20:29:35]Read from MH i2c: 01 07 00 [20:29:35]MH_I2C_Read... [20:29:35]Read from MH i2c: 01 07 00 24 47 00 00 00 00 00 FF 0F 80 [20:29:35]process_action close_receipt done [20:29:35]requested_data is exist [20:29:35]produce_requested_data [20:29:35]requested_item fm.sn is exist - process it [20:29:35]wFMCommunicate request_size=4 [20:29:35]MH_SAM_APDU [20:29:35]CAPDU: 80 11 00 00 [20:29:35]Write to MH i2c: E2 08 00 25 47 80 11 00 00 00 00 00 00 E6 [20:29:35]Write i2c OK [20:29:35]MH_I2C_Read... [20:29:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:29:35]Read from MH i2c: E2 [20:29:35]MH_I2C_Read... [20:29:35]Read from MH i2c: E2 17 00 [20:29:35]MH_I2C_Read... [20:29:35]Read from MH i2c: E2 17 00 25 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 3E [20:29:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:29:35]wFMCommunicate OK [20:29:35]requested_item fd.num is exist - process it [20:29:35]SAM_PROTO_GetFieldsCounters [20:29:35]wFMCommunicate request_size=4 [20:29:35]MH_SAM_APDU [20:29:35]CAPDU: 80 13 00 00 [20:29:35]Write to MH i2c: E2 08 00 26 47 80 13 00 00 00 00 00 00 E9 [20:29:35]Write i2c OK [20:29:35]MH_I2C_Read... [20:29:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:29:36]Read from MH i2c: E2 [20:29:36]MH_I2C_Read... [20:29:36]Read from MH i2c: E2 62 00 [20:29:36]MH_I2C_Read... [20:29:36]Read from MH i2c: E2 62 00 26 47 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [20:29:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E4 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:29:36]wFMCommunicate OK [20:29:36]SAM_PROTO_GetFieldsCounters done [20:29:36]requested_item shift.num is exist - process it [20:29:36]requested_item shift.opened is exist - process it [20:29:36]req_shift_opened [20:29:36]FM_GetShiftState [20:29:36]SAM_PROTO_GetShiftState [20:29:36]wFMCommunicate request_size=4 [20:29:36]MH_SAM_APDU [20:29:36]CAPDU: 80 13 01 00 [20:29:36]Write to MH i2c: E2 08 00 27 47 80 13 01 00 00 00 00 00 EB [20:29:36]Write i2c OK [20:29:36]MH_I2C_Read... [20:29:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:29:36]Read from MH i2c: E2 [20:29:36]MH_I2C_Read... [20:29:36]Read from MH i2c: E2 0E 00 [20:29:36]MH_I2C_Read... [20:29:36]Read from MH i2c: E2 0E 00 27 47 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 78 [20:29:36]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [20:29:36]wFMCommunicate OK [20:29:36]SAM_PROTO_GetShiftState done [20:29:36]FM_GetShiftState done [20:29:36]req_shift_opened done [20:29:36]requested_item shift.open_date is exist - process it [20:29:36]req_shift_open_date [20:29:36]req_shift_open_date done [20:29:36]produce_requested_data done [20:29:36]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26852,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [20:29:36]process_action_free close_receipt [20:29:36]json_value_free [20:29:36]json_value_free done [20:29:36]process_json_proto returns [20:29:36]Send response to host [20:29:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26852,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [20:29:36]free response buf [20:29:36]execute_script done [20:29:36]execute_script returns [20:29:36]free content buf [20:29:36]Sock 10.Close socket [20:29:36]Sock 10.Thread stoped [20:29:39]OFD Sender: No OFD packet to send [20:29:44]OFD Sender: No OFD packet to send [20:29:49]OFD Sender: No OFD packet to send [20:29:54]OFD Sender: No OFD packet to send [20:29:59]OFD Sender: No OFD packet to send [20:30:04]OFD Sender: No OFD packet to send [20:30:09]OFD Sender: No OFD packet to send [20:30:14]OFD Sender: No OFD packet to send [20:30:19]OFD Sender: No OFD packet to send [20:30:24]OFD Sender: No OFD packet to send [20:30:29]OFD Sender: No OFD packet to send [20:30:34]OFD Sender: No OFD packet to send [20:30:39]OFD Sender: No OFD packet to send [20:30:44]OFD Sender: No OFD packet to send [20:30:49]OFD Sender: No OFD packet to send [20:30:54]OFD Sender: No OFD packet to send [20:30:59]OFD Sender: No OFD packet to send [20:31:04]OFD Sender: No OFD packet to send [20:31:09]OFD Sender: No OFD packet to send [20:31:14]OFD Sender: No OFD packet to send [20:31:19]OFD Sender: No OFD packet to send [20:31:24]OFD Sender: No OFD packet to send [20:31:29]OFD Sender: No OFD packet to send [20:31:34]OFD Sender: No OFD packet to send [20:31:39]OFD Sender: No OFD packet to send [20:31:44]OFD Sender: No OFD packet to send [20:31:49]OFD Sender: No OFD packet to send [20:31:54]OFD Sender: No OFD packet to send [20:31:59]OFD Sender: No OFD packet to send [20:32:04]OFD Sender: No OFD packet to send [20:32:09]OFD Sender: No OFD packet to send [20:32:14]OFD Sender: No OFD packet to send [20:32:19]OFD Sender: No OFD packet to send [20:32:24]OFD Sender: No OFD packet to send [20:32:29]OFD Sender: No OFD packet to send [20:32:34]OFD Sender: No OFD packet to send [20:32:39]OFD Sender: No OFD packet to send [20:32:44]OFD Sender: No OFD packet to send [20:32:49]OFD Sender: No OFD packet to send [20:32:54]OFD Sender: No OFD packet to send [20:32:59]OFD Sender: No OFD packet to send [20:33:04]OFD Sender: No OFD packet to send [20:33:09]OFD Sender: No OFD packet to send [20:33:14]OFD Sender: No OFD packet to send [20:33:19]OFD Sender: No OFD packet to send [20:33:24]OFD Sender: No OFD packet to send [20:33:29]OFD Sender: No OFD packet to send [20:33:34]OFD Sender: No OFD packet to send [20:33:39]OFD Sender: No OFD packet to send [20:33:44]OFD Sender: No OFD packet to send [20:33:49]OFD Sender: No OFD packet to send [20:33:54]OFD Sender: No OFD packet to send [20:33:59]OFD Sender: No OFD packet to send [20:34:04]OFD Sender: No OFD packet to send [20:34:09]OFD Sender: No OFD packet to send [20:34:14]OFD Sender: No OFD packet to send [20:34:19]OFD Sender: No OFD packet to send [20:34:24]OFD Sender: No OFD packet to send [20:34:29]OFD Sender: No OFD packet to send [20:34:34]OFD Sender: No OFD packet to send [20:34:39]OFD Sender: No OFD packet to send [20:34:44]OFD Sender: No OFD packet to send [20:34:49]OFD Sender: No OFD packet to send [20:34:54]OFD Sender: No OFD packet to send [20:34:59]OFD Sender: No OFD packet to send [20:35:04]OFD Sender: No OFD packet to send [20:35:09]OFD Sender: No OFD packet to send [20:35:14]OFD Sender: No OFD packet to send [20:35:19]OFD Sender: No OFD packet to send [20:35:24]OFD Sender: No OFD packet to send [20:35:29]OFD Sender: No OFD packet to send [20:35:34]OFD Sender: No OFD packet to send [20:35:39]OFD Sender: No OFD packet to send [20:35:44]OFD Sender: No OFD packet to send [20:35:49]OFD Sender: No OFD packet to send [20:35:54]OFD Sender: No OFD packet to send [20:35:59]OFD Sender: No OFD packet to send [20:36:04]OFD Sender: No OFD packet to send [20:36:09]OFD Sender: No OFD packet to send [20:36:14]OFD Sender: No OFD packet to send [20:36:19]OFD Sender: No OFD packet to send [20:36:24]OFD Sender: No OFD packet to send [20:36:29]OFD Sender: No OFD packet to send [20:36:34]OFD Sender: No OFD packet to send [20:36:39]OFD Sender: No OFD packet to send [20:36:44]OFD Sender: No OFD packet to send [20:36:49]OFD Sender: No OFD packet to send [20:36:54]OFD Sender: No OFD packet to send [20:36:59]OFD Sender: No OFD packet to send [20:37:04]OFD Sender: No OFD packet to send [20:37:09]OFD Sender: No OFD packet to send [20:37:14]OFD Sender: No OFD packet to send [20:37:19]OFD Sender: No OFD packet to send [20:37:24]OFD Sender: No OFD packet to send [20:37:29]OFD Sender: No OFD packet to send [20:37:34]OFD Sender: No OFD packet to send [20:37:39]OFD Sender: No OFD packet to send [20:37:44]OFD Sender: No OFD packet to send [20:37:49]OFD Sender: No OFD packet to send [20:37:54]OFD Sender: No OFD packet to send [20:37:59]OFD Sender: No OFD packet to send [20:38:04]OFD Sender: No OFD packet to send [20:38:09]OFD Sender: No OFD packet to send [20:38:14]OFD Sender: No OFD packet to send [20:38:19]OFD Sender: No OFD packet to send [20:38:24]OFD Sender: No OFD packet to send [20:38:29]OFD Sender: No OFD packet to send [20:38:34]OFD Sender: No OFD packet to send [20:38:39]OFD Sender: No OFD packet to send [20:38:44]OFD Sender: No OFD packet to send [20:38:49]OFD Sender: No OFD packet to send [20:38:54]OFD Sender: No OFD packet to send [20:38:59]OFD Sender: No OFD packet to send [20:39:04]OFD Sender: No OFD packet to send [20:39:09]OFD Sender: No OFD packet to send [20:39:14]OFD Sender: No OFD packet to send [20:39:19]OFD Sender: No OFD packet to send [20:39:24]OFD Sender: No OFD packet to send [20:39:29]OFD Sender: No OFD packet to send [20:39:34]OFD Sender: No OFD packet to send [20:39:39]OFD Sender: No OFD packet to send [20:39:44]OFD Sender: No OFD packet to send [20:39:49]OFD Sender: No OFD packet to send [20:39:54]OFD Sender: No OFD packet to send [20:39:59]OFD Sender: No OFD packet to send [20:40:04]OFD Sender: No OFD packet to send [20:40:09]OFD Sender: No OFD packet to send [20:40:14]OFD Sender: No OFD packet to send [20:40:19]OFD Sender: No OFD packet to send [20:40:24]OFD Sender: No OFD packet to send [20:40:29]OFD Sender: No OFD packet to send [20:40:34]OFD Sender: No OFD packet to send [20:40:39]OFD Sender: No OFD packet to send [20:40:45]OFD Sender: No OFD packet to send [20:40:50]OFD Sender: No OFD packet to send [20:40:55]OFD Sender: No OFD packet to send [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:45]OFD Sender: No OFD packet to send [20:41:50]OFD Sender: No OFD packet to send [20:41:55]OFD Sender: No OFD packet to send [20:42:00]OFD Sender: No OFD packet to send [20:42:05]OFD Sender: No OFD packet to send [20:42:10]OFD Sender: No OFD packet to send [20:42:15]OFD Sender: No OFD packet to send [20:42:20]OFD Sender: No OFD packet to send [20:42:25]OFD Sender: No OFD packet to send [20:42:30]OFD Sender: No OFD packet to send [20:42:35]OFD Sender: No OFD packet to send [20:42:40]OFD Sender: No OFD packet to send [20:42:45]OFD Sender: No OFD packet to send [20:42:50]OFD Sender: No OFD packet to send [20:42:55]OFD Sender: No OFD packet to send [20:43:00]OFD Sender: No OFD packet to send [20:43:05]OFD Sender: No OFD packet to send [20:43:10]OFD Sender: No OFD packet to send [20:43:15]OFD Sender: No OFD packet to send [20:43:20]OFD Sender: No OFD packet to send [20:43:25]OFD Sender: No OFD packet to send [20:43:30]OFD Sender: No OFD packet to send [20:43:35]OFD Sender: No OFD packet to send [20:43:40]OFD Sender: No OFD packet to send [20:43:45]OFD Sender: No OFD packet to send [20:43:50]OFD Sender: No OFD packet to send [20:43:55]OFD Sender: No OFD packet to send [20:44:00]OFD Sender: No OFD packet to send [20:44:05]OFD Sender: No OFD packet to send [20:44:10]OFD Sender: No OFD packet to send [20:44:15]OFD Sender: No OFD packet to send [20:44:20]OFD Sender: No OFD packet to send [20:44:25]OFD Sender: No OFD packet to send [20:44:30]OFD Sender: No OFD packet to send [20:44:35]OFD Sender: No OFD packet to send [20:44:40]OFD Sender: No OFD packet to send [20:44:45]OFD Sender: No OFD packet to send [20:44:50]OFD Sender: No OFD packet to send [20:44:55]OFD Sender: No OFD packet to send [20:45:00]OFD Sender: No OFD packet to send [20:45:05]OFD Sender: No OFD packet to send [20:45:10]OFD Sender: No OFD packet to send [20:45:15]OFD Sender: No OFD packet to send [20:45:20]OFD Sender: No OFD packet to send [20:45:25]OFD Sender: No OFD packet to send [20:45:30]OFD Sender: No OFD packet to send [20:45:35]OFD Sender: No OFD packet to send [20:45:40]OFD Sender: No OFD packet to send [20:45:45]OFD Sender: No OFD packet to send [20:45:50]OFD Sender: No OFD packet to send [20:45:55]OFD Sender: No OFD packet to send [20:46:00]OFD Sender: No OFD packet to send [20:46:05]OFD Sender: No OFD packet to send [20:46:10]OFD Sender: No OFD packet to send [20:46:15]OFD Sender: No OFD packet to send [20:46:20]OFD Sender: No OFD packet to send [20:46:25]OFD Sender: No OFD packet to send [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:52]accept exits with 8 [20:50:52]New connection [20:50:52]New thread 3066871140 created [20:50:52]Thread 3067014500 joined [20:50:52]Waiting for new connection... [20:50:52] Sock 8.Parse request [20:50:52]Sock 8.Check first char [20:50:52]Sock 8.First char is OK [20:50:52]request: POST /json_proto HTTP/1.0 [20:50:52]Method: POST [20:50:52]URL: /json_proto [20:50:52]Method is POST - this is cgi request [20:50:52]url: /json_proto [20:50:52]query_string will be loaded in cgi processing [20:50:52]execute_cgi json_proto POST (null) [20:50:52]execute_cgi path=json_proto method=POST [20:50:52]POST find Content-Length [20:50:52]Host: 172.17.35.3:8080 [20:50:52]Content-Length: 682 [20:50:52]Content-Type: application/json [20:50:52] [20:50:52]POST finish read [20:50:52]Found Content-Length = 682 [20:50:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359598", "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" : 71.80, "quantity" : 4.180, "sum" : 300.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:52]execute_script... [20:50:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359598", "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" : 71.80, "quantity" : 4.180, "sum" : 300.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:52]POST & json_proto [20:50:52]process_json_proto [20:50:52]json parsed OK: [20:50:52]protocol is kg_v1.0 [20:50:52]action value=close_receipt [20:50:52]process_action close_receipt [20:50:52]cmd_close_receipt [20:50:52]MH_GetDate [20:50:52]Write to MH i2c: F0 00 00 28 47 5E [20:50:52]Write i2c OK [20:50:52]MH_I2C_Read... [20:50:52]Read from MH i2c: F0 [20:50:52]MH_I2C_Read... [20:50:52]Read from MH i2c: F0 09 00 [20:50:52]MH_I2C_Read... [20:50:52]Read from MH i2c: F0 09 00 28 47 00 BC 58 14 66 2B 11 66 64 FB [20:50:52]GetLastDocTimeStamp 1712608188 [20:50:52]current date 1712609468 [20:50:52]FM_GetShiftState [20:50:52]SAM_PROTO_GetShiftState [20:50:52]wFMCommunicate request_size=4 [20:50:52]MH_SAM_APDU [20:50:52]CAPDU: 80 13 01 00 [20:50:52]Write to MH i2c: E2 08 00 29 47 80 13 01 00 00 00 00 00 ED [20:50:52]Write i2c OK [20:50:52]MH_I2C_Read... [20:50:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:52]Read from MH i2c: E2 [20:50:52]MH_I2C_Read... [20:50:52]Read from MH i2c: E2 0E 00 [20:50:52]MH_I2C_Read... [20:50:52]Read from MH i2c: E2 0E 00 29 47 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 7A [20:50:52]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [20:50:52]wFMCommunicate OK [20:50:52]SAM_PROTO_GetShiftState done [20:50:52]FM_GetShiftState done [20:50:52]opened in 1712536270 [20:50:52]opened+sec_in_day 1712622670 [20:50:52]quantity*price = 30012 [20:50:52]sum+1 = 30013 [20:50:52]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.12 ИТОГО: 300.00 ВнеÑено: 300.00 СДÐЧÐ: 0.00 ÐСП 1% : 2.66 ÐДС 12% : 31.87 Ðаличными: 300.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 66 08.04.2024 20:51 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26853 ФПД: 253500644772274 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T205108&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26853&fm=253500644772274&tin=02508201610067®Number=0000000000091578&sum=30000 [20:50:53]StoreToDocumentArchive [20:50:53]shift 314 fd 26853 [20:50:53]save to /storage/0314/doc_00026853 [20:50:53]save last doc name /storage/0314/doc_00026853 to /storage/kkm_last_doc_name [20:50:53]save OK [20:50:53]Clear old archive folders... [20:50:53]ProcessDocumentItem done err = 0, tmpTLVsize=252 [20:50:53]tlvbuf is 00FA8C50 [20:50:53]SAM_PROTO_ClearQueue [20:50:53]wFMCommunicate request_size=4 [20:50:53]MH_SAM_APDU [20:50:53]CAPDU: 80 09 00 00 [20:50:53]Write to MH i2c: E2 08 00 36 47 80 09 00 00 00 00 00 00 EF [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:50:53]Read from MH i2c: E2 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 36 47 00 90 00 F1 [20:50:53]RAPDU: 90 00 [20:50:53]wFMCommunicate OK [20:50:53]SAM_PROTO_ClearQueue done [20:50:53]KKMCreateOFDPacket [20:50:53]OFDProtocolAddRootSTLVToBuf [20:50:53]FM_MakeSignedData [20:50:53]FM_MakeSignedData [20:50:53]SAM_PROTO_SignData [20:50:53]wFMCommunicate request_size=4 [20:50:53]MH_SAM_APDU [20:50:53]CAPDU: 80 0D 01 02 [20:50:53]Write to MH i2c: E2 08 00 37 47 80 0D 01 02 00 00 00 00 F7 [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:50:53]Read from MH i2c: E2 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 37 47 00 90 00 F2 [20:50:53]RAPDU: 90 00 [20:50:53]wFMCommunicate OK [20:50:53]wFMCommunicate request_size=255 [20:50:53]MH_SAM_APDU [20:50:53]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 54 10 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 3C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 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 42 00 00 00 F4 03 04 00 BC 58 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E5 68 00 00 35 04 06 00 [20:50:53]Write to MH i2c: E2 02 01 38 47 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 54 10 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 3C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 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 42 00 00 00 F4 03 04 00 BC 58 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E5 68 00 00 35 04 06 00 00 00 AF [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:53]Read from MH i2c: E2 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 38 47 00 90 00 F3 [20:50:53]RAPDU: 90 00 [20:50:53]wFMCommunicate OK [20:50:53]wFMCommunicate request_size=11 [20:50:53]MH_SAM_APDU [20:50:53]CAPDU: 80 0D 02 02 06 E6 8E B7 E1 C9 B2 [20:50:53]Write to MH i2c: E2 0E 00 39 47 80 0D 02 02 06 00 E6 8E B7 E1 C9 B2 00 00 8D [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:53]Read from MH i2c: E2 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 03 00 39 47 00 90 00 F4 [20:50:53]RAPDU: 90 00 [20:50:53]wFMCommunicate OK [20:50:53]wFMCommunicate request_size=4 [20:50:53]MH_SAM_APDU [20:50:53]CAPDU: 80 0D 03 02 [20:50:53]Write to MH i2c: E2 08 00 3A 47 80 0D 03 02 00 00 00 00 FC [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:50:53]Read from MH i2c: E2 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 0B 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 0B 00 3A 47 00 29 EF 6E 02 27 FE 0E A6 90 00 5E [20:50:53]RAPDU: 29 EF 6E 02 27 FE 0E A6 90 00 [20:50:53]wFMCommunicate OK [20:50:53]SAM_PROTO_SignData done [20:50:53]FM_MakeSignedData done [20:50:53]CreateOFDProtocolMessage [20:50:53]wFMCommunicate request_size=4 [20:50:53]MH_SAM_APDU [20:50:53]CAPDU: 80 11 00 00 [20:50:53]Write to MH i2c: E2 08 00 3B 47 80 11 00 00 00 00 00 00 FC [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:53]Read from MH i2c: E2 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 17 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: E2 17 00 3B 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 54 [20:50:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:50:53]wFMCommunicate OK [20:50:53]CreateOFDProtocolMessage done [20:50:53]OFDSenderStorePacket 26853 [20:50:53]StoreOFDPacket docnum=26853 [20:50:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 0D 03 08 01 06 18 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 54 10 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 3C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 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 42 00 00 00 F4 03 04 00 BC 58 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E5 68 00 00 35 04 06 00 E6 8E B7 E1 C9 B2 29 EF 6E 02 27 FE 0E A6 [20:50:53]CheckFolder [20:50:53]dirname=/storage/ofd_packets [20:50:53]CheckFolder done [20:50:53]ProducePacketName [20:50:53]name=ofd_packets/00026853 [20:50:53]NVStorageSaveData ofd_packets/00026853 [20:50:53]File name is /storage/ofd_packets/00026853 [20:50:53]Write 302 bytes [20:50:53]NVStorageSaveData done [20:50:53]OFDSenderStorePacket done [20:50:53]KKMCreateOFDPacket done [20:50:53]NVStorageSaveData kkm_last_timestamp [20:50:53]File name is /storage/kkm_last_timestamp [20:50:53]Write 4 bytes [20:50:53]NVStorageSaveData done [20:50:53]ExternCall_PrintAddStr [20:50:53]wPrintStart [20:50:53]Write to MH i2c: 01 00 00 3C 47 83 [20:50:53]Write i2c OK [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: 01 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: 01 07 00 [20:50:53]MH_I2C_Read... [20:50:53]Read from MH i2c: 01 07 00 3C 47 00 00 00 00 00 FF 0F 98 [20:50:53]RasterBufferAndPrint [20:50:53]line Счет N : (1)359598 [20:50:53]line ИÐÐ: 02508201610067 [20:50:53]line Контрольно-КаÑÑовый Чек [20:50:53]line ПРОДÐЖР[20:50:53]line ТРК (МРК, ГÐК) : 21 [20:50:53]line Товар: 2710194210 [20:50:53]line ДТ(л)-К-5 [20:50:53]line 4.180 * 71.80 [20:50:53]line = 300.12 [20:50:53]line ÐДС 12% ÐСП 1% [20:50:53]line > о реализуемом товаре [20:50:53]line ОКРУГЛЕÐИЕ: -0.12 [20:50:53]line ИТОГО: 300.00 [20:50:53]line ВнеÑено: 300.00 [20:50:53]line СДÐЧÐ: 0.00 [20:50:53]line ÐСП 1% : 2.66 [20:50:53]line ÐДС 12% : 31.87 [20:50:53]line Ðаличными: 300.00 [20:50:53]line Безнал.: 0.00 [20:50:53]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [20:50:53]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [20:50:53]line СÐО: Общий режим [20:50:53]line Чек 66 08.04.2024 20:51 [20:50:53]line Смена: 314 ФФД: 1.0 [20:50:53]line ЗÐМ: 0300000147 [20:50:53]line РÐМ: 0000000000091578 [20:50:53]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [20:50:53]line ФМ: 0000000000874657 [20:50:53]line ФД: 26853 [20:50:53]line ФПД: 253500644772274 [20:50:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T205108&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26853&fm=253500644772274&tin=02508201610067®Number=0000000000091578&sum=30000 [20:50:54]OFD Sender: Processing packet 26853 [packets to send 44, broken 43] [20:50:54]ProducePacketName [20:50:54]name=ofd_packets/00026853 [20:50:54]OFD Sender: To server: ‡•öpG, [20:50:54]CommunicateWithHost lk.salyk.kg:30040 [20:50:54]ConnectInit lk.salyk.kg [20:50:54]written 0, free lines is 4095 [20:50:54]Connected sock=10 [20:50:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 0D 03 08 01 06 18 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 54 10 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 3C 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 73 0C 00 00 00 00 07 04 06 00 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 42 00 00 00 F4 03 04 00 BC 58 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E5 68 00 00 35 04 06 00 E6 8E B7 E1 C9 B2 29 EF 6E 02 27 FE 0E A6 [20:50:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 93 30 47 00 00 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E5 68 00 00 F4 03 04 00 25 00 14 66 B6 04 01 00 00 83 F6 B2 04 8E 52 13 30 [20:50:54]CommunicateWithHost err = 0 [20:50:54]CheckOFDResponse [20:50:54]1017 (14) - 77093643461234 [20:50:54]1041 (16) - 0000000000874657 [20:50:54]1040 (4) - 26853 [20:50:54]1012 (4) - 08.04.2024 14:33 [20:50:54]1206 (1) - 0 [20:50:54]OFD Sender: Remove packet 26853 [20:50:54]ProducePacketName [20:50:54]name=ofd_packets/00026853 [20:50:54]NVStorageDeleteData [20:50:54]Write to MH i2c: 01 00 00 67 47 AE [20:50:54]Write i2c OK [20:50:54]MH_I2C_Read... [20:50:54]Read from MH i2c: 01 [20:50:54]MH_I2C_Read... [20:50:54]Read from MH i2c: 01 07 00 [20:50:54]MH_I2C_Read... [20:50:54]Read from MH i2c: 01 07 00 67 47 00 00 00 00 00 71 0C 32 [20:50:54]RasterBufferAndPrint [20:50:54]line [20:50:54]line [20:50:54]line [20:50:54]line [20:50:54]line [20:50:54]written 0, free lines is 3187 [20:50:54]MH_Cut [20:50:54]Write to MH i2c: D1 01 00 6E 47 01 87 [20:50:54]Write i2c OK [20:50:54]MH_I2C_Read... [20:50:54]Read from MH i2c: D1 [20:50:54]MH_I2C_Read... [20:50:54]Read from MH i2c: D1 01 00 [20:50:54]MH_I2C_Read... [20:50:54]Read from MH i2c: D1 01 00 6E 47 00 86 [20:50:54]Write to MH i2c: 01 00 00 6F 47 B6 [20:50:54]Write i2c OK [20:50:54]MH_I2C_Read... [20:50:55]OFD Sender: No OFD packet to send [20:50:55]*** Cut start [20:50:55]*** Partial cut [20:50:55]*** CUTSNS_PIN = 1 [20:50:55]*** CUTSNS_PIN = 0 [20:50:56]*** Brake cut motor [20:50:56]Read from MH i2c: 01 [20:50:56]MH_I2C_Read... [20:50:56]*** Stop cut motor [20:50:56]*** Cut end [20:50:56]Read from MH i2c: 01 07 00 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: 01 07 00 6F 47 00 00 00 00 00 FF 0F CB [20:50:56]process_action close_receipt done [20:50:56]requested_data is exist [20:50:56]produce_requested_data [20:50:56]requested_item fm.sn is exist - process it [20:50:56]wFMCommunicate request_size=4 [20:50:56]MH_SAM_APDU [20:50:56]CAPDU: 80 11 00 00 [20:50:56]Write to MH i2c: E2 08 00 70 47 80 11 00 00 00 00 00 00 31 [20:50:56]Write i2c OK [20:50:56]MH_I2C_Read... [20:50:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:56]Read from MH i2c: E2 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: E2 17 00 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: E2 17 00 70 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 89 [20:50:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [20:50:56]wFMCommunicate OK [20:50:56]requested_item fd.num is exist - process it [20:50:56]SAM_PROTO_GetFieldsCounters [20:50:56]wFMCommunicate request_size=4 [20:50:56]MH_SAM_APDU [20:50:56]CAPDU: 80 13 00 00 [20:50:56]Write to MH i2c: E2 08 00 71 47 80 13 00 00 00 00 00 00 34 [20:50:56]Write i2c OK [20:50:56]MH_I2C_Read... [20:50:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:50:56]Read from MH i2c: E2 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: E2 62 00 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: E2 62 00 71 47 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [20:50:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E5 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:50:56]wFMCommunicate OK [20:50:56]SAM_PROTO_GetFieldsCounters done [20:50:56]requested_item shift.num is exist - process it [20:50:56]requested_item shift.opened is exist - process it [20:50:56]req_shift_opened [20:50:56]FM_GetShiftState [20:50:56]SAM_PROTO_GetShiftState [20:50:56]wFMCommunicate request_size=4 [20:50:56]MH_SAM_APDU [20:50:56]CAPDU: 80 13 01 00 [20:50:56]Write to MH i2c: E2 08 00 72 47 80 13 01 00 00 00 00 00 36 [20:50:56]Write i2c OK [20:50:56]MH_I2C_Read... [20:50:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:56]Read from MH i2c: E2 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: E2 0E 00 [20:50:56]MH_I2C_Read... [20:50:56]Read from MH i2c: E2 0E 00 72 47 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C3 [20:50:56]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [20:50:56]wFMCommunicate OK [20:50:56]SAM_PROTO_GetShiftState done [20:50:56]FM_GetShiftState done [20:50:56]req_shift_opened done [20:50:56]requested_item shift.open_date is exist - process it [20:50:56]req_shift_open_date [20:50:56]req_shift_open_date done [20:50:56]produce_requested_data done [20:50:56]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26853,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [20:50:56]process_action_free close_receipt [20:50:56]json_value_free [20:50:56]json_value_free done [20:50:56]process_json_proto returns [20:50:56]Send response to host [20:50:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26853,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [20:50:56]free response buf [20:50:56]execute_script done [20:50:56]execute_script returns [20:50:56]free content buf [20:50:56]Sock 8.Close socket [20:50:56]Sock 8.Thread stoped [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]OFD Sender: No OFD packet to send [20:52:55]OFD Sender: No OFD packet to send [20:53:00]OFD Sender: No OFD packet to send [20:53:05]OFD Sender: No OFD packet to send [20:53:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:30]OFD Sender: No OFD packet to send [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:30]OFD Sender: No OFD packet to send [21:00:35]OFD Sender: No OFD packet to send [21:00:40]OFD Sender: No OFD packet to send [21:00:45]OFD Sender: No OFD packet to send [21:00:50]OFD Sender: No OFD packet to send [21:00:55]OFD Sender: No OFD packet to send [21:01:00]OFD Sender: No OFD packet to send [21:01:05]OFD Sender: No OFD packet to send [21:01:10]OFD Sender: No OFD packet to send [21:01:15]OFD Sender: No OFD packet to send [21:01:20]OFD Sender: No OFD packet to send [21:01:25]OFD Sender: No OFD packet to send [21:01:30]OFD Sender: No OFD packet to send [21:01:35]OFD Sender: No OFD packet to send [21:01:40]OFD Sender: No OFD packet to send [21:01:45]OFD Sender: No OFD packet to send [21:01:50]OFD Sender: No OFD packet to send [21:01:55]OFD Sender: No OFD packet to send [21:02:00]OFD Sender: No OFD packet to send [21:02:05]OFD Sender: No OFD packet to send [21:02:10]OFD Sender: No OFD packet to send [21:02:15]OFD Sender: No OFD packet to send [21:02:20]OFD Sender: No OFD packet to send [21:02:25]OFD Sender: No OFD packet to send [21:02:30]OFD Sender: No OFD packet to send [21:02:35]OFD Sender: No OFD packet to send [21:02:40]OFD Sender: No OFD packet to send [21:02:45]OFD Sender: No OFD packet to send [21:02:50]OFD Sender: No OFD packet to send [21:02:55]OFD Sender: No OFD packet to send [21:03:00]OFD Sender: No OFD packet to send [21:03:05]OFD Sender: No OFD packet to send [21:03:10]OFD Sender: No OFD packet to send [21:03:15]OFD Sender: No OFD packet to send [21:03:20]OFD Sender: No OFD packet to send [21:03:25]OFD Sender: No OFD packet to send [21:03:30]OFD Sender: No OFD packet to send [21:03:35]OFD Sender: No OFD packet to send [21:03:40]OFD Sender: No OFD packet to send [21:03:45]OFD Sender: No OFD packet to send [21:03:50]OFD Sender: No OFD packet to send [21:03:55]OFD Sender: No OFD packet to send [21:04:00]OFD Sender: No OFD packet to send [21:04:05]OFD Sender: No OFD packet to send [21:04:10]OFD Sender: No OFD packet to send [21:04:15]OFD Sender: No OFD packet to send [21:04:20]OFD Sender: No OFD packet to send [21:04:25]OFD Sender: No OFD packet to send [21:04:30]OFD Sender: No OFD packet to send [21:04:35]OFD Sender: No OFD packet to send [21:04:40]OFD Sender: No OFD packet to send [21:04:45]OFD Sender: No OFD packet to send [21:04:50]OFD Sender: No OFD packet to send [21:04:55]OFD Sender: No OFD packet to send [21:05:00]OFD Sender: No OFD packet to send [21:05:05]OFD Sender: No OFD packet to send [21:05:10]OFD Sender: No OFD packet to send [21:05:15]OFD Sender: No OFD packet to send [21:05:20]OFD Sender: No OFD packet to send [21:05:25]OFD Sender: No OFD packet to send [21:05:30]OFD Sender: No OFD packet to send [21:05:35]OFD Sender: No OFD packet to send [21:05:40]OFD Sender: No OFD packet to send [21:05:45]OFD Sender: No OFD packet to send [21:05:50]OFD Sender: No OFD packet to send [21:05:55]OFD Sender: No OFD packet to send [21:06:00]OFD Sender: No OFD packet to send [21:06:05]OFD Sender: No OFD packet to send [21:06:10]OFD Sender: No OFD packet to send [21:06:15]OFD Sender: No OFD packet to send [21:06:20]OFD Sender: No OFD packet to send [21:06:25]OFD Sender: No OFD packet to send [21:06:30]OFD Sender: No OFD packet to send [21:06:35]OFD Sender: No OFD packet to send [21:06:40]OFD Sender: No OFD packet to send [21:06:45]OFD Sender: No OFD packet to send [21:06:50]OFD Sender: No OFD packet to send [21:06:55]OFD Sender: No OFD packet to send [21:07:00]OFD Sender: No OFD packet to send [21:07:05]OFD Sender: No OFD packet to send [21:07:10]OFD Sender: No OFD packet to send [21:07:15]OFD Sender: No OFD packet to send [21:07:20]OFD Sender: No OFD packet to send [21:07:25]OFD Sender: No OFD packet to send [21:07:30]OFD Sender: No OFD packet to send [21:07:35]OFD Sender: No OFD packet to send [21:07:40]OFD Sender: No OFD packet to send [21:07:45]OFD Sender: No OFD packet to send [21:07:50]OFD Sender: No OFD packet to send [21:07:55]OFD Sender: No OFD packet to send [21:08:00]OFD Sender: No OFD packet to send [21:08:05]OFD Sender: No OFD packet to send [21:08:10]OFD Sender: No OFD packet to send [21:08:15]OFD Sender: No OFD packet to send [21:08:20]OFD Sender: No OFD packet to send [21:08:25]OFD Sender: No OFD packet to send [21:08:30]OFD Sender: No OFD packet to send [21:08:35]OFD Sender: No OFD packet to send [21:08:40]OFD Sender: No OFD packet to send [21:08:45]OFD Sender: No OFD packet to send [21:08:50]OFD Sender: No OFD packet to send [21:08:55]OFD Sender: No OFD packet to send [21:09:00]OFD Sender: No OFD packet to send [21:09:05]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:46]OFD Sender: No OFD packet to send [21:10:51]OFD Sender: No OFD packet to send [21:10:56]OFD Sender: No OFD packet to send [21:11:01]OFD Sender: No OFD packet to send [21:11:06]OFD Sender: No OFD packet to send [21:11:11]OFD Sender: No OFD packet to send [21:11:16]OFD Sender: No OFD packet to send [21:11:21]OFD Sender: No OFD packet to send [21:11:26]OFD Sender: No OFD packet to send [21:11:31]OFD Sender: No OFD packet to send [21:11:36]OFD Sender: No OFD packet to send [21:11:41]OFD Sender: No OFD packet to send [21:11:46]OFD Sender: No OFD packet to send [21:11:51]OFD Sender: No OFD packet to send [21:11:56]OFD Sender: No OFD packet to send [21:12:01]OFD Sender: No OFD packet to send [21:12:06]OFD Sender: No OFD packet to send [21:12:11]OFD Sender: No OFD packet to send [21:12:16]OFD Sender: No OFD packet to send [21:12:21]OFD Sender: No OFD packet to send [21:12:26]OFD Sender: No OFD packet to send [21:12:31]OFD Sender: No OFD packet to send [21:12:36]OFD Sender: No OFD packet to send [21:12:41]OFD Sender: No OFD packet to send [21:12:46]OFD Sender: No OFD packet to send [21:12:51]OFD Sender: No OFD packet to send [21:12:56]OFD Sender: No OFD packet to send [21:13:01]OFD Sender: No OFD packet to send [21:13:06]OFD Sender: No OFD packet to send [21:13:11]OFD Sender: No OFD packet to send [21:13:16]OFD Sender: No OFD packet to send [21:13:21]OFD Sender: No OFD packet to send [21:13:26]OFD Sender: No OFD packet to send [21:13:31]OFD Sender: No OFD packet to send [21:13:36]OFD Sender: No OFD packet to send [21:13:41]OFD Sender: No OFD packet to send [21:13:46]OFD Sender: No OFD packet to send [21:13:51]OFD Sender: No OFD packet to send [21:13:56]OFD Sender: No OFD packet to send [21:14:01]OFD Sender: No OFD packet to send [21:14:06]OFD Sender: No OFD packet to send [21:14:11]OFD Sender: No OFD packet to send [21:14:16]OFD Sender: No OFD packet to send [21:14:21]OFD Sender: No OFD packet to send [21:14:26]OFD Sender: No OFD packet to send [21:14:31]OFD Sender: No OFD packet to send [21:14:36]OFD Sender: No OFD packet to send [21:14:41]OFD Sender: No OFD packet to send [21:14:46]OFD Sender: No OFD packet to send [21:14:51]OFD Sender: No OFD packet to send [21:14:56]OFD Sender: No OFD packet to send [21:15:01]OFD Sender: No OFD packet to send [21:15:06]OFD Sender: No OFD packet to send [21:15:11]OFD Sender: No OFD packet to send [21:15:16]OFD Sender: No OFD packet to send [21:15:21]OFD Sender: No OFD packet to send [21:15:26]OFD Sender: No OFD packet to send [21:15:31]OFD Sender: No OFD packet to send [21:15:36]OFD Sender: No OFD packet to send [21:15:41]OFD Sender: No OFD packet to send [21:15:46]OFD Sender: No OFD packet to send [21:15:51]OFD Sender: No OFD packet to send [21:15:56]OFD Sender: No OFD packet to send [21:16:01]OFD Sender: No OFD packet to send [21:16:06]OFD Sender: No OFD packet to send [21:16:11]OFD Sender: No OFD packet to send [21:16:16]OFD Sender: No OFD packet to send [21:16:21]OFD Sender: No OFD packet to send [21:16:26]OFD Sender: No OFD packet to send [21:16:31]OFD Sender: No OFD packet to send [21:16:36]OFD Sender: No OFD packet to send [21:16:41]OFD Sender: No OFD packet to send [21:16:46]OFD Sender: No OFD packet to send [21:16:51]OFD Sender: No OFD packet to send [21:16:56]OFD Sender: No OFD packet to send [21:17:01]OFD Sender: No OFD packet to send [21:17:06]OFD Sender: No OFD packet to send [21:17:11]OFD Sender: No OFD packet to send [21:17:16]OFD Sender: No OFD packet to send [21:17:21]OFD Sender: No OFD packet to send [21:17:26]OFD Sender: No OFD packet to send [21:17:31]OFD Sender: No OFD packet to send [21:17:36]OFD Sender: No OFD packet to send [21:17:41]OFD Sender: No OFD packet to send [21:17:46]OFD Sender: No OFD packet to send [21:17:51]OFD Sender: No OFD packet to send [21:17:56]OFD Sender: No OFD packet to send [21:18:01]OFD Sender: No OFD packet to send [21:18:06]OFD Sender: No OFD packet to send [21:18:11]OFD Sender: No OFD packet to send [21:18:16]OFD Sender: No OFD packet to send [21:18:21]OFD Sender: No OFD packet to send [21:18:26]OFD Sender: No OFD packet to send [21:18:31]OFD Sender: No OFD packet to send [21:18:36]OFD Sender: No OFD packet to send [21:18:41]OFD Sender: No OFD packet to send [21:18:46]OFD Sender: No OFD packet to send [21:18:51]OFD Sender: No OFD packet to send [21:18:56]OFD Sender: No OFD packet to send [21:19:01]OFD Sender: No OFD packet to send [21:19:06]OFD Sender: No OFD packet to send [21:19:11]OFD Sender: No OFD packet to send [21:19:16]OFD Sender: No OFD packet to send [21:19:21]OFD Sender: No OFD packet to send [21:19:26]OFD Sender: No OFD packet to send [21:19:31]OFD Sender: No OFD packet to send [21:19:36]OFD Sender: No OFD packet to send [21:19:41]OFD Sender: No OFD packet to send [21:19:46]OFD Sender: No OFD packet to send [21:19:51]OFD Sender: No OFD packet to send [21:19:56]OFD Sender: No OFD packet to send [21:20:01]OFD Sender: No OFD packet to send [21:20:06]OFD Sender: No OFD packet to send [21:20:11]OFD Sender: No OFD packet to send [21:20:16]OFD Sender: No OFD packet to send [21:20:21]OFD Sender: No OFD packet to send [21:20:26]OFD Sender: No OFD packet to send [21:20:31]OFD Sender: No OFD packet to send [21:20:36]OFD Sender: No OFD packet to send [21:20:41]OFD Sender: No OFD packet to send [21:20:46]OFD Sender: No OFD packet to send [21:20:51]OFD Sender: No OFD packet to send [21:20:56]OFD Sender: No OFD packet to send [21:21:01]OFD Sender: No OFD packet to send [21:21:06]OFD Sender: No OFD packet to send [21:21:11]OFD Sender: No OFD packet to send [21:21:16]OFD Sender: No OFD packet to send [21:21:21]OFD Sender: No OFD packet to send [21:21:26]OFD Sender: No OFD packet to send [21:21:31]OFD Sender: No OFD packet to send [21:21:36]OFD Sender: No OFD packet to send [21:21:41]OFD Sender: No OFD packet to send [21:21:46]OFD Sender: No OFD packet to send [21:21:51]OFD Sender: No OFD packet to send [21:21:56]OFD Sender: No OFD packet to send [21:22:01]OFD Sender: No OFD packet to send [21:22:06]OFD Sender: No OFD packet to send [21:22:11]OFD Sender: No OFD packet to send [21:22:16]OFD Sender: No OFD packet to send [21:22:21]OFD Sender: No OFD packet to send [21:22:26]OFD Sender: No OFD packet to send [21:22:31]OFD Sender: No OFD packet to send [21:22:36]OFD Sender: No OFD packet to send [21:22:41]OFD Sender: No OFD packet to send [21:22:46]OFD Sender: No OFD packet to send [21:22:51]OFD Sender: No OFD packet to send [21:22:56]OFD Sender: No OFD packet to send [21:23:01]OFD Sender: No OFD packet to send [21:23:06]OFD Sender: No OFD packet to send [21:23:11]OFD Sender: No OFD packet to send [21:23:16]OFD Sender: No OFD packet to send [21:23:21]OFD Sender: No OFD packet to send [21:23:26]OFD Sender: No OFD packet to send [21:23:31]OFD Sender: No OFD packet to send [21:23:36]OFD Sender: No OFD packet to send [21:23:41]OFD Sender: No OFD packet to send [21:23:46]OFD Sender: No OFD packet to send [21:23:51]OFD Sender: No OFD packet to send [21:23:56]OFD Sender: No OFD packet to send [21:24:01]OFD Sender: No OFD packet to send [21:24:06]OFD Sender: No OFD packet to send [21:24:11]OFD Sender: No OFD packet to send [21:24:16]OFD Sender: No OFD packet to send [21:24:21]accept exits with 9 [21:24:21]New connection [21:24:21]New thread 3067014500 created [21:24:21]Thread 3066871140 joined [21:24:21]Waiting for new connection... [21:24:21] Sock 9.Parse request [21:24:21]Sock 9.Check first char [21:24:21]Sock 9.First char is OK [21:24:21]request: POST /json_proto HTTP/1.0 [21:24:21]Method: POST [21:24:21]URL: /json_proto [21:24:21]Method is POST - this is cgi request [21:24:21]url: /json_proto [21:24:21]query_string will be loaded in cgi processing [21:24:21]execute_cgi json_proto POST (null) [21:24:21]execute_cgi path=json_proto method=POST [21:24:21]POST find Content-Length [21:24:21]Host: 172.17.35.3:8080 [21:24:21]Content-Length: 687 [21:24:21]Content-Type: application/json [21:24:21] [21:24:21]POST finish read [21:24:21]Found Content-Length = 687 [21:24:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359599", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:21]execute_script... [21:24: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 : (1)359599", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:21]POST & json_proto [21:24:21]process_json_proto [21:24:21]json parsed OK: [21:24:21]protocol is kg_v1.0 [21:24:21]action value=close_receipt [21:24:21]process_action close_receipt [21:24:21]cmd_close_receipt [21:24:21]MH_GetDate [21:24:21]Write to MH i2c: F0 00 00 73 47 A9 [21:24:21]Write i2c OK [21:24:21]MH_I2C_Read... [21:24:21]Read from MH i2c: F0 [21:24:21]MH_I2C_Read... [21:24:21]Read from MH i2c: F0 09 00 [21:24:21]MH_I2C_Read... [21:24:21]Read from MH i2c: F0 09 00 73 47 00 95 60 14 66 2B 11 66 64 27 [21:24:21]GetLastDocTimeStamp 1712609468 [21:24:21]current date 1712611477 [21:24:21]FM_GetShiftState [21:24:21]SAM_PROTO_GetShiftState [21:24:21]wFMCommunicate request_size=4 [21:24:21]MH_SAM_APDU [21:24:21]CAPDU: 80 13 01 00 [21:24:21]Write to MH i2c: E2 08 00 74 47 80 13 01 00 00 00 00 00 38 [21:24:21]Write i2c OK [21:24:21]MH_I2C_Read... [21:24:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:21]Read from MH i2c: E2 [21:24:21]MH_I2C_Read... [21:24:21]Read from MH i2c: E2 0E 00 [21:24:21]MH_I2C_Read... [21:24:21]Read from MH i2c: E2 0E 00 74 47 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 C5 [21:24:21]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:24:21]wFMCommunicate OK [21:24:21]SAM_PROTO_GetShiftState done [21:24:21]FM_GetShiftState done [21:24:21]opened in 1712536270 [21:24:21]opened+sec_in_day 1712622670 [21:24:21]quantity*price = 100017 [21:24:21]sum+1 = 100018 [21:24:21]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 67 08.04.2024 21:24 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26854 ФПД: 259505148736233 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T212437&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26854&fm=259505148736233&tin=02508201610067®Number=0000000000091578&sum=100000 [21:24:22]StoreToDocumentArchive [21:24:22]shift 314 fd 26854 [21:24:22]save to /storage/0314/doc_00026854 [21:24:22]save last doc name /storage/0314/doc_00026854 to /storage/kkm_last_doc_name [21:24:22]save OK [21:24:22]Clear old archive folders... [21:24:22]ProcessDocumentItem done err = 0, tmpTLVsize=252 [21:24:22]tlvbuf is 00E3B910 [21:24:22]SAM_PROTO_ClearQueue [21:24:22]wFMCommunicate request_size=4 [21:24:22]MH_SAM_APDU [21:24:22]CAPDU: 80 09 00 00 [21:24:22]Write to MH i2c: E2 08 00 81 47 80 09 00 00 00 00 00 00 3A [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:22]Read from MH i2c: E2 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 81 47 00 90 00 3C [21:24:22]RAPDU: 90 00 [21:24:22]wFMCommunicate OK [21:24:22]SAM_PROTO_ClearQueue done [21:24:22]KKMCreateOFDPacket [21:24:22]OFDProtocolAddRootSTLVToBuf [21:24:22]FM_MakeSignedData [21:24:22]FM_MakeSignedData [21:24:22]SAM_PROTO_SignData [21:24:22]wFMCommunicate request_size=4 [21:24:22]MH_SAM_APDU [21:24:22]CAPDU: 80 0D 01 02 [21:24:22]Write to MH i2c: E2 08 00 82 47 80 0D 01 02 00 00 00 00 42 [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:22]Read from MH i2c: E2 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 82 47 00 90 00 3D [21:24:22]RAPDU: 90 00 [21:24:22]wFMCommunicate OK [21:24:22]wFMCommunicate request_size=255 [21:24:22]MH_SAM_APDU [21:24:22]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 95 60 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E6 68 00 00 35 04 06 00 [21:24:22]Write to MH i2c: E2 02 01 83 47 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 95 60 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E6 68 00 00 35 04 06 00 00 00 38 [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:22]Read from MH i2c: E2 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 83 47 00 90 00 3E [21:24:22]RAPDU: 90 00 [21:24:22]wFMCommunicate OK [21:24:22]wFMCommunicate request_size=11 [21:24:22]MH_SAM_APDU [21:24:22]CAPDU: 80 0D 02 02 06 EC 04 C0 35 32 E9 [21:24:22]Write to MH i2c: E2 0E 00 84 47 80 0D 02 02 06 00 EC 04 C0 35 32 E9 00 00 51 [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:22]Read from MH i2c: E2 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 03 00 84 47 00 90 00 3F [21:24:22]RAPDU: 90 00 [21:24:22]wFMCommunicate OK [21:24:22]wFMCommunicate request_size=4 [21:24:22]MH_SAM_APDU [21:24:22]CAPDU: 80 0D 03 02 [21:24:22]Write to MH i2c: E2 08 00 85 47 80 0D 03 02 00 00 00 00 47 [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:22]Read from MH i2c: E2 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 0B 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 0B 00 85 47 00 5B FB 4E 43 A7 36 CE 85 90 00 5F [21:24:22]RAPDU: 5B FB 4E 43 A7 36 CE 85 90 00 [21:24:22]wFMCommunicate OK [21:24:22]SAM_PROTO_SignData done [21:24:22]FM_MakeSignedData done [21:24:22]CreateOFDProtocolMessage [21:24:22]wFMCommunicate request_size=4 [21:24:22]MH_SAM_APDU [21:24:22]CAPDU: 80 11 00 00 [21:24:22]Write to MH i2c: E2 08 00 86 47 80 11 00 00 00 00 00 00 47 [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:22]Read from MH i2c: E2 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 17 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: E2 17 00 86 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 9F [21:24:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:24:22]wFMCommunicate OK [21:24:22]CreateOFDProtocolMessage done [21:24:22]OFDSenderStorePacket 26854 [21:24:22]StoreOFDPacket docnum=26854 [21:24:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 01 BB 08 01 A3 92 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 95 60 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E6 68 00 00 35 04 06 00 EC 04 C0 35 32 E9 5B FB 4E 43 A7 36 CE 85 [21:24:22]CheckFolder [21:24:22]dirname=/storage/ofd_packets [21:24:22]CheckFolder done [21:24:22]ProducePacketName [21:24:22]name=ofd_packets/00026854 [21:24:22]NVStorageSaveData ofd_packets/00026854 [21:24:22]File name is /storage/ofd_packets/00026854 [21:24:22]Write 302 bytes [21:24:22]NVStorageSaveData done [21:24:22]OFDSenderStorePacket done [21:24:22]KKMCreateOFDPacket done [21:24:22]NVStorageSaveData kkm_last_timestamp [21:24:22]File name is /storage/kkm_last_timestamp [21:24:22]Write 4 bytes [21:24:22]NVStorageSaveData done [21:24:22]ExternCall_PrintAddStr [21:24:22]wPrintStart [21:24:22]Write to MH i2c: 01 00 00 87 47 CE [21:24:22]Write i2c OK [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: 01 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: 01 07 00 [21:24:22]MH_I2C_Read... [21:24:22]Read from MH i2c: 01 07 00 87 47 00 00 00 00 00 FF 0F E3 [21:24:22]RasterBufferAndPrint [21:24:22]line Счет N : (1)359599 [21:24:22]line ИÐÐ: 02508201610067 [21:24:22]line Контрольно-КаÑÑовый Чек [21:24:22]line ПРОДÐЖР[21:24:22]line ТРК (МРК, ГÐК) : 11 [21:24:22]line Товар: 2710194210 [21:24:22]line ДТ(л)-К-5 [21:24:22]line 13.930 * 71.80 [21:24:22]line = 1000.17 [21:24:22]line ÐДС 12% ÐСП 1% [21:24:22]line > о реализуемом товаре [21:24:22]line ОКРУГЛЕÐИЕ: -0.17 [21:24:22]line ИТОГО: 1000.00 [21:24:22]line ВнеÑено: 1000.00 [21:24:22]line СДÐЧÐ: 0.00 [21:24:22]line ÐСП 1% : 8.85 [21:24:22]line ÐДС 12% : 106.21 [21:24:22]line Ðаличными: 1000.00 [21:24:22]line Безнал.: 0.00 [21:24:22]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [21:24:22]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:24:22]line СÐО: Общий режим [21:24:22]line Чек 67 08.04.2024 21:24 [21:24:22]line Смена: 314 ФФД: 1.0 [21:24:22]line ЗÐМ: 0300000147 [21:24:22]line РÐМ: 0000000000091578 [21:24:22]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:24:22]line ФМ: 0000000000874657 [21:24:22]line ФД: 26854 [21:24:22]line ФПД: 259505148736233 [21:24:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T212437&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26854&fm=259505148736233&tin=02508201610067®Number=0000000000091578&sum=100000 [21:24:23]OFD Sender: Processing packet 26854 [packets to send 44, broken 43] [21:24:23]ProducePacketName [21:24:23]name=ofd_packets/00026854 [21:24:23]OFD Sender: To server: ‡•öpG, [21:24:23]CommunicateWithHost lk.salyk.kg:30040 [21:24:23]ConnectInit lk.salyk.kg [21:24:23]written 0, free lines is 4095 [21:24:23]Connected sock=10 [21:24:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 01 BB 08 01 A3 92 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 95 60 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E6 68 00 00 35 04 06 00 EC 04 C0 35 32 E9 5B FB 4E 43 A7 36 CE 85 [21:24:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 36 95 47 00 7D 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 38 37 34 36 35 37 10 04 04 00 E6 68 00 00 F4 03 04 00 FE 07 14 66 B6 04 01 00 00 AD F2 62 E0 C8 9A A8 9A [21:24:23]CommunicateWithHost err = 0 [21:24:23]CheckOFDResponse [21:24:23]1017 (14) - 77093643461234 [21:24:23]1041 (16) - 0000000000874657 [21:24:23]1040 (4) - 26854 [21:24:23]1012 (4) - 08.04.2024 15:06 [21:24:23]1206 (1) - 0 [21:24:23]OFD Sender: Remove packet 26854 [21:24:23]ProducePacketName [21:24:23]name=ofd_packets/00026854 [21:24:23]NVStorageDeleteData [21:24:23]Write to MH i2c: 01 00 00 B2 47 F9 [21:24:23]Write i2c OK [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: 01 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: 01 07 00 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: 01 07 00 B2 47 00 00 00 00 00 72 0C 7E [21:24:23]RasterBufferAndPrint [21:24:23]line [21:24:23]line [21:24:23]line [21:24:23]line [21:24:23]line [21:24:23]written 0, free lines is 3188 [21:24:23]MH_Cut [21:24:23]Write to MH i2c: D1 01 00 B9 47 01 D2 [21:24:23]Write i2c OK [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: D1 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: D1 01 00 [21:24:23]MH_I2C_Read... [21:24:23]Read from MH i2c: D1 01 00 B9 47 00 D1 [21:24:23]Write to MH i2c: 01 00 00 BA 47 01 [21:24:23]Write i2c OK [21:24:23]MH_I2C_Read... [21:24:23]OFD Sender: No OFD packet to send [21:24:24]*** Cut start [21:24:24]*** Partial cut [21:24:24]*** CUTSNS_PIN = 1 [21:24:24]*** CUTSNS_PIN = 0 [21:24:25]*** Brake cut motor [21:24:25]Read from MH i2c: 01 [21:24:25]MH_I2C_Read... [21:24:25]*** Stop cut motor [21:24:25]*** Cut end [21:24:25]Read from MH i2c: 01 07 00 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: 01 07 00 BA 47 00 00 00 00 00 FF 0F 16 [21:24:25]process_action close_receipt done [21:24:25]requested_data is exist [21:24:25]produce_requested_data [21:24:25]requested_item fm.sn is exist - process it [21:24:25]wFMCommunicate request_size=4 [21:24:25]MH_SAM_APDU [21:24:25]CAPDU: 80 11 00 00 [21:24:25]Write to MH i2c: E2 08 00 BB 47 80 11 00 00 00 00 00 00 7C [21:24:25]Write i2c OK [21:24:25]MH_I2C_Read... [21:24:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:25]Read from MH i2c: E2 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: E2 17 00 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: E2 17 00 BB 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D4 [21:24:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:24:25]wFMCommunicate OK [21:24:25]requested_item fd.num is exist - process it [21:24:25]SAM_PROTO_GetFieldsCounters [21:24:25]wFMCommunicate request_size=4 [21:24:25]MH_SAM_APDU [21:24:25]CAPDU: 80 13 00 00 [21:24:25]Write to MH i2c: E2 08 00 BC 47 80 13 00 00 00 00 00 00 7F [21:24:25]Write i2c OK [21:24:25]MH_I2C_Read... [21:24:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:25]Read from MH i2c: E2 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: E2 62 00 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: E2 62 00 BC 47 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 FC [21:24:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E6 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:24:25]wFMCommunicate OK [21:24:25]SAM_PROTO_GetFieldsCounters done [21:24:25]requested_item shift.num is exist - process it [21:24:25]requested_item shift.opened is exist - process it [21:24:25]req_shift_opened [21:24:25]FM_GetShiftState [21:24:25]SAM_PROTO_GetShiftState [21:24:25]wFMCommunicate request_size=4 [21:24:25]MH_SAM_APDU [21:24:25]CAPDU: 80 13 01 00 [21:24:25]Write to MH i2c: E2 08 00 BD 47 80 13 01 00 00 00 00 00 81 [21:24:25]Write i2c OK [21:24:25]MH_I2C_Read... [21:24:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:25]Read from MH i2c: E2 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: E2 0E 00 [21:24:25]MH_I2C_Read... [21:24:25]Read from MH i2c: E2 0E 00 BD 47 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0E [21:24:25]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:24:25]wFMCommunicate OK [21:24:25]SAM_PROTO_GetShiftState done [21:24:25]FM_GetShiftState done [21:24:25]req_shift_opened done [21:24:25]requested_item shift.open_date is exist - process it [21:24:25]req_shift_open_date [21:24:25]req_shift_open_date done [21:24:25]produce_requested_data done [21:24:25]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26854,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [21:24:25]process_action_free close_receipt [21:24:25]json_value_free [21:24:25]json_value_free done [21:24:25]process_json_proto returns [21:24:25]Send response to host [21:24:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26854,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [21:24:25]free response buf [21:24:25]execute_script done [21:24:25]execute_script returns [21:24:25]free content buf [21:24:25]Sock 9.Close socket [21:24:25]Sock 9.Thread stoped [21:24:28]OFD Sender: No OFD packet to send [21:24:33]OFD Sender: No OFD packet to send [21:24:38]OFD Sender: No OFD packet to send [21:24:43]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:48]accept exits with 8 [21:28:48]New connection [21:28:48]New thread 3066871140 created [21:28:48]Thread 3067014500 joined [21:28:48]Waiting for new connection... [21:28:48] Sock 8.Parse request [21:28:48]Sock 8.Check first char [21:28:48]Sock 8.First char is OK [21:28:48]request: POST /json_proto HTTP/1.0 [21:28:48]Method: POST [21:28:48]URL: /json_proto [21:28:48]Method is POST - this is cgi request [21:28:48]url: /json_proto [21:28:48]query_string will be loaded in cgi processing [21:28:48]execute_cgi json_proto POST (null) [21:28:48]execute_cgi path=json_proto method=POST [21:28:48]POST find Content-Length [21:28:48]Host: 172.17.35.3:8080 [21:28:48]Content-Length: 800 [21:28:48]Content-Type: application/json [21:28:48] [21:28:48]POST finish read [21:28:48]Found Content-Length = 800 [21:28:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359600", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" : 500.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:28:48]execute_script... [21:28:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359600", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" : 500.23 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:28:48]POST & json_proto [21:28:48]process_json_proto [21:28:48]json parsed OK: [21:28:48]protocol is kg_v1.0 [21:28:48]action value=close_receipt [21:28:48]process_action close_receipt [21:28:48]cmd_close_receipt [21:28:48]MH_GetDate [21:28:48]Write to MH i2c: F0 00 00 BE 47 F4 [21:28:48]Write i2c OK [21:28:48]MH_I2C_Read... [21:28:48]Read from MH i2c: F0 [21:28:48]MH_I2C_Read... [21:28:48]Read from MH i2c: F0 09 00 [21:28:48]MH_I2C_Read... [21:28:48]Read from MH i2c: F0 09 00 BE 47 00 A1 61 14 66 2B 11 66 64 7F [21:28:48]GetLastDocTimeStamp 1712611477 [21:28:48]current date 1712611745 [21:28:48]FM_GetShiftState [21:28:48]SAM_PROTO_GetShiftState [21:28:48]wFMCommunicate request_size=4 [21:28:48]MH_SAM_APDU [21:28:48]CAPDU: 80 13 01 00 [21:28:48]Write to MH i2c: E2 08 00 BF 47 80 13 01 00 00 00 00 00 83 [21:28:48]Write i2c OK [21:28:48]MH_I2C_Read... [21:28:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:28:48]Read from MH i2c: E2 [21:28:48]MH_I2C_Read... [21:28:48]Read from MH i2c: E2 0E 00 [21:28:48]MH_I2C_Read... [21:28:48]Read from MH i2c: E2 0E 00 BF 47 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 10 [21:28:48]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:28:48]wFMCommunicate OK [21:28:48]SAM_PROTO_GetShiftState done [21:28:48]FM_GetShiftState done [21:28:48]opened in 1712536270 [21:28:48]opened+sec_in_day 1712622670 [21:28:48]quantity*price = 50022 [21:28:48]sum+1 = 50024 [21:28:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.23 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 0.00 Безнал.: 500.23 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 68 08.04.2024 21:29 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги ФМ: 0000000000874657 ФД: 26855 ФПД: 72275249605339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T212905&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26855&fm=72275249605339&tin=02508201610067®Number=0000000000091578&sum=50023 [21:28:49]StoreToDocumentArchive [21:28:49]shift 314 fd 26855 [21:28:49]save to /storage/0314/doc_00026855 [21:28:49]save last doc name /storage/0314/doc_00026855 to /storage/kkm_last_doc_name [21:28:49]save OK [21:28:49]Clear old archive folders... [21:28:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:28:49]tlvbuf is 00E92F70 [21:28:49]SAM_PROTO_ClearQueue [21:28:49]wFMCommunicate request_size=4 [21:28:49]MH_SAM_APDU [21:28:49]CAPDU: 80 09 00 00 [21:28:49]Write to MH i2c: E2 08 00 CC 47 80 09 00 00 00 00 00 00 85 [21:28:49]Write i2c OK [21:28:49]MH_I2C_Read... [21:28:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:28:49]Read from MH i2c: E2 [21:28:49]MH_I2C_Read... [21:28:49]Read from MH i2c: E2 03 00 [21:28:49]MH_I2C_Read... [21:28:49]Read from MH i2c: E2 03 00 CC 47 00 90 00 87 [21:28:49]RAPDU: 90 00 [21:28:49]wFMCommunicate OK [21:28:49]SAM_PROTO_ClearQueue done [21:28:49]KKMCreateOFDPacket [21:28:49]OFDProtocolAddRootSTLVToBuf [21:28:49]FM_MakeSignedData [21:28:49]FM_MakeSignedData [21:28:49]SAM_PROTO_SignData [21:28:49]wFMCommunicate request_size=4 [21:28:49]MH_SAM_APDU [21:28:49]CAPDU: 80 0D 01 02 [21:28:49]Write to MH i2c: E2 08 00 CD 47 80 0D 01 02 00 00 00 00 8D [21:28:49]Write i2c OK [21:28:49]MH_I2C_Read... [21:28:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:28:49]Read from MH i2c: E2 [21:28:49]MH_I2C_Read... [21:28:49]Read from MH i2c: E2 03 00 [21:28:49]MH_I2C_Read... [21:28:49]Read from MH i2c: E2 03 00 CD 47 00 90 00 88 [21:28:49]RAPDU: 90 00 [21:28:49]wFMCommunicate OK [21:28:49]wFMCommunicate request_size=255 [21:28:49]MH_SAM_APDU [21:28:49]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A1 61 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E7 68 00 00 35 04 06 00 41 [21:28:49]Write to MH i2c: E2 02 01 CE 47 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A1 61 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E7 68 00 00 35 04 06 00 41 00 00 06 [21:28:49]Write i2c OK [21:28:49]MH_I2C_Read... [21:28:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:28:49]Read from MH i2c: E2 [21:28:49]MH_I2C_Read... [21:28:49]Read from MH i2c: E2 03 00 [21:28:49]MH_I2C_Read... [21:28:49]Read from MH i2c: E2 03 00 CE 47 00 90 00 89 [21:28:49]RAPDU: 90 00 [21:28:49]wFMCommunicate OK [21:28:49]wFMCommunicate request_size=10 [21:28:49]MH_SAM_APDU [21:28:49]CAPDU: 80 0D 02 02 05 BB E4 94 2A DB [21:28:49]Write to MH i2c: E2 0D 00 CF 47 80 0D 02 02 05 00 BB E4 94 2A DB 00 00 D2 [21:28:49]Write i2c OK [21:28:49]MH_I2C_Read... [21:28:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:28:50]Read from MH i2c: E2 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: E2 03 00 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: E2 03 00 CF 47 00 90 00 8A [21:28:50]RAPDU: 90 00 [21:28:50]wFMCommunicate OK [21:28:50]wFMCommunicate request_size=4 [21:28:50]MH_SAM_APDU [21:28:50]CAPDU: 80 0D 03 02 [21:28:50]Write to MH i2c: E2 08 00 D0 47 80 0D 03 02 00 00 00 00 92 [21:28:50]Write i2c OK [21:28:50]MH_I2C_Read... [21:28:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:28:50]Read from MH i2c: E2 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: E2 0B 00 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: E2 0B 00 D0 47 00 95 EF 1F 01 77 04 9C DE 90 00 2C [21:28:50]RAPDU: 95 EF 1F 01 77 04 9C DE 90 00 [21:28:50]wFMCommunicate OK [21:28:50]SAM_PROTO_SignData done [21:28:50]FM_MakeSignedData done [21:28:50]CreateOFDProtocolMessage [21:28:50]wFMCommunicate request_size=4 [21:28:50]MH_SAM_APDU [21:28:50]CAPDU: 80 11 00 00 [21:28:50]Write to MH i2c: E2 08 00 D1 47 80 11 00 00 00 00 00 00 92 [21:28:50]Write i2c OK [21:28:50]MH_I2C_Read... [21:28:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:28:50]Read from MH i2c: E2 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: E2 17 00 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: E2 17 00 D1 47 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 EA [21:28:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:28:50]wFMCommunicate OK [21:28:50]CreateOFDProtocolMessage done [21:28:50]OFDSenderStorePacket 26855 [21:28:50]StoreOFDPacket docnum=26855 [21:28:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D6 BA 07 01 DD 41 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A1 61 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E7 68 00 00 35 04 06 00 41 BB E4 94 2A DB 95 EF 1F 01 77 04 9C DE [21:28:50]CheckFolder [21:28:50]dirname=/storage/ofd_packets [21:28:50]CheckFolder done [21:28:50]ProducePacketName [21:28:50]name=ofd_packets/00026855 [21:28:50]NVStorageSaveData ofd_packets/00026855 [21:28:50]File name is /storage/ofd_packets/00026855 [21:28:50]Write 301 bytes [21:28:50]NVStorageSaveData done [21:28:50]OFDSenderStorePacket done [21:28:50]KKMCreateOFDPacket done [21:28:50]NVStorageSaveData kkm_last_timestamp [21:28:50]File name is /storage/kkm_last_timestamp [21:28:50]Write 4 bytes [21:28:50]NVStorageSaveData done [21:28:50]ExternCall_PrintAddStr [21:28:50]wPrintStart [21:28:50]Write to MH i2c: 01 00 00 D2 47 19 [21:28:50]OFD Sender: Processing packet 26855 [packets to send 44, broken 43] [21:28:50]ProducePacketName [21:28:50]name=ofd_packets/00026855 [21:28:50]OFD Sender: To server: ‡•öpG, [21:28:50]CommunicateWithHost lk.salyk.kg:30040 [21:28:50]ConnectInit lk.salyk.kg [21:28:50]Write i2c OK [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: 01 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: 01 07 00 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: 01 07 00 D2 47 00 00 00 00 00 FF 0F 2E [21:28:50]RasterBufferAndPrint [21:28:50]line Счет N : (1)359600 [21:28:50]line ИÐÐ: 02508201610067 [21:28:50]line Контрольно-КаÑÑовый Чек [21:28:50]line ПРОДÐЖР[21:28:50]line ТРК (МРК, ГÐК) : 61 [21:28:50]line Товар: 2710124130 [21:28:50]line Ðи-92-К-5 [21:28:50]line 7.890 * 63.40 [21:28:50]line = 500.23 [21:28:50]line ÐДС 12% ÐСП 1% [21:28:50]line > о реализуемом товаре [21:28:50]line ИТОГО: 500.23 [21:28:50]line ÐСП 1% : 4.43 [21:28:50]line ÐДС 12% : 53.12 [21:28:50]line Ðаличными: 0.00 [21:28:50]line Безнал.: 500.23 [21:28:50]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [21:28:50]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:28:50]line СÐО: Общий режим [21:28:50]line Чек 68 08.04.2024 21:29 [21:28:50]line Смена: 314 ФФД: 1.0 [21:28:50]line ЗÐМ: 0300000147 [21:28:50]line РÐМ: 0000000000091578 [21:28:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:28:50]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: O! деньги [21:28:50]line ФМ: 0000000000874657 [21:28:50]line ФД: 26855 [21:28:50]line ФПД: 72275249605339 [21:28:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T212905&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26855&fm=72275249605339&tin=02508201610067®Number=0000000000091578&sum=50023 [21:28:50]written 0, free lines is 4095 [21:28:50]Write to MH i2c: 01 00 00 FC 47 43 [21:28:50]Write i2c OK [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: 01 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: 01 07 00 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: 01 07 00 FC 47 00 00 00 00 00 8B 0C E1 [21:28:50]RasterBufferAndPrint [21:28:50]line [21:28:50]line [21:28:50]line [21:28:50]line [21:28:50]line [21:28:50]written 0, free lines is 3214 [21:28:50]MH_Cut [21:28:50]Write to MH i2c: D1 01 00 03 48 01 1D [21:28:50]Write i2c OK [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: D1 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: D1 01 00 [21:28:50]MH_I2C_Read... [21:28:50]Read from MH i2c: D1 01 00 03 48 00 1C [21:28:50]Write to MH i2c: 01 00 00 04 48 4C [21:28:50]Write i2c OK [21:28:50]MH_I2C_Read... [21:28:52]*** Cut start [21:28:52]*** Partial cut [21:28:52]*** CUTSNS_PIN = 1 [21:28:52]*** CUTSNS_PIN = 0 [21:28:52]*** Brake cut motor [21:28:52]Read from MH i2c: 01 [21:28:52]MH_I2C_Read... [21:28:52]Read from MH i2c: 01 07 00 [21:28:52]MH_I2C_Read... [21:28:52]*** Stop cut motor [21:28:52]*** Cut end [21:28:52]Read from MH i2c: 01 07 00 04 48 00 00 00 00 00 FF 0F 61 [21:28:52]process_action close_receipt done [21:28:52]requested_data is exist [21:28:52]produce_requested_data [21:28:52]requested_item fm.sn is exist - process it [21:28:52]wFMCommunicate request_size=4 [21:28:52]MH_SAM_APDU [21:28:52]CAPDU: 80 11 00 00 [21:28:52]Write to MH i2c: E2 08 00 05 48 80 11 00 00 00 00 00 00 C7 [21:28:52]Write i2c OK [21:28:52]MH_I2C_Read... [21:28:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:28:52]Read from MH i2c: E2 [21:28:52]MH_I2C_Read... [21:28:52]Read from MH i2c: E2 17 00 [21:28:52]MH_I2C_Read... [21:28:52]Read from MH i2c: E2 17 00 05 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 1F [21:28:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:28:52]wFMCommunicate OK [21:28:52]requested_item fd.num is exist - process it [21:28:52]SAM_PROTO_GetFieldsCounters [21:28:52]wFMCommunicate request_size=4 [21:28:52]MH_SAM_APDU [21:28:52]CAPDU: 80 13 00 00 [21:28:52]Write to MH i2c: E2 08 00 06 48 80 13 00 00 00 00 00 00 CA [21:28:52]Write i2c OK [21:28:52]MH_I2C_Read... [21:28:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:28:52]Read from MH i2c: E2 [21:28:52]MH_I2C_Read... [21:28:52]Read from MH i2c: E2 62 00 [21:28:52]MH_I2C_Read... [21:28:52]Read from MH i2c: E2 62 00 06 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 4B [21:28:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E7 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:28:52]wFMCommunicate OK [21:28:52]SAM_PROTO_GetFieldsCounters done [21:28:52]requested_item shift.num is exist - process it [21:28:52]requested_item shift.opened is exist - process it [21:28:52]req_shift_opened [21:28:52]FM_GetShiftState [21:28:52]SAM_PROTO_GetShiftState [21:28:52]wFMCommunicate request_size=4 [21:28:52]MH_SAM_APDU [21:28:52]CAPDU: 80 13 01 00 [21:28:52]Write to MH i2c: E2 08 00 07 48 80 13 01 00 00 00 00 00 CC [21:28:52]Write i2c OK [21:28:52]MH_I2C_Read... [21:28:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:28:53]Read from MH i2c: E2 [21:28:53]MH_I2C_Read... [21:28:53]Read from MH i2c: E2 0E 00 [21:28:53]MH_I2C_Read... [21:28:53]Read from MH i2c: E2 0E 00 07 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 59 [21:28:53]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:28:53]wFMCommunicate OK [21:28:53]SAM_PROTO_GetShiftState done [21:28:53]FM_GetShiftState done [21:28:53]req_shift_opened done [21:28:53]requested_item shift.open_date is exist - process it [21:28:53]req_shift_open_date [21:28:53]req_shift_open_date done [21:28:53]produce_requested_data done [21:28:53]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26855,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [21:28:53]process_action_free close_receipt [21:28:53]json_value_free [21:28:53]json_value_free done [21:28:53]process_json_proto returns [21:28:53]Send response to host [21:28:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26855,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [21:28:53]free response buf [21:28:53]execute_script done [21:28:53]execute_script returns [21:28:53]free content buf [21:28:53]Sock 8.Close socket [21:28:53]Sock 8.Thread stoped [21:30:50]accept exits with 9 [21:30:50]New connection [21:30:50]New thread 3067014500 created [21:30:50]Thread 3066871140 joined [21:30:50]Waiting for new connection... [21:30:50] Sock 9.Parse request [21:30:50]Sock 9.Check first char [21:30:50]Sock 9.First char is OK [21:30:50]request: POST /json_proto HTTP/1.0 [21:30:50]Method: POST [21:30:50]URL: /json_proto [21:30:50]Method is POST - this is cgi request [21:30:50]url: /json_proto [21:30:50]query_string will be loaded in cgi processing [21:30:50]execute_cgi json_proto POST (null) [21:30:50]execute_cgi path=json_proto method=POST [21:30:50]POST find Content-Length [21:30:50]Host: 172.17.35.3:8080 [21:30:50]Content-Length: 682 [21:30:50]Content-Type: application/json [21:30:50] [21:30:50]POST finish read [21:30:50]Found Content-Length = 682 [21:30:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359601", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:50]execute_script... [21:30:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359601", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:30:50]POST & json_proto [21:30:50]process_json_proto [21:30:50]json parsed OK: [21:30:50]protocol is kg_v1.0 [21:30:50]action value=close_receipt [21:30:50]process_action close_receipt [21:30:50]cmd_close_receipt [21:30:50]MH_GetDate [21:30:50]Write to MH i2c: F0 00 00 08 48 3F [21:30:50]Write i2c OK [21:30:50]MH_I2C_Read... [21:30:50]Read from MH i2c: F0 [21:30:50]MH_I2C_Read... [21:30:50]Read from MH i2c: F0 09 00 [21:30:50]MH_I2C_Read... [21:30:50]Read from MH i2c: F0 09 00 08 48 00 1A 62 14 66 2B 11 66 64 44 [21:30:50]GetLastDocTimeStamp 1712611745 [21:30:50]current date 1712611866 [21:30:50]FM_GetShiftState [21:30:50]SAM_PROTO_GetShiftState [21:30:50]wFMCommunicate request_size=4 [21:30:50]MH_SAM_APDU [21:30:50]CAPDU: 80 13 01 00 [21:30:50]Write to MH i2c: E2 08 00 09 48 80 13 01 00 00 00 00 00 CE [21:30:50]Write i2c OK [21:30:50]MH_I2C_Read... [21:30:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:50]Read from MH i2c: E2 [21:30:50]MH_I2C_Read... [21:30:50]Read from MH i2c: E2 0E 00 [21:30:50]MH_I2C_Read... [21:30:50]Read from MH i2c: E2 0E 00 09 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 5B [21:30:50]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:30:50]wFMCommunicate OK [21:30:50]SAM_PROTO_GetShiftState done [21:30:50]FM_GetShiftState done [21:30:50]opened in 1712536270 [21:30:50]opened+sec_in_day 1712622670 [21:30:50]quantity*price = 100045 [21:30:50]sum+1 = 100046 [21:30:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.45 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 69 08.04.2024 21:31 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26856 ФПД: 253370048741454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T213106&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26856&fm=253370048741454&tin=02508201610067®Number=0000000000091578&sum=100000 [21:30:51]StoreToDocumentArchive [21:30:51]shift 314 fd 26856 [21:30:51]save to /storage/0314/doc_00026856 [21:30:51]save last doc name /storage/0314/doc_00026856 to /storage/kkm_last_doc_name [21:30:51]save OK [21:30:51]Clear old archive folders... [21:30:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:30:51]tlvbuf is B6EE97D0 [21:30:51]SAM_PROTO_ClearQueue [21:30:51]wFMCommunicate request_size=4 [21:30:51]MH_SAM_APDU [21:30:51]CAPDU: 80 09 00 00 [21:30:51]Write to MH i2c: E2 08 00 16 48 80 09 00 00 00 00 00 00 D0 [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:30:51]Read from MH i2c: E2 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 16 48 00 90 00 D2 [21:30:51]RAPDU: 90 00 [21:30:51]wFMCommunicate OK [21:30:51]SAM_PROTO_ClearQueue done [21:30:51]KKMCreateOFDPacket [21:30:51]OFDProtocolAddRootSTLVToBuf [21:30:51]FM_MakeSignedData [21:30:51]FM_MakeSignedData [21:30:51]SAM_PROTO_SignData [21:30:51]wFMCommunicate request_size=4 [21:30:51]MH_SAM_APDU [21:30:51]CAPDU: 80 0D 01 02 [21:30:51]Write to MH i2c: E2 08 00 17 48 80 0D 01 02 00 00 00 00 D8 [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 [21:30:51]MH_I2C_Read... [21:30:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:30:51]Read from MH i2c: E2 03 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 17 48 00 90 00 D3 [21:30:51]RAPDU: 90 00 [21:30:51]wFMCommunicate OK [21:30:51]wFMCommunicate request_size=255 [21:30:51]MH_SAM_APDU [21:30:51]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 1A 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E8 68 00 00 35 04 06 00 E6 [21:30:51]Write to MH i2c: E2 02 01 18 48 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 1A 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E8 68 00 00 35 04 06 00 E6 00 00 18 [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:51]Read from MH i2c: E2 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 18 48 00 90 00 D4 [21:30:51]RAPDU: 90 00 [21:30:51]wFMCommunicate OK [21:30:51]wFMCommunicate request_size=10 [21:30:51]MH_SAM_APDU [21:30:51]CAPDU: 80 0D 02 02 05 70 4F C0 80 4E [21:30:51]Write to MH i2c: E2 0D 00 19 48 80 0D 02 02 05 00 70 4F C0 80 4E 00 00 32 [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:30:51]Read from MH i2c: E2 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 03 00 19 48 00 90 00 D5 [21:30:51]RAPDU: 90 00 [21:30:51]wFMCommunicate OK [21:30:51]wFMCommunicate request_size=4 [21:30:51]MH_SAM_APDU [21:30:51]CAPDU: 80 0D 03 02 [21:30:51]Write to MH i2c: E2 08 00 1A 48 80 0D 03 02 00 00 00 00 DD [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:30:51]Read from MH i2c: E2 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 0B 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 0B 00 1A 48 00 E8 FE 33 E4 68 20 51 4F 90 00 03 [21:30:51]RAPDU: E8 FE 33 E4 68 20 51 4F 90 00 [21:30:51]wFMCommunicate OK [21:30:51]SAM_PROTO_SignData done [21:30:51]FM_MakeSignedData done [21:30:51]CreateOFDProtocolMessage [21:30:51]wFMCommunicate request_size=4 [21:30:51]MH_SAM_APDU [21:30:51]CAPDU: 80 11 00 00 [21:30:51]Write to MH i2c: E2 08 00 1B 48 80 11 00 00 00 00 00 00 DD [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:51]Read from MH i2c: E2 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 17 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: E2 17 00 1B 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 35 [21:30:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:30:51]wFMCommunicate OK [21:30:51]CreateOFDProtocolMessage done [21:30:51]OFDSenderStorePacket 26856 [21:30:51]StoreOFDPacket docnum=26856 [21:30:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B7 A6 07 01 C3 A0 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 1A 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E8 68 00 00 35 04 06 00 E6 70 4F C0 80 4E E8 FE 33 E4 68 20 51 4F [21:30:51]CheckFolder [21:30:51]dirname=/storage/ofd_packets [21:30:51]CheckFolder done [21:30:51]ProducePacketName [21:30:51]name=ofd_packets/00026856 [21:30:51]NVStorageSaveData ofd_packets/00026856 [21:30:51]File name is /storage/ofd_packets/00026856 [21:30:51]Write 301 bytes [21:30:51]NVStorageSaveData done [21:30:51]OFDSenderStorePacket done [21:30:51]KKMCreateOFDPacket done [21:30:51]NVStorageSaveData kkm_last_timestamp [21:30:51]File name is /storage/kkm_last_timestamp [21:30:51]Write 4 bytes [21:30:51]NVStorageSaveData done [21:30:51]ExternCall_PrintAddStr [21:30:51]wPrintStart [21:30:51]Write to MH i2c: 01 00 00 1C 48 64 [21:30:51]Write i2c OK [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: 01 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: 01 07 00 [21:30:51]MH_I2C_Read... [21:30:51]Read from MH i2c: 01 07 00 1C 48 00 00 00 00 00 FF 0F 79 [21:30:51]RasterBufferAndPrint [21:30:51]line Счет N : (1)359601 [21:30:51]line ИÐÐ: 02508201610067 [21:30:51]line Контрольно-КаÑÑовый Чек [21:30:51]line ПРОДÐЖР[21:30:51]line ТРК (МРК, ГÐК) : 61 [21:30:51]line Товар: 2710124130 [21:30:51]line Ðи-92-К-5 [21:30:51]line 15.780 * 63.40 [21:30:51]line = 1000.45 [21:30:51]line ÐДС 12% ÐСП 1% [21:30:51]line > о реализуемом товаре [21:30:51]line ОКРУГЛЕÐИЕ: -0.45 [21:30:51]line ИТОГО: 1000.00 [21:30:51]line ВнеÑено: 1000.00 [21:30:51]line СДÐЧÐ: 0.00 [21:30:51]line ÐСП 1% : 8.85 [21:30:51]line ÐДС 12% : 106.24 [21:30:51]line Ðаличными: 1000.00 [21:30:51]line Безнал.: 0.00 [21:30:51]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [21:30:51]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:30:51]line СÐО: Общий режим [21:30:51]line Чек 69 08.04.2024 21:31 [21:30:51]line Смена: 314 ФФД: 1.0 [21:30:51]line ЗÐМ: 0300000147 [21:30:51]line РÐМ: 0000000000091578 [21:30:51]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:30:51]line ФМ: 0000000000874657 [21:30:51]line ФД: 26856 [21:30:52]line ФПД: 253370048741454 [21:30:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T213106&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26856&fm=253370048741454&tin=02508201610067®Number=0000000000091578&sum=100000 [21:30:52]written 0, free lines is 4095 [21:30:52]Write to MH i2c: 01 00 00 47 48 8F [21:30:52]Write i2c OK [21:30:52]MH_I2C_Read... [21:30:52]Read from MH i2c: 01 [21:30:52]MH_I2C_Read... [21:30:52]Read from MH i2c: 01 07 00 [21:30:52]MH_I2C_Read... [21:30:52]Read from MH i2c: 01 07 00 47 48 00 00 00 00 00 72 0C 14 [21:30:52]RasterBufferAndPrint [21:30:52]line [21:30:52]line [21:30:52]line [21:30:52]line [21:30:52]line [21:30:52]written 0, free lines is 3188 [21:30:52]MH_Cut [21:30:52]Write to MH i2c: D1 01 00 4E 48 01 68 [21:30:52]Write i2c OK [21:30:52]MH_I2C_Read... [21:30:52]Read from MH i2c: D1 [21:30:52]MH_I2C_Read... [21:30:52]Read from MH i2c: D1 01 00 [21:30:52]MH_I2C_Read... [21:30:52]Read from MH i2c: D1 01 00 4E 48 00 67 [21:30:52]Write to MH i2c: 01 00 00 4F 48 97 [21:30:52]Write i2c OK [21:30:52]MH_I2C_Read... [21:30:53]*** Cut start [21:30:53]*** Partial cut [21:30:53]*** CUTSNS_PIN = 1 [21:30:53]*** CUTSNS_PIN = 0 [21:30:53]*** Brake cut motor [21:30:54]Read from MH i2c: 01 [21:30:54]MH_I2C_Read... [21:30:54]*** Stop cut motor [21:30:54]*** Cut end [21:30:54]Read from MH i2c: 01 07 00 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: 01 07 00 4F 48 00 00 00 00 00 FF 0F AC [21:30:54]process_action close_receipt done [21:30:54]requested_data is exist [21:30:54]produce_requested_data [21:30:54]requested_item fm.sn is exist - process it [21:30:54]wFMCommunicate request_size=4 [21:30:54]MH_SAM_APDU [21:30:54]CAPDU: 80 11 00 00 [21:30:54]Write to MH i2c: E2 08 00 50 48 80 11 00 00 00 00 00 00 12 [21:30:54]Write i2c OK [21:30:54]MH_I2C_Read... [21:30:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:30:54]Read from MH i2c: E2 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: E2 17 00 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: E2 17 00 50 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 6A [21:30:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:30:54]wFMCommunicate OK [21:30:54]requested_item fd.num is exist - process it [21:30:54]SAM_PROTO_GetFieldsCounters [21:30:54]wFMCommunicate request_size=4 [21:30:54]MH_SAM_APDU [21:30:54]CAPDU: 80 13 00 00 [21:30:54]Write to MH i2c: E2 08 00 51 48 80 13 00 00 00 00 00 00 15 [21:30:54]Write i2c OK [21:30:54]MH_I2C_Read... [21:30:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:30:54]Read from MH i2c: E2 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: E2 62 00 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: E2 62 00 51 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [21:30:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E8 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:30:54]wFMCommunicate OK [21:30:54]SAM_PROTO_GetFieldsCounters done [21:30:54]requested_item shift.num is exist - process it [21:30:54]requested_item shift.opened is exist - process it [21:30:54]req_shift_opened [21:30:54]FM_GetShiftState [21:30:54]SAM_PROTO_GetShiftState [21:30:54]wFMCommunicate request_size=4 [21:30:54]MH_SAM_APDU [21:30:54]CAPDU: 80 13 01 00 [21:30:54]Write to MH i2c: E2 08 00 52 48 80 13 01 00 00 00 00 00 17 [21:30:54]Write i2c OK [21:30:54]MH_I2C_Read... [21:30:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:30:54]Read from MH i2c: E2 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: E2 0E 00 [21:30:54]MH_I2C_Read... [21:30:54]Read from MH i2c: E2 0E 00 52 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A4 [21:30:54]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:30:54]wFMCommunicate OK [21:30:54]SAM_PROTO_GetShiftState done [21:30:54]FM_GetShiftState done [21:30:54]req_shift_opened done [21:30:54]requested_item shift.open_date is exist - process it [21:30:54]req_shift_open_date [21:30:54]req_shift_open_date done [21:30:54]produce_requested_data done [21:30:54]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26856,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [21:30:54]process_action_free close_receipt [21:30:54]json_value_free [21:30:54]json_value_free done [21:30:54]process_json_proto returns [21:30:54]Send response to host [21:30:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26856,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [21:30:54]free response buf [21:30:54]execute_script done [21:30:54]execute_script returns [21:30:54]free content buf [21:30:54]Sock 9.Close socket [21:30:54]Sock 9.Thread stoped [21:31:02]ConnectInit Can't connect to host [21:31:02]CommunicateWithHost connect error [21:31:02]CommunicateWithHost err = -1 [21:31:02]OFD Sender: Server communicate error [21:31:02]OFD Sender: Processing packet 26855 [packets to send 45, broken 43] [21:31:02]ProducePacketName [21:31:02]name=ofd_packets/00026855 [21:31:02]OFD Sender: To server: ‡•öpG, [21:31:02]CommunicateWithHost lk.salyk.kg:30040 [21:31:02]ConnectInit lk.salyk.kg [21:31:02]Connected sock=9 [21:31:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 D6 BA 07 01 DD 41 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 67 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 A1 61 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E7 68 00 00 35 04 06 00 41 BB E4 94 2A DB 95 EF 1F 01 77 04 9C DE [21:31:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 85 BA 47 00 6C 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E7 68 00 00 F4 03 04 00 8D 09 14 66 B6 04 01 00 00 92 33 33 2F 58 60 24 4B [21:31:02]CommunicateWithHost err = 0 [21:31:02]CheckOFDResponse [21:31:02]1017 (14) - 77093643461234 [21:31:02]1041 (16) - 0000000000874657 [21:31:02]1040 (4) - 26855 [21:31:02]1012 (4) - 08.04.2024 15:13 [21:31:02]1206 (1) - 0 [21:31:02]OFD Sender: Remove packet 26855 [21:31:02]ProducePacketName [21:31:02]name=ofd_packets/00026855 [21:31:02]NVStorageDeleteData [21:31:03]OFD Sender: Processing packet 26856 [packets to send 44, broken 43] [21:31:03]ProducePacketName [21:31:03]name=ofd_packets/00026856 [21:31:03]OFD Sender: To server: ‡•öpG, [21:31:03]CommunicateWithHost lk.salyk.kg:30040 [21:31:03]ConnectInit lk.salyk.kg [21:31:03]Connected sock=9 [21:31:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 B7 A6 07 01 C3 A0 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 45 00 00 00 F4 03 04 00 1A 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E8 68 00 00 35 04 06 00 E6 70 4F C0 80 4E E8 FE 33 E4 68 20 51 4F [21:31:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 18 DE 47 00 D7 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E8 68 00 00 F4 03 04 00 8E 09 14 66 B6 04 01 00 00 E4 82 BD D6 EA 6E 47 AD [21:31:03]CommunicateWithHost err = 0 [21:31:03]CheckOFDResponse [21:31:03]1017 (14) - 77093643461234 [21:31:03]1041 (16) - 0000000000874657 [21:31:03]1040 (4) - 26856 [21:31:03]1012 (4) - 08.04.2024 15:13 [21:31:03]1206 (1) - 0 [21:31:03]OFD Sender: Remove packet 26856 [21:31:03]ProducePacketName [21:31:03]name=ofd_packets/00026856 [21:31:03]NVStorageDeleteData [21:31:03]OFD Sender: No OFD packet to send [21:31:08]OFD Sender: No OFD packet to send [21:31:13]OFD Sender: No OFD packet to send [21:31:18]OFD Sender: No OFD packet to send [21:31:23]OFD Sender: No OFD packet to send [21:31:28]OFD Sender: No OFD packet to send [21:31:33]OFD Sender: No OFD packet to send [21:31:38]OFD Sender: No OFD packet to send [21:31:43]OFD Sender: No OFD packet to send [21:31:48]OFD Sender: No OFD packet to send [21:31:53]OFD Sender: No OFD packet to send [21:31:58]OFD Sender: No OFD packet to send [21:32:03]OFD Sender: No OFD packet to send [21:32:08]OFD Sender: No OFD packet to send [21:32:13]OFD Sender: No OFD packet to send [21:32:18]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:27]accept exits with 8 [21:32:27]New connection [21:32:27]New thread 3066871140 created [21:32:27]Thread 3067014500 joined [21:32:27]Waiting for new connection... [21:32:27] Sock 8.Parse request [21:32:27]Sock 8.Check first char [21:32:27]Sock 8.First char is OK [21:32:27]request: POST /json_proto HTTP/1.0 [21:32:27]Method: POST [21:32:27]URL: /json_proto [21:32:27]Method is POST - this is cgi request [21:32:27]url: /json_proto [21:32:27]query_string will be loaded in cgi processing [21:32:27]execute_cgi json_proto POST (null) [21:32:27]execute_cgi path=json_proto method=POST [21:32:27]POST find Content-Length [21:32:27]Host: 172.17.35.3:8080 [21:32:27]Content-Length: 819 [21:32:27]Content-Type: application/json [21:32:27] [21:32:27]POST finish read [21:32:27]Found Content-Length = 819 [21:32:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359603", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "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" : 1000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:32:27]execute_script... [21:32:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359603", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "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" : 1000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:32:27]POST & json_proto [21:32:27]process_json_proto [21:32:27]json parsed OK: [21:32:27]protocol is kg_v1.0 [21:32:27]action value=close_receipt [21:32:27]process_action close_receipt [21:32:27]cmd_close_receipt [21:32:27]MH_GetDate [21:32:27]Write to MH i2c: F0 00 00 53 48 8A [21:32:27]Write i2c OK [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: F0 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: F0 09 00 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: F0 09 00 53 48 00 7B 62 14 66 2B 11 66 64 F0 [21:32:27]GetLastDocTimeStamp 1712611866 [21:32:27]current date 1712611963 [21:32:27]FM_GetShiftState [21:32:27]SAM_PROTO_GetShiftState [21:32:27]wFMCommunicate request_size=4 [21:32:27]MH_SAM_APDU [21:32:27]CAPDU: 80 13 01 00 [21:32:27]Write to MH i2c: E2 08 00 54 48 80 13 01 00 00 00 00 00 19 [21:32:27]Write i2c OK [21:32:27]MH_I2C_Read... [21:32:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:32:27]Read from MH i2c: E2 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: E2 0E 00 [21:32:27]MH_I2C_Read... [21:32:27]Read from MH i2c: E2 0E 00 54 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 A6 [21:32:27]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:32:27]wFMCommunicate OK [21:32:27]SAM_PROTO_GetShiftState done [21:32:27]FM_GetShiftState done [21:32:27]opened in 1712536270 [21:32:27]opened+sec_in_day 1712622670 [21:32:27]quantity*price = 100012 [21:32:27]sum+1 = 100014 [21:32:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.13 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.13 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 70 08.04.2024 21:32 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000874657 ФД: 26857 ФПД: 106722278093512 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T213243&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26857&fm=106722278093512&tin=02508201610067®Number=0000000000091578&sum=100013 [21:32:28]StoreToDocumentArchive [21:32:28]shift 314 fd 26857 [21:32:28]save to /storage/0314/doc_00026857 [21:32:28]save last doc name /storage/0314/doc_00026857 to /storage/kkm_last_doc_name [21:32:28]save OK [21:32:28]Clear old archive folders... [21:32:28]ProcessDocumentItem done err = 0, tmpTLVsize=251 [21:32:28]tlvbuf is 00E67990 [21:32:28]SAM_PROTO_ClearQueue [21:32:28]wFMCommunicate request_size=4 [21:32:28]MH_SAM_APDU [21:32:28]CAPDU: 80 09 00 00 [21:32:28]Write to MH i2c: E2 08 00 61 48 80 09 00 00 00 00 00 00 1B [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:32:28]Read from MH i2c: E2 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 61 48 00 90 00 1D [21:32:28]RAPDU: 90 00 [21:32:28]wFMCommunicate OK [21:32:28]SAM_PROTO_ClearQueue done [21:32:28]KKMCreateOFDPacket [21:32:28]OFDProtocolAddRootSTLVToBuf [21:32:28]FM_MakeSignedData [21:32:28]FM_MakeSignedData [21:32:28]SAM_PROTO_SignData [21:32:28]wFMCommunicate request_size=4 [21:32:28]MH_SAM_APDU [21:32:28]CAPDU: 80 0D 01 02 [21:32:28]Write to MH i2c: E2 08 00 62 48 80 0D 01 02 00 00 00 00 23 [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:32:28]Read from MH i2c: E2 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 62 48 00 90 00 1E [21:32:28]RAPDU: 90 00 [21:32:28]wFMCommunicate OK [21:32:28]wFMCommunicate request_size=255 [21:32:28]MH_SAM_APDU [21:32:28]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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7B 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E9 68 00 00 35 04 06 00 61 [21:32:28]Write to MH i2c: E2 02 01 63 48 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7B 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E9 68 00 00 35 04 06 00 61 00 00 3D [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:32:28]Read from MH i2c: E2 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 63 48 00 90 00 1F [21:32:28]RAPDU: 90 00 [21:32:28]wFMCommunicate OK [21:32:28]wFMCommunicate request_size=10 [21:32:28]MH_SAM_APDU [21:32:28]CAPDU: 80 0D 02 02 05 10 37 79 B2 C8 [21:32:28]Write to MH i2c: E2 0D 00 64 48 80 0D 02 02 05 00 10 37 79 B2 C8 00 00 6A [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:32:28]Read from MH i2c: E2 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 03 00 64 48 00 90 00 20 [21:32:28]RAPDU: 90 00 [21:32:28]wFMCommunicate OK [21:32:28]wFMCommunicate request_size=4 [21:32:28]MH_SAM_APDU [21:32:28]CAPDU: 80 0D 03 02 [21:32:28]Write to MH i2c: E2 08 00 65 48 80 0D 03 02 00 00 00 00 28 [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:32:28]Read from MH i2c: E2 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 0B 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 0B 00 65 48 00 08 39 3D 72 10 E6 D1 D5 90 00 B5 [21:32:28]RAPDU: 08 39 3D 72 10 E6 D1 D5 90 00 [21:32:28]wFMCommunicate OK [21:32:28]SAM_PROTO_SignData done [21:32:28]FM_MakeSignedData done [21:32:28]CreateOFDProtocolMessage [21:32:28]wFMCommunicate request_size=4 [21:32:28]MH_SAM_APDU [21:32:28]CAPDU: 80 11 00 00 [21:32:28]Write to MH i2c: E2 08 00 66 48 80 11 00 00 00 00 00 00 28 [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:32:28]Read from MH i2c: E2 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 17 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: E2 17 00 66 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 80 [21:32:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:32:28]wFMCommunicate OK [21:32:28]CreateOFDProtocolMessage done [21:32:28]OFDSenderStorePacket 26857 [21:32:28]StoreOFDPacket docnum=26857 [21:32:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 71 77 07 01 82 BA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7B 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E9 68 00 00 35 04 06 00 61 10 37 79 B2 C8 08 39 3D 72 10 E6 D1 D5 [21:32:28]CheckFolder [21:32:28]dirname=/storage/ofd_packets [21:32:28]CheckFolder done [21:32:28]ProducePacketName [21:32:28]name=ofd_packets/00026857 [21:32:28]NVStorageSaveData ofd_packets/00026857 [21:32:28]File name is /storage/ofd_packets/00026857 [21:32:28]Write 301 bytes [21:32:28]NVStorageSaveData done [21:32:28]OFDSenderStorePacket done [21:32:28]KKMCreateOFDPacket done [21:32:28]NVStorageSaveData kkm_last_timestamp [21:32:28]File name is /storage/kkm_last_timestamp [21:32:28]Write 4 bytes [21:32:28]NVStorageSaveData done [21:32:28]ExternCall_PrintAddStr [21:32:28]wPrintStart [21:32:28]Write to MH i2c: 01 00 00 67 48 AF [21:32:28]Write i2c OK [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: 01 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: 01 07 00 [21:32:28]MH_I2C_Read... [21:32:28]Read from MH i2c: 01 07 00 67 48 00 00 00 00 00 FF 0F C4 [21:32:28]RasterBufferAndPrint [21:32:28]line Счет N : (1)359603 [21:32:28]line ИÐÐ: 02508201610067 [21:32:28]line Контрольно-КаÑÑовый Чек [21:32:28]line ПРОДÐЖР[21:32:28]line ТРК (МРК, ГÐК) : 53 [21:32:28]line Товар: 2710124500 [21:32:28]line Ðи-95-К-5 [21:32:28]line 13.910 * 71.90 [21:32:28]line = 1000.13 [21:32:28]line ÐДС 12% ÐСП 1% [21:32:28]line > о реализуемом товаре [21:32:28]line ИТОГО: 1000.13 [21:32:28]line ÐСП 1% : 8.85 [21:32:28]line ÐДС 12% : 106.21 [21:32:28]line Ðаличными: 0.00 [21:32:28]line Безнал.: 1000.13 [21:32:28]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [21:32:28]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [21:32:28]line СÐО: Общий режим [21:32:28]line Чек 70 08.04.2024 21:32 [21:32:28]line Смена: 314 ФФД: 1.0 [21:32:28]line ЗÐМ: 0300000147 [21:32:28]line РÐМ: 0000000000091578 [21:32:28]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [21:32:28]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [21:32:28]line ФМ: 0000000000874657 [21:32:28]line ФД: 26857 [21:32:28]line ФПД: 106722278093512 [21:32:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T213243&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26857&fm=106722278093512&tin=02508201610067®Number=0000000000091578&sum=100013 [21:32:29]OFD Sender: Processing packet 26857 [packets to send 44, broken 43] [21:32:29]ProducePacketName [21:32:29]name=ofd_packets/00026857 [21:32:29]OFD Sender: To server: ‡•öpG, [21:32:29]CommunicateWithHost lk.salyk.kg:30040 [21:32:29]ConnectInit lk.salyk.kg [21:32:29]written 0, free lines is 4095 [21:32:29]Connected sock=10 [21:32:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 71 77 07 01 82 BA 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 35 30 30 06 04 0C 00 D0 90 D0 B8 2D 39 35 2D D0 9A 2D 35 FF 03 08 00 03 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 7B 62 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E9 68 00 00 35 04 06 00 61 10 37 79 B2 C8 08 39 3D 72 10 E6 D1 D5 [21:32:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 94 7F 47 00 12 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 E9 68 00 00 F4 03 04 00 E4 09 14 66 B6 04 01 00 00 C3 4E 18 D6 95 1F 16 2C [21:32:29]CommunicateWithHost err = 0 [21:32:29]CheckOFDResponse [21:32:29]1017 (14) - 77093643461234 [21:32:29]1041 (16) - 0000000000874657 [21:32:29]1040 (4) - 26857 [21:32:29]1012 (4) - 08.04.2024 15:14 [21:32:29]1206 (1) - 0 [21:32:29]OFD Sender: Remove packet 26857 [21:32:29]ProducePacketName [21:32:29]name=ofd_packets/00026857 [21:32:29]NVStorageDeleteData [21:32:29]Write to MH i2c: 01 00 00 91 48 D9 [21:32:29]Write i2c OK [21:32:29]MH_I2C_Read... [21:32:29]Read from MH i2c: 01 [21:32:29]MH_I2C_Read... [21:32:29]Read from MH i2c: 01 07 00 [21:32:29]MH_I2C_Read... [21:32:29]Read from MH i2c: 01 07 00 91 48 00 00 00 00 00 91 0C 7D [21:32:29]RasterBufferAndPrint [21:32:29]line [21:32:29]line [21:32:29]line [21:32:29]line [21:32:29]line [21:32:29]written 0, free lines is 3221 [21:32:29]MH_Cut [21:32:29]Write to MH i2c: D1 01 00 98 48 01 B2 [21:32:29]Write i2c OK [21:32:29]MH_I2C_Read... [21:32:29]Read from MH i2c: D1 [21:32:29]MH_I2C_Read... [21:32:29]Read from MH i2c: D1 01 00 [21:32:29]MH_I2C_Read... [21:32:29]Read from MH i2c: D1 01 00 98 48 00 B1 [21:32:29]Write to MH i2c: 01 00 00 99 48 E1 [21:32:29]Write i2c OK [21:32:29]MH_I2C_Read... [21:32:29]OFD Sender: No OFD packet to send [21:32:30]*** Cut start [21:32:30]*** Partial cut [21:32:30]*** CUTSNS_PIN = 1 [21:32:30]*** CUTSNS_PIN = 0 [21:32:31]*** Brake cut motor [21:32:31]Read from MH i2c: 01 [21:32:31]MH_I2C_Read... [21:32:31]*** Stop cut motor [21:32:31]*** Cut end [21:32:31]Read from MH i2c: 01 07 00 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: 01 07 00 99 48 00 00 00 00 00 FF 0F F6 [21:32:31]process_action close_receipt done [21:32:31]requested_data is exist [21:32:31]produce_requested_data [21:32:31]requested_item fm.sn is exist - process it [21:32:31]wFMCommunicate request_size=4 [21:32:31]MH_SAM_APDU [21:32:31]CAPDU: 80 11 00 00 [21:32:31]Write to MH i2c: E2 08 00 9A 48 80 11 00 00 00 00 00 00 5C [21:32:31]Write i2c OK [21:32:31]MH_I2C_Read... [21:32:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:32:31]Read from MH i2c: E2 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: E2 17 00 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: E2 17 00 9A 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 B4 [21:32:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [21:32:31]wFMCommunicate OK [21:32:31]requested_item fd.num is exist - process it [21:32:31]SAM_PROTO_GetFieldsCounters [21:32:31]wFMCommunicate request_size=4 [21:32:31]MH_SAM_APDU [21:32:31]CAPDU: 80 13 00 00 [21:32:31]Write to MH i2c: E2 08 00 9B 48 80 13 00 00 00 00 00 00 5F [21:32:31]Write i2c OK [21:32:31]MH_I2C_Read... [21:32:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:32:31]Read from MH i2c: E2 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: E2 62 00 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: E2 62 00 9B 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [21:32:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 E9 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:32:31]wFMCommunicate OK [21:32:31]SAM_PROTO_GetFieldsCounters done [21:32:31]requested_item shift.num is exist - process it [21:32:31]requested_item shift.opened is exist - process it [21:32:31]req_shift_opened [21:32:31]FM_GetShiftState [21:32:31]SAM_PROTO_GetShiftState [21:32:31]wFMCommunicate request_size=4 [21:32:31]MH_SAM_APDU [21:32:31]CAPDU: 80 13 01 00 [21:32:31]Write to MH i2c: E2 08 00 9C 48 80 13 01 00 00 00 00 00 61 [21:32:31]Write i2c OK [21:32:31]MH_I2C_Read... [21:32:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:32:31]Read from MH i2c: E2 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: E2 0E 00 [21:32:31]MH_I2C_Read... [21:32:31]Read from MH i2c: E2 0E 00 9C 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 EE [21:32:31]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [21:32:31]wFMCommunicate OK [21:32:31]SAM_PROTO_GetShiftState done [21:32:31]FM_GetShiftState done [21:32:31]req_shift_opened done [21:32:31]requested_item shift.open_date is exist - process it [21:32:31]req_shift_open_date [21:32:31]req_shift_open_date done [21:32:31]produce_requested_data done [21:32:31]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26857,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [21:32:31]process_action_free close_receipt [21:32:31]json_value_free [21:32:31]json_value_free done [21:32:31]process_json_proto returns [21:32:31]Send response to host [21:32:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26857,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [21:32:31]free response buf [21:32:31]execute_script done [21:32:31]execute_script returns [21:32:31]free content buf [21:32:31]Sock 8.Close socket [21:32:31]Sock 8.Thread stoped [21:32:34]OFD Sender: No OFD packet to send [21:32:39]OFD Sender: No OFD packet to send [21:32:44]OFD Sender: No OFD packet to send [21:32:49]OFD Sender: No OFD packet to send [21:32:54]OFD Sender: No OFD packet to send [21:32:59]OFD Sender: No OFD packet to send [21:33:04]OFD Sender: No OFD packet to send [21:33:09]OFD Sender: No OFD packet to send [21:33:14]OFD Sender: No OFD packet to send [21:33:19]OFD Sender: No OFD packet to send [21:33:24]OFD Sender: No OFD packet to send [21:33:29]OFD Sender: No OFD packet to send [21:33:34]OFD Sender: No OFD packet to send [21:33:39]OFD Sender: No OFD packet to send [21:33:44]OFD Sender: No OFD packet to send [21:33:49]OFD Sender: No OFD packet to send [21:33:54]OFD Sender: No OFD packet to send [21:33:59]OFD Sender: No OFD packet to send [21:34:04]OFD Sender: No OFD packet to send [21:34:09]OFD Sender: No OFD packet to send [21:34:14]OFD Sender: No OFD packet to send [21:34:19]OFD Sender: No OFD packet to send [21:34:24]OFD Sender: No OFD packet to send [21:34:29]OFD Sender: No OFD packet to send [21:34:34]OFD Sender: No OFD packet to send [21:34:39]OFD Sender: No OFD packet to send [21:34:44]OFD Sender: No OFD packet to send [21:34:49]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:20]OFD Sender: No OFD packet to send [21:36:25]OFD Sender: No OFD packet to send [21:36:30]OFD Sender: No OFD packet to send [21:36:35]OFD Sender: No OFD packet to send [21:36:40]OFD Sender: No OFD packet to send [21:36:45]OFD Sender: No OFD packet to send [21:36:50]OFD Sender: No OFD packet to send [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37:10]OFD Sender: No OFD packet to send [21:37:15]OFD Sender: No OFD packet to send [21:37:20]OFD Sender: No OFD packet to send [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:55]OFD Sender: No OFD packet to send [21:38:00]OFD Sender: No OFD packet to send [21:38:05]OFD Sender: No OFD packet to send [21:38:10]OFD Sender: No OFD packet to send [21:38:15]OFD Sender: No OFD packet to send [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:25]OFD Sender: No OFD packet to send [21:42:30]OFD Sender: No OFD packet to send [21:42:35]OFD Sender: No OFD packet to send [21:42:40]OFD Sender: No OFD packet to send [21:42:45]OFD Sender: No OFD packet to send [21:42:50]OFD Sender: No OFD packet to send [21:42:55]OFD Sender: No OFD packet to send [21:43:00]OFD Sender: No OFD packet to send [21:43:05]OFD Sender: No OFD packet to send [21:43:10]OFD Sender: No OFD packet to send [21:43:15]OFD Sender: No OFD packet to send [21:43:20]OFD Sender: No OFD packet to send [21:43:25]OFD Sender: No OFD packet to send [21:43:30]OFD Sender: No OFD packet to send [21:43:35]OFD Sender: No OFD packet to send [21:43:40]OFD Sender: No OFD packet to send [21:43:45]OFD Sender: No OFD packet to send [21:43:50]OFD Sender: No OFD packet to send [21:43:55]OFD Sender: No OFD packet to send [21:44:00]OFD Sender: No OFD packet to send [21:44:05]OFD Sender: No OFD packet to send [21:44:10]OFD Sender: No OFD packet to send [21:44:15]OFD Sender: No OFD packet to send [21:44:20]OFD Sender: No OFD packet to send [21:44:25]OFD Sender: No OFD packet to send [21:44:30]OFD Sender: No OFD packet to send [21:44:35]OFD Sender: No OFD packet to send [21:44:40]OFD Sender: No OFD packet to send [21:44:45]OFD Sender: No OFD packet to send [21:44:50]OFD Sender: No OFD packet to send [21:44:55]OFD Sender: No OFD packet to send [21:45:00]OFD Sender: No OFD packet to send [21:45:05]OFD Sender: No OFD packet to send [21:45:10]OFD Sender: No OFD packet to send [21:45:15]OFD Sender: No OFD packet to send [21:45:20]OFD Sender: No OFD packet to send [21:45:25]OFD Sender: No OFD packet to send [21:45:30]OFD Sender: No OFD packet to send [21:45:35]OFD Sender: No OFD packet to send [21:45:40]OFD Sender: No OFD packet to send [21:45:45]OFD Sender: No OFD packet to send [21:45:50]OFD Sender: No OFD packet to send [21:45:55]OFD Sender: No OFD packet to send [21:46:00]OFD Sender: No OFD packet to send [21:46:05]OFD Sender: No OFD packet to send [21:46:10]OFD Sender: No OFD packet to send [21:46:15]OFD Sender: No OFD packet to send [21:46:20]OFD Sender: No OFD packet to send [21:46:25]OFD Sender: No OFD packet to send [21:46:30]OFD Sender: No OFD packet to send [21:46:35]OFD Sender: No OFD packet to send [21:46:40]OFD Sender: No OFD packet to send [21:46:45]OFD Sender: No OFD packet to send [21:46:50]OFD Sender: No OFD packet to send [21:46:55]OFD Sender: No OFD packet to send [21:47:00]OFD Sender: No OFD packet to send [21:47:05]OFD Sender: No OFD packet to send [21:47:10]OFD Sender: No OFD packet to send [21:47:15]OFD Sender: No OFD packet to send [21:47:20]OFD Sender: No OFD packet to send [21:47:25]OFD Sender: No OFD packet to send [21:47:30]OFD Sender: No OFD packet to send [21:47:35]OFD Sender: No OFD packet to send [21:47:40]OFD Sender: No OFD packet to send [21:47:45]OFD Sender: No OFD packet to send [21:47:50]OFD Sender: No OFD packet to send [21:47:55]OFD Sender: No OFD packet to send [21:48:00]OFD Sender: No OFD packet to send [21:48:05]OFD Sender: No OFD packet to send [21:48:10]OFD Sender: No OFD packet to send [21:48:15]OFD Sender: No OFD packet to send [21:48:20]OFD Sender: No OFD packet to send [21:48:25]OFD Sender: No OFD packet to send [21:48:30]OFD Sender: No OFD packet to send [21:48:35]OFD Sender: No OFD packet to send [21:48:40]OFD Sender: No OFD packet to send [21:48:45]OFD Sender: No OFD packet to send [21:48:50]OFD Sender: No OFD packet to send [21:48:55]OFD Sender: No OFD packet to send [21:49:00]OFD Sender: No OFD packet to send [21:49:05]OFD Sender: No OFD packet to send [21:49:10]OFD Sender: No OFD packet to send [21:49:15]OFD Sender: No OFD packet to send [21:49:20]OFD Sender: No OFD packet to send [21:49:25]OFD Sender: No OFD packet to send [21:49:30]OFD Sender: No OFD packet to send [21:49:35]OFD Sender: No OFD packet to send [21:49:40]OFD Sender: No OFD packet to send [21:49:45]OFD Sender: No OFD packet to send [21:49:50]OFD Sender: No OFD packet to send [21:49:55]OFD Sender: No OFD packet to send [21:50:00]OFD Sender: No OFD packet to send [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [21:54:01]OFD Sender: No OFD packet to send [21:54:06]OFD Sender: No OFD packet to send [21:54:11]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:04:58]accept exits with 9 [22:04:58]New connection [22:04:58]New thread 3067014500 created [22:04:58]Thread 3066871140 joined [22:04:58]Waiting for new connection... [22:04:58] Sock 9.Parse request [22:04:58]Sock 9.Check first char [22:04:58]Sock 9.First char is OK [22:04:58]request: POST /json_proto HTTP/1.0 [22:04:58]Method: POST [22:04:58]URL: /json_proto [22:04:58]Method is POST - this is cgi request [22:04:58]url: /json_proto [22:04:58]query_string will be loaded in cgi processing [22:04:58]execute_cgi json_proto POST (null) [22:04:58]execute_cgi path=json_proto method=POST [22:04:58]POST find Content-Length [22:04:58]Host: 172.17.35.3:8080 [22:04:58]Content-Length: 677 [22:04:58]Content-Type: application/json [22:04:58] [22:04:58]POST finish read [22:04:58]Found Content-Length = 677 [22:04:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359604", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [22:04:58]execute_script... [22:04: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 : (1)359604", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [22:04:58]POST & json_proto [22:04:58]process_json_proto [22:04:58]json parsed OK: [22:04:58]protocol is kg_v1.0 [22:04:58]action value=close_receipt [22:04:58]process_action close_receipt [22:04:58]cmd_close_receipt [22:04:58]MH_GetDate [22:04:58]Write to MH i2c: F0 00 00 9D 48 D4 [22:04:58]Write i2c OK [22:04:58]MH_I2C_Read... [22:04:58]Read from MH i2c: F0 [22:04:58]MH_I2C_Read... [22:04:58]Read from MH i2c: F0 09 00 [22:04:58]MH_I2C_Read... [22:04:58]Read from MH i2c: F0 09 00 9D 48 00 1B 6A 14 66 2B 11 66 64 E2 [22:04:58]GetLastDocTimeStamp 1712611963 [22:04:58]current date 1712613915 [22:04:58]FM_GetShiftState [22:04:58]SAM_PROTO_GetShiftState [22:04:58]wFMCommunicate request_size=4 [22:04:58]MH_SAM_APDU [22:04:58]CAPDU: 80 13 01 00 [22:04:58]Write to MH i2c: E2 08 00 9E 48 80 13 01 00 00 00 00 00 63 [22:04:58]Write i2c OK [22:04:58]MH_I2C_Read... [22:04:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:04:58]Read from MH i2c: E2 [22:04:58]MH_I2C_Read... [22:04:58]Read from MH i2c: E2 0E 00 [22:04:58]MH_I2C_Read... [22:04:58]Read from MH i2c: E2 0E 00 9E 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 F0 [22:04:58]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:04:58]wFMCommunicate OK [22:04:58]SAM_PROTO_GetShiftState done [22:04:58]FM_GetShiftState done [22:04:58]opened in 1712536270 [22:04:58]opened+sec_in_day 1712622670 [22:04:58]quantity*price = 50022 [22:04:58]sum+1 = 50024 [22:04:58]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 71 08.04.2024 22:05 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26858 ФПД: 193890493443484 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T220515&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26858&fm=193890493443484&tin=02508201610067®Number=0000000000091578&sum=50000 [22:04:59]StoreToDocumentArchive [22:04:59]shift 314 fd 26858 [22:04:59]save to /storage/0314/doc_00026858 [22:04:59]save last doc name /storage/0314/doc_00026858 to /storage/kkm_last_doc_name [22:04:59]save OK [22:04:59]Clear old archive folders... [22:04:59]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:04:59]tlvbuf is 00EE3B50 [22:04:59]SAM_PROTO_ClearQueue [22:04:59]wFMCommunicate request_size=4 [22:04:59]MH_SAM_APDU [22:04:59]CAPDU: 80 09 00 00 [22:04:59]Write to MH i2c: E2 08 00 AB 48 80 09 00 00 00 00 00 00 65 [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:04:59]Read from MH i2c: E2 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 AB 48 00 90 00 67 [22:04:59]RAPDU: 90 00 [22:04:59]wFMCommunicate OK [22:04:59]SAM_PROTO_ClearQueue done [22:04:59]KKMCreateOFDPacket [22:04:59]OFDProtocolAddRootSTLVToBuf [22:04:59]FM_MakeSignedData [22:04:59]FM_MakeSignedData [22:04:59]SAM_PROTO_SignData [22:04:59]wFMCommunicate request_size=4 [22:04:59]MH_SAM_APDU [22:04:59]CAPDU: 80 0D 01 02 [22:04:59]Write to MH i2c: E2 08 00 AC 48 80 0D 01 02 00 00 00 00 6D [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:04:59]Read from MH i2c: E2 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 AC 48 00 90 00 68 [22:04:59]RAPDU: 90 00 [22:04:59]wFMCommunicate OK [22:04:59]wFMCommunicate request_size=255 [22:04:59]MH_SAM_APDU [22:04:59]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 1B 6A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EA 68 00 00 35 04 06 00 B0 [22:04:59]Write to MH i2c: E2 02 01 AD 48 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 1B 6A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EA 68 00 00 35 04 06 00 B0 00 00 B0 [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:59]Read from MH i2c: E2 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 AD 48 00 90 00 69 [22:04:59]RAPDU: 90 00 [22:04:59]wFMCommunicate OK [22:04:59]wFMCommunicate request_size=10 [22:04:59]MH_SAM_APDU [22:04:59]CAPDU: 80 0D 02 02 05 57 A5 FC AD 9C [22:04:59]Write to MH i2c: E2 0D 00 AE 48 80 0D 02 02 05 00 57 A5 FC AD 9C 00 00 BB [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:04:59]Read from MH i2c: E2 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 03 00 AE 48 00 90 00 6A [22:04:59]RAPDU: 90 00 [22:04:59]wFMCommunicate OK [22:04:59]wFMCommunicate request_size=4 [22:04:59]MH_SAM_APDU [22:04:59]CAPDU: 80 0D 03 02 [22:04:59]Write to MH i2c: E2 08 00 AF 48 80 0D 03 02 00 00 00 00 72 [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:04:59]Read from MH i2c: E2 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 0B 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 0B 00 AF 48 00 8B 1F 65 EB 0C 8C 6E 31 90 00 A4 [22:04:59]RAPDU: 8B 1F 65 EB 0C 8C 6E 31 90 00 [22:04:59]wFMCommunicate OK [22:04:59]SAM_PROTO_SignData done [22:04:59]FM_MakeSignedData done [22:04:59]CreateOFDProtocolMessage [22:04:59]wFMCommunicate request_size=4 [22:04:59]MH_SAM_APDU [22:04:59]CAPDU: 80 11 00 00 [22:04:59]Write to MH i2c: E2 08 00 B0 48 80 11 00 00 00 00 00 00 72 [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:04:59]Read from MH i2c: E2 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 17 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: E2 17 00 B0 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 CA [22:04:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:04:59]wFMCommunicate OK [22:04:59]CreateOFDProtocolMessage done [22:04:59]OFDSenderStorePacket 26858 [22:04:59]StoreOFDPacket docnum=26858 [22:04:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 08 68 07 01 F7 9D 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 1B 6A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EA 68 00 00 35 04 06 00 B0 57 A5 FC AD 9C 8B 1F 65 EB 0C 8C 6E 31 [22:04:59]CheckFolder [22:04:59]dirname=/storage/ofd_packets [22:04:59]CheckFolder done [22:04:59]ProducePacketName [22:04:59]name=ofd_packets/00026858 [22:04:59]NVStorageSaveData ofd_packets/00026858 [22:04:59]File name is /storage/ofd_packets/00026858 [22:04:59]Write 301 bytes [22:04:59]NVStorageSaveData done [22:04:59]OFDSenderStorePacket done [22:04:59]KKMCreateOFDPacket done [22:04:59]NVStorageSaveData kkm_last_timestamp [22:04:59]File name is /storage/kkm_last_timestamp [22:04:59]Write 4 bytes [22:04:59]NVStorageSaveData done [22:04:59]ExternCall_PrintAddStr [22:04:59]wPrintStart [22:04:59]Write to MH i2c: 01 00 00 B1 48 F9 [22:04:59]Write i2c OK [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: 01 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: 01 07 00 [22:04:59]MH_I2C_Read... [22:04:59]Read from MH i2c: 01 07 00 B1 48 00 00 00 00 00 FF 0F 0E [22:04:59]RasterBufferAndPrint [22:04:59]line Счет N : (1)359604 [22:04:59]line ИÐÐ: 02508201610067 [22:04:59]line Контрольно-КаÑÑовый Чек [22:04:59]line ПРОДÐЖР[22:04:59]line ТРК (МРК, ГÐК) : 61 [22:04:59]line Товар: 2710124130 [22:04:59]line Ðи-92-К-5 [22:04:59]line 7.890 * 63.40 [22:04:59]line = 500.23 [22:04:59]line ÐДС 12% ÐСП 1% [22:04:59]line > о реализуемом товаре [22:04:59]line ОКРУГЛЕÐИЕ: -0.23 [22:04:59]line ИТОГО: 500.00 [22:04:59]line ВнеÑено: 500.00 [22:04:59]line СДÐЧÐ: 0.00 [22:04:59]line ÐСП 1% : 4.43 [22:04:59]line ÐДС 12% : 53.12 [22:04:59]line Ðаличными: 500.00 [22:04:59]line Безнал.: 0.00 [22:04:59]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [22:04:59]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:04:59]line СÐО: Общий режим [22:04:59]line Чек 71 08.04.2024 22:05 [22:04:59]line Смена: 314 ФФД: 1.0 [22:04:59]line ЗÐМ: 0300000147 [22:04:59]line РÐМ: 0000000000091578 [22:04:59]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:04:59]line ФМ: 0000000000874657 [22:04:59]line ФД: 26858 [22:04:59]line ФПД: 193890493443484 [22:05:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T220515&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26858&fm=193890493443484&tin=02508201610067®Number=0000000000091578&sum=50000 [22:05:00]OFD Sender: Processing packet 26858 [packets to send 44, broken 43] [22:05:00]ProducePacketName [22:05:00]name=ofd_packets/00026858 [22:05:00]OFD Sender: To server: ‡•öpG, [22:05:00]CommunicateWithHost lk.salyk.kg:30040 [22:05:00]ConnectInit lk.salyk.kg [22:05:00]written 0, free lines is 4095 [22:05:00]Connected sock=10 [22:05:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 08 68 07 01 F7 9D 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 14 00 00 00 00 07 04 06 00 50 C3 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 47 00 00 00 F4 03 04 00 1B 6A 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EA 68 00 00 35 04 06 00 B0 57 A5 FC AD 9C 8B 1F 65 EB 0C 8C 6E 31 [22:05:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 93 CA 47 00 69 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EA 68 00 00 F4 03 04 00 83 11 14 66 B6 04 01 00 00 86 AE CE 00 06 04 BD 04 [22:05:00]CommunicateWithHost err = 0 [22:05:00]CheckOFDResponse [22:05:00]1017 (14) - 77093643461234 [22:05:00]1041 (16) - 0000000000874657 [22:05:00]1040 (4) - 26858 [22:05:00]1012 (4) - 08.04.2024 15:47 [22:05:00]1206 (1) - 0 [22:05:00]OFD Sender: Remove packet 26858 [22:05:00]ProducePacketName [22:05:00]name=ofd_packets/00026858 [22:05:00]NVStorageDeleteData [22:05:00]Write to MH i2c: 01 00 00 DC 48 24 [22:05:00]Write i2c OK [22:05:00]MH_I2C_Read... [22:05:00]Read from MH i2c: 01 [22:05:00]MH_I2C_Read... [22:05:00]Read from MH i2c: 01 07 00 [22:05:00]MH_I2C_Read... [22:05:00]Read from MH i2c: 01 07 00 DC 48 00 00 00 00 00 7A 0C B1 [22:05:00]RasterBufferAndPrint [22:05:00]line [22:05:00]line [22:05:00]line [22:05:00]line [22:05:00]line [22:05:00]written 0, free lines is 3197 [22:05:00]MH_Cut [22:05:00]Write to MH i2c: D1 01 00 E3 48 01 FD [22:05:00]Write i2c OK [22:05:00]MH_I2C_Read... [22:05:00]Read from MH i2c: D1 [22:05:00]MH_I2C_Read... [22:05:00]Read from MH i2c: D1 01 00 [22:05:00]MH_I2C_Read... [22:05:00]Read from MH i2c: D1 01 00 E3 48 00 FC [22:05:00]Write to MH i2c: 01 00 00 E4 48 2C [22:05:00]Write i2c OK [22:05:00]MH_I2C_Read... [22:05:00]OFD Sender: No OFD packet to send [22:05:01]*** Cut start [22:05:01]*** Partial cut [22:05:01]*** CUTSNS_PIN = 1 [22:05:01]*** CUTSNS_PIN = 0 [22:05:02]*** Brake cut motor [22:05:02]Read from MH i2c: 01 [22:05:02]MH_I2C_Read... [22:05:02]*** Stop cut motor [22:05:02]*** Cut end [22:05:02]Read from MH i2c: 01 07 00 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: 01 07 00 E4 48 00 00 00 00 00 FF 0F 41 [22:05:02]process_action close_receipt done [22:05:02]requested_data is exist [22:05:02]produce_requested_data [22:05:02]requested_item fm.sn is exist - process it [22:05:02]wFMCommunicate request_size=4 [22:05:02]MH_SAM_APDU [22:05:02]CAPDU: 80 11 00 00 [22:05:02]Write to MH i2c: E2 08 00 E5 48 80 11 00 00 00 00 00 00 A7 [22:05:02]Write i2c OK [22:05:02]MH_I2C_Read... [22:05:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:05:02]Read from MH i2c: E2 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: E2 17 00 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: E2 17 00 E5 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 FF [22:05:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:05:02]wFMCommunicate OK [22:05:02]requested_item fd.num is exist - process it [22:05:02]SAM_PROTO_GetFieldsCounters [22:05:02]wFMCommunicate request_size=4 [22:05:02]MH_SAM_APDU [22:05:02]CAPDU: 80 13 00 00 [22:05:02]Write to MH i2c: E2 08 00 E6 48 80 13 00 00 00 00 00 00 AA [22:05:02]Write i2c OK [22:05:02]MH_I2C_Read... [22:05:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:05:02]Read from MH i2c: E2 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: E2 62 00 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: E2 62 00 E6 48 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 37 [22:05:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EA 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:05:02]wFMCommunicate OK [22:05:02]SAM_PROTO_GetFieldsCounters done [22:05:02]requested_item shift.num is exist - process it [22:05:02]requested_item shift.opened is exist - process it [22:05:02]req_shift_opened [22:05:02]FM_GetShiftState [22:05:02]SAM_PROTO_GetShiftState [22:05:02]wFMCommunicate request_size=4 [22:05:02]MH_SAM_APDU [22:05:02]CAPDU: 80 13 01 00 [22:05:02]Write to MH i2c: E2 08 00 E7 48 80 13 01 00 00 00 00 00 AC [22:05:02]Write i2c OK [22:05:02]MH_I2C_Read... [22:05:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:05:02]Read from MH i2c: E2 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: E2 0E 00 [22:05:02]MH_I2C_Read... [22:05:02]Read from MH i2c: E2 0E 00 E7 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 39 [22:05:02]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:05:02]wFMCommunicate OK [22:05:02]SAM_PROTO_GetShiftState done [22:05:02]FM_GetShiftState done [22:05:02]req_shift_opened done [22:05:02]requested_item shift.open_date is exist - process it [22:05:02]req_shift_open_date [22:05:02]req_shift_open_date done [22:05:02]produce_requested_data done [22:05:02]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26858,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [22:05:02]process_action_free close_receipt [22:05:02]json_value_free [22:05:02]json_value_free done [22:05:02]process_json_proto returns [22:05:02]Send response to host [22:05:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26858,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [22:05:02]free response buf [22:05:02]execute_script done [22:05:02]execute_script returns [22:05:02]free content buf [22:05:02]Sock 9.Close socket [22:05:02]Sock 9.Thread stoped [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:37]accept exits with 8 [22:27:37]New connection [22:27:37]New thread 3066871140 created [22:27:37]Thread 3067014500 joined [22:27:37]Waiting for new connection... [22:27:37] Sock 8.Parse request [22:27:37]Sock 8.Check first char [22:27:37]Sock 8.First char is OK [22:27:37]request: POST /json_proto HTTP/1.0 [22:27:37]Method: POST [22:27:37]URL: /json_proto [22:27:37]Method is POST - this is cgi request [22:27:37]url: /json_proto [22:27:37]query_string will be loaded in cgi processing [22:27:37]execute_cgi json_proto POST (null) [22:27:37]execute_cgi path=json_proto method=POST [22:27:37]POST find Content-Length [22:27:37]Host: 172.17.35.3:8080 [22:27:37]Content-Length: 682 [22:27:37]Content-Type: application/json [22:27:37] [22:27:37]POST finish read [22:27:37]Found Content-Length = 682 [22:27:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359605", "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" : 71.80, "quantity" : 5.580, "sum" : 400.64, "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" ] } } [22:27:37]execute_script... [22:27:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359605", "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" : 71.80, "quantity" : 5.580, "sum" : 400.64, "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" ] } } [22:27:37]POST & json_proto [22:27:37]process_json_proto [22:27:37]json parsed OK: [22:27:37]protocol is kg_v1.0 [22:27:37]action value=close_receipt [22:27:37]process_action close_receipt [22:27:37]cmd_close_receipt [22:27:37]MH_GetDate [22:27:37]Write to MH i2c: F0 00 00 E8 48 1F [22:27:37]Write i2c OK [22:27:37]MH_I2C_Read... [22:27:37]Read from MH i2c: F0 [22:27:37]MH_I2C_Read... [22:27:37]Read from MH i2c: F0 09 00 [22:27:37]MH_I2C_Read... [22:27:37]Read from MH i2c: F0 09 00 E8 48 00 6A 6F 14 66 2B 11 66 64 81 [22:27:37]GetLastDocTimeStamp 1712613915 [22:27:37]current date 1712615274 [22:27:37]FM_GetShiftState [22:27:37]SAM_PROTO_GetShiftState [22:27:37]wFMCommunicate request_size=4 [22:27:37]MH_SAM_APDU [22:27:37]CAPDU: 80 13 01 00 [22:27:37]Write to MH i2c: E2 08 00 E9 48 80 13 01 00 00 00 00 00 AE [22:27:37]Write i2c OK [22:27:37]MH_I2C_Read... [22:27:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:27:37]Read from MH i2c: E2 [22:27:37]MH_I2C_Read... [22:27:37]Read from MH i2c: E2 0E 00 [22:27:37]MH_I2C_Read... [22:27:37]Read from MH i2c: E2 0E 00 E9 48 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 3B [22:27:37]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:27:37]wFMCommunicate OK [22:27:37]SAM_PROTO_GetShiftState done [22:27:37]FM_GetShiftState done [22:27:37]opened in 1712536270 [22:27:37]opened+sec_in_day 1712622670 [22:27:37]quantity*price = 40064 [22:27:37]sum+1 = 40065 [22:27:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.64 ИТОГО: 400.00 ВнеÑено: 400.00 СДÐЧÐ: 0.00 ÐСП 1% : 3.54 ÐДС 12% : 42.55 Ðаличными: 400.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 72 08.04.2024 22:27 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26859 ФПД: 88368371999200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T222754&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26859&fm=88368371999200&tin=02508201610067®Number=0000000000091578&sum=40000 [22:27:38]StoreToDocumentArchive [22:27:38]shift 314 fd 26859 [22:27:38]save to /storage/0314/doc_00026859 [22:27:38]save last doc name /storage/0314/doc_00026859 to /storage/kkm_last_doc_name [22:27:38]save OK [22:27:38]Clear old archive folders... [22:27:38]ProcessDocumentItem done err = 0, tmpTLVsize=252 [22:27:38]tlvbuf is 00FA9680 [22:27:38]SAM_PROTO_ClearQueue [22:27:38]wFMCommunicate request_size=4 [22:27:38]MH_SAM_APDU [22:27:38]CAPDU: 80 09 00 00 [22:27:38]Write to MH i2c: E2 08 00 F6 48 80 09 00 00 00 00 00 00 B0 [22:27:38]Write i2c OK [22:27:38]MH_I2C_Read... [22:27:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:27:38]Read from MH i2c: E2 [22:27:38]MH_I2C_Read... [22:27:38]Read from MH i2c: E2 03 00 [22:27:38]MH_I2C_Read... [22:27:38]Read from MH i2c: E2 03 00 F6 48 00 90 00 B2 [22:27:38]RAPDU: 90 00 [22:27:38]wFMCommunicate OK [22:27:38]SAM_PROTO_ClearQueue done [22:27:38]KKMCreateOFDPacket [22:27:38]OFDProtocolAddRootSTLVToBuf [22:27:38]FM_MakeSignedData [22:27:38]FM_MakeSignedData [22:27:38]SAM_PROTO_SignData [22:27:38]wFMCommunicate request_size=4 [22:27:38]MH_SAM_APDU [22:27:38]CAPDU: 80 0D 01 02 [22:27:38]Write to MH i2c: E2 08 00 F7 48 80 0D 01 02 00 00 00 00 B8 [22:27:38]Write i2c OK [22:27:38]MH_I2C_Read... [22:27:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:27:38]Read from MH i2c: E2 [22:27:38]MH_I2C_Read... [22:27:38]Read from MH i2c: E2 03 00 [22:27:38]MH_I2C_Read... [22:27:38]Read from MH i2c: E2 03 00 F7 48 00 90 00 B3 [22:27:38]RAPDU: 90 00 [22:27:38]wFMCommunicate OK [22:27:38]wFMCommunicate request_size=255 [22:27:38]MH_SAM_APDU [22:27:38]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 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 48 00 00 00 F4 03 04 00 6A 6F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EB 68 00 00 35 04 06 00 [22:27:38]Write to MH i2c: E2 02 01 F8 48 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 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 48 00 00 00 F4 03 04 00 6A 6F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EB 68 00 00 35 04 06 00 00 00 1F [22:27:38]Write i2c OK [22:27:38]MH_I2C_Read... [22:27:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:27:38]Read from MH i2c: E2 [22:27:38]MH_I2C_Read... [22:27:38]Read from MH i2c: E2 03 00 [22:27:38]MH_I2C_Read... [22:27:38]Read from MH i2c: E2 03 00 F8 48 00 90 00 B4 [22:27:38]RAPDU: 90 00 [22:27:38]wFMCommunicate OK [22:27:38]wFMCommunicate request_size=11 [22:27:38]MH_SAM_APDU [22:27:38]CAPDU: 80 0D 02 02 06 50 5E DD 6C 21 E0 [22:27:38]Write to MH i2c: E2 0E 00 F9 48 80 0D 02 02 06 00 50 5E DD 6C 21 E0 00 00 BF [22:27:38]Write i2c OK [22:27:38]MH_I2C_Read... [22:27:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:27:39]Read from MH i2c: E2 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: E2 03 00 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: E2 03 00 F9 48 00 90 00 B5 [22:27:39]RAPDU: 90 00 [22:27:39]wFMCommunicate OK [22:27:39]wFMCommunicate request_size=4 [22:27:39]MH_SAM_APDU [22:27:39]CAPDU: 80 0D 03 02 [22:27:39]Write to MH i2c: E2 08 00 FA 48 80 0D 03 02 00 00 00 00 BD [22:27:39]Write i2c OK [22:27:39]MH_I2C_Read... [22:27:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:27:39]Read from MH i2c: E2 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: E2 0B 00 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: E2 0B 00 FA 48 00 29 C2 B4 EF EE 73 A2 EC 90 00 3B [22:27:39]RAPDU: 29 C2 B4 EF EE 73 A2 EC 90 00 [22:27:39]wFMCommunicate OK [22:27:39]SAM_PROTO_SignData done [22:27:39]FM_MakeSignedData done [22:27:39]CreateOFDProtocolMessage [22:27:39]wFMCommunicate request_size=4 [22:27:39]MH_SAM_APDU [22:27:39]CAPDU: 80 11 00 00 [22:27:39]Write to MH i2c: E2 08 00 FB 48 80 11 00 00 00 00 00 00 BD [22:27:39]Write i2c OK [22:27:39]MH_I2C_Read... [22:27:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:27:39]Read from MH i2c: E2 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: E2 17 00 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: E2 17 00 FB 48 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 15 [22:27:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:27:39]wFMCommunicate OK [22:27:39]CreateOFDProtocolMessage done [22:27:39]OFDSenderStorePacket 26859 [22:27:39]StoreOFDPacket docnum=26859 [22:27:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 45 5C 08 01 A0 2D 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 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 48 00 00 00 F4 03 04 00 6A 6F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EB 68 00 00 35 04 06 00 50 5E DD 6C 21 E0 29 C2 B4 EF EE 73 A2 EC [22:27:39]CheckFolder [22:27:39]dirname=/storage/ofd_packets [22:27:39]CheckFolder done [22:27:39]ProducePacketName [22:27:39]name=ofd_packets/00026859 [22:27:39]NVStorageSaveData ofd_packets/00026859 [22:27:39]File name is /storage/ofd_packets/00026859 [22:27:39]Write 302 bytes [22:27:39]NVStorageSaveData done [22:27:39]OFDSenderStorePacket done [22:27:39]KKMCreateOFDPacket done [22:27:39]NVStorageSaveData kkm_last_timestamp [22:27:39]File name is /storage/kkm_last_timestamp [22:27:39]Write 4 bytes [22:27:39]NVStorageSaveData done [22:27:39]ExternCall_PrintAddStr [22:27:39]wPrintStart [22:27:39]Write to MH i2c: 01 00 00 FC 48 44 [22:27:39]Write i2c OK [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: 01 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: 01 07 00 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: 01 07 00 FC 48 00 00 00 00 00 FF 0F 59 [22:27:39]RasterBufferAndPrint [22:27:39]line Счет N : (1)359605 [22:27:39]line ИÐÐ: 02508201610067 [22:27:39]line Контрольно-КаÑÑовый Чек [22:27:39]line ПРОДÐЖР[22:27:39]line ТРК (МРК, ГÐК) : 21 [22:27:39]line Товар: 2710194210 [22:27:39]line ДТ(л)-К-5 [22:27:39]line 5.580 * 71.80 [22:27:39]line = 400.64 [22:27:39]line ÐДС 12% ÐСП 1% [22:27:39]line > о реализуемом товаре [22:27:39]line ОКРУГЛЕÐИЕ: -0.64 [22:27:39]line ИТОГО: 400.00 [22:27:39]line ВнеÑено: 400.00 [22:27:39]line СДÐЧÐ: 0.00 [22:27:39]line ÐСП 1% : 3.54 [22:27:39]line ÐДС 12% : 42.55 [22:27:39]line Ðаличными: 400.00 [22:27:39]line Безнал.: 0.00 [22:27:39]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [22:27:39]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:27:39]line СÐО: Общий режим [22:27:39]line Чек 72 08.04.2024 22:27 [22:27:39]line Смена: 314 ФФД: 1.0 [22:27:39]line ЗÐМ: 0300000147 [22:27:39]line РÐМ: 0000000000091578 [22:27:39]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:27:39]line ФМ: 0000000000874657 [22:27:39]line ФД: 26859 [22:27:39]line ФПД: 88368371999200 [22:27:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T222754&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26859&fm=88368371999200&tin=02508201610067®Number=0000000000091578&sum=40000 [22:27:39]OFD Sender: Processing packet 26859 [packets to send 44, broken 43] [22:27:39]ProducePacketName [22:27:39]name=ofd_packets/00026859 [22:27:39]OFD Sender: To server: ‡•öpG, [22:27:39]CommunicateWithHost lk.salyk.kg:30040 [22:27:39]ConnectInit lk.salyk.kg [22:27:39]written 0, free lines is 4095 [22:27:39]Connected sock=10 [22:27:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 45 5C 08 01 A0 2D 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 CC 15 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 80 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 9F 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 48 00 00 00 F4 03 04 00 6A 6F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EB 68 00 00 35 04 06 00 50 5E DD 6C 21 E0 29 C2 B4 EF EE 73 A2 EC [22:27:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 04 D5 47 00 11 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EB 68 00 00 F4 03 04 00 D3 16 14 66 B6 04 01 00 00 B4 0D 7F C5 B0 C3 BD C5 [22:27:39]CommunicateWithHost err = 0 [22:27:39]CheckOFDResponse [22:27:39]1017 (14) - 77093643461234 [22:27:39]1041 (16) - 0000000000874657 [22:27:39]1040 (4) - 26859 [22:27:39]1012 (4) - 08.04.2024 16:09 [22:27:39]1206 (1) - 0 [22:27:39]OFD Sender: Remove packet 26859 [22:27:39]ProducePacketName [22:27:39]name=ofd_packets/00026859 [22:27:39]NVStorageDeleteData [22:27:39]Write to MH i2c: 01 00 00 27 49 70 [22:27:39]Write i2c OK [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: 01 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: 01 07 00 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: 01 07 00 27 49 00 00 00 00 00 71 0C F4 [22:27:39]RasterBufferAndPrint [22:27:39]line [22:27:39]line [22:27:39]line [22:27:39]line [22:27:39]line [22:27:39]written 0, free lines is 3187 [22:27:39]MH_Cut [22:27:39]Write to MH i2c: D1 01 00 2E 49 01 49 [22:27:39]Write i2c OK [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: D1 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: D1 01 00 [22:27:39]MH_I2C_Read... [22:27:39]Read from MH i2c: D1 01 00 2E 49 00 48 [22:27:39]Write to MH i2c: 01 00 00 2F 49 78 [22:27:39]Write i2c OK [22:27:39]MH_I2C_Read... [22:27:40]OFD Sender: No OFD packet to send [22:27:41]*** Cut start [22:27:41]*** Partial cut [22:27:41]*** CUTSNS_PIN = 1 [22:27:41]*** CUTSNS_PIN = 0 [22:27:41]*** Brake cut motor [22:27:41]Read from MH i2c: 01 [22:27:41]MH_I2C_Read... [22:27:41]*** Stop cut motor [22:27:41]*** Cut end [22:27:41]Read from MH i2c: 01 07 00 [22:27:41]MH_I2C_Read... [22:27:41]Read from MH i2c: 01 07 00 2F 49 00 00 00 00 00 FF 0F 8D [22:27:41]process_action close_receipt done [22:27:41]requested_data is exist [22:27:41]produce_requested_data [22:27:41]requested_item fm.sn is exist - process it [22:27:41]wFMCommunicate request_size=4 [22:27:41]MH_SAM_APDU [22:27:41]CAPDU: 80 11 00 00 [22:27:41]Write to MH i2c: E2 08 00 30 49 80 11 00 00 00 00 00 00 F3 [22:27:41]Write i2c OK [22:27:41]MH_I2C_Read... [22:27:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:27:41]Read from MH i2c: E2 [22:27:41]MH_I2C_Read... [22:27:41]Read from MH i2c: E2 17 00 [22:27:41]MH_I2C_Read... [22:27:41]Read from MH i2c: E2 17 00 30 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 4B [22:27:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:27:41]wFMCommunicate OK [22:27:41]requested_item fd.num is exist - process it [22:27:41]SAM_PROTO_GetFieldsCounters [22:27:41]wFMCommunicate request_size=4 [22:27:41]MH_SAM_APDU [22:27:41]CAPDU: 80 13 00 00 [22:27:41]Write to MH i2c: E2 08 00 31 49 80 13 00 00 00 00 00 00 F6 [22:27:41]Write i2c OK [22:27:41]MH_I2C_Read... [22:27:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:27:41]Read from MH i2c: E2 [22:27:41]MH_I2C_Read... [22:27:41]Read from MH i2c: E2 62 00 [22:27:41]MH_I2C_Read... [22:27:41]Read from MH i2c: E2 62 00 31 49 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [22:27:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EB 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:27:41]wFMCommunicate OK [22:27:41]SAM_PROTO_GetFieldsCounters done [22:27:41]requested_item shift.num is exist - process it [22:27:41]requested_item shift.opened is exist - process it [22:27:41]req_shift_opened [22:27:41]FM_GetShiftState [22:27:41]SAM_PROTO_GetShiftState [22:27:41]wFMCommunicate request_size=4 [22:27:41]MH_SAM_APDU [22:27:41]CAPDU: 80 13 01 00 [22:27:41]Write to MH i2c: E2 08 00 32 49 80 13 01 00 00 00 00 00 F8 [22:27:41]Write i2c OK [22:27:41]MH_I2C_Read... [22:27:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:27:42]Read from MH i2c: E2 [22:27:42]MH_I2C_Read... [22:27:42]Read from MH i2c: E2 0E 00 [22:27:42]MH_I2C_Read... [22:27:42]Read from MH i2c: E2 0E 00 32 49 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 85 [22:27:42]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:27:42]wFMCommunicate OK [22:27:42]SAM_PROTO_GetShiftState done [22:27:42]FM_GetShiftState done [22:27:42]req_shift_opened done [22:27:42]requested_item shift.open_date is exist - process it [22:27:42]req_shift_open_date [22:27:42]req_shift_open_date done [22:27:42]produce_requested_data done [22:27:42]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26859,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [22:27:42]process_action_free close_receipt [22:27:42]json_value_free [22:27:42]json_value_free done [22:27:42]process_json_proto returns [22:27:42]Send response to host [22:27:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26859,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [22:27:42]free response buf [22:27:42]execute_script done [22:27:42]execute_script returns [22:27:42]free content buf [22:27:42]Sock 8.Close socket [22:27:42]Sock 8.Thread stoped [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:05]OFD Sender: No OFD packet to send [22:41:10]OFD Sender: No OFD packet to send [22:41:15]OFD Sender: No OFD packet to send [22:41:20]OFD Sender: No OFD packet to send [22:41:25]OFD Sender: No OFD packet to send [22:41:30]OFD Sender: No OFD packet to send [22:41:35]OFD Sender: No OFD packet to send [22:41:40]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:31]OFD Sender: No OFD packet to send [22:44:36]OFD Sender: No OFD packet to send [22:44:41]OFD Sender: No OFD packet to send [22:44:46]OFD Sender: No OFD packet to send [22:44:51]OFD Sender: No OFD packet to send [22:44:56]OFD Sender: No OFD packet to send [22:45:01]OFD Sender: No OFD packet to send [22:45:06]OFD Sender: No OFD packet to send [22:45:11]OFD Sender: No OFD packet to send [22:45:16]OFD Sender: No OFD packet to send [22:45:21]OFD Sender: No OFD packet to send [22:45:26]OFD Sender: No OFD packet to send [22:45:31]OFD Sender: No OFD packet to send [22:45:36]OFD Sender: No OFD packet to send [22:45:41]OFD Sender: No OFD packet to send [22:45:44]accept exits with 9 [22:45:44]New connection [22:45:44]New thread 3067014500 created [22:45:44]Thread 3066871140 joined [22:45:44]Waiting for new connection... [22:45:44] Sock 9.Parse request [22:45:44]Sock 9.Check first char [22:45:44]Sock 9.First char is OK [22:45:44]request: POST /json_proto HTTP/1.0 [22:45:44]Method: POST [22:45:44]URL: /json_proto [22:45:44]Method is POST - this is cgi request [22:45:44]url: /json_proto [22:45:44]query_string will be loaded in cgi processing [22:45:44]execute_cgi json_proto POST (null) [22:45:44]execute_cgi path=json_proto method=POST [22:45:44]POST find Content-Length [22:45:44]Host: 172.17.35.3:8080 [22:45:44]Content-Length: 678 [22:45:44]Content-Type: application/json [22:45:44] [22:45:44]POST finish read [22:45:44]Found Content-Length = 678 [22:45:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359606", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 11.050, "sum" : 700.57, "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" ] } } [22:45:44]execute_script... [22:45:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359606", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 11.050, "sum" : 700.57, "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" ] } } [22:45:44]POST & json_proto [22:45:44]process_json_proto [22:45:44]json parsed OK: [22:45:44]protocol is kg_v1.0 [22:45:44]action value=close_receipt [22:45:44]process_action close_receipt [22:45:44]cmd_close_receipt [22:45:44]MH_GetDate [22:45:44]Write to MH i2c: F0 00 00 33 49 6B [22:45:44]Write i2c OK [22:45:44]MH_I2C_Read... [22:45:44]Read from MH i2c: F0 [22:45:44]MH_I2C_Read... [22:45:44]Read from MH i2c: F0 09 00 [22:45:44]MH_I2C_Read... [22:45:44]Read from MH i2c: F0 09 00 33 49 00 A9 73 14 66 2B 11 66 64 10 [22:45:44]GetLastDocTimeStamp 1712615274 [22:45:44]current date 1712616361 [22:45:44]FM_GetShiftState [22:45:44]SAM_PROTO_GetShiftState [22:45:44]wFMCommunicate request_size=4 [22:45:44]MH_SAM_APDU [22:45:44]CAPDU: 80 13 01 00 [22:45:44]Write to MH i2c: E2 08 00 34 49 80 13 01 00 00 00 00 00 FA [22:45:44]Write i2c OK [22:45:44]MH_I2C_Read... [22:45:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:45:44]Read from MH i2c: E2 [22:45:44]MH_I2C_Read... [22:45:44]Read from MH i2c: E2 0E 00 [22:45:44]MH_I2C_Read... [22:45:44]Read from MH i2c: E2 0E 00 34 49 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 87 [22:45:44]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:45:44]wFMCommunicate OK [22:45:44]SAM_PROTO_GetShiftState done [22:45:44]FM_GetShiftState done [22:45:44]opened in 1712536270 [22:45:44]opened+sec_in_day 1712622670 [22:45:44]quantity*price = 70057 [22:45:44]sum+1 = 70058 [22:45:44]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.57 ИТОГО: 700.00 ВнеÑено: 700.00 СДÐЧÐ: 0.00 ÐСП 1% : 6.20 ÐДС 12% : 74.40 Ðаличными: 700.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 73 08.04.2024 22:46 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26860 ФПД: 24379515043944 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T224601&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26860&fm=24379515043944&tin=02508201610067®Number=0000000000091578&sum=70000 [22:45:45]StoreToDocumentArchive [22:45:45]shift 314 fd 26860 [22:45:45]save to /storage/0314/doc_00026860 [22:45:45]save last doc name /storage/0314/doc_00026860 to /storage/kkm_last_doc_name [22:45:45]save OK [22:45:45]Clear old archive folders... [22:45:45]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:45:45]tlvbuf is 00E9A8F0 [22:45:45]SAM_PROTO_ClearQueue [22:45:45]wFMCommunicate request_size=4 [22:45:45]MH_SAM_APDU [22:45:45]CAPDU: 80 09 00 00 [22:45:45]Write to MH i2c: E2 08 00 41 49 80 09 00 00 00 00 00 00 FC [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:45:45]Read from MH i2c: E2 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 41 49 00 90 00 FE [22:45:45]RAPDU: 90 00 [22:45:45]wFMCommunicate OK [22:45:45]SAM_PROTO_ClearQueue done [22:45:45]KKMCreateOFDPacket [22:45:45]OFDProtocolAddRootSTLVToBuf [22:45:45]FM_MakeSignedData [22:45:45]FM_MakeSignedData [22:45:45]SAM_PROTO_SignData [22:45:45]wFMCommunicate request_size=4 [22:45:45]MH_SAM_APDU [22:45:45]CAPDU: 80 0D 01 02 [22:45:45]Write to MH i2c: E2 08 00 42 49 80 0D 01 02 00 00 00 00 04 [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:45:45]Read from MH i2c: E2 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 42 49 00 90 00 FF [22:45:45]RAPDU: 90 00 [22:45:45]wFMCommunicate OK [22:45:45]wFMCommunicate request_size=255 [22:45:45]MH_SAM_APDU [22:45:45]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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 49 00 00 00 F4 03 04 00 A9 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EC 68 00 00 35 04 06 00 16 [22:45:45]Write to MH i2c: E2 02 01 43 49 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 49 00 00 00 F4 03 04 00 A9 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EC 68 00 00 35 04 06 00 16 00 00 27 [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:45:45]Read from MH i2c: E2 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 43 49 00 90 00 00 [22:45:45]RAPDU: 90 00 [22:45:45]wFMCommunicate OK [22:45:45]wFMCommunicate request_size=10 [22:45:45]MH_SAM_APDU [22:45:45]CAPDU: 80 0D 02 02 05 2C 4C 55 80 68 [22:45:45]Write to MH i2c: E2 0D 00 44 49 80 0D 02 02 05 00 2C 4C 55 80 68 00 00 C6 [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:45:45]Read from MH i2c: E2 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 03 00 44 49 00 90 00 01 [22:45:45]RAPDU: 90 00 [22:45:45]wFMCommunicate OK [22:45:45]wFMCommunicate request_size=4 [22:45:45]MH_SAM_APDU [22:45:45]CAPDU: 80 0D 03 02 [22:45:45]Write to MH i2c: E2 08 00 45 49 80 0D 03 02 00 00 00 00 09 [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:45:45]Read from MH i2c: E2 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 0B 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 0B 00 45 49 00 8C EF 45 A9 05 73 95 57 90 00 D7 [22:45:45]RAPDU: 8C EF 45 A9 05 73 95 57 90 00 [22:45:45]wFMCommunicate OK [22:45:45]SAM_PROTO_SignData done [22:45:45]FM_MakeSignedData done [22:45:45]CreateOFDProtocolMessage [22:45:45]wFMCommunicate request_size=4 [22:45:45]MH_SAM_APDU [22:45:45]CAPDU: 80 11 00 00 [22:45:45]Write to MH i2c: E2 08 00 46 49 80 11 00 00 00 00 00 00 09 [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:45:45]Read from MH i2c: E2 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 17 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: E2 17 00 46 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 61 [22:45:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:45:45]wFMCommunicate OK [22:45:45]CreateOFDProtocolMessage done [22:45:45]OFDSenderStorePacket 26860 [22:45:45]StoreOFDPacket docnum=26860 [22:45:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 9B 0B 07 01 67 41 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 49 00 00 00 F4 03 04 00 A9 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EC 68 00 00 35 04 06 00 16 2C 4C 55 80 68 8C EF 45 A9 05 73 95 57 [22:45:45]CheckFolder [22:45:45]dirname=/storage/ofd_packets [22:45:45]CheckFolder done [22:45:45]ProducePacketName [22:45:45]name=ofd_packets/00026860 [22:45:45]NVStorageSaveData ofd_packets/00026860 [22:45:45]File name is /storage/ofd_packets/00026860 [22:45:45]Write 301 bytes [22:45:45]NVStorageSaveData done [22:45:45]OFDSenderStorePacket done [22:45:45]KKMCreateOFDPacket done [22:45:45]NVStorageSaveData kkm_last_timestamp [22:45:45]File name is /storage/kkm_last_timestamp [22:45:45]Write 4 bytes [22:45:45]NVStorageSaveData done [22:45:45]ExternCall_PrintAddStr [22:45:45]wPrintStart [22:45:45]Write to MH i2c: 01 00 00 47 49 90 [22:45:45]Write i2c OK [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: 01 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: 01 07 00 [22:45:45]MH_I2C_Read... [22:45:45]Read from MH i2c: 01 07 00 47 49 00 00 00 00 00 FF 0F A5 [22:45:45]RasterBufferAndPrint [22:45:45]line Счет N : (1)359606 [22:45:45]line ИÐÐ: 02508201610067 [22:45:45]line Контрольно-КаÑÑовый Чек [22:45:45]line ПРОДÐЖР[22:45:45]line ТРК (МРК, ГÐК) : 51 [22:45:45]line Товар: 2710124130 [22:45:45]line Ðи-92-К-5 [22:45:45]line 11.050 * 63.40 [22:45:45]line = 700.57 [22:45:45]line ÐДС 12% ÐСП 1% [22:45:45]line > о реализуемом товаре [22:45:45]line ОКРУГЛЕÐИЕ: -0.57 [22:45:45]line ИТОГО: 700.00 [22:45:45]line ВнеÑено: 700.00 [22:45:45]line СДÐЧÐ: 0.00 [22:45:45]line ÐСП 1% : 6.20 [22:45:45]line ÐДС 12% : 74.40 [22:45:45]line Ðаличными: 700.00 [22:45:45]line Безнал.: 0.00 [22:45:45]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [22:45:45]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:45:45]line СÐО: Общий режим [22:45:45]line Чек 73 08.04.2024 22:46 [22:45:45]line Смена: 314 ФФД: 1.0 [22:45:45]line ЗÐМ: 0300000147 [22:45:45]line РÐМ: 0000000000091578 [22:45:45]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:45:45]line ФМ: 0000000000874657 [22:45:45]line ФД: 26860 [22:45:45]line ФПД: 24379515043944 [22:45:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T224601&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26860&fm=24379515043944&tin=02508201610067®Number=0000000000091578&sum=70000 [22:45:46]OFD Sender: Processing packet 26860 [packets to send 44, broken 43] [22:45:46]ProducePacketName [22:45:46]name=ofd_packets/00026860 [22:45:46]OFD Sender: To server: ‡•öpG, [22:45:46]CommunicateWithHost lk.salyk.kg:30040 [22:45:46]ConnectInit lk.salyk.kg [22:45:46]written 0, free lines is 4095 [22:45:46]Connected sock=10 [22:45:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 9B 0B 07 01 67 41 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 2A 2B 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 A9 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 10 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 49 00 00 00 F4 03 04 00 A9 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EC 68 00 00 35 04 06 00 16 2C 4C 55 80 68 8C EF 45 A9 05 73 95 57 [22:45:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 46 B9 47 00 22 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EC 68 00 00 F4 03 04 00 12 1B 14 66 B6 04 01 00 00 FA CB 0E 3F 1C 78 D7 73 [22:45:46]CommunicateWithHost err = 0 [22:45:46]CheckOFDResponse [22:45:46]1017 (14) - 77093643461234 [22:45:46]1041 (16) - 0000000000874657 [22:45:46]1040 (4) - 26860 [22:45:46]1012 (4) - 08.04.2024 16:28 [22:45:46]1206 (1) - 0 [22:45:46]OFD Sender: Remove packet 26860 [22:45:46]ProducePacketName [22:45:46]name=ofd_packets/00026860 [22:45:46]NVStorageDeleteData [22:45:46]Write to MH i2c: 01 00 00 72 49 BB [22:45:46]Write i2c OK [22:45:46]MH_I2C_Read... [22:45:46]Read from MH i2c: 01 [22:45:46]MH_I2C_Read... [22:45:46]Read from MH i2c: 01 07 00 [22:45:46]MH_I2C_Read... [22:45:46]Read from MH i2c: 01 07 00 72 49 00 00 00 00 00 6C 0C 3A [22:45:46]RasterBufferAndPrint [22:45:46]line [22:45:46]line [22:45:46]line [22:45:46]line [22:45:46]line [22:45:46]written 0, free lines is 3184 [22:45:46]MH_Cut [22:45:46]Write to MH i2c: D1 01 00 79 49 01 94 [22:45:46]Write i2c OK [22:45:46]MH_I2C_Read... [22:45:46]Read from MH i2c: D1 [22:45:46]MH_I2C_Read... [22:45:46]Read from MH i2c: D1 01 00 [22:45:46]MH_I2C_Read... [22:45:46]Read from MH i2c: D1 01 00 79 49 00 93 [22:45:46]Write to MH i2c: 01 00 00 7A 49 C3 [22:45:46]Write i2c OK [22:45:46]MH_I2C_Read... [22:45:47]OFD Sender: No OFD packet to send [22:45:47]*** Cut start [22:45:47]*** Partial cut [22:45:47]*** CUTSNS_PIN = 1 [22:45:47]*** CUTSNS_PIN = 0 [22:45:48]*** Brake cut motor [22:45:48]Read from MH i2c: 01 [22:45:48]MH_I2C_Read... [22:45:48]*** Stop cut motor [22:45:48]*** Cut end [22:45:48]Read from MH i2c: 01 07 00 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: 01 07 00 7A 49 00 00 00 00 00 FF 0F D8 [22:45:48]process_action close_receipt done [22:45:48]requested_data is exist [22:45:48]produce_requested_data [22:45:48]requested_item fm.sn is exist - process it [22:45:48]wFMCommunicate request_size=4 [22:45:48]MH_SAM_APDU [22:45:48]CAPDU: 80 11 00 00 [22:45:48]Write to MH i2c: E2 08 00 7B 49 80 11 00 00 00 00 00 00 3E [22:45:48]Write i2c OK [22:45:48]MH_I2C_Read... [22:45:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:45:48]Read from MH i2c: E2 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: E2 17 00 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: E2 17 00 7B 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 96 [22:45:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:45:48]wFMCommunicate OK [22:45:48]requested_item fd.num is exist - process it [22:45:48]SAM_PROTO_GetFieldsCounters [22:45:48]wFMCommunicate request_size=4 [22:45:48]MH_SAM_APDU [22:45:48]CAPDU: 80 13 00 00 [22:45:48]Write to MH i2c: E2 08 00 7C 49 80 13 00 00 00 00 00 00 41 [22:45:48]Write i2c OK [22:45:48]MH_I2C_Read... [22:45:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:45:48]Read from MH i2c: E2 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: E2 62 00 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: E2 62 00 7C 49 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [22:45:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EC 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:45:48]wFMCommunicate OK [22:45:48]SAM_PROTO_GetFieldsCounters done [22:45:48]requested_item shift.num is exist - process it [22:45:48]requested_item shift.opened is exist - process it [22:45:48]req_shift_opened [22:45:48]FM_GetShiftState [22:45:48]SAM_PROTO_GetShiftState [22:45:48]wFMCommunicate request_size=4 [22:45:48]MH_SAM_APDU [22:45:48]CAPDU: 80 13 01 00 [22:45:48]Write to MH i2c: E2 08 00 7D 49 80 13 01 00 00 00 00 00 43 [22:45:48]Write i2c OK [22:45:48]MH_I2C_Read... [22:45:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:45:48]Read from MH i2c: E2 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: E2 0E 00 [22:45:48]MH_I2C_Read... [22:45:48]Read from MH i2c: E2 0E 00 7D 49 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 D0 [22:45:48]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:45:48]wFMCommunicate OK [22:45:48]SAM_PROTO_GetShiftState done [22:45:48]FM_GetShiftState done [22:45:48]req_shift_opened done [22:45:48]requested_item shift.open_date is exist - process it [22:45:48]req_shift_open_date [22:45:48]req_shift_open_date done [22:45:48]produce_requested_data done [22:45:48]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26860,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [22:45:48]process_action_free close_receipt [22:45:48]json_value_free [22:45:48]json_value_free done [22:45:48]process_json_proto returns [22:45:48]Send response to host [22:45:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26860,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [22:45:48]free response buf [22:45:48]execute_script done [22:45:48]execute_script returns [22:45:48]free content buf [22:45:48]Sock 9.Close socket [22:45:48]Sock 9.Thread stoped [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46:47]OFD Sender: No OFD packet to send [22:46:52]OFD Sender: No OFD packet to send [22:46:55]accept exits with 8 [22:46:55]New connection [22:46:55]New thread 3066871140 created [22:46:55]Thread 3067014500 joined [22:46:55]Waiting for new connection... [22:46:55] Sock 8.Parse request [22:46:55]Sock 8.Check first char [22:46:55]Sock 8.First char is OK [22:46:55]request: POST /json_proto HTTP/1.0 [22:46:55]Method: POST [22:46:55]URL: /json_proto [22:46:55]Method is POST - this is cgi request [22:46:55]url: /json_proto [22:46:55]query_string will be loaded in cgi processing [22:46:55]execute_cgi json_proto POST (null) [22:46:55]execute_cgi path=json_proto method=POST [22:46:55]POST find Content-Length [22:46:55]Host: 172.17.35.3:8080 [22:46:55]Content-Length: 819 [22:46:55]Content-Type: application/json [22:46:55] [22:46:55]POST finish read [22:46:55]Found Content-Length = 819 [22:46:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359607", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:55]execute_script... [22:46:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359607", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 15.780, "sum" : 1000.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 1000.45 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:55]POST & json_proto [22:46:55]process_json_proto [22:46:55]json parsed OK: [22:46:55]protocol is kg_v1.0 [22:46:55]action value=close_receipt [22:46:55]process_action close_receipt [22:46:55]cmd_close_receipt [22:46:55]MH_GetDate [22:46:55]Write to MH i2c: F0 00 00 7E 49 B6 [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: F0 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: F0 09 00 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: F0 09 00 7E 49 00 F0 73 14 66 2B 11 66 64 A2 [22:46:55]GetLastDocTimeStamp 1712616361 [22:46:55]current date 1712616432 [22:46:55]FM_GetShiftState [22:46:55]SAM_PROTO_GetShiftState [22:46:55]wFMCommunicate request_size=4 [22:46:55]MH_SAM_APDU [22:46:55]CAPDU: 80 13 01 00 [22:46:55]Write to MH i2c: E2 08 00 7F 49 80 13 01 00 00 00 00 00 45 [22:46:55]Write i2c OK [22:46:55]MH_I2C_Read... [22:46:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:55]Read from MH i2c: E2 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: E2 0E 00 [22:46:55]MH_I2C_Read... [22:46:55]Read from MH i2c: E2 0E 00 7F 49 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 D2 [22:46:55]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:46:55]wFMCommunicate OK [22:46:55]SAM_PROTO_GetShiftState done [22:46:55]FM_GetShiftState done [22:46:55]opened in 1712536270 [22:46:55]opened+sec_in_day 1712622670 [22:46:55]quantity*price = 100045 [22:46:55]sum+1 = 100046 [22:46:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.45 ÐСП 1% : 8.85 ÐДС 12% : 106.24 Ðаличными: 0.00 Безнал.: 1000.45 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 74 08.04.2024 22:47 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000874657 ФД: 26861 ФПД: 64947431294810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T224712&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26861&fm=64947431294810&tin=02508201610067®Number=0000000000091578&sum=100045 [22:46:56]StoreToDocumentArchive [22:46:56]shift 314 fd 26861 [22:46:56]save to /storage/0314/doc_00026861 [22:46:56]save last doc name /storage/0314/doc_00026861 to /storage/kkm_last_doc_name [22:46:56]save OK [22:46:56]Clear old archive folders... [22:46:56]ProcessDocumentItem done err = 0, tmpTLVsize=251 [22:46:56]tlvbuf is 00E842F0 [22:46:56]SAM_PROTO_ClearQueue [22:46:56]wFMCommunicate request_size=4 [22:46:56]MH_SAM_APDU [22:46:56]CAPDU: 80 09 00 00 [22:46:56]Write to MH i2c: E2 08 00 8C 49 80 09 00 00 00 00 00 00 47 [22:46:56]Write i2c OK [22:46:56]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 8C 49 00 90 00 49 [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]SAM_PROTO_ClearQueue done [22:46:57]KKMCreateOFDPacket [22:46:57]OFDProtocolAddRootSTLVToBuf [22:46:57]FM_MakeSignedData [22:46:57]FM_MakeSignedData [22:46:57]SAM_PROTO_SignData [22:46:57]wFMCommunicate request_size=4 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 01 02 [22:46:57]Write to MH i2c: E2 08 00 8D 49 80 0D 01 02 00 00 00 00 4F [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 8D 49 00 90 00 4A [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]wFMCommunicate request_size=255 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F0 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 ED 68 00 00 35 04 06 00 3B [22:46:57]Write to MH i2c: E2 02 01 8E 49 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F0 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 ED 68 00 00 35 04 06 00 3B 00 00 2F [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]OFD Sender: No OFD packet to send [22:46:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 8E 49 00 90 00 4B [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]wFMCommunicate request_size=10 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 02 02 05 11 C0 92 47 5A [22:46:57]Write to MH i2c: E2 0D 00 8F 49 80 0D 02 02 05 00 11 C0 92 47 5A 00 00 60 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 03 00 8F 49 00 90 00 4C [22:46:57]RAPDU: 90 00 [22:46:57]wFMCommunicate OK [22:46:57]wFMCommunicate request_size=4 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 0D 03 02 [22:46:57]Write to MH i2c: E2 08 00 90 49 80 0D 03 02 00 00 00 00 54 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 0B 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 0B 00 90 49 00 40 86 51 76 7B 3B 3F 38 90 00 0F [22:46:57]RAPDU: 40 86 51 76 7B 3B 3F 38 90 00 [22:46:57]wFMCommunicate OK [22:46:57]SAM_PROTO_SignData done [22:46:57]FM_MakeSignedData done [22:46:57]CreateOFDProtocolMessage [22:46:57]wFMCommunicate request_size=4 [22:46:57]MH_SAM_APDU [22:46:57]CAPDU: 80 11 00 00 [22:46:57]Write to MH i2c: E2 08 00 91 49 80 11 00 00 00 00 00 00 54 [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:57]Read from MH i2c: E2 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 17 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: E2 17 00 91 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 AC [22:46:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:46:57]wFMCommunicate OK [22:46:57]CreateOFDProtocolMessage done [22:46:57]OFDSenderStorePacket 26861 [22:46:57]StoreOFDPacket docnum=26861 [22:46:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 42 9F 07 01 50 AA 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F0 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 ED 68 00 00 35 04 06 00 3B 11 C0 92 47 5A 40 86 51 76 7B 3B 3F 38 [22:46:57]CheckFolder [22:46:57]dirname=/storage/ofd_packets [22:46:57]CheckFolder done [22:46:57]ProducePacketName [22:46:57]name=ofd_packets/00026861 [22:46:57]NVStorageSaveData ofd_packets/00026861 [22:46:57]File name is /storage/ofd_packets/00026861 [22:46:57]Write 301 bytes [22:46:57]NVStorageSaveData done [22:46:57]OFDSenderStorePacket done [22:46:57]KKMCreateOFDPacket done [22:46:57]NVStorageSaveData kkm_last_timestamp [22:46:57]File name is /storage/kkm_last_timestamp [22:46:57]OFD Sender: Processing packet 26861 [packets to send 44, broken 43] [22:46:57]ProducePacketName [22:46:57]name=ofd_packets/00026861 [22:46:57]OFD Sender: To server: ‡•öpG, [22:46:57]CommunicateWithHost lk.salyk.kg:30040 [22:46:57]ConnectInit lk.salyk.kg [22:46:57]Write 4 bytes [22:46:57]NVStorageSaveData done [22:46:57]ExternCall_PrintAddStr [22:46:57]wPrintStart [22:46:57]Write to MH i2c: 01 00 00 92 49 DB [22:46:57]Write i2c OK [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: 01 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: 01 07 00 [22:46:57]MH_I2C_Read... [22:46:57]Read from MH i2c: 01 07 00 92 49 00 00 00 00 00 FF 0F F0 [22:46:57]RasterBufferAndPrint [22:46:57]line Счет N : (1)359607 [22:46:57]line ИÐÐ: 02508201610067 [22:46:57]line Контрольно-КаÑÑовый Чек [22:46:57]line ПРОДÐЖР[22:46:57]line ТРК (МРК, ГÐК) : 61 [22:46:57]line Товар: 2710124130 [22:46:57]line Ðи-92-К-5 [22:46:57]line 15.780 * 63.40 [22:46:57]line = 1000.45 [22:46:57]line ÐДС 12% ÐСП 1% [22:46:57]line > о реализуемом товаре [22:46:57]line ИТОГО: 1000.45 [22:46:57]line ÐСП 1% : 8.85 [22:46:57]line ÐДС 12% : 106.24 [22:46:57]line Ðаличными: 0.00 [22:46:57]line Безнал.: 1000.45 [22:46:57]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [22:46:57]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [22:46:57]line СÐО: Общий режим [22:46:57]line Чек 74 08.04.2024 22:47 [22:46:57]line Смена: 314 ФФД: 1.0 [22:46:57]line ЗÐМ: 0300000147 [22:46:57]line РÐМ: 0000000000091578 [22:46:57]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [22:46:57]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [22:46:57]line ФМ: 0000000000874657 [22:46:57]line ФД: 26861 [22:46:57]line ФПД: 64947431294810 [22:46:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T224712&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26861&fm=64947431294810&tin=02508201610067®Number=0000000000091578&sum=100045 [22:46:57]Connected sock=11 [22:46:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 42 9F 07 01 50 AA 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 A4 3D 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 CD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 CD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 F0 73 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 ED 68 00 00 35 04 06 00 3B 11 C0 92 47 5A 40 86 51 76 7B 3B 3F 38 [22:46:57]written 0, free lines is 4095 [22:46:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 42 9A 47 00 74 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 ED 68 00 00 F4 03 04 00 59 1B 14 66 B6 04 01 00 00 7E AE 82 0E 33 3E 78 62 [22:46:58]CommunicateWithHost err = 0 [22:46:58]CheckOFDResponse [22:46:58]1017 (14) - 77093643461234 [22:46:58]1041 (16) - 0000000000874657 [22:46:58]1040 (4) - 26861 [22:46:58]1012 (4) - 08.04.2024 16:29 [22:46:58]1206 (1) - 0 [22:46:58]OFD Sender: Remove packet 26861 [22:46:58]ProducePacketName [22:46:58]name=ofd_packets/00026861 [22:46:58]NVStorageDeleteData [22:46:58]Write to MH i2c: 01 00 00 BC 49 05 [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: 01 07 00 BC 49 00 00 00 00 00 89 0C A1 [22:46:58]RasterBufferAndPrint [22:46:58]line [22:46:58]line [22:46:58]line [22:46:58]line [22:46:58]line [22:46:58]written 0, free lines is 3213 [22:46:58]MH_Cut [22:46:58]Write to MH i2c: D1 01 00 C3 49 01 DE [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: D1 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: D1 01 00 [22:46:58]MH_I2C_Read... [22:46:58]Read from MH i2c: D1 01 00 C3 49 00 DD [22:46:58]Write to MH i2c: 01 00 00 C4 49 0D [22:46:58]Write i2c OK [22:46:58]MH_I2C_Read... [22:46:58]OFD Sender: No OFD packet to send [22:46:59]*** Cut start [22:46:59]*** Partial cut [22:46:59]*** CUTSNS_PIN = 1 [22:46:59]*** CUTSNS_PIN = 0 [22:46:59]*** Brake cut motor [22:47:00]Read from MH i2c: 01 [22:47:00]MH_I2C_Read... [22:47:00]*** Stop cut motor [22:47:00]*** Cut end [22:47:00]Read from MH i2c: 01 07 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: 01 07 00 C4 49 00 00 00 00 00 FF 0F 22 [22:47:00]process_action close_receipt done [22:47:00]requested_data is exist [22:47:00]produce_requested_data [22:47:00]requested_item fm.sn is exist - process it [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 11 00 00 [22:47:00]Write to MH i2c: E2 08 00 C5 49 80 11 00 00 00 00 00 00 88 [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 17 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 17 00 C5 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 E0 [22:47:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [22:47:00]wFMCommunicate OK [22:47:00]requested_item fd.num is exist - process it [22:47:00]SAM_PROTO_GetFieldsCounters [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 13 00 00 [22:47:00]Write to MH i2c: E2 08 00 C6 49 80 13 00 00 00 00 00 00 8B [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 62 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 62 00 C6 49 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 ED 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [22:47:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 ED 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:47:00]wFMCommunicate OK [22:47:00]SAM_PROTO_GetFieldsCounters done [22:47:00]requested_item shift.num is exist - process it [22:47:00]requested_item shift.opened is exist - process it [22:47:00]req_shift_opened [22:47:00]FM_GetShiftState [22:47:00]SAM_PROTO_GetShiftState [22:47:00]wFMCommunicate request_size=4 [22:47:00]MH_SAM_APDU [22:47:00]CAPDU: 80 13 01 00 [22:47:00]Write to MH i2c: E2 08 00 C7 49 80 13 01 00 00 00 00 00 8D [22:47:00]Write i2c OK [22:47:00]MH_I2C_Read... [22:47:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:47:00]Read from MH i2c: E2 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 0E 00 [22:47:00]MH_I2C_Read... [22:47:00]Read from MH i2c: E2 0E 00 C7 49 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 1A [22:47:00]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [22:47:00]wFMCommunicate OK [22:47:00]SAM_PROTO_GetShiftState done [22:47:00]FM_GetShiftState done [22:47:00]req_shift_opened done [22:47:00]requested_item shift.open_date is exist - process it [22:47:00]req_shift_open_date [22:47:00]req_shift_open_date done [22:47:00]produce_requested_data done [22:47:00]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26861,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [22:47:00]process_action_free close_receipt [22:47:00]json_value_free [22:47:00]json_value_free done [22:47:00]process_json_proto returns [22:47:00]Send response to host [22:47:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26861,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [22:47:00]free response buf [22:47:00]execute_script done [22:47:00]execute_script returns [22:47:00]free content buf [22:47:00]Sock 8.Close socket [22:47:00]Sock 8.Thread stoped [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55: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:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:31]OFD Sender: No OFD packet to send [23:33:36]OFD Sender: No OFD packet to send [23:33:41]OFD Sender: No OFD packet to send [23:33:46]OFD Sender: No OFD packet to send [23:33:51]OFD Sender: No OFD packet to send [23:33:56]OFD Sender: No OFD packet to send [23:34:01]OFD Sender: No OFD packet to send [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:07]accept exits with 9 [23:36:07]New connection [23:36:07]New thread 3067014500 created [23:36:07]Thread 3066871140 joined [23:36:07]Waiting for new connection... [23:36:07] Sock 9.Parse request [23:36:07]Sock 9.Check first char [23:36:07]Sock 9.First char is OK [23:36:07]request: POST /json_proto HTTP/1.0 [23:36:07]Method: POST [23:36:07]URL: /json_proto [23:36:07]Method is POST - this is cgi request [23:36:07]url: /json_proto [23:36:07]query_string will be loaded in cgi processing [23:36:07]execute_cgi json_proto POST (null) [23:36:07]execute_cgi path=json_proto method=POST [23:36:07]POST find Content-Length [23:36:07]Host: 172.17.35.3:8080 [23:36:07]Content-Length: 682 [23:36:07]Content-Type: application/json [23:36:07] [23:36:07]POST finish read [23:36:07]Found Content-Length = 682 [23:36:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359608", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 20.870, "sum" : 1500.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" ] } } [23:36:07]execute_script... [23:36: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 : (1)359608", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 20.870, "sum" : 1500.55, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "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" ] } } [23:36:07]POST & json_proto [23:36:07]process_json_proto [23:36:07]json parsed OK: [23:36:07]protocol is kg_v1.0 [23:36:07]action value=close_receipt [23:36:07]process_action close_receipt [23:36:07]cmd_close_receipt [23:36:07]MH_GetDate [23:36:07]Write to MH i2c: F0 00 00 C8 49 00 [23:36:07]Write i2c OK [23:36:07]MH_I2C_Read... [23:36:07]Read from MH i2c: F0 [23:36:07]MH_I2C_Read... [23:36:07]Read from MH i2c: F0 09 00 [23:36:07]MH_I2C_Read... [23:36:07]Read from MH i2c: F0 09 00 C8 49 00 79 7F 14 66 2B 11 66 64 81 [23:36:07]GetLastDocTimeStamp 1712616432 [23:36:07]current date 1712619385 [23:36:07]FM_GetShiftState [23:36:07]SAM_PROTO_GetShiftState [23:36:07]wFMCommunicate request_size=4 [23:36:07]MH_SAM_APDU [23:36:07]CAPDU: 80 13 01 00 [23:36:07]Write to MH i2c: E2 08 00 C9 49 80 13 01 00 00 00 00 00 8F [23:36:07]Write i2c OK [23:36:07]MH_I2C_Read... [23:36:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:36:07]Read from MH i2c: E2 [23:36:07]MH_I2C_Read... [23:36:07]Read from MH i2c: E2 0E 00 [23:36:07]MH_I2C_Read... [23:36:07]Read from MH i2c: E2 0E 00 C9 49 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 1C [23:36:07]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [23:36:07]wFMCommunicate OK [23:36:07]SAM_PROTO_GetShiftState done [23:36:07]FM_GetShiftState done [23:36:07]opened in 1712536270 [23:36:07]opened+sec_in_day 1712622670 [23:36:07]quantity*price = 150055 [23:36:07]sum+1 = 150056 [23:36:07]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.55 ИТОГО: 1500.00 ВнеÑено: 1500.00 СДÐЧÐ: 0.00 ÐСП 1% : 13.28 ÐДС 12% : 159.35 Ðаличными: 1500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 75 08.04.2024 23:36 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26862 ФПД: 71938087789903 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T233625&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26862&fm=71938087789903&tin=02508201610067®Number=0000000000091578&sum=150000 [23:36:08]StoreToDocumentArchive [23:36:08]shift 314 fd 26862 [23:36:08]save to /storage/0314/doc_00026862 [23:36:08]save last doc name /storage/0314/doc_00026862 to /storage/kkm_last_doc_name [23:36:08]save OK [23:36:08]Clear old archive folders... [23:36:08]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:36:08]tlvbuf is 00F51250 [23:36:08]SAM_PROTO_ClearQueue [23:36:08]wFMCommunicate request_size=4 [23:36:08]MH_SAM_APDU [23:36:08]CAPDU: 80 09 00 00 [23:36:08]Write to MH i2c: E2 08 00 D6 49 80 09 00 00 00 00 00 00 91 [23:36:08]Write i2c OK [23:36:08]MH_I2C_Read... [23:36:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:36:09]Read from MH i2c: E2 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 D6 49 00 90 00 93 [23:36:09]RAPDU: 90 00 [23:36:09]wFMCommunicate OK [23:36:09]SAM_PROTO_ClearQueue done [23:36:09]KKMCreateOFDPacket [23:36:09]OFDProtocolAddRootSTLVToBuf [23:36:09]FM_MakeSignedData [23:36:09]FM_MakeSignedData [23:36:09]SAM_PROTO_SignData [23:36:09]wFMCommunicate request_size=4 [23:36:09]MH_SAM_APDU [23:36:09]CAPDU: 80 0D 01 02 [23:36:09]Write to MH i2c: E2 08 00 D7 49 80 0D 01 02 00 00 00 00 99 [23:36:09]Write i2c OK [23:36:09]MH_I2C_Read... [23:36:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:36:09]Read from MH i2c: E2 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 D7 49 00 90 00 94 [23:36:09]RAPDU: 90 00 [23:36:09]wFMCommunicate OK [23:36:09]wFMCommunicate request_size=255 [23:36:09]MH_SAM_APDU [23:36:09]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 86 51 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 27 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 79 7F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EE 68 00 00 35 04 06 00 41 [23:36:09]Write to MH i2c: E2 02 01 D8 49 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 86 51 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 27 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 79 7F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EE 68 00 00 35 04 06 00 41 00 00 E4 [23:36:09]Write i2c OK [23:36:09]MH_I2C_Read... [23:36:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:36:09]Read from MH i2c: E2 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 D8 49 00 90 00 95 [23:36:09]RAPDU: 90 00 [23:36:09]wFMCommunicate OK [23:36:09]wFMCommunicate request_size=10 [23:36:09]MH_SAM_APDU [23:36:09]CAPDU: 80 0D 02 02 05 6D 64 2B 25 4F [23:36:09]Write to MH i2c: E2 0D 00 D9 49 80 0D 02 02 05 00 6D 64 2B 25 4F 00 00 16 [23:36:09]Write i2c OK [23:36:09]MH_I2C_Read... [23:36:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:36:09]Read from MH i2c: E2 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 03 00 D9 49 00 90 00 96 [23:36:09]RAPDU: 90 00 [23:36:09]wFMCommunicate OK [23:36:09]wFMCommunicate request_size=4 [23:36:09]MH_SAM_APDU [23:36:09]CAPDU: 80 0D 03 02 [23:36:09]Write to MH i2c: E2 08 00 DA 49 80 0D 03 02 00 00 00 00 9E [23:36:09]Write i2c OK [23:36:09]MH_I2C_Read... [23:36:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:36:09]Read from MH i2c: E2 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 0B 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 0B 00 DA 49 00 B4 58 9F 27 7D 96 6E 12 90 00 04 [23:36:09]RAPDU: B4 58 9F 27 7D 96 6E 12 90 00 [23:36:09]wFMCommunicate OK [23:36:09]SAM_PROTO_SignData done [23:36:09]FM_MakeSignedData done [23:36:09]CreateOFDProtocolMessage [23:36:09]wFMCommunicate request_size=4 [23:36:09]MH_SAM_APDU [23:36:09]CAPDU: 80 11 00 00 [23:36:09]Write to MH i2c: E2 08 00 DB 49 80 11 00 00 00 00 00 00 9E [23:36:09]Write i2c OK [23:36:09]MH_I2C_Read... [23:36:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:36:09]Read from MH i2c: E2 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 17 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: E2 17 00 DB 49 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F6 [23:36:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:36:09]wFMCommunicate OK [23:36:09]CreateOFDProtocolMessage done [23:36:09]OFDSenderStorePacket 26862 [23:36:09]StoreOFDPacket docnum=26862 [23:36:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 C5 3A 07 01 42 99 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 86 51 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 27 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 79 7F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EE 68 00 00 35 04 06 00 41 6D 64 2B 25 4F B4 58 9F 27 7D 96 6E 12 [23:36:09]CheckFolder [23:36:09]dirname=/storage/ofd_packets [23:36:09]CheckFolder done [23:36:09]ProducePacketName [23:36:09]name=ofd_packets/00026862 [23:36:09]NVStorageSaveData ofd_packets/00026862 [23:36:09]File name is /storage/ofd_packets/00026862 [23:36:09]Write 301 bytes [23:36:09]NVStorageSaveData done [23:36:09]OFDSenderStorePacket done [23:36:09]KKMCreateOFDPacket done [23:36:09]NVStorageSaveData kkm_last_timestamp [23:36:09]File name is /storage/kkm_last_timestamp [23:36:09]Write 4 bytes [23:36:09]NVStorageSaveData done [23:36:09]ExternCall_PrintAddStr [23:36:09]wPrintStart [23:36:09]Write to MH i2c: 01 00 00 DC 49 25 [23:36:09]Write i2c OK [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: 01 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: 01 07 00 [23:36:09]MH_I2C_Read... [23:36:09]Read from MH i2c: 01 07 00 DC 49 00 00 00 00 00 FF 0F 3A [23:36:09]RasterBufferAndPrint [23:36:09]line Счет N : (1)359608 [23:36:09]line ИÐÐ: 02508201610067 [23:36:09]line Контрольно-КаÑÑовый Чек [23:36:09]line ПРОДÐЖР[23:36:09]line ТРК (МРК, ГÐК) : 63 [23:36:09]line Товар: 2710124500 [23:36:09]line Ðи-95-К-5 [23:36:09]line 20.870 * 71.90 [23:36:09]line = 1500.55 [23:36:09]line ÐДС 12% ÐСП 1% [23:36:09]line > о реализуемом товаре [23:36:09]line ОКРУГЛЕÐИЕ: -0.55 [23:36:09]line ИТОГО: 1500.00 [23:36:09]line ВнеÑено: 1500.00 [23:36:09]line СДÐЧÐ: 0.00 [23:36:09]line ÐСП 1% : 13.28 [23:36:09]line ÐДС 12% : 159.35 [23:36:09]line Ðаличными: 1500.00 [23:36:09]line Безнал.: 0.00 [23:36:09]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [23:36:09]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:36:09]line СÐО: Общий режим [23:36:09]line Чек 75 08.04.2024 23:36 [23:36:09]line Смена: 314 ФФД: 1.0 [23:36:09]line ЗÐМ: 0300000147 [23:36:09]line РÐМ: 0000000000091578 [23:36:09]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [23:36:09]line ФМ: 0000000000874657 [23:36:09]line ФД: 26862 [23:36:09]line ФПД: 71938087789903 [23:36:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T233625&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26862&fm=71938087789903&tin=02508201610067®Number=0000000000091578&sum=150000 [23:36:09]OFD Sender: Processing packet 26862 [packets to send 44, broken 43] [23:36:09]ProducePacketName [23:36:09]name=ofd_packets/00026862 [23:36:09]OFD Sender: To server: ‡•öpG, [23:36:09]CommunicateWithHost lk.salyk.kg:30040 [23:36:09]ConnectInit lk.salyk.kg [23:36:09]written 0, free lines is 4095 [23:36:09]Connected sock=10 [23:36:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 C5 3A 07 01 42 99 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 86 51 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 27 4A 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 49 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 30 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 3E 00 00 00 00 07 04 06 00 F0 49 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 79 7F 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EE 68 00 00 35 04 06 00 41 6D 64 2B 25 4F B4 58 9F 27 7D 96 6E 12 [23:36:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 41 8D 47 00 09 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EE 68 00 00 F4 03 04 00 E1 26 14 66 B6 04 01 00 00 5F 31 6C CE 61 49 FA DC [23:36:10]CommunicateWithHost err = 0 [23:36:10]CheckOFDResponse [23:36:10]1017 (14) - 77093643461234 [23:36:10]1041 (16) - 0000000000874657 [23:36:10]1040 (4) - 26862 [23:36:10]1012 (4) - 08.04.2024 17:18 [23:36:10]1206 (1) - 0 [23:36:10]OFD Sender: Remove packet 26862 [23:36:10]ProducePacketName [23:36:10]name=ofd_packets/00026862 [23:36:10]NVStorageDeleteData [23:36:10]Write to MH i2c: 01 00 00 07 4A 51 [23:36:10]Write i2c OK [23:36:10]MH_I2C_Read... [23:36:10]Read from MH i2c: 01 [23:36:10]MH_I2C_Read... [23:36:10]Read from MH i2c: 01 07 00 [23:36:10]MH_I2C_Read... [23:36:10]Read from MH i2c: 01 07 00 07 4A 00 00 00 00 00 6C 0C D0 [23:36:10]RasterBufferAndPrint [23:36:10]line [23:36:10]line [23:36:10]line [23:36:10]line [23:36:10]line [23:36:10]written 0, free lines is 3183 [23:36:10]MH_Cut [23:36:10]Write to MH i2c: D1 01 00 0E 4A 01 2A [23:36:10]Write i2c OK [23:36:10]MH_I2C_Read... [23:36:10]Read from MH i2c: D1 [23:36:10]MH_I2C_Read... [23:36:10]Read from MH i2c: D1 01 00 [23:36:10]MH_I2C_Read... [23:36:10]Read from MH i2c: D1 01 00 0E 4A 00 29 [23:36:10]Write to MH i2c: 01 00 00 0F 4A 59 [23:36:10]Write i2c OK [23:36:10]MH_I2C_Read... [23:36:10]OFD Sender: No OFD packet to send [23:36:11]*** Cut start [23:36:11]*** Partial cut [23:36:11]*** CUTSNS_PIN = 1 [23:36:11]*** CUTSNS_PIN = 0 [23:36:11]*** Brake cut motor [23:36:12]Read from MH i2c: 01 [23:36:12]MH_I2C_Read... [23:36:12]*** Stop cut motor [23:36:12]*** Cut end [23:36:12]Read from MH i2c: 01 07 00 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: 01 07 00 0F 4A 00 00 00 00 00 FF 0F 6E [23:36:12]process_action close_receipt done [23:36:12]requested_data is exist [23:36:12]produce_requested_data [23:36:12]requested_item fm.sn is exist - process it [23:36:12]wFMCommunicate request_size=4 [23:36:12]MH_SAM_APDU [23:36:12]CAPDU: 80 11 00 00 [23:36:12]Write to MH i2c: E2 08 00 10 4A 80 11 00 00 00 00 00 00 D4 [23:36:12]Write i2c OK [23:36:12]MH_I2C_Read... [23:36:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:36:12]Read from MH i2c: E2 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: E2 17 00 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: E2 17 00 10 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 2C [23:36:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:36:12]wFMCommunicate OK [23:36:12]requested_item fd.num is exist - process it [23:36:12]SAM_PROTO_GetFieldsCounters [23:36:12]wFMCommunicate request_size=4 [23:36:12]MH_SAM_APDU [23:36:12]CAPDU: 80 13 00 00 [23:36:12]Write to MH i2c: E2 08 00 11 4A 80 13 00 00 00 00 00 00 D7 [23:36:12]Write i2c OK [23:36:12]MH_I2C_Read... [23:36:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:36:12]Read from MH i2c: E2 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: E2 62 00 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: E2 62 00 11 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 74 [23:36:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EE 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:36:12]wFMCommunicate OK [23:36:12]SAM_PROTO_GetFieldsCounters done [23:36:12]requested_item shift.num is exist - process it [23:36:12]requested_item shift.opened is exist - process it [23:36:12]req_shift_opened [23:36:12]FM_GetShiftState [23:36:12]SAM_PROTO_GetShiftState [23:36:12]wFMCommunicate request_size=4 [23:36:12]MH_SAM_APDU [23:36:12]CAPDU: 80 13 01 00 [23:36:12]Write to MH i2c: E2 08 00 12 4A 80 13 01 00 00 00 00 00 D9 [23:36:12]Write i2c OK [23:36:12]MH_I2C_Read... [23:36:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:36:12]Read from MH i2c: E2 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: E2 0E 00 [23:36:12]MH_I2C_Read... [23:36:12]Read from MH i2c: E2 0E 00 12 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 66 [23:36:12]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [23:36:12]wFMCommunicate OK [23:36:12]SAM_PROTO_GetShiftState done [23:36:12]FM_GetShiftState done [23:36:12]req_shift_opened done [23:36:12]requested_item shift.open_date is exist - process it [23:36:12]req_shift_open_date [23:36:12]req_shift_open_date done [23:36:12]produce_requested_data done [23:36:12]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26862,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [23:36:12]process_action_free close_receipt [23:36:12]json_value_free [23:36:12]json_value_free done [23:36:12]process_json_proto returns [23:36:12]Send response to host [23:36:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26862,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [23:36:12]free response buf [23:36:12]execute_script done [23:36:12]execute_script returns [23:36:12]free content buf [23:36:12]Sock 9.Close socket [23:36:12]Sock 9.Thread stoped [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43: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:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]OFD Sender: No OFD packet to send [23:50:26]OFD Sender: No OFD packet to send [23:50:31]OFD Sender: No OFD packet to send [23:50:36]OFD Sender: No OFD packet to send [23:50:41]OFD Sender: No OFD packet to send [23:50:46]OFD Sender: No OFD packet to send [23:50:51]OFD Sender: No OFD packet to send [23:50:56]OFD Sender: No OFD packet to send [23:51:01]OFD Sender: No OFD packet to send [23:51:06]OFD Sender: No OFD packet to send [23:51:11]OFD Sender: No OFD packet to send [23:51:16]OFD Sender: No OFD packet to send [23:51:21]OFD Sender: No OFD packet to send [23:51:26]OFD Sender: No OFD packet to send [23:51:31]OFD Sender: No OFD packet to send [23:51:36]OFD Sender: No OFD packet to send [23:51:41]OFD Sender: No OFD packet to send [23:51:46]OFD Sender: No OFD packet to send [23:51:51]OFD Sender: No OFD packet to send [23:51:56]OFD Sender: No OFD packet to send [23:52:01]OFD Sender: No OFD packet to send [23:52:06]OFD Sender: No OFD packet to send [23:52:11]OFD Sender: No OFD packet to send [23:52:16]OFD Sender: No OFD packet to send [23:52:21]OFD Sender: No OFD packet to send [23:52:26]OFD Sender: No OFD packet to send [23:52:28]accept exits with 8 [23:52:28]New connection [23:52:28]New thread 3066871140 created [23:52:28]Thread 3067014500 joined [23:52:28]Waiting for new connection... [23:52:28] Sock 8.Parse request [23:52:28]Sock 8.Check first char [23:52:28]Sock 8.First char is OK [23:52:28]request: POST /json_proto HTTP/1.0 [23:52:28]Method: POST [23:52:28]URL: /json_proto [23:52:28]Method is POST - this is cgi request [23:52:28]url: /json_proto [23:52:28]query_string will be loaded in cgi processing [23:52:28]execute_cgi json_proto POST (null) [23:52:28]execute_cgi path=json_proto method=POST [23:52:28]POST find Content-Length [23:52:28]Host: 172.17.35.3:8080 [23:52:28]Content-Length: 819 [23:52:28]Content-Type: application/json [23:52:28] [23:52:28]POST finish read [23:52:28]Found Content-Length = 819 [23:52:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359609", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "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" : 1000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:28]execute_script... [23:52:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359609", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124500", "name": "\u0410\u0438-95-\u041A-5", "price" : 71.90, "quantity" : 13.910, "sum" : 1000.13, "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" : 1000.13 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:52:28]POST & json_proto [23:52:28]process_json_proto [23:52:28]json parsed OK: [23:52:28]protocol is kg_v1.0 [23:52:28]action value=close_receipt [23:52:28]process_action close_receipt [23:52:28]cmd_close_receipt [23:52:28]MH_GetDate [23:52:28]Write to MH i2c: F0 00 00 13 4A 4C [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 09 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: F0 09 00 13 4A 00 4D 83 14 66 2B 11 66 64 A5 [23:52:28]GetLastDocTimeStamp 1712619385 [23:52:28]current date 1712620365 [23:52:28]FM_GetShiftState [23:52:28]SAM_PROTO_GetShiftState [23:52:28]wFMCommunicate request_size=4 [23:52:28]MH_SAM_APDU [23:52:28]CAPDU: 80 13 01 00 [23:52:28]Write to MH i2c: E2 08 00 14 4A 80 13 01 00 00 00 00 00 DB [23:52:28]Write i2c OK [23:52:28]MH_I2C_Read... [23:52:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:28]Read from MH i2c: E2 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 0E 00 [23:52:28]MH_I2C_Read... [23:52:28]Read from MH i2c: E2 0E 00 14 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 68 [23:52:28]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [23:52:28]wFMCommunicate OK [23:52:28]SAM_PROTO_GetShiftState done [23:52:28]FM_GetShiftState done [23:52:28]opened in 1712536270 [23:52:28]opened+sec_in_day 1712622670 [23:52:28]quantity*price = 100012 [23:52:28]sum+1 = 100014 [23:52:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1000.13 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 0.00 Безнал.: 1000.13 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 76 08.04.2024 23:52 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк ФМ: 0000000000874657 ФД: 26863 ФПД: 208245979593967 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T235245&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26863&fm=208245979593967&tin=02508201610067®Number=0000000000091578&sum=100013 [23:52:29]StoreToDocumentArchive [23:52:29]shift 314 fd 26863 [23:52:29]save to /storage/0314/doc_00026863 [23:52:29]save last doc name /storage/0314/doc_00026863 to /storage/kkm_last_doc_name [23:52:29]save OK [23:52:29]Clear old archive folders... [23:52:29]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:52:29]tlvbuf is 00E3C2B0 [23:52:29]SAM_PROTO_ClearQueue [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 09 00 00 [23:52:29]Write to MH i2c: E2 08 00 21 4A 80 09 00 00 00 00 00 00 DD [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 21 4A 00 90 00 DF [23:52:29]RAPDU: 90 00 [23:52:29]wFMCommunicate OK [23:52:29]SAM_PROTO_ClearQueue done [23:52:29]KKMCreateOFDPacket [23:52:29]OFDProtocolAddRootSTLVToBuf [23:52:29]FM_MakeSignedData [23:52:29]FM_MakeSignedData [23:52:29]SAM_PROTO_SignData [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 0D 01 02 [23:52:29]Write to MH i2c: E2 08 00 22 4A 80 0D 01 02 00 00 00 00 E5 [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 22 4A 00 90 00 E0 [23:52:29]RAPDU: 90 00 [23:52:29]wFMCommunicate OK [23:52:29]wFMCommunicate request_size=255 [23:52:29]MH_SAM_APDU [23:52:29]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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 83 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EF 68 00 00 35 04 06 00 BD [23:52:29]Write to MH i2c: E2 02 01 23 4A 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 83 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EF 68 00 00 35 04 06 00 BD 00 00 5A [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 23 4A 00 90 00 E1 [23:52:29]RAPDU: 90 00 [23:52:29]wFMCommunicate OK [23:52:29]wFMCommunicate request_size=10 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 0D 02 02 05 66 0B A3 BC EF [23:52:29]Write to MH i2c: E2 0D 00 24 4A 80 0D 02 02 05 00 66 0B A3 BC EF 00 00 B1 [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 03 00 24 4A 00 90 00 E2 [23:52:29]RAPDU: 90 00 [23:52:29]wFMCommunicate OK [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 0D 03 02 [23:52:29]Write to MH i2c: E2 08 00 25 4A 80 0D 03 02 00 00 00 00 EA [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:52:29]Read from MH i2c: E2 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 0B 00 [23:52:29]MH_I2C_Read... [23:52:29]Read from MH i2c: E2 0B 00 25 4A 00 33 72 86 B3 46 92 61 F0 90 00 F2 [23:52:29]RAPDU: 33 72 86 B3 46 92 61 F0 90 00 [23:52:29]wFMCommunicate OK [23:52:29]SAM_PROTO_SignData done [23:52:29]FM_MakeSignedData done [23:52:29]CreateOFDProtocolMessage [23:52:29]wFMCommunicate request_size=4 [23:52:29]MH_SAM_APDU [23:52:29]CAPDU: 80 11 00 00 [23:52:29]Write to MH i2c: E2 08 00 26 4A 80 11 00 00 00 00 00 00 EA [23:52:29]Write i2c OK [23:52:29]MH_I2C_Read... [23:52:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:30]Read from MH i2c: E2 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 17 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: E2 17 00 26 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 42 [23:52:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:52:30]wFMCommunicate OK [23:52:30]CreateOFDProtocolMessage done [23:52:30]OFDSenderStorePacket 26863 [23:52:30]StoreOFDPacket docnum=26863 [23:52:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 49 4F 07 01 87 C4 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 83 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EF 68 00 00 35 04 06 00 BD 66 0B A3 BC EF 33 72 86 B3 46 92 61 F0 [23:52:30]CheckFolder [23:52:30]dirname=/storage/ofd_packets [23:52:30]CheckFolder done [23:52:30]ProducePacketName [23:52:30]name=ofd_packets/00026863 [23:52:30]NVStorageSaveData ofd_packets/00026863 [23:52:30]File name is /storage/ofd_packets/00026863 [23:52:30]Write 301 bytes [23:52:30]NVStorageSaveData done [23:52:30]OFDSenderStorePacket done [23:52:30]KKMCreateOFDPacket done [23:52:30]NVStorageSaveData kkm_last_timestamp [23:52:30]File name is /storage/kkm_last_timestamp [23:52:30]Write 4 bytes [23:52:30]NVStorageSaveData done [23:52:30]ExternCall_PrintAddStr [23:52:30]wPrintStart [23:52:30]Write to MH i2c: 01 00 00 27 4A 71 [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: 01 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: 01 07 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: 01 07 00 27 4A 00 00 00 00 00 FF 0F 86 [23:52:30]RasterBufferAndPrint [23:52:30]line Счет N : (1)359609 [23:52:30]line ИÐÐ: 02508201610067 [23:52:30]line Контрольно-КаÑÑовый Чек [23:52:30]line ПРОДÐЖР[23:52:30]line ТРК (МРК, ГÐК) : 63 [23:52:30]line Товар: 2710124500 [23:52:30]line Ðи-95-К-5 [23:52:30]line 13.910 * 71.90 [23:52:30]line = 1000.13 [23:52:30]line ÐДС 12% ÐСП 1% [23:52:30]line > о реализуемом товаре [23:52:30]line ИТОГО: 1000.13 [23:52:30]line ÐСП 1% : 8.85 [23:52:30]line ÐДС 12% : 106.21 [23:52:30]line Ðаличными: 0.00 [23:52:30]line Безнал.: 1000.13 [23:52:30]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [23:52:30]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:52:30]line СÐО: Общий режим [23:52:30]line Чек 76 08.04.2024 23:52 [23:52:30]line Смена: 314 ФФД: 1.0 [23:52:30]line ЗÐМ: 0300000147 [23:52:30]line РÐМ: 0000000000091578 [23:52:30]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [23:52:30]line ÐŸÐ»Ð°Ñ‚ÐµÐ¶Ð½Ð°Ñ ÑиÑтема: Бакай Банк [23:52:30]line ФМ: 0000000000874657 [23:52:30]line ФД: 26863 [23:52:30]line ФПД: 208245979593967 [23:52:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T235245&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26863&fm=208245979593967&tin=02508201610067®Number=0000000000091578&sum=100013 [23:52:30]OFD Sender: Processing packet 26863 [packets to send 44, broken 43] [23:52:30]ProducePacketName [23:52:30]name=ofd_packets/00026863 [23:52:30]OFD Sender: To server: ‡•öpG, [23:52:30]CommunicateWithHost lk.salyk.kg:30040 [23:52:30]ConnectInit lk.salyk.kg [23:52:30]written 0, free lines is 4095 [23:52:30]Connected sock=10 [23:52:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 49 4F 07 01 87 C4 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 56 36 00 00 00 00 00 37 04 06 00 16 1C 00 00 00 00 13 04 06 00 AD 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AD 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 AD 86 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 4D 83 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EF 68 00 00 35 04 06 00 BD 66 0B A3 BC EF 33 72 86 B3 46 92 61 F0 [23:52:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 9C 1E 47 00 E2 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 EF 68 00 00 F4 03 04 00 B6 2A 14 66 B6 04 01 00 00 B8 14 F9 66 7A 7D BF 6C [23:52:30]CommunicateWithHost err = 0 [23:52:30]CheckOFDResponse [23:52:30]1017 (14) - 77093643461234 [23:52:30]1041 (16) - 0000000000874657 [23:52:30]1040 (4) - 26863 [23:52:30]1012 (4) - 08.04.2024 17:34 [23:52:30]1206 (1) - 0 [23:52:30]OFD Sender: Remove packet 26863 [23:52:30]ProducePacketName [23:52:30]name=ofd_packets/00026863 [23:52:30]NVStorageDeleteData [23:52:30]Write to MH i2c: 01 00 00 51 4A 9B [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: 01 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: 01 07 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: 01 07 00 51 4A 00 00 00 00 00 87 0C 35 [23:52:30]RasterBufferAndPrint [23:52:30]line [23:52:30]line [23:52:30]line [23:52:30]line [23:52:30]line [23:52:30]written 0, free lines is 3210 [23:52:30]MH_Cut [23:52:30]Write to MH i2c: D1 01 00 58 4A 01 74 [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: D1 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: D1 01 00 [23:52:30]MH_I2C_Read... [23:52:30]Read from MH i2c: D1 01 00 58 4A 00 73 [23:52:30]Write to MH i2c: 01 00 00 59 4A A3 [23:52:30]Write i2c OK [23:52:30]MH_I2C_Read... [23:52:31]OFD Sender: No OFD packet to send [23:52:31]*** Cut start [23:52:31]*** Partial cut [23:52:31]*** CUTSNS_PIN = 1 [23:52:32]*** CUTSNS_PIN = 0 [23:52:32]*** Brake cut motor [23:52:32]Read from MH i2c: 01 [23:52:32]MH_I2C_Read... [23:52:32]*** Stop cut motor [23:52:32]*** Cut end [23:52:32]Read from MH i2c: 01 07 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: 01 07 00 59 4A 00 00 00 00 00 FF 0F B8 [23:52:32]process_action close_receipt done [23:52:32]requested_data is exist [23:52:32]produce_requested_data [23:52:32]requested_item fm.sn is exist - process it [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 11 00 00 [23:52:32]Write to MH i2c: E2 08 00 5A 4A 80 11 00 00 00 00 00 00 1E [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 17 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 17 00 5A 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 76 [23:52:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:52:32]wFMCommunicate OK [23:52:32]requested_item fd.num is exist - process it [23:52:32]SAM_PROTO_GetFieldsCounters [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 13 00 00 [23:52:32]Write to MH i2c: E2 08 00 5B 4A 80 13 00 00 00 00 00 00 21 [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 62 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 62 00 5B 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [23:52:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 EF 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:52:32]wFMCommunicate OK [23:52:32]SAM_PROTO_GetFieldsCounters done [23:52:32]requested_item shift.num is exist - process it [23:52:32]requested_item shift.opened is exist - process it [23:52:32]req_shift_opened [23:52:32]FM_GetShiftState [23:52:32]SAM_PROTO_GetShiftState [23:52:32]wFMCommunicate request_size=4 [23:52:32]MH_SAM_APDU [23:52:32]CAPDU: 80 13 01 00 [23:52:32]Write to MH i2c: E2 08 00 5C 4A 80 13 01 00 00 00 00 00 23 [23:52:32]Write i2c OK [23:52:32]MH_I2C_Read... [23:52:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:52:32]Read from MH i2c: E2 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 0E 00 [23:52:32]MH_I2C_Read... [23:52:32]Read from MH i2c: E2 0E 00 5C 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B0 [23:52:32]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [23:52:32]wFMCommunicate OK [23:52:32]SAM_PROTO_GetShiftState done [23:52:32]FM_GetShiftState done [23:52:32]req_shift_opened done [23:52:32]requested_item shift.open_date is exist - process it [23:52:32]req_shift_open_date [23:52:32]req_shift_open_date done [23:52:32]produce_requested_data done [23:52:32]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26863,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [23:52:32]process_action_free close_receipt [23:52:32]json_value_free [23:52:32]json_value_free done [23:52:32]process_json_proto returns [23:52:32]Send response to host [23:52:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26863,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [23:52:32]free response buf [23:52:32]execute_script done [23:52:32]execute_script returns [23:52:32]free content buf [23:52:32]Sock 8.Close socket [23:52:32]Sock 8.Thread stoped [23:52:36]OFD Sender: No OFD packet to send [23:52:41]OFD Sender: No OFD packet to send [23:52:46]OFD Sender: No OFD packet to send [23:52:51]OFD Sender: No OFD packet to send [23:52:56]OFD Sender: No OFD packet to send [23:53:01]OFD Sender: No OFD packet to send [23:53:06]OFD Sender: No OFD packet to send [23:53:11]OFD Sender: No OFD packet to send [23:53:16]OFD Sender: No OFD packet to send [23:53:21]OFD Sender: No OFD packet to send [23:53:26]OFD Sender: No OFD packet to send [23:53:31]OFD Sender: No OFD packet to send [23:53:36]OFD Sender: No OFD packet to send [23:53:41]OFD Sender: No OFD packet to send [23:53:46]OFD Sender: No OFD packet to send [23:53:51]OFD Sender: No OFD packet to send [23:53:56]OFD Sender: No OFD packet to send [23:54:01]OFD Sender: No OFD packet to send [23:54:06]OFD Sender: No OFD packet to send [23:54:11]OFD Sender: No OFD packet to send [23:54:16]OFD Sender: No OFD packet to send [23:54:21]OFD Sender: No OFD packet to send [23:54:26]OFD Sender: No OFD packet to send [23:54:31]OFD Sender: No OFD packet to send [23:54:36]OFD Sender: No OFD packet to send [23:54:41]OFD Sender: No OFD packet to send [23:54:46]OFD Sender: No OFD packet to send [23:54:51]OFD Sender: No OFD packet to send [23:54:56]OFD Sender: No OFD packet to send [23:55:01]OFD Sender: No OFD packet to send [23:55:06]OFD Sender: No OFD packet to send [23:55:11]OFD Sender: No OFD packet to send [23:55:16]OFD Sender: No OFD packet to send [23:55:21]OFD Sender: No OFD packet to send [23:55:26]OFD Sender: No OFD packet to send [23:55:31]OFD Sender: No OFD packet to send [23:55:36]OFD Sender: No OFD packet to send [23:55:41]OFD Sender: No OFD packet to send [23:55:46]OFD Sender: No OFD packet to send [23:55:51]OFD Sender: No OFD packet to send [23:55:56]OFD Sender: No OFD packet to send [23:56:01]OFD Sender: No OFD packet to send [23:56:06]OFD Sender: No OFD packet to send [23:56:11]OFD Sender: No OFD packet to send [23:56:14]accept exits with 9 [23:56:14]New connection [23:56:14]New thread 3067014500 created [23:56:14]Thread 3066871140 joined [23:56:14]Waiting for new connection... [23:56:14] Sock 9.Parse request [23:56:14]Sock 9.Check first char [23:56:14]Sock 9.First char is OK [23:56:14]request: POST /json_proto HTTP/1.0 [23:56:14]Method: POST [23:56:14]URL: /json_proto [23:56:14]Method is POST - this is cgi request [23:56:14]url: /json_proto [23:56:14]query_string will be loaded in cgi processing [23:56:14]execute_cgi json_proto POST (null) [23:56:14]execute_cgi path=json_proto method=POST [23:56:14]POST find Content-Length [23:56:14]Host: 172.17.35.3:8080 [23:56:14]Content-Length: 678 [23:56:14]Content-Type: application/json [23:56:14] [23:56:14]POST finish read [23:56:14]Found Content-Length = 678 [23:56:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359610", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 13.410, "sum" : 850.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 850.00, "total" : 850.00, "payments": [ { "type": 0, "sum" : 850.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:14]execute_script... [23:56: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)359610", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 13.410, "sum" : 850.19, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 850.00, "total" : 850.00, "payments": [ { "type": 0, "sum" : 850.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:14]POST & json_proto [23:56:14]process_json_proto [23:56:14]json parsed OK: [23:56:14]protocol is kg_v1.0 [23:56:14]action value=close_receipt [23:56:14]process_action close_receipt [23:56:14]cmd_close_receipt [23:56:14]MH_GetDate [23:56:14]Write to MH i2c: F0 00 00 5D 4A 96 [23:56:14]Write i2c OK [23:56:14]MH_I2C_Read... [23:56:14]Read from MH i2c: F0 [23:56:14]MH_I2C_Read... [23:56:14]Read from MH i2c: F0 09 00 [23:56:14]MH_I2C_Read... [23:56:14]Read from MH i2c: F0 09 00 5D 4A 00 2F 84 14 66 2B 11 66 64 D2 [23:56:14]GetLastDocTimeStamp 1712620365 [23:56:14]current date 1712620591 [23:56:14]FM_GetShiftState [23:56:14]SAM_PROTO_GetShiftState [23:56:14]wFMCommunicate request_size=4 [23:56:14]MH_SAM_APDU [23:56:14]CAPDU: 80 13 01 00 [23:56:14]Write to MH i2c: E2 08 00 5E 4A 80 13 01 00 00 00 00 00 25 [23:56:14]Write i2c OK [23:56:14]MH_I2C_Read... [23:56:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:14]Read from MH i2c: E2 [23:56:14]MH_I2C_Read... [23:56:14]Read from MH i2c: E2 0E 00 [23:56:14]MH_I2C_Read... [23:56:14]Read from MH i2c: E2 0E 00 5E 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 B2 [23:56:14]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [23:56:14]wFMCommunicate OK [23:56:14]SAM_PROTO_GetShiftState done [23:56:14]FM_GetShiftState done [23:56:14]opened in 1712536270 [23:56:14]opened+sec_in_day 1712622670 [23:56:14]quantity*price = 85019 [23:56:14]sum+1 = 85020 [23:56:14]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.19 ИТОГО: 850.00 ВнеÑено: 850.00 СДÐЧÐ: 0.00 ÐСП 1% : 7.52 ÐДС 12% : 90.29 Ðаличными: 850.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 77 08.04.2024 23:56 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26864 ФПД: 155822862709569 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T235631&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26864&fm=155822862709569&tin=02508201610067®Number=0000000000091578&sum=85000 [23:56:15]StoreToDocumentArchive [23:56:15]shift 314 fd 26864 [23:56:15]save to /storage/0314/doc_00026864 [23:56:15]save last doc name /storage/0314/doc_00026864 to /storage/kkm_last_doc_name [23:56:15]save OK [23:56:15]Clear old archive folders... [23:56:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:56:15]tlvbuf is 00E8F470 [23:56:15]SAM_PROTO_ClearQueue [23:56:15]wFMCommunicate request_size=4 [23:56:15]MH_SAM_APDU [23:56:15]CAPDU: 80 09 00 00 [23:56:15]Write to MH i2c: E2 08 00 6B 4A 80 09 00 00 00 00 00 00 27 [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:56:15]Read from MH i2c: E2 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 6B 4A 00 90 00 29 [23:56:15]RAPDU: 90 00 [23:56:15]wFMCommunicate OK [23:56:15]SAM_PROTO_ClearQueue done [23:56:15]KKMCreateOFDPacket [23:56:15]OFDProtocolAddRootSTLVToBuf [23:56:15]FM_MakeSignedData [23:56:15]FM_MakeSignedData [23:56:15]SAM_PROTO_SignData [23:56:15]wFMCommunicate request_size=4 [23:56:15]MH_SAM_APDU [23:56:15]CAPDU: 80 0D 01 02 [23:56:15]Write to MH i2c: E2 08 00 6C 4A 80 0D 01 02 00 00 00 00 2F [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:56:15]Read from MH i2c: E2 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 6C 4A 00 90 00 2A [23:56:15]RAPDU: 90 00 [23:56:15]wFMCommunicate OK [23:56:15]wFMCommunicate request_size=255 [23:56:15]MH_SAM_APDU [23:56: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 62 34 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 1B 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 23 00 00 00 00 07 04 06 00 08 4C 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 84 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F0 68 00 00 35 04 06 00 8D [23:56:15]Write to MH i2c: E2 02 01 6D 4A 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 62 34 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 1B 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 23 00 00 00 00 07 04 06 00 08 4C 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 84 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F0 68 00 00 35 04 06 00 8D 00 00 BB [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:15]Read from MH i2c: E2 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 6D 4A 00 90 00 2B [23:56:15]RAPDU: 90 00 [23:56:15]wFMCommunicate OK [23:56:15]wFMCommunicate request_size=10 [23:56:15]MH_SAM_APDU [23:56:15]CAPDU: 80 0D 02 02 05 B8 56 61 33 41 [23:56:15]Write to MH i2c: E2 0D 00 6E 4A 80 0D 02 02 05 00 B8 56 61 33 41 00 00 1F [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:56:15]Read from MH i2c: E2 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 03 00 6E 4A 00 90 00 2C [23:56:15]RAPDU: 90 00 [23:56:15]wFMCommunicate OK [23:56:15]wFMCommunicate request_size=4 [23:56:15]MH_SAM_APDU [23:56:15]CAPDU: 80 0D 03 02 [23:56:15]Write to MH i2c: E2 08 00 6F 4A 80 0D 03 02 00 00 00 00 34 [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:56:15]Read from MH i2c: E2 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 0B 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 0B 00 6F 4A 00 9A 99 42 FB E7 24 82 E1 90 00 13 [23:56:15]RAPDU: 9A 99 42 FB E7 24 82 E1 90 00 [23:56:15]wFMCommunicate OK [23:56:15]SAM_PROTO_SignData done [23:56:15]FM_MakeSignedData done [23:56:15]CreateOFDProtocolMessage [23:56:15]wFMCommunicate request_size=4 [23:56:15]MH_SAM_APDU [23:56:15]CAPDU: 80 11 00 00 [23:56:15]Write to MH i2c: E2 08 00 70 4A 80 11 00 00 00 00 00 00 34 [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:15]Read from MH i2c: E2 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 17 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: E2 17 00 70 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 8C [23:56:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:56:15]wFMCommunicate OK [23:56:15]CreateOFDProtocolMessage done [23:56:15]OFDSenderStorePacket 26864 [23:56:15]StoreOFDPacket docnum=26864 [23:56:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 78 5A 07 01 00 24 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 62 34 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 1B 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 23 00 00 00 00 07 04 06 00 08 4C 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 84 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F0 68 00 00 35 04 06 00 8D B8 56 61 33 41 9A 99 42 FB E7 24 82 E1 [23:56:15]CheckFolder [23:56:15]dirname=/storage/ofd_packets [23:56:15]CheckFolder done [23:56:15]ProducePacketName [23:56:15]name=ofd_packets/00026864 [23:56:15]NVStorageSaveData ofd_packets/00026864 [23:56:15]File name is /storage/ofd_packets/00026864 [23:56:15]Write 301 bytes [23:56:15]NVStorageSaveData done [23:56:15]OFDSenderStorePacket done [23:56:15]KKMCreateOFDPacket done [23:56:15]NVStorageSaveData kkm_last_timestamp [23:56:15]File name is /storage/kkm_last_timestamp [23:56:15]Write 4 bytes [23:56:15]NVStorageSaveData done [23:56:15]ExternCall_PrintAddStr [23:56:15]wPrintStart [23:56:15]Write to MH i2c: 01 00 00 71 4A BB [23:56:15]Write i2c OK [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: 01 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: 01 07 00 [23:56:15]MH_I2C_Read... [23:56:15]Read from MH i2c: 01 07 00 71 4A 00 00 00 00 00 FF 0F D0 [23:56:15]RasterBufferAndPrint [23:56:15]line Счет N : (1)359610 [23:56:15]line ИÐÐ: 02508201610067 [23:56:15]line Контрольно-КаÑÑовый Чек [23:56:15]line ПРОДÐЖР[23:56:15]line ТРК (МРК, ГÐК) : 51 [23:56:15]line Товар: 2710124130 [23:56:15]line Ðи-92-К-5 [23:56:15]line 13.410 * 63.40 [23:56:15]line = 850.19 [23:56:15]line ÐДС 12% ÐСП 1% [23:56:15]line > о реализуемом товаре [23:56:15]line ОКРУГЛЕÐИЕ: -0.19 [23:56:15]line ИТОГО: 850.00 [23:56:15]line ВнеÑено: 850.00 [23:56:15]line СДÐЧÐ: 0.00 [23:56:15]line ÐСП 1% : 7.52 [23:56:15]line ÐДС 12% : 90.29 [23:56:15]line Ðаличными: 850.00 [23:56:15]line Безнал.: 0.00 [23:56:15]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [23:56:15]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [23:56:15]line СÐО: Общий режим [23:56:15]line Чек 77 08.04.2024 23:56 [23:56:15]line Смена: 314 ФФД: 1.0 [23:56:15]line ЗÐМ: 0300000147 [23:56:15]line РÐМ: 0000000000091578 [23:56:15]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [23:56:15]line ФМ: 0000000000874657 [23:56:15]line ФД: 26864 [23:56:16]line ФПД: 155822862709569 [23:56:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240408T235631&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26864&fm=155822862709569&tin=02508201610067®Number=0000000000091578&sum=85000 [23:56:16]OFD Sender: Processing packet 26864 [packets to send 44, broken 43] [23:56:16]ProducePacketName [23:56:16]name=ofd_packets/00026864 [23:56:16]OFD Sender: To server: ‡•öpG, [23:56:16]CommunicateWithHost lk.salyk.kg:30040 [23:56:16]ConnectInit lk.salyk.kg [23:56:16]written 0, free lines is 4095 [23:56:16]Connected sock=10 [23:56:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 78 5A 07 01 00 24 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 62 34 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 1B 4C 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 4C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 45 23 00 00 00 00 07 04 06 00 08 4C 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 2F 84 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F0 68 00 00 35 04 06 00 8D B8 56 61 33 41 9A 99 42 FB E7 24 82 E1 [23:56:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 C7 E9 47 00 FF 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 38 37 34 36 35 37 10 04 04 00 F0 68 00 00 F4 03 04 00 98 2B 14 66 B6 04 01 00 00 CE 9E 68 66 D6 E9 8B 1F [23:56:16]CommunicateWithHost err = 0 [23:56:16]CheckOFDResponse [23:56:16]1017 (14) - 77093643461234 [23:56:16]1041 (16) - 0000000000874657 [23:56:16]1040 (4) - 26864 [23:56:16]1012 (4) - 08.04.2024 17:38 [23:56:16]1206 (1) - 0 [23:56:16]OFD Sender: Remove packet 26864 [23:56:16]ProducePacketName [23:56:16]name=ofd_packets/00026864 [23:56:16]NVStorageDeleteData [23:56:16]Write to MH i2c: 01 00 00 9C 4A E6 [23:56:16]Write i2c OK [23:56:16]MH_I2C_Read... [23:56:16]Read from MH i2c: 01 [23:56:16]MH_I2C_Read... [23:56:16]Read from MH i2c: 01 07 00 [23:56:16]MH_I2C_Read... [23:56:16]Read from MH i2c: 01 07 00 9C 4A 00 00 00 00 00 73 0C 6C [23:56:16]RasterBufferAndPrint [23:56:16]line [23:56:16]line [23:56:16]line [23:56:16]line [23:56:16]line [23:56:16]written 0, free lines is 3191 [23:56:16]MH_Cut [23:56:16]Write to MH i2c: D1 01 00 A3 4A 01 BF [23:56:16]Write i2c OK [23:56:16]MH_I2C_Read... [23:56:16]Read from MH i2c: D1 [23:56:16]MH_I2C_Read... [23:56:16]Read from MH i2c: D1 01 00 [23:56:16]MH_I2C_Read... [23:56:16]Read from MH i2c: D1 01 00 A3 4A 00 BE [23:56:16]Write to MH i2c: 01 00 00 A4 4A EE [23:56:16]Write i2c OK [23:56:16]MH_I2C_Read... [23:56:17]OFD Sender: No OFD packet to send [23:56:17]*** Cut start [23:56:17]*** Partial cut [23:56:17]*** CUTSNS_PIN = 1 [23:56:17]*** CUTSNS_PIN = 0 [23:56:18]*** Brake cut motor [23:56:18]Read from MH i2c: 01 [23:56:18]MH_I2C_Read... [23:56:18]*** Stop cut motor [23:56:18]*** Cut end [23:56:18]Read from MH i2c: 01 07 00 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: 01 07 00 A4 4A 00 00 00 00 00 FF 0F 03 [23:56:18]process_action close_receipt done [23:56:18]requested_data is exist [23:56:18]produce_requested_data [23:56:18]requested_item fm.sn is exist - process it [23:56:18]wFMCommunicate request_size=4 [23:56:18]MH_SAM_APDU [23:56:18]CAPDU: 80 11 00 00 [23:56:18]Write to MH i2c: E2 08 00 A5 4A 80 11 00 00 00 00 00 00 69 [23:56:18]Write i2c OK [23:56:18]MH_I2C_Read... [23:56:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:18]Read from MH i2c: E2 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 17 00 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 17 00 A5 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C1 [23:56:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [23:56:18]wFMCommunicate OK [23:56:18]requested_item fd.num is exist - process it [23:56:18]SAM_PROTO_GetFieldsCounters [23:56:18]wFMCommunicate request_size=4 [23:56:18]MH_SAM_APDU [23:56:18]CAPDU: 80 13 00 00 [23:56:18]Write to MH i2c: E2 08 00 A6 4A 80 13 00 00 00 00 00 00 6C [23:56:18]Write i2c OK [23:56:18]MH_I2C_Read... [23:56:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:18]Read from MH i2c: E2 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 62 00 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 62 00 A6 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 11 [23:56:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F0 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:18]wFMCommunicate OK [23:56:18]SAM_PROTO_GetFieldsCounters done [23:56:18]requested_item shift.num is exist - process it [23:56:18]requested_item shift.opened is exist - process it [23:56:18]req_shift_opened [23:56:18]FM_GetShiftState [23:56:18]SAM_PROTO_GetShiftState [23:56:18]wFMCommunicate request_size=4 [23:56:18]MH_SAM_APDU [23:56:18]CAPDU: 80 13 01 00 [23:56:18]Write to MH i2c: E2 08 00 A7 4A 80 13 01 00 00 00 00 00 6E [23:56:18]Write i2c OK [23:56:18]MH_I2C_Read... [23:56:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:18]Read from MH i2c: E2 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 0E 00 [23:56:18]MH_I2C_Read... [23:56:18]Read from MH i2c: E2 0E 00 A7 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 FB [23:56:18]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [23:56:18]wFMCommunicate OK [23:56:18]SAM_PROTO_GetShiftState done [23:56:18]FM_GetShiftState done [23:56:18]req_shift_opened done [23:56:18]requested_item shift.open_date is exist - process it [23:56:18]req_shift_open_date [23:56:18]req_shift_open_date done [23:56:18]produce_requested_data done [23:56:18]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26864,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [23:56:18]process_action_free close_receipt [23:56:18]json_value_free [23:56:18]json_value_free done [23:56:18]process_json_proto returns [23:56:18]Send response to host [23:56:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26864,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [23:56:18]free response buf [23:56:18]execute_script done [23:56:18]execute_script returns [23:56:18]free content buf [23:56:18]Sock 9.Close socket [23:56:18]Sock 9.Thread stoped [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:37]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:12]OFD Sender: No OFD packet to send [00:03:17]OFD Sender: No OFD packet to send [00:03:22]OFD Sender: No OFD packet to send [00:03:27]OFD Sender: No OFD packet to send [00:03:32]OFD Sender: No OFD packet to send [00:03:37]OFD Sender: No OFD packet to send [00:03:42]OFD Sender: No OFD packet to send [00:03:47]OFD Sender: No OFD packet to send [00:03:52]OFD Sender: No OFD packet to send [00:03:57]OFD Sender: No OFD packet to send [00:04:02]OFD Sender: No OFD packet to send [00:04:07]OFD Sender: No OFD packet to send [00:04:12]OFD Sender: No OFD packet to send [00:04:17]OFD Sender: No OFD packet to send [00:04:22]OFD Sender: No OFD packet to send [00:04:27]OFD Sender: No OFD packet to send [00:04:32]OFD Sender: No OFD packet to send [00:04:37]OFD Sender: No OFD packet to send [00:04:42]OFD Sender: No OFD packet to send [00:04:47]OFD Sender: No OFD packet to send [00:04:52]OFD Sender: No OFD packet to send [00:04:57]OFD Sender: No OFD packet to send [00:05:02]OFD Sender: No OFD packet to send [00:05:07]OFD Sender: No OFD packet to send [00:05:12]OFD Sender: No OFD packet to send [00:05:17]OFD Sender: No OFD packet to send [00:05:22]OFD Sender: No OFD packet to send [00:05:27]OFD Sender: No OFD packet to send [00:05:32]OFD Sender: No OFD packet to send [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06: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:41]accept exits with 8 [00:09:41]New connection [00:09:41]New thread 3066871140 created [00:09:41]Thread 3067014500 joined [00:09:41]Waiting for new connection... [00:09:41] Sock 8.Parse request [00:09:41]Sock 8.Check first char [00:09:41]Sock 8.First char is OK [00:09:41]request: POST /json_proto HTTP/1.0 [00:09:41]Method: POST [00:09:41]URL: /json_proto [00:09:41]Method is POST - this is cgi request [00:09:41]url: /json_proto [00:09:41]query_string will be loaded in cgi processing [00:09:41]execute_cgi json_proto POST (null) [00:09:41]execute_cgi path=json_proto method=POST [00:09:41]POST find Content-Length [00:09:41]Host: 172.17.35.3:8080 [00:09:41]Content-Length: 687 [00:09:41]Content-Type: application/json [00:09:41] [00:09:41]POST finish read [00:09:41]Found Content-Length = 687 [00:09:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359611", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:41]execute_script... [00:09:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359611", "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" : 71.80, "quantity" : 13.930, "sum" : 1000.17, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:09:41]POST & json_proto [00:09:41]process_json_proto [00:09:41]json parsed OK: [00:09:41]protocol is kg_v1.0 [00:09:41]action value=close_receipt [00:09:41]process_action close_receipt [00:09:41]cmd_close_receipt [00:09:41]MH_GetDate [00:09:41]Write to MH i2c: F0 00 00 A8 4A E1 [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: F0 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: F0 09 00 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: F0 09 00 A8 4A 00 56 87 14 66 2B 11 66 64 47 [00:09:41]GetLastDocTimeStamp 1712620591 [00:09:41]current date 1712621398 [00:09:41]FM_GetShiftState [00:09:41]SAM_PROTO_GetShiftState [00:09:41]wFMCommunicate request_size=4 [00:09:41]MH_SAM_APDU [00:09:41]CAPDU: 80 13 01 00 [00:09:41]Write to MH i2c: E2 08 00 A9 4A 80 13 01 00 00 00 00 00 70 [00:09:41]Write i2c OK [00:09:41]MH_I2C_Read... [00:09:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:41]Read from MH i2c: E2 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: E2 0E 00 [00:09:41]MH_I2C_Read... [00:09:41]Read from MH i2c: E2 0E 00 A9 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 FD [00:09:41]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:09:41]wFMCommunicate OK [00:09:41]SAM_PROTO_GetShiftState done [00:09:41]FM_GetShiftState done [00:09:41]opened in 1712536270 [00:09:41]opened+sec_in_day 1712622670 [00:09:41]quantity*price = 100017 [00:09:41]sum+1 = 100018 [00:09:41]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.17 ИТОГО: 1000.00 ВнеÑено: 1000.00 СДÐЧÐ: 0.00 ÐСП 1% : 8.85 ÐДС 12% : 106.21 Ðаличными: 1000.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 78 09.04.2024 00:09 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26865 ФПД: 65746531310601 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240409T000958&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26865&fm=65746531310601&tin=02508201610067®Number=0000000000091578&sum=100000 [00:09:42]StoreToDocumentArchive [00:09:42]shift 314 fd 26865 [00:09:42]save to /storage/0314/doc_00026865 [00:09:42]save last doc name /storage/0314/doc_00026865 to /storage/kkm_last_doc_name [00:09:42]save OK [00:09:42]Clear old archive folders... [00:09:42]ProcessDocumentItem done err = 0, tmpTLVsize=252 [00:09:42]tlvbuf is 00EDB630 [00:09:42]SAM_PROTO_ClearQueue [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 09 00 00 [00:09:42]Write to MH i2c: E2 08 00 B6 4A 80 09 00 00 00 00 00 00 72 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 B6 4A 00 90 00 74 [00:09:42]RAPDU: 90 00 [00:09:42]wFMCommunicate OK [00:09:42]SAM_PROTO_ClearQueue done [00:09:42]KKMCreateOFDPacket [00:09:42]OFDProtocolAddRootSTLVToBuf [00:09:42]FM_MakeSignedData [00:09:42]FM_MakeSignedData [00:09:42]SAM_PROTO_SignData [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 0D 01 02 [00:09:42]Write to MH i2c: E2 08 00 B7 4A 80 0D 01 02 00 00 00 00 7A [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 B7 4A 00 90 00 75 [00:09:42]RAPDU: 90 00 [00:09:42]wFMCommunicate OK [00:09:42]wFMCommunicate request_size=255 [00:09:42]MH_SAM_APDU [00:09:42]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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 56 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F1 68 00 00 35 04 06 00 [00:09:42]Write to MH i2c: E2 02 01 B8 4A 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 56 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F1 68 00 00 35 04 06 00 00 00 6E [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 B8 4A 00 90 00 76 [00:09:42]RAPDU: 90 00 [00:09:42]wFMCommunicate OK [00:09:42]wFMCommunicate request_size=11 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 0D 02 02 06 3B CB CE A4 DC 09 [00:09:42]Write to MH i2c: E2 0E 00 B9 4A 80 0D 02 02 06 00 3B CB CE A4 DC 09 00 00 E6 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 03 00 B9 4A 00 90 00 77 [00:09:42]RAPDU: 90 00 [00:09:42]wFMCommunicate OK [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 0D 03 02 [00:09:42]Write to MH i2c: E2 08 00 BA 4A 80 0D 03 02 00 00 00 00 7F [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:09:42]OFD Sender: No OFD packet to send [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 0B 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 0B 00 BA 4A 00 46 AE 48 85 66 19 3F 33 90 00 32 [00:09:42]RAPDU: 46 AE 48 85 66 19 3F 33 90 00 [00:09:42]wFMCommunicate OK [00:09:42]SAM_PROTO_SignData done [00:09:42]FM_MakeSignedData done [00:09:42]CreateOFDProtocolMessage [00:09:42]wFMCommunicate request_size=4 [00:09:42]MH_SAM_APDU [00:09:42]CAPDU: 80 11 00 00 [00:09:42]Write to MH i2c: E2 08 00 BB 4A 80 11 00 00 00 00 00 00 7F [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:42]Read from MH i2c: E2 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 17 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: E2 17 00 BB 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D7 [00:09:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:09:42]wFMCommunicate OK [00:09:42]CreateOFDProtocolMessage done [00:09:42]OFDSenderStorePacket 26865 [00:09:42]StoreOFDPacket docnum=26865 [00:09:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 74 52 08 01 55 10 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 56 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F1 68 00 00 35 04 06 00 3B CB CE A4 DC 09 46 AE 48 85 66 19 3F 33 [00:09:42]CheckFolder [00:09:42]dirname=/storage/ofd_packets [00:09:42]CheckFolder done [00:09:42]ProducePacketName [00:09:42]name=ofd_packets/00026865 [00:09:42]NVStorageSaveData ofd_packets/00026865 [00:09:42]File name is /storage/ofd_packets/00026865 [00:09:42]Write 302 bytes [00:09:42]NVStorageSaveData done [00:09:42]OFDSenderStorePacket done [00:09:42]KKMCreateOFDPacket done [00:09:42]NVStorageSaveData kkm_last_timestamp [00:09:42]File name is /storage/kkm_last_timestamp [00:09:42]Write 4 bytes [00:09:42]NVStorageSaveData done [00:09:42]ExternCall_PrintAddStr [00:09:42]wPrintStart [00:09:42]Write to MH i2c: 01 00 00 BC 4A 06 [00:09:42]Write i2c OK [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: 01 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: 01 07 00 [00:09:42]MH_I2C_Read... [00:09:42]Read from MH i2c: 01 07 00 BC 4A 00 00 00 00 00 FF 0F 1B [00:09:42]RasterBufferAndPrint [00:09:42]line Счет N : (1)359611 [00:09:42]line ИÐÐ: 02508201610067 [00:09:42]line Контрольно-КаÑÑовый Чек [00:09:42]line ПРОДÐЖР[00:09:42]line ТРК (МРК, ГÐК) : 11 [00:09:42]line Товар: 2710194210 [00:09:42]line ДТ(л)-К-5 [00:09:42]line 13.930 * 71.80 [00:09:42]line = 1000.17 [00:09:42]line ÐДС 12% ÐСП 1% [00:09:42]line > о реализуемом товаре [00:09:42]line ОКРУГЛЕÐИЕ: -0.17 [00:09:42]line ИТОГО: 1000.00 [00:09:42]line ВнеÑено: 1000.00 [00:09:42]line СДÐЧÐ: 0.00 [00:09:42]line ÐСП 1% : 8.85 [00:09:42]line ÐДС 12% : 106.21 [00:09:42]line Ðаличными: 1000.00 [00:09:42]line Безнал.: 0.00 [00:09:42]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [00:09:42]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [00:09:42]line СÐО: Общий режим [00:09:42]line Чек 78 09.04.2024 00:09 [00:09:42]line Смена: 314 ФФД: 1.0 [00:09:42]line ЗÐМ: 0300000147 [00:09:42]line РÐМ: 0000000000091578 [00:09:42]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [00:09:42]line ФМ: 0000000000874657 [00:09:42]line ФД: 26865 [00:09:42]line ФПД: 65746531310601 [00:09:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240409T000958&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26865&fm=65746531310601&tin=02508201610067®Number=0000000000091578&sum=100000 [00:09:43]OFD Sender: Processing packet 26865 [packets to send 44, broken 43] [00:09:43]ProducePacketName [00:09:43]name=ofd_packets/00026865 [00:09:43]OFD Sender: To server: ‡•öpG, [00:09:43]CommunicateWithHost lk.salyk.kg:30040 [00:09:43]ConnectInit lk.salyk.kg [00:09:43]written 0, free lines is 4095 [00:09:43]Connected sock=10 [00:09:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 01 00 00 74 52 08 01 55 10 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 6A 36 00 00 00 00 00 37 04 06 00 0C 1C 00 00 00 00 13 04 06 00 B1 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 56 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F1 68 00 00 35 04 06 00 3B CB CE A4 DC 09 46 AE 48 85 66 19 3F 33 [00:09:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 C3 EE 47 00 E8 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F1 68 00 00 F4 03 04 00 BF 2E 14 66 B6 04 01 00 00 85 51 2B E9 E2 E0 B8 75 [00:09:43]CommunicateWithHost err = 0 [00:09:43]CheckOFDResponse [00:09:43]1017 (14) - 77093643461234 [00:09:43]1041 (16) - 0000000000874657 [00:09:43]1040 (4) - 26865 [00:09:43]1012 (4) - 08.04.2024 17:51 [00:09:43]1206 (1) - 0 [00:09:43]OFD Sender: Remove packet 26865 [00:09:43]ProducePacketName [00:09:43]name=ofd_packets/00026865 [00:09:43]NVStorageDeleteData [00:09:43]Write to MH i2c: 01 00 00 E7 4A 31 [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: 01 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: 01 07 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: 01 07 00 E7 4A 00 00 00 00 00 70 0C B4 [00:09:43]RasterBufferAndPrint [00:09:43]line [00:09:43]line [00:09:43]line [00:09:43]line [00:09:43]line [00:09:43]written 0, free lines is 3186 [00:09:43]MH_Cut [00:09:43]Write to MH i2c: D1 01 00 EE 4A 01 0A [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: D1 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: D1 01 00 [00:09:43]MH_I2C_Read... [00:09:43]Read from MH i2c: D1 01 00 EE 4A 00 09 [00:09:43]Write to MH i2c: 01 00 00 EF 4A 39 [00:09:43]Write i2c OK [00:09:43]MH_I2C_Read... [00:09:44]OFD Sender: No OFD packet to send [00:09:44]*** Cut start [00:09:44]*** Partial cut [00:09:44]*** CUTSNS_PIN = 1 [00:09:44]*** CUTSNS_PIN = 0 [00:09:45]*** Brake cut motor [00:09:45]Read from MH i2c: 01 [00:09:45]MH_I2C_Read... [00:09:45]*** Stop cut motor [00:09:45]*** Cut end [00:09:45]Read from MH i2c: 01 07 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: 01 07 00 EF 4A 00 00 00 00 00 FF 0F 4E [00:09:45]process_action close_receipt done [00:09:45]requested_data is exist [00:09:45]produce_requested_data [00:09:45]requested_item fm.sn is exist - process it [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 11 00 00 [00:09:45]Write to MH i2c: E2 08 00 F0 4A 80 11 00 00 00 00 00 00 B4 [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 17 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 17 00 F0 4A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0C [00:09:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:09:45]wFMCommunicate OK [00:09:45]requested_item fd.num is exist - process it [00:09:45]SAM_PROTO_GetFieldsCounters [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 13 00 00 [00:09:45]Write to MH i2c: E2 08 00 F1 4A 80 13 00 00 00 00 00 00 B7 [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 62 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 62 00 F1 4A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 60 [00:09:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F1 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:45]wFMCommunicate OK [00:09:45]SAM_PROTO_GetFieldsCounters done [00:09:45]requested_item shift.num is exist - process it [00:09:45]requested_item shift.opened is exist - process it [00:09:45]req_shift_opened [00:09:45]FM_GetShiftState [00:09:45]SAM_PROTO_GetShiftState [00:09:45]wFMCommunicate request_size=4 [00:09:45]MH_SAM_APDU [00:09:45]CAPDU: 80 13 01 00 [00:09:45]Write to MH i2c: E2 08 00 F2 4A 80 13 01 00 00 00 00 00 B9 [00:09:45]Write i2c OK [00:09:45]MH_I2C_Read... [00:09:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:45]Read from MH i2c: E2 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 0E 00 [00:09:45]MH_I2C_Read... [00:09:45]Read from MH i2c: E2 0E 00 F2 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 46 [00:09:45]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:09:45]wFMCommunicate OK [00:09:45]SAM_PROTO_GetShiftState done [00:09:45]FM_GetShiftState done [00:09:45]req_shift_opened done [00:09:45]requested_item shift.open_date is exist - process it [00:09:45]req_shift_open_date [00:09:45]req_shift_open_date done [00:09:45]produce_requested_data done [00:09:45]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26865,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:09:45]process_action_free close_receipt [00:09:45]json_value_free [00:09:45]json_value_free done [00:09:45]process_json_proto returns [00:09:45]Send response to host [00:09:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26865,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:09:45]free response buf [00:09:45]execute_script done [00:09:45]execute_script returns [00:09:45]free content buf [00:09:45]Sock 8.Close socket [00:09:45]Sock 8.Thread stoped [00:09:49]OFD Sender: No OFD packet to send [00:09:50]accept exits with 9 [00:09:50]New connection [00:09:50]New thread 3067014500 created [00:09:50]Thread 3066871140 joined [00:09:50]Waiting for new connection... [00:09:50] Sock 9.Parse request [00:09:50]Sock 9.Check first char [00:09:50]Sock 9.First char is OK [00:09:50]request: POST /json_proto HTTP/1.0 [00:09:50]Method: POST [00:09:50]URL: /json_proto [00:09:50]Method is POST - this is cgi request [00:09:50]url: /json_proto [00:09:50]query_string will be loaded in cgi processing [00:09:50]execute_cgi json_proto POST (null) [00:09:50]execute_cgi path=json_proto method=POST [00:09:50]POST find Content-Length [00:09:50]Host: 172.17.35.3:8080 [00:09:50]Content-Length: 677 [00:09:50]Content-Type: application/json [00:09:50] [00:09:50]POST finish read [00:09:50]Found Content-Length = 677 [00:09:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359612", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [00:09:50]execute_script... [00:09:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359612", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [00:09:50]POST & json_proto [00:09:50]process_json_proto [00:09:50]json parsed OK: [00:09:50]protocol is kg_v1.0 [00:09:50]action value=close_receipt [00:09:50]process_action close_receipt [00:09:50]cmd_close_receipt [00:09:50]MH_GetDate [00:09:50]Write to MH i2c: F0 00 00 F3 4A 2C [00:09:50]Write i2c OK [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: F0 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: F0 09 00 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: F0 09 00 F3 4A 00 60 87 14 66 2B 11 66 64 9C [00:09:50]GetLastDocTimeStamp 1712621398 [00:09:50]current date 1712621408 [00:09:50]FM_GetShiftState [00:09:50]SAM_PROTO_GetShiftState [00:09:50]wFMCommunicate request_size=4 [00:09:50]MH_SAM_APDU [00:09:50]CAPDU: 80 13 01 00 [00:09:50]Write to MH i2c: E2 08 00 F4 4A 80 13 01 00 00 00 00 00 BB [00:09:50]Write i2c OK [00:09:50]MH_I2C_Read... [00:09:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:50]Read from MH i2c: E2 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 0E 00 [00:09:50]MH_I2C_Read... [00:09:50]Read from MH i2c: E2 0E 00 F4 4A 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 48 [00:09:50]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:09:50]wFMCommunicate OK [00:09:50]SAM_PROTO_GetShiftState done [00:09:50]FM_GetShiftState done [00:09:50]opened in 1712536270 [00:09:50]opened+sec_in_day 1712622670 [00:09:50]quantity*price = 50022 [00:09:50]sum+1 = 50024 [00:09:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 79 09.04.2024 00:10 Смена: 314 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26866 ФПД: 22924016096152 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240409T001008&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26866&fm=22924016096152&tin=02508201610067®Number=0000000000091578&sum=50000 [00:09:51]StoreToDocumentArchive [00:09:51]shift 314 fd 26866 [00:09:51]save to /storage/0314/doc_00026866 [00:09:51]save last doc name /storage/0314/doc_00026866 to /storage/kkm_last_doc_name [00:09:51]save OK [00:09:51]Clear old archive folders... [00:09:51]ProcessDocumentItem done err = 0, tmpTLVsize=251 [00:09:51]tlvbuf is 00EEBB90 [00:09:51]SAM_PROTO_ClearQueue [00:09:51]wFMCommunicate request_size=4 [00:09:51]MH_SAM_APDU [00:09:51]CAPDU: 80 09 00 00 [00:09:51]Write to MH i2c: E2 08 00 01 4B 80 09 00 00 00 00 00 00 BE [00:09:51]Write i2c OK [00:09:51]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 03 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 03 00 01 4B 00 90 00 C0 [00:09:51]RAPDU: 90 00 [00:09:51]wFMCommunicate OK [00:09:51]SAM_PROTO_ClearQueue done [00:09:51]KKMCreateOFDPacket [00:09:51]OFDProtocolAddRootSTLVToBuf [00:09:51]FM_MakeSignedData [00:09:51]FM_MakeSignedData [00:09:51]SAM_PROTO_SignData [00:09:51]wFMCommunicate request_size=4 [00:09:51]MH_SAM_APDU [00:09:51]CAPDU: 80 0D 01 02 [00:09:51]Write to MH i2c: E2 08 00 02 4B 80 0D 01 02 00 00 00 00 C6 [00:09:51]Write i2c OK [00:09:51]MH_I2C_Read... [00:09:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:09:51]Read from MH i2c: E2 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 03 00 [00:09:51]MH_I2C_Read... [00:09:51]Read from MH i2c: E2 03 00 02 4B 00 90 00 C1 [00:09:51]RAPDU: 90 00 [00:09:51]wFMCommunicate OK [00:09:51]wFMCommunicate request_size=255 [00:09:51]MH_SAM_APDU [00:09:51]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 4F 00 00 00 F4 03 04 00 60 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F2 68 00 00 35 04 06 00 14 [00:09:51]Write to MH i2c: E2 02 01 03 4B 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 4F 00 00 00 F4 03 04 00 60 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F2 68 00 00 35 04 06 00 14 00 00 DF [00:09:51]Write i2c OK [00:09:51]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:52]Read from MH i2c: E2 03 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 03 00 03 4B 00 90 00 C2 [00:09:52]RAPDU: 90 00 [00:09:52]wFMCommunicate OK [00:09:52]wFMCommunicate request_size=10 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 0D 02 02 05 D9 69 D6 13 98 [00:09:52]Write to MH i2c: E2 0D 00 04 4B 80 0D 02 02 05 00 D9 69 D6 13 98 00 00 96 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 03 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 03 00 04 4B 00 90 00 C3 [00:09:52]RAPDU: 90 00 [00:09:52]wFMCommunicate OK [00:09:52]wFMCommunicate request_size=4 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 0D 03 02 [00:09:52]Write to MH i2c: E2 08 00 05 4B 80 0D 03 02 00 00 00 00 CB [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 0B 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 0B 00 05 4B 00 D8 FD BF 3C B8 13 34 33 90 00 CE [00:09:52]RAPDU: D8 FD BF 3C B8 13 34 33 90 00 [00:09:52]wFMCommunicate OK [00:09:52]SAM_PROTO_SignData done [00:09:52]FM_MakeSignedData done [00:09:52]CreateOFDProtocolMessage [00:09:52]wFMCommunicate request_size=4 [00:09:52]MH_SAM_APDU [00:09:52]CAPDU: 80 11 00 00 [00:09:52]Write to MH i2c: E2 08 00 06 4B 80 11 00 00 00 00 00 00 CB [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:52]Read from MH i2c: E2 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 17 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: E2 17 00 06 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 23 [00:09:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:09:52]wFMCommunicate OK [00:09:52]CreateOFDProtocolMessage done [00:09:52]OFDSenderStorePacket 26866 [00:09:52]StoreOFDPacket docnum=26866 [00:09:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 04 F7 07 01 CC 47 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 4F 00 00 00 F4 03 04 00 60 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F2 68 00 00 35 04 06 00 14 D9 69 D6 13 98 D8 FD BF 3C B8 13 34 33 [00:09:52]CheckFolder [00:09:52]dirname=/storage/ofd_packets [00:09:52]CheckFolder done [00:09:52]ProducePacketName [00:09:52]name=ofd_packets/00026866 [00:09:52]NVStorageSaveData ofd_packets/00026866 [00:09:52]File name is /storage/ofd_packets/00026866 [00:09:52]Write 301 bytes [00:09:52]NVStorageSaveData done [00:09:52]OFDSenderStorePacket done [00:09:52]KKMCreateOFDPacket done [00:09:52]NVStorageSaveData kkm_last_timestamp [00:09:52]File name is /storage/kkm_last_timestamp [00:09:52]Write 4 bytes [00:09:52]NVStorageSaveData done [00:09:52]ExternCall_PrintAddStr [00:09:52]wPrintStart [00:09:52]Write to MH i2c: 01 00 00 07 4B 52 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: 01 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: 01 07 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: 01 07 00 07 4B 00 00 00 00 00 FF 0F 67 [00:09:52]RasterBufferAndPrint [00:09:52]line Счет N : (1)359612 [00:09:52]line ИÐÐ: 02508201610067 [00:09:52]line Контрольно-КаÑÑовый Чек [00:09:52]line ПРОДÐЖР[00:09:52]line ТРК (МРК, ГÐК) : 51 [00:09:52]line Товар: 2710124130 [00:09:52]line Ðи-92-К-5 [00:09:52]line 7.890 * 63.40 [00:09:52]line = 500.23 [00:09:52]line ÐДС 12% ÐСП 1% [00:09:52]line > о реализуемом товаре [00:09:52]line ОКРУГЛЕÐИЕ: -0.23 [00:09:52]line ИТОГО: 500.00 [00:09:52]line ВнеÑено: 500.00 [00:09:52]line СДÐЧÐ: 0.00 [00:09:52]line ÐСП 1% : 4.43 [00:09:52]line ÐДС 12% : 53.12 [00:09:52]line Ðаличными: 500.00 [00:09:52]line Безнал.: 0.00 [00:09:52]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [00:09:52]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [00:09:52]line СÐО: Общий режим [00:09:52]line Чек 79 09.04.2024 00:10 [00:09:52]line Смена: 314 ФФД: 1.0 [00:09:52]line ЗÐМ: 0300000147 [00:09:52]line РÐМ: 0000000000091578 [00:09:52]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [00:09:52]line ФМ: 0000000000874657 [00:09:52]line ФД: 26866 [00:09:52]line ФПД: 22924016096152 [00:09:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240409T001008&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26866&fm=22924016096152&tin=02508201610067®Number=0000000000091578&sum=50000 [00:09:52]written 0, free lines is 4095 [00:09:52]OFD Sender: Processing packet 26866 [packets to send 44, broken 43] [00:09:52]ProducePacketName [00:09:52]name=ofd_packets/00026866 [00:09:52]OFD Sender: To server: ‡•öpG, [00:09:52]CommunicateWithHost lk.salyk.kg:30040 [00:09:52]ConnectInit lk.salyk.kg [00:09:52]Connected sock=10 [00:09:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 04 F7 07 01 CC 47 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 4F 00 00 00 F4 03 04 00 60 87 14 66 0E 04 04 00 3A 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F2 68 00 00 35 04 06 00 14 D9 69 D6 13 98 D8 FD BF 3C B8 13 34 33 [00:09:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 4C EA 47 00 DE CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F2 68 00 00 F4 03 04 00 C8 2E 14 66 B6 04 01 00 00 27 ED 5A 91 55 3E 39 BD [00:09:52]CommunicateWithHost err = 0 [00:09:52]CheckOFDResponse [00:09:52]1017 (14) - 77093643461234 [00:09:52]1041 (16) - 0000000000874657 [00:09:52]1040 (4) - 26866 [00:09:52]1012 (4) - 08.04.2024 17:52 [00:09:52]1206 (1) - 0 [00:09:52]OFD Sender: Remove packet 26866 [00:09:52]ProducePacketName [00:09:52]name=ofd_packets/00026866 [00:09:52]NVStorageDeleteData [00:09:52]Write to MH i2c: 01 00 00 32 4B 7D [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: 01 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: 01 07 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: 01 07 00 32 4B 00 00 00 00 00 79 0C 09 [00:09:52]RasterBufferAndPrint [00:09:52]line [00:09:52]line [00:09:52]line [00:09:52]line [00:09:52]line [00:09:52]written 0, free lines is 3198 [00:09:52]MH_Cut [00:09:52]Write to MH i2c: D1 01 00 39 4B 01 56 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: D1 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: D1 01 00 [00:09:52]MH_I2C_Read... [00:09:52]Read from MH i2c: D1 01 00 39 4B 00 55 [00:09:52]Write to MH i2c: 01 00 00 3A 4B 85 [00:09:52]Write i2c OK [00:09:52]MH_I2C_Read... [00:09:53]OFD Sender: No OFD packet to send [00:09:53]*** Cut start [00:09:53]*** Partial cut [00:09:53]*** CUTSNS_PIN = 1 [00:09:54]*** CUTSNS_PIN = 0 [00:09:54]*** Brake cut motor [00:09:54]Read from MH i2c: 01 [00:09:54]MH_I2C_Read... [00:09:54]*** Stop cut motor [00:09:54]*** Cut end [00:09:54]Read from MH i2c: 01 07 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: 01 07 00 3A 4B 00 00 00 00 00 FF 0F 9A [00:09:54]process_action close_receipt done [00:09:54]requested_data is exist [00:09:54]produce_requested_data [00:09:54]requested_item fm.sn is exist - process it [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 11 00 00 [00:09:54]Write to MH i2c: E2 08 00 3B 4B 80 11 00 00 00 00 00 00 00 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 17 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 17 00 3B 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 58 [00:09:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:09:54]wFMCommunicate OK [00:09:54]requested_item fd.num is exist - process it [00:09:54]SAM_PROTO_GetFieldsCounters [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 13 00 00 [00:09:54]Write to MH i2c: E2 08 00 3C 4B 80 13 00 00 00 00 00 00 03 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 62 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 62 00 3C 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 B0 [00:09:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:09:54]wFMCommunicate OK [00:09:54]SAM_PROTO_GetFieldsCounters done [00:09:54]requested_item shift.num is exist - process it [00:09:54]requested_item shift.opened is exist - process it [00:09:54]req_shift_opened [00:09:54]FM_GetShiftState [00:09:54]SAM_PROTO_GetShiftState [00:09:54]wFMCommunicate request_size=4 [00:09:54]MH_SAM_APDU [00:09:54]CAPDU: 80 13 01 00 [00:09:54]Write to MH i2c: E2 08 00 3D 4B 80 13 01 00 00 00 00 00 05 [00:09:54]Write i2c OK [00:09:54]MH_I2C_Read... [00:09:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:09:54]Read from MH i2c: E2 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 0E 00 [00:09:54]MH_I2C_Read... [00:09:54]Read from MH i2c: E2 0E 00 3D 4B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 92 [00:09:54]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:09:54]wFMCommunicate OK [00:09:54]SAM_PROTO_GetShiftState done [00:09:54]FM_GetShiftState done [00:09:54]req_shift_opened done [00:09:54]requested_item shift.open_date is exist - process it [00:09:54]req_shift_open_date [00:09:54]req_shift_open_date done [00:09:54]produce_requested_data done [00:09:54]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:09:54]process_action_free close_receipt [00:09:54]json_value_free [00:09:54]json_value_free done [00:09:54]process_json_proto returns [00:09:54]Send response to host [00:09:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:09:54]free response buf [00:09:54]execute_script done [00:09:54]execute_script returns [00:09:54]free content buf [00:09:54]Sock 9.Close socket [00:09:54]Sock 9.Thread stoped [00:09:58]OFD Sender: No OFD packet to send [00:10:03]OFD Sender: No OFD packet to send [00:10:08]OFD Sender: No OFD packet to send [00:10:13]OFD Sender: No OFD packet to send [00:10:18]OFD Sender: No OFD packet to send [00:10:23]OFD Sender: No OFD packet to send [00:10:28]OFD Sender: No OFD packet to send [00:10:33]OFD Sender: No OFD packet to send [00:10:38]OFD Sender: No OFD packet to send [00:10:43]OFD Sender: No OFD packet to send [00:10:48]OFD Sender: No OFD packet to send [00:10:53]OFD Sender: No OFD packet to send [00:10:58]OFD Sender: No OFD packet to send [00:11:03]OFD Sender: No OFD packet to send [00:11:08]OFD Sender: No OFD packet to send [00:11:13]OFD Sender: No OFD packet to send [00:11:18]OFD Sender: No OFD packet to send [00:11:23]OFD Sender: No OFD packet to send [00:11:28]OFD Sender: No OFD packet to send [00:11:33]OFD Sender: No OFD packet to send [00:11:38]OFD Sender: No OFD packet to send [00:11:43]OFD Sender: No OFD packet to send [00:11:48]OFD Sender: No OFD packet to send [00:11:53]OFD Sender: No OFD packet to send [00:11:58]OFD Sender: No OFD packet to send [00:12:03]OFD Sender: No OFD packet to send [00:12:08]OFD Sender: No OFD packet to send [00:12:13]OFD Sender: No OFD packet to send [00:12:18]OFD Sender: No OFD packet to send [00:12:23]OFD Sender: No OFD packet to send [00:12:28]OFD Sender: No OFD packet to send [00:12:33]OFD Sender: No OFD packet to send [00:12:38]OFD Sender: No OFD packet to send [00:12:43]OFD Sender: No OFD packet to send [00:12:48]OFD Sender: No OFD packet to send [00:12:53]OFD Sender: No OFD packet to send [00:12:58]OFD Sender: No OFD packet to send [00:13:03]OFD Sender: No OFD packet to send [00:13:08]OFD Sender: No OFD packet to send [00:13:13]OFD Sender: No OFD packet to send [00:13:18]OFD Sender: No OFD packet to send [00:13:23]OFD Sender: No OFD packet to send [00:13:28]OFD Sender: No OFD packet to send [00:13:33]OFD Sender: No OFD packet to send [00:13:38]OFD Sender: No OFD packet to send [00:13:43]OFD Sender: No OFD packet to send [00:13:48]OFD Sender: No OFD packet to send [00:13:53]OFD Sender: No OFD packet to send [00:13:58]OFD Sender: No OFD packet to send [00:14:03]OFD Sender: No OFD packet to send [00:14:08]OFD Sender: No OFD packet to send [00:14:10]accept exits with 8 [00:14:10]New connection [00:14:10]New thread 3066871140 created [00:14:10]Thread 3067014500 joined [00:14:10]Waiting for new connection... [00:14:10] Sock 8.Parse request [00:14:10]Sock 8.Check first char [00:14:10]Sock 8.First char is OK [00:14:10]request: POST /json_proto HTTP/1.0 [00:14:10]Method: POST [00:14:10]URL: /json_proto [00:14:10]Method is POST - this is cgi request [00:14:10]url: /json_proto [00:14:10]query_string will be loaded in cgi processing [00:14:10]execute_cgi json_proto POST (null) [00:14:10]execute_cgi path=json_proto method=POST [00:14:10]POST find Content-Length [00:14:10]Host: 172.17.35.3:8080 [00:14:10]Content-Length: 215 [00:14:10]Content-Type: application/json [00:14:10] [00:14:10]POST finish read [00:14:10]Found Content-Length = 215 [00:14:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:10]execute_script... [00:14:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:10]POST & json_proto [00:14:10]process_json_proto [00:14:10]json parsed OK: [00:14:10]protocol is kg_v1.0 [00:14:10]action value=get_value [00:14:10]process_action get_value [00:14:10]cmd_get_value [00:14:10]process_action get_value done [00:14:10]requested_data is exist [00:14:10]produce_requested_data [00:14:10]requested_item kkm.sn is exist - process it [00:14:10]requested_item kkm.ver is exist - process it [00:14:10]requested_item fm.sn is exist - process it [00:14:10]wFMCommunicate request_size=4 [00:14:10]MH_SAM_APDU [00:14:10]CAPDU: 80 11 00 00 [00:14:10]Write to MH i2c: E2 08 00 3E 4B 80 11 00 00 00 00 00 00 03 [00:14:10]Write i2c OK [00:14:10]MH_I2C_Read... [00:14:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:10]Read from MH i2c: E2 [00:14:10]MH_I2C_Read... [00:14:10]Read from MH i2c: E2 17 00 [00:14:10]MH_I2C_Read... [00:14:10]Read from MH i2c: E2 17 00 3E 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 5B [00:14:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:14:10]wFMCommunicate OK [00:14:10]requested_item fd.num is exist - process it [00:14:10]SAM_PROTO_GetFieldsCounters [00:14:10]wFMCommunicate request_size=4 [00:14:10]MH_SAM_APDU [00:14:10]CAPDU: 80 13 00 00 [00:14:10]Write to MH i2c: E2 08 00 3F 4B 80 13 00 00 00 00 00 00 06 [00:14:10]Write i2c OK [00:14:10]MH_I2C_Read... [00:14:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:11]Read from MH i2c: E2 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 62 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 62 00 3F 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 B3 [00:14:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:11]wFMCommunicate OK [00:14:11]SAM_PROTO_GetFieldsCounters done [00:14:11]requested_item shift.num is exist - process it [00:14:11]requested_item shift.opened is exist - process it [00:14:11]req_shift_opened [00:14:11]FM_GetShiftState [00:14:11]SAM_PROTO_GetShiftState [00:14:11]wFMCommunicate request_size=4 [00:14:11]MH_SAM_APDU [00:14:11]CAPDU: 80 13 01 00 [00:14:11]Write to MH i2c: E2 08 00 40 4B 80 13 01 00 00 00 00 00 08 [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:11]Read from MH i2c: E2 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 0E 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 0E 00 40 4B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 95 [00:14:11]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:14:11]wFMCommunicate OK [00:14:11]SAM_PROTO_GetShiftState done [00:14:11]FM_GetShiftState done [00:14:11]req_shift_opened done [00:14:11]requested_item shift.open_date is exist - process it [00:14:11]req_shift_open_date [00:14:11]req_shift_open_date done [00:14:11]produce_requested_data done [00:14:11]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:14:11]process_action_free get_value [00:14:11]json_value_free [00:14:11]json_value_free done [00:14:11]process_json_proto returns [00:14:11]Send response to host [00:14:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:14:11]free response buf [00:14:11]execute_script done [00:14:11]execute_script returns [00:14:11]free content buf [00:14:11]Sock 8.Close socket [00:14:11]Sock 8.Thread stoped [00:14:11]accept exits with 9 [00:14:11]New connection [00:14:11]New thread 3067014500 created [00:14:11]Thread 3066871140 joined [00:14:11]Waiting for new connection... [00:14:11] Sock 9.Parse request [00:14:11]Sock 9.Check first char [00:14:11]Sock 9.First char is OK [00:14:11]request: POST /json_proto HTTP/1.0 [00:14:11]Method: POST [00:14:11]URL: /json_proto [00:14:11]Method is POST - this is cgi request [00:14:11]url: /json_proto [00:14:11]query_string will be loaded in cgi processing [00:14:11]execute_cgi json_proto POST (null) [00:14:11]execute_cgi path=json_proto method=POST [00:14:11]POST find Content-Length [00:14:11]Host: 172.17.35.3:8080 [00:14:11]Content-Length: 331 [00:14:11]Content-Type: application/json [00:14:11] [00:14:11]POST finish read [00:14:11]Found Content-Length = 331 [00:14:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:11]execute_script... [00:14:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:11]POST & json_proto [00:14:11]process_json_proto [00:14:11]json parsed OK: [00:14:11]protocol is kg_v1.0 [00:14:11]action value=get_value [00:14:11]process_action get_value [00:14:11]cmd_get_value [00:14:11]process_action get_value done [00:14:11]requested_data is exist [00:14:11]produce_requested_data [00:14:11]requested_item fm.sale.total is exist - process it [00:14:11]SAM_PROTO_GetFMData [00:14:11]wFMCommunicate request_size=4 [00:14:11]MH_SAM_APDU [00:14:11]CAPDU: 80 13 03 00 [00:14:11]Write to MH i2c: E2 08 00 41 4B 80 13 03 00 00 00 00 00 0B [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:11]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:11]Read from MH i2c: E2 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 FD 00 [00:14:11]MH_I2C_Read... [00:14:11]Read from MH i2c: E2 FD 00 41 4B 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 8A [00:14:11]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:14:11]wFMCommunicate OK [00:14:11]wFMCommunicate request_size=4 [00:14:11]MH_SAM_APDU [00:14:11]CAPDU: 80 17 00 00 [00:14:11]Write to MH i2c: E2 08 00 42 4B 80 17 00 00 00 00 00 00 0D [00:14:11]Write i2c OK [00:14:11]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 42 4B 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 06 [00:14:12]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 43 4B 80 17 00 00 00 00 00 00 0E [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 43 4B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 B1 [00:14:12]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 44 4B 80 17 00 00 00 00 00 00 0F [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 FD 00 44 4B 00 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [00:14:12]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:12]wFMCommunicate OK [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 17 00 00 [00:14:12]Write to MH i2c: E2 08 00 45 4B 80 17 00 00 00 00 00 00 10 [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:14:12]Read from MH i2c: E2 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 DD 00 [00:14:12]MH_I2C_Read... [00:14:12]Read from MH i2c: E2 DD 00 45 4B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F8 [00:14:12]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:12]wFMCommunicate OK [00:14:12]SAM_PROTO_GetFMData done [00:14:12]requested_item fm.sale_refund.total is exist - process it [00:14:12]requested_item fm.buy.total is exist - process it [00:14:12]requested_item shift.sale.total is exist - process it [00:14:12]SAM_PROTO_GetShiftData [00:14:12]wFMCommunicate request_size=4 [00:14:12]MH_SAM_APDU [00:14:12]CAPDU: 80 13 02 00 [00:14:12]Write to MH i2c: E2 08 00 46 4B 80 13 02 00 00 00 00 00 0F [00:14:12]Write i2c OK [00:14:12]MH_I2C_Read... [00:14:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:13]Read from MH i2c: E2 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 FD 00 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 FD 00 46 4B 00 B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 73 [00:14:13]RAPDU: B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:13]wFMCommunicate OK [00:14:13]wFMCommunicate request_size=4 [00:14:13]MH_SAM_APDU [00:14:13]CAPDU: 80 17 00 00 [00:14:13]Write to MH i2c: E2 08 00 47 4B 80 17 00 00 00 00 00 00 12 [00:14:13]Write i2c OK [00:14:13]MH_I2C_Read... [00:14:13]OFD Sender: No OFD packet to send [00:14:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:13]Read from MH i2c: E2 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 FD 00 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 FD 00 47 4B 00 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 49 [00:14:13]RAPDU: 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:14:13]wFMCommunicate OK [00:14:13]wFMCommunicate request_size=4 [00:14:13]MH_SAM_APDU [00:14:13]CAPDU: 80 17 00 00 [00:14:13]Write to MH i2c: E2 08 00 48 4B 80 17 00 00 00 00 00 00 13 [00:14:13]Write i2c OK [00:14:13]MH_I2C_Read... [00:14:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:13]Read from MH i2c: E2 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 FD 00 [00:14:13]MH_I2C_Read... [00:14:13]Read from MH i2c: E2 FD 00 48 4B 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 3B [00:14:13]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 [00:14:14]wFMCommunicate OK [00:14:14]wFMCommunicate request_size=4 [00:14:14]MH_SAM_APDU [00:14:14]CAPDU: 80 17 00 00 [00:14:14]Write to MH i2c: E2 08 00 49 4B 80 17 00 00 00 00 00 00 14 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:14]Read from MH i2c: E2 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 FD 00 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 FD 00 49 4B 00 EF 03 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 90 00 8C [00:14:14]RAPDU: EF 03 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 90 00 [00:14:14]wFMCommunicate OK [00:14:14]wFMCommunicate request_size=4 [00:14:14]MH_SAM_APDU [00:14:14]CAPDU: 80 17 00 00 [00:14:14]Write to MH i2c: E2 08 00 4A 4B 80 17 00 00 00 00 00 00 15 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 211! [00:14:14]Read from MH i2c: E2 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 D6 00 [00:14:14]MH_I2C_Read... [00:14:14]Read from MH i2c: E2 D6 00 4A 4B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F7 [00:14:14]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:14]wFMCommunicate OK [00:14:14]SAM_PROTO_GetShiftData done [00:14:14]requested_item shift.sale.total_cash is exist - process it [00:14:14]requested_item shift.sale_refund.total is exist - process it [00:14:14]requested_item shift.sale_refund.total_cash is exist - process it [00:14:14]requested_item shift.buy.total is exist - process it [00:14:14]requested_item shift.buy.total_cash is exist - process it [00:14:14]produce_requested_data done [00:14:14]produce_requested_data return {"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:14]process_action_free get_value [00:14:14]json_value_free [00:14:14]json_value_free done [00:14:14]process_json_proto returns [00:14:14]Send response to host [00:14:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:14]free response buf [00:14:14]execute_script done [00:14:14]execute_script returns [00:14:14]free content buf [00:14:14]Sock 9.Close socket [00:14:14]Sock 9.Thread stoped [00:14:14]accept exits with 8 [00:14:14]New connection [00:14:14]New thread 3066871140 created [00:14:14]Thread 3067014500 joined [00:14:14]Waiting for new connection... [00:14:14] Sock 8.Parse request [00:14:14]Sock 8.Check first char [00:14:14]Sock 8.First char is OK [00:14:14]request: POST /json_proto HTTP/1.0 [00:14:14]Method: POST [00:14:14]URL: /json_proto [00:14:14]Method is POST - this is cgi request [00:14:14]url: /json_proto [00:14:14]query_string will be loaded in cgi processing [00:14:14]execute_cgi json_proto POST (null) [00:14:14]execute_cgi path=json_proto method=POST [00:14:14]POST find Content-Length [00:14:14]Host: 172.17.35.3:8080 [00:14:14]Content-Length: 331 [00:14:14]Content-Type: application/json [00:14:14] [00:14:14]POST finish read [00:14:14]Found Content-Length = 331 [00:14:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:14]execute_script... [00:14:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:14]POST & json_proto [00:14:14]process_json_proto [00:14:14]json parsed OK: [00:14:14]protocol is kg_v1.0 [00:14:14]action value=get_value [00:14:14]process_action get_value [00:14:14]cmd_get_value [00:14:14]process_action get_value done [00:14:14]requested_data is exist [00:14:14]produce_requested_data [00:14:14]requested_item fm.sale.total is exist - process it [00:14:14]SAM_PROTO_GetFMData [00:14:14]wFMCommunicate request_size=4 [00:14:14]MH_SAM_APDU [00:14:14]CAPDU: 80 13 03 00 [00:14:14]Write to MH i2c: E2 08 00 4B 4B 80 13 03 00 00 00 00 00 15 [00:14:14]Write i2c OK [00:14:14]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 FD 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 FD 00 4B 4B 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 94 [00:14:15]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=4 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 17 00 00 [00:14:15]Write to MH i2c: E2 08 00 4C 4B 80 17 00 00 00 00 00 00 17 [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 FD 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 FD 00 4C 4B 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 10 [00:14:15]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:14:15]wFMCommunicate OK [00:14:15]wFMCommunicate request_size=4 [00:14:15]MH_SAM_APDU [00:14:15]CAPDU: 80 17 00 00 [00:14:15]Write to MH i2c: E2 08 00 4D 4B 80 17 00 00 00 00 00 00 18 [00:14:15]Write i2c OK [00:14:15]MH_I2C_Read... [00:14:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:15]Read from MH i2c: E2 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 FD 00 [00:14:15]MH_I2C_Read... [00:14:15]Read from MH i2c: E2 FD 00 4D 4B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 BB [00:14:16]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:14:16]wFMCommunicate OK [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 17 00 00 [00:14:16]Write to MH i2c: E2 08 00 4E 4B 80 17 00 00 00 00 00 00 19 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 FD 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 FD 00 4E 4B 00 01 00 04 F7 03 00 00 EF 03 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 90 00 91 [00:14:16]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:16]wFMCommunicate OK [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 17 00 00 [00:14:16]Write to MH i2c: E2 08 00 4F 4B 80 17 00 00 00 00 00 00 1A [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:14:16]Read from MH i2c: E2 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 DD 00 [00:14:16]MH_I2C_Read... [00:14:16]Read from MH i2c: E2 DD 00 4F 4B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 02 [00:14:16]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:16]wFMCommunicate OK [00:14:16]SAM_PROTO_GetFMData done [00:14:16]requested_item fm.sale_refund.total is exist - process it [00:14:16]requested_item fm.buy.total is exist - process it [00:14:16]requested_item shift.sale.total is exist - process it [00:14:16]SAM_PROTO_GetShiftData [00:14:16]wFMCommunicate request_size=4 [00:14:16]MH_SAM_APDU [00:14:16]CAPDU: 80 13 02 00 [00:14:16]Write to MH i2c: E2 08 00 50 4B 80 13 02 00 00 00 00 00 19 [00:14:16]Write i2c OK [00:14:16]MH_I2C_Read... [00:14:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:17]Read from MH i2c: E2 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: E2 FD 00 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: E2 FD 00 50 4B 00 B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 7D [00:14:17]RAPDU: B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:17]wFMCommunicate OK [00:14:17]wFMCommunicate request_size=4 [00:14:17]MH_SAM_APDU [00:14:17]CAPDU: 80 17 00 00 [00:14:17]Write to MH i2c: E2 08 00 51 4B 80 17 00 00 00 00 00 00 1C [00:14:17]Write i2c OK [00:14:17]MH_I2C_Read... [00:14:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:17]Read from MH i2c: E2 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: E2 FD 00 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: E2 FD 00 51 4B 00 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 53 [00:14:17]RAPDU: 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:14:17]wFMCommunicate OK [00:14:17]wFMCommunicate request_size=4 [00:14:17]MH_SAM_APDU [00:14:17]CAPDU: 80 17 00 00 [00:14:17]Write to MH i2c: E2 08 00 52 4B 80 17 00 00 00 00 00 00 1D [00:14:17]Write i2c OK [00:14:17]MH_I2C_Read... [00:14:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:17]Read from MH i2c: E2 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: E2 FD 00 [00:14:17]MH_I2C_Read... [00:14:17]Read from MH i2c: E2 FD 00 52 4B 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 45 [00:14:18]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 [00:14:18]wFMCommunicate OK [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 17 00 00 [00:14:18]Write to MH i2c: E2 08 00 53 4B 80 17 00 00 00 00 00 00 1E [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:18]Read from MH i2c: E2 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 FD 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 FD 00 53 4B 00 EF 03 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 90 00 96 [00:14:18]RAPDU: EF 03 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 90 00 [00:14:18]wFMCommunicate OK [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 17 00 00 [00:14:18]Write to MH i2c: E2 08 00 54 4B 80 17 00 00 00 00 00 00 1F [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]OFD Sender: No OFD packet to send [00:14:18]Read from MH i2c: E2 [00:14:18]MH_I2C_Read... [00:14:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 211! [00:14:18]Read from MH i2c: E2 D6 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: E2 D6 00 54 4B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 01 [00:14:18]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:18]wFMCommunicate OK [00:14:18]SAM_PROTO_GetShiftData done [00:14:18]requested_item shift.sale.total_cash is exist - process it [00:14:18]requested_item shift.sale_refund.total is exist - process it [00:14:18]requested_item shift.sale_refund.total_cash is exist - process it [00:14:18]requested_item shift.buy.total is exist - process it [00:14:18]requested_item shift.buy.total_cash is exist - process it [00:14:18]produce_requested_data done [00:14:18]produce_requested_data return {"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:18]process_action_free get_value [00:14:18]json_value_free [00:14:18]json_value_free done [00:14:18]process_json_proto returns [00:14:18]Send response to host [00:14:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:18]free response buf [00:14:18]execute_script done [00:14:18]execute_script returns [00:14:18]free content buf [00:14:18]Sock 8.Close socket [00:14:18]Sock 8.Thread stoped [00:14:18]accept exits with 9 [00:14:18]New connection [00:14:18]New thread 3067014500 created [00:14:18]Thread 3066871140 joined [00:14:18]Waiting for new connection... [00:14:18] Sock 9.Parse request [00:14:18]Sock 9.Check first char [00:14:18]Sock 9.First char is OK [00:14:18]request: POST /json_proto HTTP/1.0 [00:14:18]Method: POST [00:14:18]URL: /json_proto [00:14:18]Method is POST - this is cgi request [00:14:18]url: /json_proto [00:14:18]query_string will be loaded in cgi processing [00:14:18]execute_cgi json_proto POST (null) [00:14:18]execute_cgi path=json_proto method=POST [00:14:18]POST find Content-Length [00:14:18]Host: 172.17.35.3:8080 [00:14:18]Content-Length: 256 [00:14:18]Content-Type: application/json [00:14:18] [00:14:18]POST finish read [00:14:18]Found Content-Length = 256 [00:14:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:18]execute_script... [00:14:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:14:18]POST & json_proto [00:14:18]process_json_proto [00:14:18]json parsed OK: [00:14:18]protocol is kg_v1.0 [00:14:18]action value=x_report [00:14:18]process_action x_report [00:14:18]cmd_x_report [00:14:18]MH_GetDate [00:14:18]Write to MH i2c: F0 00 00 55 4B 8F [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: F0 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: F0 09 00 [00:14:18]MH_I2C_Read... [00:14:18]Read from MH i2c: F0 09 00 55 4B 00 6C 88 14 66 2B 11 66 64 0C [00:14:18]GetLastDocTimeStamp 1712621408 [00:14:18]current date 1712621676 [00:14:18]FM_GetShiftState [00:14:18]SAM_PROTO_GetShiftState [00:14:18]wFMCommunicate request_size=4 [00:14:18]MH_SAM_APDU [00:14:18]CAPDU: 80 13 01 00 [00:14:18]Write to MH i2c: E2 08 00 56 4B 80 13 01 00 00 00 00 00 1E [00:14:18]Write i2c OK [00:14:18]MH_I2C_Read... [00:14:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 0E 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 0E 00 56 4B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 AB [00:14:19]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:14:19]wFMCommunicate OK [00:14:19]SAM_PROTO_GetShiftState done [00:14:19]FM_GetShiftState done [00:14:19]KKMCreateXReportDocument [00:14:19]Load OK [00:14:19]Malloc new data [00:14:19]MH_GetDate [00:14:19]Write to MH i2c: F0 00 00 57 4B 91 [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: F0 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: F0 09 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: F0 09 00 57 4B 00 6C 88 14 66 2B 11 66 64 0E [00:14:19]Malloc new data [00:14:19]Malloc new data [00:14:19]wFMCommunicate request_size=4 [00:14:19]MH_SAM_APDU [00:14:19]CAPDU: 80 11 00 00 [00:14:19]Write to MH i2c: E2 08 00 58 4B 80 11 00 00 00 00 00 00 1D [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 17 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 17 00 58 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 75 [00:14:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:14:19]wFMCommunicate OK [00:14:19]SAM_PROTO_GetFieldsCounters [00:14:19]wFMCommunicate request_size=4 [00:14:19]MH_SAM_APDU [00:14:19]CAPDU: 80 13 00 00 [00:14:19]Write to MH i2c: E2 08 00 59 4B 80 13 00 00 00 00 00 00 20 [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 62 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 62 00 59 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [00:14:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:19]wFMCommunicate OK [00:14:19]SAM_PROTO_GetFieldsCounters done [00:14:19]Malloc new data [00:14:19]Malloc new data [00:14:19]Malloc new data [00:14:19]KKMCreateXReportDocument OK [00:14:19]KKMSetXReportData OK [00:14:19]KKMPrepareXReportFMData [00:14:19]SAM_PROTO_GetShiftData [00:14:19]wFMCommunicate request_size=4 [00:14:19]MH_SAM_APDU [00:14:19]CAPDU: 80 13 02 00 [00:14:19]Write to MH i2c: E2 08 00 5A 4B 80 13 02 00 00 00 00 00 23 [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:19]Read from MH i2c: E2 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 [00:14:19]MH_I2C_Read... [00:14:19]Read from MH i2c: E2 FD 00 5A 4B 00 B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 87 [00:14:19]RAPDU: B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:19]wFMCommunicate OK [00:14:19]wFMCommunicate request_size=4 [00:14:19]MH_SAM_APDU [00:14:19]CAPDU: 80 17 00 00 [00:14:19]Write to MH i2c: E2 08 00 5B 4B 80 17 00 00 00 00 00 00 26 [00:14:19]Write i2c OK [00:14:19]MH_I2C_Read... [00:14:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:20]Read from MH i2c: E2 [00:14:20]MH_I2C_Read... [00:14:20]Read from MH i2c: E2 FD 00 [00:14:20]MH_I2C_Read... [00:14:20]Read from MH i2c: E2 FD 00 5B 4B 00 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 5D [00:14:20]RAPDU: 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:14:20]wFMCommunicate OK [00:14:20]wFMCommunicate request_size=4 [00:14:20]MH_SAM_APDU [00:14:20]CAPDU: 80 17 00 00 [00:14:20]Write to MH i2c: E2 08 00 5C 4B 80 17 00 00 00 00 00 00 27 [00:14:20]Write i2c OK [00:14:20]MH_I2C_Read... [00:14:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:20]Read from MH i2c: E2 [00:14:20]MH_I2C_Read... [00:14:20]Read from MH i2c: E2 FD 00 [00:14:20]MH_I2C_Read... [00:14:20]Read from MH i2c: E2 FD 00 5C 4B 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 4F [00:14:20]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 [00:14:20]wFMCommunicate OK [00:14:20]wFMCommunicate request_size=4 [00:14:20]MH_SAM_APDU [00:14:20]CAPDU: 80 17 00 00 [00:14:20]Write to MH i2c: E2 08 00 5D 4B 80 17 00 00 00 00 00 00 28 [00:14:20]Write i2c OK [00:14:20]MH_I2C_Read... [00:14:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:21]Read from MH i2c: E2 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 FD 00 5D 4B 00 EF 03 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 90 00 A0 [00:14:21]RAPDU: EF 03 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 90 00 [00:14:21]wFMCommunicate OK [00:14:21]wFMCommunicate request_size=4 [00:14:21]MH_SAM_APDU [00:14:21]CAPDU: 80 17 00 00 [00:14:21]Write to MH i2c: E2 08 00 5E 4B 80 17 00 00 00 00 00 00 29 [00:14:21]Write i2c OK [00:14:21]MH_I2C_Read... [00:14:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 211! [00:14:21]Read from MH i2c: E2 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 D6 00 [00:14:21]MH_I2C_Read... [00:14:21]Read from MH i2c: E2 D6 00 5E 4B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [00:14:21]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:21]wFMCommunicate OK [00:14:21]SAM_PROTO_GetShiftData done [00:14:21]1194 (1205) - Ñчетчики итогов Ñмены [00:14:21] 1134 (4) - 79 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [00:14:21] 1129 (156) - Ñчетчики операций «приход» [00:14:21] 1135 (4) - 78 - количеÑтво чеков по признаку раÑчетов [00:14:21] 1201 (3) - 84175.11 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:14:21] 1136 (3) - 46271.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:14:21] 1138 (3) - 37904.11 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:14:21] 1024 (123) - Ñуммы налогов [00:14:21] 1006 (9) - Ñуммы ÐДС [00:14:21] 1010 (1) - 0% - код Ñтавки ÐДС [00:14:21] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:14:21] 1006 (12) - Ñуммы ÐДС [00:14:21] 1010 (1) - 12% - код Ñтавки ÐДС [00:14:21] 1011 (3) - 8940.39 - Ñумма ÐДС по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 0% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (12) - Ñуммы ÐСП [00:14:21] 1014 (1) - 1% - код Ñтавки ÐСП [00:14:21] 1015 (3) - 745.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 2% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 3% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 5% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1130 (151) - Ñчетчики операций «возврат прихода» [00:14:21] 1135 (4) - 1 - количеÑтво чеков по признаку раÑчетов [00:14:21] 1201 (3) - 1000.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:14:21] 1136 (3) - 1000.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:14:21] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:14:21] 1024 (121) - Ñуммы налогов [00:14:21] 1006 (9) - Ñуммы ÐДС [00:14:21] 1010 (1) - 0% - код Ñтавки ÐДС [00:14:21] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:14:21] 1006 (11) - Ñуммы ÐДС [00:14:21] 1010 (1) - 12% - код Ñтавки ÐДС [00:14:21] 1011 (2) - 106.21 - Ñумма ÐДС по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 0% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (11) - Ñуммы ÐСП [00:14:21] 1014 (1) - 1% - код Ñтавки ÐСП [00:14:21] 1015 (2) - 8.85 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 2% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 3% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 5% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1007 (9) - Ñуммы ÐСП [00:14:21] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:14:21] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:21] 1131 (141) - Ñчетчики операций «раÑход» [00:14:21] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:14:21] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:14:21] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:14:21] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:14:21] 1024 (117) - Ñуммы налогов [00:14:21] 1006 (9) - Ñуммы ÐДС [00:14:21] 1010 (1) - 0% - код Ñтавки ÐДС [00:14:21] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:14:22] 1006 (9) - Ñуммы ÐДС [00:14:22] 1010 (1) - 12% - код Ñтавки ÐДС [00:14:22] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 0% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 1% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 2% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 3% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 5% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1132 (141) - Ñчетчики операций «возврат раÑхода» [00:14:22] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:14:22] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:14:22] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:14:22] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:14:22] 1024 (117) - Ñуммы налогов [00:14:22] 1006 (9) - Ñуммы ÐДС [00:14:22] 1010 (1) - 0% - код Ñтавки ÐДС [00:14:22] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:14:22] 1006 (9) - Ñуммы ÐДС [00:14:22] 1010 (1) - 12% - код Ñтавки ÐДС [00:14:22] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 0% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 1% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 2% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 3% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 5% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1007 (9) - Ñуммы ÐСП [00:14:22] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:14:22] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:14:22] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1194 (04AA) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1134 (046E) [00:14:22]Malloc new data [00:14:22]Processing tag 1129 (0469) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1135 (046F) [00:14:22]Malloc new data [00:14:22]Processing tag 1201 (04B1) [00:14:22]Malloc new data [00:14:22]Processing tag 1136 (0470) [00:14:22]Malloc new data [00:14:22]Processing tag 1138 (0472) [00:14:22]Malloc new data [00:14:22]Processing tag 1024 (0400) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1130 (046A) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1135 (046F) [00:14:22]Malloc new data [00:14:22]Processing tag 1201 (04B1) [00:14:22]Malloc new data [00:14:22]Processing tag 1136 (0470) [00:14:22]Malloc new data [00:14:22]Processing tag 1138 (0472) [00:14:22]Malloc new data [00:14:22]Processing tag 1024 (0400) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1131 (046B) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1135 (046F) [00:14:22]Malloc new data [00:14:22]Processing tag 1201 (04B1) [00:14:22]Malloc new data [00:14:22]Processing tag 1136 (0470) [00:14:22]Malloc new data [00:14:22]Processing tag 1138 (0472) [00:14:22]Malloc new data [00:14:22]Processing tag 1024 (0400) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1132 (046C) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1135 (046F) [00:14:22]Malloc new data [00:14:22]Processing tag 1201 (04B1) [00:14:22]Malloc new data [00:14:22]Processing tag 1136 (0470) [00:14:22]Malloc new data [00:14:22]Processing tag 1138 (0472) [00:14:22]Malloc new data [00:14:22]Processing tag 1024 (0400) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1006 (03EE) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1010 (03F2) [00:14:22]Malloc new data [00:14:22]Processing tag 1011 (03F3) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1007 (03EF) [00:14:22]Load OK [00:14:22]SetTLVBufToDocument [00:14:22]Processing tag 1014 (03F6) [00:14:22]Malloc new data [00:14:22]Processing tag 1015 (03F7) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Processing tag 1133 (046D) [00:14:22]Malloc new data [00:14:22]SetTLVBufToDocument err=0 [00:14:22]SetTLVBufToDocument err=0 [00:14:22]Malloc new data [00:14:22]SAM_PROTO_GetFMData [00:14:22]wFMCommunicate request_size=4 [00:14:22]MH_SAM_APDU [00:14:22]CAPDU: 80 13 03 00 [00:14:22]Write to MH i2c: E2 08 00 5F 4B 80 13 03 00 00 00 00 00 29 [00:14:22]Write i2c OK [00:14:22]MH_I2C_Read... [00:14:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:23]Read from MH i2c: E2 [00:14:23]MH_I2C_Read... [00:14:23]Read from MH i2c: E2 FD 00 [00:14:23]MH_I2C_Read... [00:14:23]Read from MH i2c: E2 FD 00 5F 4B 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 A8 [00:14:23]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:14:23]wFMCommunicate OK [00:14:23]wFMCommunicate request_size=4 [00:14:23]MH_SAM_APDU [00:14:23]CAPDU: 80 17 00 00 [00:14:23]Write to MH i2c: E2 08 00 60 4B 80 17 00 00 00 00 00 00 2B [00:14:23]Write i2c OK [00:14:23]MH_I2C_Read... [00:14:23]OFD Sender: No OFD packet to send [00:14:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:23]Read from MH i2c: E2 [00:14:23]MH_I2C_Read... [00:14:23]Read from MH i2c: E2 FD 00 [00:14:23]MH_I2C_Read... [00:14:23]Read from MH i2c: E2 FD 00 60 4B 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 24 [00:14:24]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:14:24]wFMCommunicate OK [00:14:24]wFMCommunicate request_size=4 [00:14:24]MH_SAM_APDU [00:14:24]CAPDU: 80 17 00 00 [00:14:24]Write to MH i2c: E2 08 00 61 4B 80 17 00 00 00 00 00 00 2C [00:14:24]Write i2c OK [00:14:24]MH_I2C_Read... [00:14:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:24]Read from MH i2c: E2 [00:14:24]MH_I2C_Read... [00:14:24]Read from MH i2c: E2 FD 00 [00:14:24]MH_I2C_Read... [00:14:24]Read from MH i2c: E2 FD 00 61 4B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 CF [00:14:24]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:14:24]wFMCommunicate OK [00:14:24]wFMCommunicate request_size=4 [00:14:24]MH_SAM_APDU [00:14:24]CAPDU: 80 17 00 00 [00:14:24]Write to MH i2c: E2 08 00 62 4B 80 17 00 00 00 00 00 00 2D [00:14:24]Write i2c OK [00:14:24]MH_I2C_Read... [00:14:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:24]Read from MH i2c: E2 [00:14:24]MH_I2C_Read... [00:14:24]Read from MH i2c: E2 FD 00 [00:14:24]MH_I2C_Read... [00:14:24]Read from MH i2c: E2 FD 00 62 4B 00 01 00 04 F7 03 00 00 EF 03 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 90 00 A5 [00:14:25]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:25]wFMCommunicate OK [00:14:25]wFMCommunicate request_size=4 [00:14:25]MH_SAM_APDU [00:14:25]CAPDU: 80 17 00 00 [00:14:25]Write to MH i2c: E2 08 00 63 4B 80 17 00 00 00 00 00 00 2E [00:14:25]Write i2c OK [00:14:25]MH_I2C_Read... [00:14:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:14:25]Read from MH i2c: E2 [00:14:25]MH_I2C_Read... [00:14:25]Read from MH i2c: E2 DD 00 [00:14:25]MH_I2C_Read... [00:14:25]Read from MH i2c: E2 DD 00 63 4B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 16 [00:14:25]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:25]wFMCommunicate OK [00:14:25]SAM_PROTO_GetFMData done [00:14:25]FM_GetFMData:85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 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 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:14:26]oper:6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:14:26]total:7B 06 CA 9B [00:14:26]Malloc new data [00:14:26]oper:6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 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 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:14:26]total:44 F4 BC [00:14:26]Malloc new data [00:14:26]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:14:26]total: [00:14:26]Malloc new data [00:14:26]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:14:26]total: [00:14:26]Malloc new data [00:14:26]KKMPrepareXReportFMData err=0 [00:14:26]Ð¥ отчет ИÐÐ: 02508201610067 КаÑÑир: Эдилбаев К. 09.04.2024 00:14 Смена: 266 РÐМ: 0000000000091578 ЗÐМ: 0300000147 СÐО: Общий режим Ð’Ñего чеков: 79 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 84175.11 Итого наличными: 46271.00 Итого безнал.: 37904.11 ÐДС 0% : 0.00 ÐДС 12% : 8940.39 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 745.00 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 1 Общий итог: 1000.00 Итого наличными: 1000.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 106.21 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 8.85 ИТОГИ РÐСХОД Чеков: 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 Ðал. в каÑÑе: 45271.00 ÐС Приход: 26137084.11 ÐС Возвр.Прихода: 123833.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФМ: 0000000000874657 [00:14:26]StoreToDocumentArchive [00:14:26]MH_GetDate [00:14:26]Write to MH i2c: F0 00 00 64 4B 9E [00:14:26]Write i2c OK [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: F0 [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: F0 09 00 [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: F0 09 00 64 4B 00 74 88 14 66 2B 11 66 64 23 [00:14:26]shift 266 fd 1712621684 [00:14:26]Create dir for shift 0266 [00:14:26]save to /storage/0266/doc_1712621684 [00:14:26]save last doc name /storage/0266/doc_1712621684 to /storage/kkm_last_doc_name [00:14:26]save OK [00:14:26]Clear old archive folders... [00:14:26]NVStorageSaveData kkm_last_timestamp [00:14:26]File name is /storage/kkm_last_timestamp [00:14:26]Write 4 bytes [00:14:26]NVStorageSaveData done [00:14:26]ExternCall_PrintAddStr [00:14:26]wPrintStart [00:14:26]Write to MH i2c: 01 00 00 65 4B B0 [00:14:26]Write i2c OK [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: 01 [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: 01 07 00 [00:14:26]MH_I2C_Read... [00:14:26]Read from MH i2c: 01 07 00 65 4B 00 00 00 00 00 FF 0F C5 [00:14:26]RasterBufferAndPrint [00:14:26]line Ð¥ отчет [00:14:26]line ИÐÐ: 02508201610067 [00:14:26]line КаÑÑир: Эдилбаев К. [00:14:26]line 09.04.2024 00:14 [00:14:26]line Смена: 266 [00:14:26]line РÐМ: 0000000000091578 [00:14:26]line ЗÐМ: 0300000147 [00:14:26]line СÐО: Общий режим [00:14:26]line Ð’Ñего чеков: 79 [00:14:26]line ИТОГИ ПРИХОД [00:14:26]line Чеков: 78 [00:14:26]line Общий итог: 84175.11 [00:14:26]line Итого наличными: 46271.00 [00:14:26]line Итого безнал.: 37904.11 [00:14:26]line ÐДС 0% : 0.00 [00:14:26]line ÐДС 12% : 8940.39 [00:14:26]line ÐСП 0% : 0.00 [00:14:26]line ÐСП 1,50% : 0.00 [00:14:26]line ÐСП 0,50% : 0.00 [00:14:26]line ÐСП 5% : 0.00 [00:14:26]line ÐСП 3% : 0.00 [00:14:26]line ÐСП 2% : 0.00 [00:14:26]line ÐСП 1% : 745.00 [00:14:26]line ИТОГИ ВОЗВРÐТ ПРИХОДР[00:14:26]line Чеков: 1 [00:14:26]line Общий итог: 1000.00 [00:14:26]line Итого наличными: 1000.00 [00:14:26]line Итого безнал.: 0.00 [00:14:26]line ÐДС 0% : 0.00 [00:14:26]line ÐДС 12% : 106.21 [00:14:26]line ÐСП 0% : 0.00 [00:14:26]line ÐСП 1,50% : 0.00 [00:14:26]line ÐСП 0,50% : 0.00 [00:14:26]line ÐСП 5% : 0.00 [00:14:26]line ÐСП 3% : 0.00 [00:14:26]line ÐСП 2% : 0.00 [00:14:26]line ÐСП 1% : 8.85 [00:14:26]line ИТОГИ РÐСХОД [00:14:26]line Чеков: 0 [00:14:26]line Общий итог: 0.00 [00:14:26]line Итого наличными: 0.00 [00:14:26]line Итого безнал.: 0.00 [00:14:26]line ÐДС 0% : 0.00 [00:14:26]line ÐДС 12% : 0.00 [00:14:26]line ÐСП 0% : 0.00 [00:14:26]line ÐСП 1,50% : 0.00 [00:14:26]line ÐСП 0,50% : 0.00 [00:14:26]line ÐСП 5% : 0.00 [00:14:26]line ÐСП 3% : 0.00 [00:14:26]line ÐСП 2% : 0.00 [00:14:26]line ÐСП 1% : 0.00 [00:14:26]line ИТОГИ ВОЗВРÐТ РÐСХОДР[00:14:26]line Чеков: 0 [00:14:26]line Общий итог: 0.00 [00:14:26]line Итого наличными: 0.00 [00:14:26]line Итого безнал.: 0.00 [00:14:26]line ÐДС 0% : 0.00 [00:14:26]line ÐДС 12% : 0.00 [00:14:26]line ÐСП 0% : 0.00 [00:14:26]line ÐСП 1,50% : 0.00 [00:14:26]line ÐСП 0,50% : 0.00 [00:14:26]line ÐСП 5% : 0.00 [00:14:26]line ÐСП 3% : 0.00 [00:14:26]line ÐСП 2% : 0.00 [00:14:26]line ÐСП 1% : 0.00 [00:14:26]line Сумма внеÑений: 0.00 [00:14:26]line Сумма выплат: 0.00 [00:14:26]line Ðал. в каÑÑе: 45271.00 [00:14:26]line ÐС Приход: 26137084.11 [00:14:26]line ÐС Возвр.Прихода: 123833.00 [00:14:26]line ÐС РаÑход: 0.00 [00:14:26]line ÐС Возвр.РаÑхода: 0.00 [00:14:26]line ФМ: 0000000000874657 [00:14:26]written 0, free lines is 4095 [00:14:27]Write to MH i2c: 01 00 00 B0 4B FB [00:14:27]Write i2c OK [00:14:27]MH_I2C_Read... [00:14:27]Read from MH i2c: 01 [00:14:27]MH_I2C_Read... [00:14:27]Read from MH i2c: 01 07 00 [00:14:27]MH_I2C_Read... [00:14:27]Read from MH i2c: 01 07 00 B0 4B 00 00 00 00 00 D1 09 DC [00:14:27]RasterBufferAndPrint [00:14:27]line [00:14:27]line [00:14:27]line [00:14:27]line [00:14:27]line [00:14:27]written 0, free lines is 2538 [00:14:27]MH_Cut [00:14:27]Write to MH i2c: D1 01 00 B7 4B 01 D4 [00:14:27]Write i2c OK [00:14:27]MH_I2C_Read... [00:14:27]Read from MH i2c: D1 [00:14:27]MH_I2C_Read... [00:14:27]Read from MH i2c: D1 01 00 [00:14:27]MH_I2C_Read... [00:14:27]Read from MH i2c: D1 01 00 B7 4B 00 D3 [00:14:27]Write to MH i2c: 01 00 00 B8 4B 03 [00:14:27]Write i2c OK [00:14:27]MH_I2C_Read... [00:14:28]OFD Sender: No OFD packet to send [00:14:29]*** Cut start [00:14:29]*** Partial cut [00:14:29]*** CUTSNS_PIN = 1 [00:14:29]*** CUTSNS_PIN = 0 [00:14:29]*** Brake cut motor [00:14:29]Read from MH i2c: 01 [00:14:29]MH_I2C_Read... [00:14:29]*** Stop cut motor [00:14:29]*** Cut end [00:14:29]Read from MH i2c: 01 07 00 [00:14:29]MH_I2C_Read... [00:14:29]Read from MH i2c: 01 07 00 B8 4B 00 00 00 00 00 FF 0F 18 [00:14:29]process_action x_report done [00:14:29]requested_data is exist [00:14:29]produce_requested_data [00:14:29]requested_item fd.num is exist - process it [00:14:29]SAM_PROTO_GetFieldsCounters [00:14:29]wFMCommunicate request_size=4 [00:14:29]MH_SAM_APDU [00:14:29]CAPDU: 80 13 00 00 [00:14:29]Write to MH i2c: E2 08 00 B9 4B 80 13 00 00 00 00 00 00 80 [00:14:29]Write i2c OK [00:14:29]MH_I2C_Read... [00:14:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:30]Read from MH i2c: E2 [00:14:30]MH_I2C_Read... [00:14:30]Read from MH i2c: E2 62 00 [00:14:30]MH_I2C_Read... [00:14:30]Read from MH i2c: E2 62 00 B9 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [00:14:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:30]wFMCommunicate OK [00:14:30]SAM_PROTO_GetFieldsCounters done [00:14:30]requested_item shift.num is exist - process it [00:14:30]requested_item shift.opened is exist - process it [00:14:30]req_shift_opened [00:14:30]FM_GetShiftState [00:14:30]SAM_PROTO_GetShiftState [00:14:30]wFMCommunicate request_size=4 [00:14:30]MH_SAM_APDU [00:14:30]CAPDU: 80 13 01 00 [00:14:30]Write to MH i2c: E2 08 00 BA 4B 80 13 01 00 00 00 00 00 82 [00:14:30]Write i2c OK [00:14:30]MH_I2C_Read... [00:14:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:30]Read from MH i2c: E2 [00:14:30]MH_I2C_Read... [00:14:30]Read from MH i2c: E2 0E 00 [00:14:30]MH_I2C_Read... [00:14:30]Read from MH i2c: E2 0E 00 BA 4B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 0F [00:14:30]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:14:30]wFMCommunicate OK [00:14:30]SAM_PROTO_GetShiftState done [00:14:30]FM_GetShiftState done [00:14:30]req_shift_opened done [00:14:30]requested_item shift.open_date is exist - process it [00:14:30]req_shift_open_date [00:14:30]req_shift_open_date done [00:14:30]produce_requested_data done [00:14:30]produce_requested_data return {"fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:14:30]process_action_free x_report [00:14:30]json_value_free [00:14:30]json_value_free done [00:14:30]process_json_proto returns [00:14:30]Send response to host [00:14:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:14:30]free response buf [00:14:30]execute_script done [00:14:30]execute_script returns [00:14:30]free content buf [00:14:30]Sock 9.Close socket [00:14:30]Sock 9.Thread stoped [00:14:33]OFD Sender: No OFD packet to send [00:14:38]OFD Sender: No OFD packet to send [00:14:43]OFD Sender: No OFD packet to send [00:14:48]OFD Sender: No OFD packet to send [00:14:53]OFD Sender: No OFD packet to send [00:14:54]accept exits with 8 [00:14:54]New connection [00:14:54]New thread 3066871140 created [00:14:54]Thread 3067014500 joined [00:14:54]Waiting for new connection... [00:14:54] Sock 8.Parse request [00:14:54]Sock 8.Check first char [00:14:54]Sock 8.First char is OK [00:14:54]request: POST /json_proto HTTP/1.0 [00:14:54]Method: POST [00:14:54]URL: /json_proto [00:14:54]Method is POST - this is cgi request [00:14:54]url: /json_proto [00:14:54]query_string will be loaded in cgi processing [00:14:54]execute_cgi json_proto POST (null) [00:14:54]execute_cgi path=json_proto method=POST [00:14:54]POST find Content-Length [00:14:54]Host: 172.17.35.3:8080 [00:14:54]Content-Length: 215 [00:14:54]Content-Type: application/json [00:14:54] [00:14:54]POST finish read [00:14:54]Found Content-Length = 215 [00:14:54]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:14:54]execute_script... [00:14:54]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:14:54]POST & json_proto [00:14:54]process_json_proto [00:14:54]json parsed OK: [00:14:54]protocol is kg_v1.0 [00:14:54]action value=get_value [00:14:54]process_action get_value [00:14:54]cmd_get_value [00:14:54]process_action get_value done [00:14:54]requested_data is exist [00:14:54]produce_requested_data [00:14:54]requested_item kkm.sn is exist - process it [00:14:54]requested_item kkm.ver is exist - process it [00:14:54]requested_item fm.sn is exist - process it [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 11 00 00 [00:14:54]Write to MH i2c: E2 08 00 BB 4B 80 11 00 00 00 00 00 00 80 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 17 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 17 00 BB 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 D8 [00:14:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:14:54]wFMCommunicate OK [00:14:54]requested_item fd.num is exist - process it [00:14:54]SAM_PROTO_GetFieldsCounters [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 13 00 00 [00:14:54]Write to MH i2c: E2 08 00 BC 4B 80 13 00 00 00 00 00 00 83 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 62 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 62 00 BC 4B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 30 [00:14:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F2 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:14:54]wFMCommunicate OK [00:14:54]SAM_PROTO_GetFieldsCounters done [00:14:54]requested_item shift.num is exist - process it [00:14:54]requested_item shift.opened is exist - process it [00:14:54]req_shift_opened [00:14:54]FM_GetShiftState [00:14:54]SAM_PROTO_GetShiftState [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 13 01 00 [00:14:54]Write to MH i2c: E2 08 00 BD 4B 80 13 01 00 00 00 00 00 85 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:14:54]Read from MH i2c: E2 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 0E 00 [00:14:54]MH_I2C_Read... [00:14:54]Read from MH i2c: E2 0E 00 BD 4B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 12 [00:14:54]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:14:54]wFMCommunicate OK [00:14:54]SAM_PROTO_GetShiftState done [00:14:54]FM_GetShiftState done [00:14:54]req_shift_opened done [00:14:54]requested_item shift.open_date is exist - process it [00:14:54]req_shift_open_date [00:14:54]req_shift_open_date done [00:14:54]produce_requested_data done [00:14:54]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270} [00:14:54]process_action_free get_value [00:14:54]json_value_free [00:14:54]json_value_free done [00:14:54]process_json_proto returns [00:14:54]Send response to host [00:14:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26866,"shift.num":314,"shift.opened":1,"shift.open_date":1712536270}}} [00:14:54]free response buf [00:14:54]execute_script done [00:14:54]execute_script returns [00:14:54]free content buf [00:14:54]Sock 8.Close socket [00:14:54]Sock 8.Thread stoped [00:14:54]accept exits with 9 [00:14:54]New connection [00:14:54]New thread 3067014500 created [00:14:54]Thread 3066871140 joined [00:14:54]Waiting for new connection... [00:14:54] Sock 9.Parse request [00:14:54]Sock 9.Check first char [00:14:54]Sock 9.First char is OK [00:14:54]request: POST /json_proto HTTP/1.0 [00:14:54]Method: POST [00:14:54]URL: /json_proto [00:14:54]Method is POST - this is cgi request [00:14:54]url: /json_proto [00:14:54]query_string will be loaded in cgi processing [00:14:54]execute_cgi json_proto POST (null) [00:14:54]execute_cgi path=json_proto method=POST [00:14:54]POST find Content-Length [00:14:54]Host: 172.17.35.3:8080 [00:14:54]Content-Length: 331 [00:14:54]Content-Type: application/json [00:14:54] [00:14:54]POST finish read [00:14:54]Found Content-Length = 331 [00:14:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:54]execute_script... [00:14:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:54]POST & json_proto [00:14:54]process_json_proto [00:14:54]json parsed OK: [00:14:54]protocol is kg_v1.0 [00:14:54]action value=get_value [00:14:54]process_action get_value [00:14:54]cmd_get_value [00:14:54]process_action get_value done [00:14:54]requested_data is exist [00:14:54]produce_requested_data [00:14:54]requested_item fm.sale.total is exist - process it [00:14:54]SAM_PROTO_GetFMData [00:14:54]wFMCommunicate request_size=4 [00:14:54]MH_SAM_APDU [00:14:54]CAPDU: 80 13 03 00 [00:14:54]Write to MH i2c: E2 08 00 BE 4B 80 13 03 00 00 00 00 00 88 [00:14:54]Write i2c OK [00:14:54]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 BE 4B 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 07 [00:14:55]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=4 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 17 00 00 [00:14:55]Write to MH i2c: E2 08 00 BF 4B 80 17 00 00 00 00 00 00 8A [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:55]Read from MH i2c: E2 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 [00:14:55]MH_I2C_Read... [00:14:55]Read from MH i2c: E2 FD 00 BF 4B 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 83 [00:14:55]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:14:55]wFMCommunicate OK [00:14:55]wFMCommunicate request_size=4 [00:14:55]MH_SAM_APDU [00:14:55]CAPDU: 80 17 00 00 [00:14:55]Write to MH i2c: E2 08 00 C0 4B 80 17 00 00 00 00 00 00 8B [00:14:55]Write i2c OK [00:14:55]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 FD 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 FD 00 C0 4B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 2E [00:14:56]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:14:56]wFMCommunicate OK [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 17 00 00 [00:14:56]Write to MH i2c: E2 08 00 C1 4B 80 17 00 00 00 00 00 00 8C [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 FD 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 FD 00 C1 4B 00 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [00:14:56]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:14:56]wFMCommunicate OK [00:14:56]wFMCommunicate request_size=4 [00:14:56]MH_SAM_APDU [00:14:56]CAPDU: 80 17 00 00 [00:14:56]Write to MH i2c: E2 08 00 C2 4B 80 17 00 00 00 00 00 00 8D [00:14:56]Write i2c OK [00:14:56]MH_I2C_Read... [00:14:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:14:56]Read from MH i2c: E2 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 DD 00 [00:14:56]MH_I2C_Read... [00:14:56]Read from MH i2c: E2 DD 00 C2 4B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 75 [00:14:57]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:57]wFMCommunicate OK [00:14:57]SAM_PROTO_GetFMData done [00:14:57]requested_item fm.sale_refund.total is exist - process it [00:14:57]requested_item fm.buy.total is exist - process it [00:14:57]requested_item shift.sale.total is exist - process it [00:14:57]SAM_PROTO_GetShiftData [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 13 02 00 [00:14:57]Write to MH i2c: E2 08 00 C3 4B 80 13 02 00 00 00 00 00 8C [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 C3 4B 00 B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 F0 [00:14:57]RAPDU: B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:14:57]wFMCommunicate OK [00:14:57]wFMCommunicate request_size=4 [00:14:57]MH_SAM_APDU [00:14:57]CAPDU: 80 17 00 00 [00:14:57]Write to MH i2c: E2 08 00 C4 4B 80 17 00 00 00 00 00 00 8F [00:14:57]Write i2c OK [00:14:57]MH_I2C_Read... [00:14:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:57]Read from MH i2c: E2 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 [00:14:57]MH_I2C_Read... [00:14:57]Read from MH i2c: E2 FD 00 C4 4B 00 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 C6 [00:14:58]RAPDU: 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:14:58]wFMCommunicate OK [00:14:58]wFMCommunicate request_size=4 [00:14:58]MH_SAM_APDU [00:14:58]CAPDU: 80 17 00 00 [00:14:58]Write to MH i2c: E2 08 00 C5 4B 80 17 00 00 00 00 00 00 90 [00:14:58]Write i2c OK [00:14:58]MH_I2C_Read... [00:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:58]Read from MH i2c: E2 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 C5 4B 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 B8 [00:14:58]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 [00:14:58]wFMCommunicate OK [00:14:58]wFMCommunicate request_size=4 [00:14:58]MH_SAM_APDU [00:14:58]CAPDU: 80 17 00 00 [00:14:58]Write to MH i2c: E2 08 00 C6 4B 80 17 00 00 00 00 00 00 91 [00:14:58]Write i2c OK [00:14:58]MH_I2C_Read... [00:14:58]OFD Sender: No OFD packet to send [00:14:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:14:58]Read from MH i2c: E2 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 [00:14:58]MH_I2C_Read... [00:14:58]Read from MH i2c: E2 FD 00 C6 4B 00 EF 03 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 90 00 09 [00:14:59]RAPDU: EF 03 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 90 00 [00:14:59]wFMCommunicate OK [00:14:59]wFMCommunicate request_size=4 [00:14:59]MH_SAM_APDU [00:14:59]CAPDU: 80 17 00 00 [00:14:59]Write to MH i2c: E2 08 00 C7 4B 80 17 00 00 00 00 00 00 92 [00:14:59]Write i2c OK [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 [00:14:59]MH_I2C_Read... [00:14:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 211! [00:14:59]Read from MH i2c: E2 D6 00 [00:14:59]MH_I2C_Read... [00:14:59]Read from MH i2c: E2 D6 00 C7 4B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 74 [00:14:59]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:14:59]wFMCommunicate OK [00:14:59]SAM_PROTO_GetShiftData done [00:14:59]requested_item shift.sale.total_cash is exist - process it [00:14:59]requested_item shift.sale_refund.total is exist - process it [00:14:59]requested_item shift.sale_refund.total_cash is exist - process it [00:14:59]requested_item shift.buy.total is exist - process it [00:14:59]requested_item shift.buy.total_cash is exist - process it [00:14:59]produce_requested_data done [00:14:59]produce_requested_data return {"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:14:59]process_action_free get_value [00:14:59]json_value_free [00:14:59]json_value_free done [00:14:59]process_json_proto returns [00:14:59]Send response to host [00:14:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:14:59]free response buf [00:14:59]execute_script done [00:14:59]execute_script returns [00:14:59]free content buf [00:14:59]Sock 9.Close socket [00:14:59]Sock 9.Thread stoped [00:14:59]accept exits with 8 [00:14:59]New connection [00:14:59]New thread 3066871140 created [00:14:59]Thread 3067014500 joined [00:14:59]Waiting for new connection... [00:14:59] Sock 8.Parse request [00:14:59]Sock 8.Check first char [00:14:59]Sock 8.First char is OK [00:14:59]request: POST /json_proto HTTP/1.0 [00:14:59]Method: POST [00:14:59]URL: /json_proto [00:14:59]Method is POST - this is cgi request [00:14:59]url: /json_proto [00:14:59]query_string will be loaded in cgi processing [00:14:59]execute_cgi json_proto POST (null) [00:14:59]execute_cgi path=json_proto method=POST [00:14:59]POST find Content-Length [00:14:59]Host: 172.17.35.3:8080 [00:14:59]Content-Length: 331 [00:14:59]Content-Type: application/json [00:14:59] [00:14:59]POST finish read [00:14:59]Found Content-Length = 331 [00:14:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:59]execute_script... [00:14:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:14:59]POST & json_proto [00:14:59]process_json_proto [00:14:59]json parsed OK: [00:14:59]protocol is kg_v1.0 [00:14:59]action value=get_value [00:14:59]process_action get_value [00:14:59]cmd_get_value [00:14:59]process_action get_value done [00:14:59]requested_data is exist [00:14:59]produce_requested_data [00:14:59]requested_item fm.sale.total is exist - process it [00:14:59]SAM_PROTO_GetFMData [00:14:59]wFMCommunicate request_size=4 [00:14:59]MH_SAM_APDU [00:14:59]CAPDU: 80 13 03 00 [00:14:59]Write to MH i2c: E2 08 00 C8 4B 80 13 03 00 00 00 00 00 92 [00:14:59]Write i2c OK [00:14:59]MH_I2C_Read... [00:15:00]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:15:00]Read from MH i2c: E2 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 C8 4B 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 11 [00:15:00]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:15:00]wFMCommunicate OK [00:15:00]wFMCommunicate request_size=4 [00:15:00]MH_SAM_APDU [00:15:00]CAPDU: 80 17 00 00 [00:15:00]Write to MH i2c: E2 08 00 C9 4B 80 17 00 00 00 00 00 00 94 [00:15:00]Write i2c OK [00:15:00]MH_I2C_Read... [00:15:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:00]Read from MH i2c: E2 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 [00:15:00]MH_I2C_Read... [00:15:00]Read from MH i2c: E2 FD 00 C9 4B 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 8D [00:15:00]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:15:00]wFMCommunicate OK [00:15:00]wFMCommunicate request_size=4 [00:15:00]MH_SAM_APDU [00:15:00]CAPDU: 80 17 00 00 [00:15:00]Write to MH i2c: E2 08 00 CA 4B 80 17 00 00 00 00 00 00 95 [00:15:00]Write i2c OK [00:15:00]MH_I2C_Read... [00:15:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:01]Read from MH i2c: E2 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 CA 4B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 38 [00:15:01]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:15:01]wFMCommunicate OK [00:15:01]wFMCommunicate request_size=4 [00:15:01]MH_SAM_APDU [00:15:01]CAPDU: 80 17 00 00 [00:15:01]Write to MH i2c: E2 08 00 CB 4B 80 17 00 00 00 00 00 00 96 [00:15:01]Write i2c OK [00:15:01]MH_I2C_Read... [00:15:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:01]Read from MH i2c: E2 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 [00:15:01]MH_I2C_Read... [00:15:01]Read from MH i2c: E2 FD 00 CB 4B 00 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:15:01]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:15:01]wFMCommunicate OK [00:15:01]wFMCommunicate request_size=4 [00:15:01]MH_SAM_APDU [00:15:01]CAPDU: 80 17 00 00 [00:15:01]Write to MH i2c: E2 08 00 CC 4B 80 17 00 00 00 00 00 00 97 [00:15:01]Write i2c OK [00:15:01]MH_I2C_Read... [00:15:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:15:02]Read from MH i2c: E2 [00:15:02]MH_I2C_Read... [00:15:02]Read from MH i2c: E2 DD 00 [00:15:02]MH_I2C_Read... [00:15:02]Read from MH i2c: E2 DD 00 CC 4B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7F [00:15:02]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:15:02]wFMCommunicate OK [00:15:02]SAM_PROTO_GetFMData done [00:15:02]requested_item fm.sale_refund.total is exist - process it [00:15:02]requested_item fm.buy.total is exist - process it [00:15:02]requested_item shift.sale.total is exist - process it [00:15:02]SAM_PROTO_GetShiftData [00:15:02]wFMCommunicate request_size=4 [00:15:02]MH_SAM_APDU [00:15:02]CAPDU: 80 13 02 00 [00:15:02]Write to MH i2c: E2 08 00 CD 4B 80 13 02 00 00 00 00 00 96 [00:15:02]Write i2c OK [00:15:02]MH_I2C_Read... [00:15:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:15:02]Read from MH i2c: E2 [00:15:02]MH_I2C_Read... [00:15:02]Read from MH i2c: E2 FD 00 [00:15:02]MH_I2C_Read... [00:15:02]Read from MH i2c: E2 FD 00 CD 4B 00 B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 FA [00:15:02]RAPDU: B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:15:02]wFMCommunicate OK [00:15:02]wFMCommunicate request_size=4 [00:15:02]MH_SAM_APDU [00:15:02]CAPDU: 80 17 00 00 [00:15:02]Write to MH i2c: E2 08 00 CE 4B 80 17 00 00 00 00 00 00 99 [00:15:02]Write i2c OK [00:15:02]MH_I2C_Read... [00:15:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:03]Read from MH i2c: E2 [00:15:03]MH_I2C_Read... [00:15:03]Read from MH i2c: E2 FD 00 [00:15:03]MH_I2C_Read... [00:15:03]Read from MH i2c: E2 FD 00 CE 4B 00 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 D0 [00:15:03]RAPDU: 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:15:03]wFMCommunicate OK [00:15:03]wFMCommunicate request_size=4 [00:15:03]MH_SAM_APDU [00:15:03]CAPDU: 80 17 00 00 [00:15:03]Write to MH i2c: E2 08 00 CF 4B 80 17 00 00 00 00 00 00 9A [00:15:03]Write i2c OK [00:15:03]MH_I2C_Read... [00:15:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:03]Read from MH i2c: E2 [00:15:03]MH_I2C_Read... [00:15:03]Read from MH i2c: E2 FD 00 [00:15:03]MH_I2C_Read... [00:15:03]Read from MH i2c: E2 FD 00 CF 4B 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 C2 [00:15:03]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 OFD Sender: No OFD packet to send [00:15:04]F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 [00:15:04]wFMCommunicate OK [00:15:04]wFMCommunicate request_size=4 [00:15:04]MH_SAM_APDU [00:15:04]CAPDU: 80 17 00 00 [00:15:04]Write to MH i2c: E2 08 00 D0 4B 80 17 00 00 00 00 00 00 9B [00:15:04]Write i2c OK [00:15:04]MH_I2C_Read... [00:15:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:04]Read from MH i2c: E2 [00:15:04]MH_I2C_Read... [00:15:04]Read from MH i2c: E2 FD 00 [00:15:04]MH_I2C_Read... [00:15:04]Read from MH i2c: E2 FD 00 D0 4B 00 EF 03 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 90 00 13 [00:15:04]RAPDU: EF 03 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 90 00 [00:15:04]wFMCommunicate OK [00:15:04]wFMCommunicate request_size=4 [00:15:04]MH_SAM_APDU [00:15:04]CAPDU: 80 17 00 00 [00:15:04]Write to MH i2c: E2 08 00 D1 4B 80 17 00 00 00 00 00 00 9C [00:15:04]Write i2c OK [00:15:04]MH_I2C_Read... [00:15:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 211! [00:15:04]Read from MH i2c: E2 [00:15:04]MH_I2C_Read... [00:15:04]Read from MH i2c: E2 D6 00 [00:15:04]MH_I2C_Read... [00:15:04]Read from MH i2c: E2 D6 00 D1 4B 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7E [00:15:04]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:15:05]wFMCommunicate OK [00:15:05]SAM_PROTO_GetShiftData done [00:15:05]requested_item shift.sale.total_cash is exist - process it [00:15:05]requested_item shift.sale_refund.total is exist - process it [00:15:05]requested_item shift.sale_refund.total_cash is exist - process it [00:15:05]requested_item shift.buy.total is exist - process it [00:15:05]requested_item shift.buy.total_cash is exist - process it [00:15:05]produce_requested_data done [00:15:05]produce_requested_data return {"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:15:05]process_action_free get_value [00:15:05]json_value_free [00:15:05]json_value_free done [00:15:05]process_json_proto returns [00:15:05]Send response to host [00:15:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:15:05]free response buf [00:15:05]execute_script done [00:15:05]execute_script returns [00:15:05]free content buf [00:15:05]Sock 8.Close socket [00:15:05]Sock 8.Thread stoped [00:15:05]accept exits with 9 [00:15:05]New connection [00:15:05]New thread 3067014500 created [00:15:05]Thread 3066871140 joined [00:15:05]Waiting for new connection... [00:15:05] Sock 9.Parse request [00:15:05]Sock 9.Check first char [00:15:05]Sock 9.First char is OK [00:15:05]request: POST /json_proto HTTP/1.0 [00:15:05]Method: POST [00:15:05]URL: /json_proto [00:15:05]Method is POST - this is cgi request [00:15:05]url: /json_proto [00:15:05]query_string will be loaded in cgi processing [00:15:05]execute_cgi json_proto POST (null) [00:15:05]execute_cgi path=json_proto method=POST [00:15:05]POST find Content-Length [00:15:05]Host: 172.17.35.3:8080 [00:15:05]Content-Length: 259 [00:15:05]Content-Type: application/json [00:15:05] [00:15:05]POST finish read [00:15:05]Found Content-Length = 259 [00:15:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:05]execute_script... [00:15:05]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u042D\u0434\u0438\u043B\u0431\u0430\u0435\u0432 \u041A." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:05]POST & json_proto [00:15:05]process_json_proto [00:15:05]json parsed OK: [00:15:05]protocol is kg_v1.0 [00:15:05]action value=close_shift [00:15:05]process_action close_shift [00:15:05]cmd_close_shift [00:15:05]MH_GetDate [00:15:05]Write to MH i2c: F0 00 00 D2 4B 0C [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: F0 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: F0 09 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: F0 09 00 D2 4B 00 9A 88 14 66 2B 11 66 64 B7 [00:15:05]GetLastDocTimeStamp 1712621676 [00:15:05]current date 1712621722 [00:15:05]FM_GetShiftState [00:15:05]SAM_PROTO_GetShiftState [00:15:05]wFMCommunicate request_size=4 [00:15:05]MH_SAM_APDU [00:15:05]CAPDU: 80 13 01 00 [00:15:05]Write to MH i2c: E2 08 00 D3 4B 80 13 01 00 00 00 00 00 9B [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:05]Read from MH i2c: E2 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 0E 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 0E 00 D3 4B 00 09 00 01 CE 3A 13 66 00 00 00 00 90 00 28 [00:15:05]RAPDU: 09 00 01 CE 3A 13 66 00 00 00 00 90 00 [00:15:05]wFMCommunicate OK [00:15:05]SAM_PROTO_GetShiftState done [00:15:05]FM_GetShiftState done [00:15:05]KKMCreateCloseShiftDocument [00:15:05]Load OK [00:15:05]Malloc new data [00:15:05]MH_GetDate [00:15:05]Write to MH i2c: F0 00 00 D4 4B 0E [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: F0 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: F0 09 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: F0 09 00 D4 4B 00 9A 88 14 66 2B 11 66 64 B9 [00:15:05]Malloc new data [00:15:05]Malloc new data [00:15:05]Malloc new data [00:15:05]Malloc new data [00:15:05]KKMCreateCloseShiftDocument OK [00:15:05]KKMSetCloseShiftData OK [00:15:05]ProcessDocumentItem done err = 0, tmpTLVsize=70 [00:15:05]tlvbuf is 0109F590 [00:15:05]KKMLoadAndSignCloseShiftData [00:15:05]SAM_PROTO_ProcessDocument [00:15:05]wFMCommunicate request_size=9 [00:15:05]MH_SAM_APDU [00:15:05]CAPDU: 80 15 01 00 04 05 00 46 00 [00:15:05]Write to MH i2c: E2 0C 00 D5 4B 80 15 01 00 04 00 05 00 46 00 00 00 F2 [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:15:05]Read from MH i2c: E2 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 D5 4B 00 90 00 94 [00:15:05]RAPDU: 90 00 [00:15:05]wFMCommunicate OK [00:15:05]wFMCommunicate request_size=23 [00:15:05]MH_SAM_APDU [00:15:05]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:15:05]Write to MH i2c: E2 1A 00 D6 4B 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 96 [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:15:05]Read from MH i2c: E2 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 D6 4B 00 90 00 95 [00:15:05]RAPDU: 90 00 [00:15:05]wFMCommunicate OK [00:15:05]wFMCommunicate request_size=29 [00:15:05]MH_SAM_APDU [00:15:05]CAPDU: 80 15 02 00 18 FD 03 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E [00:15:05]Write to MH i2c: E2 20 00 D7 4B 80 15 02 00 18 00 FD 03 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E 00 00 BA [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:15:05]Read from MH i2c: E2 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 D7 4B 00 90 00 96 [00:15:05]RAPDU: 90 00 [00:15:05]wFMCommunicate OK [00:15:05]wFMCommunicate request_size=13 [00:15:05]MH_SAM_APDU [00:15:05]CAPDU: 80 15 02 00 08 F4 03 04 00 9A 88 14 66 [00:15:05]Write to MH i2c: E2 10 00 D8 4B 80 15 02 00 08 00 F4 03 04 00 9A 88 14 66 00 00 4A [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:15:05]Read from MH i2c: E2 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 D8 4B 00 90 00 97 [00:15:05]RAPDU: 90 00 [00:15:05]wFMCommunicate OK [00:15:05]wFMCommunicate request_size=25 [00:15:05]MH_SAM_APDU [00:15:05]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 [00:15:05]Write to MH i2c: E2 1C 00 D9 4B 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 00 00 0B [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:15:05]Read from MH i2c: E2 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 [00:15:05]MH_I2C_Read... [00:15:05]Read from MH i2c: E2 03 00 D9 4B 00 90 00 98 [00:15:05]RAPDU: 90 00 [00:15:05]wFMCommunicate OK [00:15:05]wFMCommunicate request_size=4 [00:15:05]MH_SAM_APDU [00:15:05]CAPDU: 80 15 03 00 [00:15:05]Write to MH i2c: E2 08 00 DA 4B 80 15 03 00 00 00 00 00 A6 [00:15:05]Write i2c OK [00:15:05]MH_I2C_Read... [00:15:06]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:15:06]Read from MH i2c: E2 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: E2 FD 00 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: E2 FD 00 DA 4B 00 FC 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F3 68 00 00 0E 04 04 00 3A 01 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 90 00 96 [00:15:06]RAPDU: FC 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F3 68 00 00 0E 04 04 00 3A 01 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 90 00 [00:15:06]wFMCommunicate OK [00:15:06]SAM_PROTO_ProcessDocument answer len = 1276 [00:15:06]SAM_PROTO_ProcessDocument remain to read = 1028 [00:15:06]wFMCommunicate request_size=4 [00:15:06]MH_SAM_APDU [00:15:06]CAPDU: 80 17 00 00 [00:15:06]Write to MH i2c: E2 08 00 DB 4B 80 17 00 00 00 00 00 00 A6 [00:15:06]Write i2c OK [00:15:06]MH_I2C_Read... [00:15:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:06]Read from MH i2c: E2 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: E2 FD 00 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: E2 FD 00 DB 4B 00 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 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 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 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 C5 [00:15:06]RAPDU: 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 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 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 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:15:07]wFMCommunicate OK [00:15:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:15:07]SAM_PROTO_ProcessDocument remain to read = 778 [00:15:07]wFMCommunicate request_size=4 [00:15:07]MH_SAM_APDU [00:15:07]CAPDU: 80 17 00 00 [00:15:07]Write to MH i2c: E2 08 00 DC 4B 80 17 00 00 00 00 00 00 A7 [00:15:07]Write i2c OK [00:15:07]MH_I2C_Read... [00:15:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:07]Read from MH i2c: E2 [00:15:07]MH_I2C_Read... [00:15:07]Read from MH i2c: E2 FD 00 [00:15:07]MH_I2C_Read... [00:15:07]Read from MH i2c: E2 FD 00 DC 4B 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 0D [00:15:07]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 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 90 00 [00:15:07]wFMCommunicate OK [00:15:07]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:15:07]SAM_PROTO_ProcessDocument remain to read = 528 [00:15:07]wFMCommunicate request_size=4 [00:15:07]MH_SAM_APDU [00:15:07]CAPDU: 80 17 00 00 [00:15:07]Write to MH i2c: E2 08 00 DD 4B 80 17 00 00 00 00 00 00 A8 [00:15:07]Write i2c OK [00:15:07]MH_I2C_Read... [00:15:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:07]Read from MH i2c: E2 [00:15:07]MH_I2C_Read... [00:15:07]Read from MH i2c: E2 FD 00 [00:15:07]MH_I2C_Read... [00:15:07]Read from MH i2c: E2 FD 00 DD 4B 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BB [00:15:07]RAPDU: 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:15:08]wFMCommunicate OK [00:15:08]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:15:08]SAM_PROTO_ProcessDocument remain to read = 278 [00:15:08]wFMCommunicate request_size=4 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 17 00 00 [00:15:08]Write to MH i2c: E2 08 00 DE 4B 80 17 00 00 00 00 00 00 A9 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 FD 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 FD 00 DE 4B 00 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 E3 [00:15:08]RAPDU: 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 90 00 [00:15:08]wFMCommunicate OK [00:15:08]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:15:08]SAM_PROTO_ProcessDocument remain to read = 28 [00:15:08]wFMCommunicate request_size=4 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 17 00 00 [00:15:08]Write to MH i2c: E2 08 00 DF 4B 80 17 00 00 00 00 00 00 AA [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 28! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 1F 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 1F 00 DF 4B 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 04 F6 AB 8B CE 09 90 00 F4 [00:15:08]RAPDU: 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 04 F6 AB 8B CE 09 90 00 [00:15:08]wFMCommunicate OK [00:15:08]SAM_PROTO_ProcessDocument received (without SW) 28 bytes [00:15:08]SAM_PROTO_ProcessDocument done [00:15:08]1209 (1) - 1.0 - номер верÑии ФФД [00:15:08]1041 (16) - 0000000000874657 - номер ФМ [00:15:08]1040 (4) - 26867 - номер ФД [00:15:08]1038 (4) - 314 - номер Ñмены [00:15:08]1118 (4) - 79 - количеÑтво каÑÑовых чеков за Ñмену [00:15:08]1111 (4) - 81 - общее количеÑтво ФД за Ñмену [00:15:08]1194 (1205) - Ñчетчики итогов Ñмены [00:15:08] 1134 (4) - 79 - количеÑтво чеков Ñо вÑеми признаками раÑчетов [00:15:08] 1129 (156) - Ñчетчики операций «приход» [00:15:08] 1135 (4) - 78 - количеÑтво чеков по признаку раÑчетов [00:15:08] 1201 (3) - 84175.11 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:15:08] 1136 (3) - 46271.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:15:08] 1138 (3) - 37904.11 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:15:08] 1024 (123) - Ñуммы налогов [00:15:08] 1006 (9) - Ñуммы ÐДС [00:15:08] 1010 (1) - 0% - код Ñтавки ÐДС [00:15:08] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:15:08] 1006 (12) - Ñуммы ÐДС [00:15:08] 1010 (1) - 12% - код Ñтавки ÐДС [00:15:08] 1011 (3) - 8940.39 - Ñумма ÐДС по Ñтавке [00:15:08] 1007 (9) - Ñуммы ÐСП [00:15:08] 1014 (1) - 0% - код Ñтавки ÐСП [00:15:08] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1007 (12) - Ñуммы ÐСП [00:15:08] 1014 (1) - 1% - код Ñтавки ÐСП [00:15:08] 1015 (3) - 745.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1007 (9) - Ñуммы ÐСП [00:15:08] 1014 (1) - 2% - код Ñтавки ÐСП [00:15:08] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1007 (9) - Ñуммы ÐСП [00:15:08] 1014 (1) - 3% - код Ñтавки ÐСП [00:15:08] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1007 (9) - Ñуммы ÐСП [00:15:08] 1014 (1) - 5% - код Ñтавки ÐСП [00:15:08] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1007 (9) - Ñуммы ÐСП [00:15:08] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:15:08] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1007 (9) - Ñуммы ÐСП [00:15:08] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:15:08] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:08] 1130 (151) - Ñчетчики операций «возврат прихода» [00:15:08] 1135 (4) - 1 - количеÑтво чеков по признаку раÑчетов [00:15:08] 1201 (3) - 1000.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:15:08] 1136 (3) - 1000.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:15:08] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:15:08] 1024 (121) - Ñуммы налогов [00:15:08] 1006 (9) - Ñуммы ÐДС [00:15:08] 1010 (1) - 0% - код Ñтавки ÐДС [00:15:08] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:15:08] 1006 (11) - Ñуммы ÐДС [00:15:08] 1010 (1) - 12% - код Ñтавки ÐДС [00:15:09] 1011 (2) - 106.21 - Ñумма ÐДС по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (11) - Ñуммы ÐСП [00:15:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:15:09] 1015 (2) - 8.85 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1131 (141) - Ñчетчики операций «раÑход» [00:15:09] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:15:09] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:15:09] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:15:09] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:15:09] 1024 (117) - Ñуммы налогов [00:15:09] 1006 (9) - Ñуммы ÐДС [00:15:09] OFD Sender: No OFD packet to send [00:15:09] 1010 (1) - 0% - код Ñтавки ÐДС [00:15:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:15:09] 1006 (9) - Ñуммы ÐДС [00:15:09] 1010 (1) - 12% - код Ñтавки ÐДС [00:15:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1132 (141) - Ñчетчики операций «возврат раÑхода» [00:15:09] 1135 (4) - 0 - количеÑтво чеков по признаку раÑчетов [00:15:09] 1201 (0) - 0.00 - Ð¾Ð±Ñ‰Ð°Ñ Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках [00:15:09] 1136 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках наличными [00:15:09] 1138 (0) - 0.00 - Ð¸Ñ‚Ð¾Ð³Ð¾Ð²Ð°Ñ Ñумма в чеках безналичными [00:15:09] 1024 (117) - Ñуммы налогов [00:15:09] 1006 (9) - Ñуммы ÐДС [00:15:09] 1010 (1) - 0% - код Ñтавки ÐДС [00:15:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:15:09] 1006 (9) - Ñуммы ÐДС [00:15:09] 1010 (1) - 12% - код Ñтавки ÐДС [00:15:09] 1011 (0) - 0.00 - Ñумма ÐДС по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 0% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 1% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 2% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 3% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 5% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 0,50% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1007 (9) - Ñуммы ÐСП [00:15:09] 1014 (1) - 1,50% - код Ñтавки ÐСП [00:15:09] 1015 (0) - 0.00 - Ñумма ÐСП по Ñтавке [00:15:09] 1133 (588) - - Ñчетчики коррекции - не иÑпользуютÑÑ [00:15:09]1077 (6) - 5457486532105 - ФПД [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1209 (04B9) [00:15:09]Malloc new data [00:15:09]Processing tag 1041 (0411) [00:15:09]Processing tag 1040 (0410) [00:15:09]Malloc new data [00:15:09]Processing tag 1038 (040E) [00:15:09]Malloc new data [00:15:09]Processing tag 1118 (045E) [00:15:09]Malloc new data [00:15:09]Processing tag 1111 (0457) [00:15:09]Malloc new data [00:15:09]Processing tag 1194 (04AA) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1134 (046E) [00:15:09]Malloc new data [00:15:09]Processing tag 1129 (0469) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1135 (046F) [00:15:09]Malloc new data [00:15:09]Processing tag 1201 (04B1) [00:15:09]Malloc new data [00:15:09]Processing tag 1136 (0470) [00:15:09]Malloc new data [00:15:09]Processing tag 1138 (0472) [00:15:09]Malloc new data [00:15:09]Processing tag 1024 (0400) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1130 (046A) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1135 (046F) [00:15:09]Malloc new data [00:15:09]Processing tag 1201 (04B1) [00:15:09]Malloc new data [00:15:09]Processing tag 1136 (0470) [00:15:09]Malloc new data [00:15:09]Processing tag 1138 (0472) [00:15:09]Malloc new data [00:15:09]Processing tag 1024 (0400) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1131 (046B) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1135 (046F) [00:15:09]Malloc new data [00:15:09]Processing tag 1201 (04B1) [00:15:09]Malloc new data [00:15:09]Processing tag 1136 (0470) [00:15:09]Malloc new data [00:15:09]Processing tag 1138 (0472) [00:15:09]Malloc new data [00:15:09]Processing tag 1024 (0400) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1132 (046C) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1135 (046F) [00:15:09]Malloc new data [00:15:09]Processing tag 1201 (04B1) [00:15:09]Malloc new data [00:15:09]Processing tag 1136 (0470) [00:15:09]Malloc new data [00:15:09]Processing tag 1138 (0472) [00:15:09]Malloc new data [00:15:09]Processing tag 1024 (0400) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1006 (03EE) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1010 (03F2) [00:15:09]Malloc new data [00:15:09]Processing tag 1011 (03F3) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1007 (03EF) [00:15:09]Load OK [00:15:09]SetTLVBufToDocument [00:15:09]Processing tag 1014 (03F6) [00:15:09]Malloc new data [00:15:09]Processing tag 1015 (03F7) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1133 (046D) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Processing tag 1077 (0435) [00:15:09]Malloc new data [00:15:09]SetTLVBufToDocument err=0 [00:15:09]Malloc new data [00:15:09]SAM_PROTO_GetFMData [00:15:09]wFMCommunicate request_size=4 [00:15:09]MH_SAM_APDU [00:15:09]CAPDU: 80 13 03 00 [00:15:09]Write to MH i2c: E2 08 00 E0 4B 80 13 03 00 00 00 00 00 AA [00:15:09]Write i2c OK [00:15:09]MH_I2C_Read... [00:15:10]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:15:10]Read from MH i2c: E2 [00:15:10]MH_I2C_Read... [00:15:10]Read from MH i2c: E2 FD 00 [00:15:10]MH_I2C_Read... [00:15:10]Read from MH i2c: E2 FD 00 E0 4B 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 29 [00:15:10]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:15:10]wFMCommunicate OK [00:15:10]wFMCommunicate request_size=4 [00:15:10]MH_SAM_APDU [00:15:10]CAPDU: 80 17 00 00 [00:15:10]Write to MH i2c: E2 08 00 E1 4B 80 17 00 00 00 00 00 00 AC [00:15:10]Write i2c OK [00:15:10]MH_I2C_Read... [00:15:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:10]Read from MH i2c: E2 [00:15:10]MH_I2C_Read... [00:15:10]Read from MH i2c: E2 FD 00 [00:15:10]MH_I2C_Read... [00:15:10]Read from MH i2c: E2 FD 00 E1 4B 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 A5 [00:15:11]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:15:11]wFMCommunicate OK [00:15:11]wFMCommunicate request_size=4 [00:15:11]MH_SAM_APDU [00:15:11]CAPDU: 80 17 00 00 [00:15:11]Write to MH i2c: E2 08 00 E2 4B 80 17 00 00 00 00 00 00 AD [00:15:11]Write i2c OK [00:15:11]MH_I2C_Read... [00:15:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:11]Read from MH i2c: E2 [00:15:11]MH_I2C_Read... [00:15:11]Read from MH i2c: E2 FD 00 [00:15:11]MH_I2C_Read... [00:15:11]Read from MH i2c: E2 FD 00 E2 4B 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 50 [00:15:11]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:15:11]wFMCommunicate OK [00:15:11]wFMCommunicate request_size=4 [00:15:11]MH_SAM_APDU [00:15:11]CAPDU: 80 17 00 00 [00:15:11]Write to MH i2c: E2 08 00 E3 4B 80 17 00 00 00 00 00 00 AE [00:15:11]Write i2c OK [00:15:11]MH_I2C_Read... [00:15:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:12]Read from MH i2c: E2 [00:15:12]MH_I2C_Read... [00:15:12]Read from MH i2c: E2 FD 00 [00:15:12]MH_I2C_Read... [00:15:12]Read from MH i2c: E2 FD 00 E3 4B 00 01 00 04 F7 03 00 00 EF 03 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 90 00 26 [00:15:12]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:15:12]wFMCommunicate OK [00:15:12]wFMCommunicate request_size=4 [00:15:12]MH_SAM_APDU [00:15:12]CAPDU: 80 17 00 00 [00:15:12]Write to MH i2c: E2 08 00 E4 4B 80 17 00 00 00 00 00 00 AF [00:15:12]Write i2c OK [00:15:12]MH_I2C_Read... [00:15:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:15:12]Read from MH i2c: E2 [00:15:12]MH_I2C_Read... [00:15:12]Read from MH i2c: E2 DD 00 [00:15:12]MH_I2C_Read... [00:15:12]Read from MH i2c: E2 DD 00 E4 4B 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 97 [00:15:12]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:15:13]wFMCommunicate OK [00:15:13]SAM_PROTO_GetFMData done [00:15:13]Malloc new data [00:15:13]Malloc new data [00:15:13]Malloc new data [00:15:13]Malloc new data [00:15:13]KKMLoadAndSignCloseShiftData err=0 [00:15:13]Отчет о закрытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: Эдилбаев К. 09.04.2024 00:15 Смена: 314 РÐМ: 0000000000091578 ЗÐМ: 0300000147 СÐО: Общий режим Чеков за Ñмену: 79 ФД за Ñмену: 81 Ð’Ñего чеков: 79 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 84175.11 Итого наличными: 46271.00 Итого безнал.: 37904.11 ÐДС 0% : 0.00 ÐДС 12% : 8940.39 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 745.00 ИТОГИ ВОЗВРÐТ ПРИХОДРЧеков: 1 Общий итог: 1000.00 Итого наличными: 1000.00 Итого безнал.: 0.00 ÐДС 0% : 0.00 ÐДС 12% : 106.21 ÐСП 0% : 0.00 ÐСП 1,50% : 0.00 ÐСП 0,50% : 0.00 ÐСП 5% : 0.00 ÐСП 3% : 0.00 ÐСП 2% : 0.00 ÐСП 1% : 8.85 ИТОГИ РÐСХОД Чеков: 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 Ðал. в каÑÑе: 45271.00 ÐС Приход: 26137084.11 ÐС Возвр.Прихода: 123833.00 ÐС РаÑход: 0.00 ÐС Возвр.РаÑхода: 0.00 ФД: 26867 ФМ: 0000000000874657 ФПД: 5457486532105 [00:15:13]StoreToDocumentArchive [00:15:13]shift 314 fd 26867 [00:15:13]save to /storage/0314/doc_00026867 [00:15:13]save last doc name /storage/0314/doc_00026867 to /storage/kkm_last_doc_name [00:15:13]save OK [00:15:13]Clear old archive folders... [00:15:13]Remove dir /storage/0266 [00:15:13]opendir ok [00:15:13]file . [00:15:13]file .. [00:15:13]file doc_1712621684 [00:15:13]remove file /storage/0266/doc_1712621684 [00:15:13]remove dir /storage/0266 [00:15:13]NVStorageSaveData kkm_registers [00:15:13]File name is /storage/kkm_registers [00:15:13]Write 24 bytes [00:15:13]NVStorageSaveData done [00:15:13]NVStorageSaveData kkm_registers [00:15:13]File name is /storage/kkm_registers [00:15:13]Write 24 bytes [00:15:13]NVStorageSaveData done [00:15:13]ProcessDocumentItem done err = 0, tmpTLVsize=1385 [00:15:13]tlvbuf is 010ED8B0 [00:15:13]SAM_PROTO_ClearQueue [00:15:13]wFMCommunicate request_size=4 [00:15:13]MH_SAM_APDU [00:15:13]CAPDU: 80 09 00 00 [00:15:13]Write to MH i2c: E2 08 00 E5 4B 80 09 00 00 00 00 00 00 A2 [00:15:13]Write i2c OK [00:15:13]MH_I2C_Read... [00:15:13]Read from MH i2c: E2 [00:15:13]MH_I2C_Read... [00:15:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:15:13]Read from MH i2c: E2 03 00 [00:15:13]MH_I2C_Read... [00:15:13]Read from MH i2c: E2 03 00 E5 4B 00 90 00 A4 [00:15:13]RAPDU: 90 00 [00:15:13]wFMCommunicate OK [00:15:13]SAM_PROTO_ClearQueue done [00:15:13]KKMCreateOFDPacket [00:15:13]OFDProtocolAddRootSTLVToBuf [00:15:13]FM_MakeSignedData [00:15:13]FM_MakeSignedData [00:15:13]SAM_PROTO_SignData [00:15:13]wFMCommunicate request_size=4 [00:15:13]MH_SAM_APDU [00:15:13]CAPDU: 80 0D 01 02 [00:15:13]Write to MH i2c: E2 08 00 E6 4B 80 0D 01 02 00 00 00 00 AA [00:15:13]Write i2c OK [00:15:13]MH_I2C_Read... [00:15:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:15:13]Read from MH i2c: E2 [00:15:13]MH_I2C_Read... [00:15:13]Read from MH i2c: E2 03 00 [00:15:13]MH_I2C_Read... [00:15:13]Read from MH i2c: E2 03 00 E6 4B 00 90 00 A5 [00:15:13]RAPDU: 90 00 [00:15:13]wFMCommunicate OK [00:15:13]wFMCommunicate request_size=255 [00:15:13]MH_SAM_APDU [00:15:13]CAPDU: 80 0D 02 02 FA 05 00 69 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F4 03 04 00 9A 88 14 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 DC 04 6E 04 04 00 4F 00 00 00 69 04 A3 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 82 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 57 A4 0D 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:15:13]Write to MH i2c: E2 02 01 E7 4B 80 0D 02 02 FA 00 05 00 69 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F4 03 04 00 9A 88 14 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 DC 04 6E 04 04 00 4F 00 00 00 69 04 A3 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 82 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 57 A4 0D 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 BF [00:15:13]Write i2c OK [00:15:13]MH_I2C_Read... [00:15:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:13]Read from MH i2c: E2 [00:15:13]MH_I2C_Read... [00:15:13]Read from MH i2c: E2 03 00 [00:15:14]MH_I2C_Read... [00:15:14]Read from MH i2c: E2 03 00 E7 4B 00 90 00 A6 [00:15:14]RAPDU: 90 00 [00:15:14]wFMCommunicate OK [00:15:14]wFMCommunicate request_size=255 [00:15:14]MH_SAM_APDU [00:15:14]CAPDU: 80 0D 02 02 FA 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 04 23 01 6A 04 9F 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 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 75 03 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 [00:15:14]Write to MH i2c: E2 02 01 E8 4B 80 0D 02 02 FA 00 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 04 23 01 6A 04 9F 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 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 75 03 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 00 00 BF [00:15:14]OFD Sender: No OFD packet to send [00:15:14]Write i2c OK [00:15:14]MH_I2C_Read... [00:15:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:14]Read from MH i2c: E2 [00:15:14]MH_I2C_Read... [00:15:14]Read from MH i2c: E2 03 00 [00:15:14]MH_I2C_Read... [00:15:14]Read from MH i2c: E2 03 00 E8 4B 00 90 00 A7 [00:15:14]RAPDU: 90 00 [00:15:14]wFMCommunicate OK [00:15:14]wFMCommunicate request_size=255 [00:15:14]MH_SAM_APDU [00:15:14]CAPDU: 80 0D 02 02 FA 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 [00:15:15]Write to MH i2c: E2 02 01 E9 4B 80 0D 02 02 FA 00 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 00 00 74 [00:15:15]Write i2c OK [00:15:15]MH_I2C_Read... [00:15:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:15]Read from MH i2c: E2 [00:15:15]MH_I2C_Read... [00:15:15]Read from MH i2c: E2 03 00 [00:15:15]MH_I2C_Read... [00:15:15]Read from MH i2c: E2 03 00 E9 4B 00 90 00 A8 [00:15:15]RAPDU: 90 00 [00:15:15]wFMCommunicate OK [00:15:15]wFMCommunicate request_size=255 [00:15:15]MH_SAM_APDU [00:15:15]CAPDU: 80 0D 02 02 FA 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 [00:15:15]Write to MH i2c: E2 02 01 EA 4B 80 0D 02 02 FA 00 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 00 00 7E [00:15:15]Write i2c OK [00:15:15]MH_I2C_Read... [00:15:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:16]Read from MH i2c: E2 [00:15:16]MH_I2C_Read... [00:15:16]Read from MH i2c: E2 03 00 [00:15:16]MH_I2C_Read... [00:15:16]Read from MH i2c: E2 03 00 EA 4B 00 90 00 A9 [00:15:16]RAPDU: 90 00 [00:15:16]wFMCommunicate OK [00:15:16]wFMCommunicate request_size=255 [00:15:16]MH_SAM_APDU [00:15:16]CAPDU: 80 0D 02 02 FA F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 [00:15:16]Write to MH i2c: E2 02 01 EB 4B 80 0D 02 02 FA 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 00 3F [00:15:16]Write i2c OK [00:15:16]MH_I2C_Read... [00:15:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:16]Read from MH i2c: E2 [00:15:16]MH_I2C_Read... [00:15:16]Read from MH i2c: E2 03 00 [00:15:16]MH_I2C_Read... [00:15:16]Read from MH i2c: E2 03 00 EB 4B 00 90 00 AA [00:15:16]RAPDU: 90 00 [00:15:16]wFMCommunicate OK [00:15:16]wFMCommunicate request_size=144 [00:15:16]MH_SAM_APDU [00:15:16]CAPDU: 80 0D 02 02 8B 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 04 F6 AB 8B CE 09 [00:15:17]Write to MH i2c: E2 93 00 EC 4B 80 0D 02 02 8B 00 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 04 F6 AB 8B CE 09 00 00 55 [00:15:17]Write i2c OK [00:15:17]MH_I2C_Read... [00:15:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:17]Read from MH i2c: E2 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: E2 03 00 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: E2 03 00 EC 4B 00 90 00 AB [00:15:17]RAPDU: 90 00 [00:15:17]wFMCommunicate OK [00:15:17]wFMCommunicate request_size=4 [00:15:17]MH_SAM_APDU [00:15:17]CAPDU: 80 0D 03 02 [00:15:17]Write to MH i2c: E2 08 00 ED 4B 80 0D 03 02 00 00 00 00 B3 [00:15:17]Write i2c OK [00:15:17]MH_I2C_Read... [00:15:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:15:17]Read from MH i2c: E2 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: E2 0B 00 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: E2 0B 00 ED 4B 00 A3 70 F0 B9 98 C4 AA 0F 90 00 85 [00:15:17]RAPDU: A3 70 F0 B9 98 C4 AA 0F 90 00 [00:15:17]wFMCommunicate OK [00:15:17]SAM_PROTO_SignData done [00:15:17]FM_MakeSignedData done [00:15:17]CreateOFDProtocolMessage [00:15:17]wFMCommunicate request_size=4 [00:15:17]MH_SAM_APDU [00:15:17]CAPDU: 80 11 00 00 [00:15:17]Write to MH i2c: E2 08 00 EE 4B 80 11 00 00 00 00 00 00 B3 [00:15:17]Write i2c OK [00:15:17]MH_I2C_Read... [00:15:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:17]Read from MH i2c: E2 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: E2 17 00 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: E2 17 00 EE 4B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 0B [00:15:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:15:17]wFMCommunicate OK [00:15:17]CreateOFDProtocolMessage done [00:15:17]OFDSenderStorePacket 26867 [00:15:17]StoreOFDPacket docnum=26867 [00:15:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 7D 05 00 00 1C 11 75 05 9B C5 5A 05 01 00 05 00 69 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F4 03 04 00 9A 88 14 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 DC 04 6E 04 04 00 4F 00 00 00 69 04 A3 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 82 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 57 A4 0D 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 0C 00 F6 03 01 00 01 F7 03 03 00 04 23 01 6A 04 9F 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 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 75 03 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 F3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 04 F6 AB 8B CE 09 A3 70 F0 B9 98 C4 AA 0F [00:15:17]CheckFolder [00:15:17]dirname=/storage/ofd_packets [00:15:17]CheckFolder done [00:15:17]ProducePacketName [00:15:17]name=ofd_packets/00026867 [00:15:17]NVStorageSaveData ofd_packets/00026867 [00:15:17]File name is /storage/ofd_packets/00026867 [00:15:17]Write 1435 bytes [00:15:17]NVStorageSaveData done [00:15:17]OFDSenderStorePacket done [00:15:17]KKMCreateOFDPacket done [00:15:17]NVStorageSaveData kkm_last_timestamp [00:15:17]File name is /storage/kkm_last_timestamp [00:15:17]Write 4 bytes [00:15:17]NVStorageSaveData done [00:15:17]ExternCall_PrintAddStr [00:15:17]wPrintStart [00:15:17]Write to MH i2c: 01 00 00 EF 4B 3A [00:15:17]Write i2c OK [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: 01 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: 01 07 00 [00:15:17]MH_I2C_Read... [00:15:17]Read from MH i2c: 01 07 00 EF 4B 00 00 00 00 00 FF 0F 4F [00:15:17]RasterBufferAndPrint [00:15:17]line Отчет о закрытии Ñмены [00:15:17]line ФФД: 1.0 [00:15:17]line ИÐÐ: 02508201610067 [00:15:17]line КаÑÑир: Эдилбаев К. [00:15:17]line 09.04.2024 00:15 [00:15:17]line Смена: 314 [00:15:17]line РÐМ: 0000000000091578 [00:15:17]line ЗÐМ: 0300000147 [00:15:17]line СÐО: Общий режим [00:15:18]line Чеков за Ñмену: 79 [00:15:18]line ФД за Ñмену: 81 [00:15:18]line Ð’Ñего чеков: 79 [00:15:18]line ИТОГИ ПРИХОД [00:15:18]line Чеков: 78 [00:15:18]line Общий итог: 84175.11 [00:15:18]line Итого наличными: 46271.00 [00:15:18]line Итого безнал.: 37904.11 [00:15:18]line ÐДС 0% : 0.00 [00:15:18]line ÐДС 12% : 8940.39 [00:15:18]line ÐСП 0% : 0.00 [00:15:18]line ÐСП 1,50% : 0.00 [00:15:18]line ÐСП 0,50% : 0.00 [00:15:18]line ÐСП 5% : 0.00 [00:15:18]line ÐСП 3% : 0.00 [00:15:18]line ÐСП 2% : 0.00 [00:15:18]line ÐСП 1% : 745.00 [00:15:18]line ИТОГИ ВОЗВРÐТ ПРИХОДР[00:15:18]line Чеков: 1 [00:15:18]line Общий итог: 1000.00 [00:15:18]line Итого наличными: 1000.00 [00:15:18]line Итого безнал.: 0.00 [00:15:18]line ÐДС 0% : 0.00 [00:15:18]line ÐДС 12% : 106.21 [00:15:18]OFD Sender: Processing packet 26867 [packets to send 44, broken 43] [00:15:18]ProducePacketName [00:15:18]name=ofd_packets/00026867 [00:15:18]OFD Sender: To server: ‡•öpG, [00:15:18]CommunicateWithHost lk.salyk.kg:30040 [00:15:18]ConnectInit lk.salyk.kg [00:15:18]line ÐСП 0% : 0.00 [00:15:18]line ÐСП 1,50% : 0.00 [00:15:18]line ÐСП 0,50% : 0.00 [00:15:18]line ÐСП 5% : 0.00 [00:15:18]line ÐСП 3% : 0.00 [00:15:18]line ÐСП 2% : 0.00 [00:15:18]line ÐСП 1% : 8.85 [00:15:18]line ИТОГИ РÐСХОД [00:15:18]line Чеков: 0 [00:15:18]line Общий итог: 0.00 [00:15:18]line Итого наличными: 0.00 [00:15:18]line Итого безнал.: 0.00 [00:15:18]line ÐДС 0% : 0.00 [00:15:18]line ÐДС 12% : 0.00 [00:15:18]line ÐСП 0% : 0.00 [00:15:18]line ÐСП 1,50% : 0.00 [00:15:18]line ÐСП 0,50% : 0.00 [00:15:18]line ÐСП 5% : 0.00 [00:15:18]line ÐСП 3% : 0.00 [00:15:18]line ÐСП 2% : 0.00 [00:15:18]line ÐСП 1% : 0.00 [00:15:18]line ИТОГИ ВОЗВРÐТ РÐСХОДР[00:15:18]line Чеков: 0 [00:15:18]line Общий итог: 0.00 [00:15:18]line Итого наличными: 0.00 [00:15:18]line Итого безнал.: 0.00 [00:15:18]line ÐДС 0% : 0.00 [00:15:18]line ÐДС 12% : 0.00 [00:15:18]line ÐСП 0% : 0.00 [00:15:18]line ÐСП 1,50% : 0.00 [00:15:18]line ÐСП 0,50% : 0.00 [00:15:18]line ÐСП 5% : 0.00 [00:15:18]line ÐСП 3% : 0.00 [00:15:18]line ÐСП 2% : 0.00 [00:15:18]line ÐСП 1% : 0.00 [00:15:18]line Сумма внеÑений: 0.00 [00:15:18]line Сумма выплат: 0.00 [00:15:18]line Ðал. в каÑÑе: 45271.00 [00:15:18]line ÐС Приход: 26137084.11 [00:15:18]line ÐС Возвр.Прихода: 123833.00 [00:15:18]line ÐС РаÑход: 0.00 [00:15:18]line ÐС Возвр.РаÑхода: 0.00 [00:15:18]line ФД: 26867 [00:15:18]line ФМ: 0000000000874657 [00:15:18]line ФПД: 5457486532105 [00:15:18]written 0, free lines is 4095 [00:15:18]Connected sock=10 [00:15:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 7D 05 00 00 1C 11 75 05 9B C5 5A 05 01 00 05 00 69 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 14 00 D0 AD D0 B4 D0 B8 D0 BB D0 B1 D0 B0 D0 B5 D0 B2 20 D0 9A 2E F4 03 04 00 9A 88 14 66 0E 04 04 00 3A 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 AA 04 DC 04 6E 04 04 00 4F 00 00 00 69 04 A3 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 82 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 57 A4 0D 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 0C 00 F6 03 01 00 01 F7 03 03 00 04 23 01 6A 04 9F 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 01 00 00 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 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 75 03 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 Write to MH i2c: F7 01 03 00 00 00 00 3F EF 4C 03 09 00 F6 03 01 00 03 F7 03 00 00 8B EF [00:15:18]03 Write i2c OK [00:15:18]09 MH_I2C_Read... [00:15:18]00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 Read from MH i2c: 01 01 00 [00:15:18]05 MH_I2C_Read... [00:15:18]F7 Read from MH i2c: 03 01 00 07 00 00 EF [00:15:18]03 MH_I2C_Read... [00:15:18]09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 Read from MH i2c: F7 01 03 07 00 00 00 3F EF 4C 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 00 03 00 09 00 00 00 F6 00 03 99 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 09 01 34 00 [00:15:19]04 RasterBufferAndPrint [00:15:19]F7 line [00:15:19]03 line [00:15:19]line [00:15:19]line [00:15:19]line [00:15:19]00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 written 0, free lines is 2674 [00:15:19]03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 MH_Cut [00:15:19]EF Write to MH i2c: 03 D1 09 01 00 00 F6 46 4C 03 01 01 64 00 [00:15:19]00 F7 03 00 00 EF 03 09 00 F6 03 01 Write i2c OK [00:15:19]00 MH_I2C_Read... [00:15:19]01 Read from MH i2c: F7 D1 03 [00:15:19]00 MH_I2C_Read... [00:15:19]00 EF 03 09 00 F6 03 01 00 02 F7 Read from MH i2c: 03 D1 00 01 00 00 EF [00:15:19]03 MH_I2C_Read... [00:15:19]09 Read from MH i2c: 00 D1 F6 01 03 00 01 46 00 4C 03 00 F7 63 03 [00:15:19]00 Write to MH i2c: 00 01 EF 00 00 47 4C 93 [00:15:19]03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 Write i2c OK [00:15:19]00 MH_I2C_Read... [00:15:19]04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F3 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 04 F6 AB 8B CE 09 A3 70 F0 B9 98 C4 AA 0F [00:15:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 0A EE 47 00 CD 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F3 68 00 00 F4 03 04 00 0F 30 14 66 B6 04 01 00 00 2F E6 93 AD 04 1A E9 6D [00:15:20]CommunicateWithHost err = 0 [00:15:20]CheckOFDResponse [00:15:20]1017 (14) - 77093643461234 [00:15:20]1041 (16) - 0000000000874657 [00:15:20]1040 (4) - 26867 [00:15:20]1012 (4) - 08.04.2024 17:57 [00:15:20]1206 (1) - 0 [00:15:20]OFD Sender: Remove packet 26867 [00:15:20]ProducePacketName [00:15:20]name=ofd_packets/00026867 [00:15:20]NVStorageDeleteData [00:15:20]OFD Sender: No OFD packet to send [00:15:20]*** Cut start [00:15:20]*** Partial cut [00:15:20]*** CUTSNS_PIN = 1 [00:15:20]*** CUTSNS_PIN = 0 [00:15:20]*** Brake cut motor [00:15:21]Read from MH i2c: 01 [00:15:21]MH_I2C_Read... [00:15:21]*** Stop cut motor [00:15:21]*** Cut end [00:15:21]Read from MH i2c: 01 07 00 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: 01 07 00 47 4C 00 00 00 00 00 FF 0F A8 [00:15:21]process_action close_shift done [00:15:21]requested_data is exist [00:15:21]produce_requested_data [00:15:21]requested_item fd.num is exist - process it [00:15:21]SAM_PROTO_GetFieldsCounters [00:15:21]wFMCommunicate request_size=4 [00:15:21]MH_SAM_APDU [00:15:21]CAPDU: 80 13 00 00 [00:15:21]Write to MH i2c: E2 08 00 48 4C 80 13 00 00 00 00 00 00 10 [00:15:21]Write i2c OK [00:15:21]MH_I2C_Read... [00:15:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:15:21]Read from MH i2c: E2 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: E2 62 00 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: E2 62 00 48 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [00:15:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:15:21]wFMCommunicate OK [00:15:21]SAM_PROTO_GetFieldsCounters done [00:15:21]requested_item shift.num is exist - process it [00:15:21]requested_item shift.opened is exist - process it [00:15:21]req_shift_opened [00:15:21]FM_GetShiftState [00:15:21]SAM_PROTO_GetShiftState [00:15:21]wFMCommunicate request_size=4 [00:15:21]MH_SAM_APDU [00:15:21]CAPDU: 80 13 01 00 [00:15:21]Write to MH i2c: E2 08 00 49 4C 80 13 01 00 00 00 00 00 12 [00:15:21]Write i2c OK [00:15:21]MH_I2C_Read... [00:15:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:21]Read from MH i2c: E2 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: E2 0E 00 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: E2 0E 00 49 4C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1D [00:15:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:15:21]wFMCommunicate OK [00:15:21]SAM_PROTO_GetShiftState done [00:15:21]FM_GetShiftState done [00:15:21]req_shift_opened done [00:15:21]requested_item shift.open_date is exist - process it [00:15:21]req_shift_open_date [00:15:21]FM_GetShiftState [00:15:21]SAM_PROTO_GetShiftState [00:15:21]wFMCommunicate request_size=4 [00:15:21]MH_SAM_APDU [00:15:21]CAPDU: 80 13 01 00 [00:15:21]Write to MH i2c: E2 08 00 4A 4C 80 13 01 00 00 00 00 00 13 [00:15:21]Write i2c OK [00:15:21]MH_I2C_Read... [00:15:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:21]Read from MH i2c: E2 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: E2 0E 00 [00:15:21]MH_I2C_Read... [00:15:21]Read from MH i2c: E2 0E 00 4A 4C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 1E [00:15:21]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:15:21]wFMCommunicate OK [00:15:21]SAM_PROTO_GetShiftState done [00:15:21]FM_GetShiftState done [00:15:21]req_shift_open_date done [00:15:21]produce_requested_data done [00:15:21]produce_requested_data return {"fd.num":26867,"shift.num":314,"shift.opened":0,"shift.open_date":0} [00:15:21]process_action_free close_shift [00:15:21]json_value_free [00:15:21]json_value_free done [00:15:21]process_json_proto returns [00:15:21]Send response to host [00:15:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":26867,"shift.num":314,"shift.opened":0,"shift.open_date":0}}} [00:15:21]free response buf [00:15:21]execute_script done [00:15:21]execute_script returns [00:15:21]free content buf [00:15:21]Sock 9.Close socket [00:15:21]Sock 9.Thread stoped [00:15:25]OFD Sender: No OFD packet to send [00:15:30]OFD Sender: No OFD packet to send [00:15:35]OFD Sender: No OFD packet to send [00:15:40]OFD Sender: No OFD packet to send [00:15:45]OFD Sender: No OFD packet to send [00:15:50]OFD Sender: No OFD packet to send [00:15:55]OFD Sender: No OFD packet to send [00:16:00]OFD Sender: No OFD packet to send [00:16:05]OFD Sender: No OFD packet to send [00:16:10]OFD Sender: No OFD packet to send [00:16:15]OFD Sender: No OFD packet to send [00:16:20]OFD Sender: No OFD packet to send [00:16:25]OFD Sender: No OFD packet to send [00:16:30]OFD Sender: No OFD packet to send [00:16:35]OFD Sender: No OFD packet to send [00:16:40]OFD Sender: No OFD packet to send [00:16:45]OFD Sender: No OFD packet to send [00:16:50]OFD Sender: No OFD packet to send [00:16:55]OFD Sender: No OFD packet to send [00:17:00]OFD Sender: No OFD packet to send [00:17:05]OFD Sender: No OFD packet to send [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:36]OFD Sender: No OFD packet to send [00:29:41]OFD Sender: No OFD packet to send [00:29:46]OFD Sender: No OFD packet to send [00:29:51]OFD Sender: No OFD packet to send [00:29:56]OFD Sender: No OFD packet to send [00:30:01]OFD Sender: No OFD packet to send [00:30:06]OFD Sender: No OFD packet to send [00:30:11]OFD Sender: No OFD packet to send [00:30:16]OFD Sender: No OFD packet to send [00:30:21]OFD Sender: No OFD packet to send [00:30:26]OFD Sender: No OFD packet to send [00:30:31]OFD Sender: No OFD packet to send [00:30:36]OFD Sender: No OFD packet to send [00:30:41]OFD Sender: No OFD packet to send [00:30:46]OFD Sender: No OFD packet to send [00:30:51]OFD Sender: No OFD packet to send [00:30:56]OFD Sender: No OFD packet to send [00:31:01]OFD Sender: No OFD packet to send [00:31:06]OFD Sender: No OFD packet to send [00:31:11]OFD Sender: No OFD packet to send [00:31:16]OFD Sender: No OFD packet to send [00:31:21]OFD Sender: No OFD packet to send [00:31:26]OFD Sender: No OFD packet to send [00:31:31]OFD Sender: No OFD packet to send [00:31:36]OFD Sender: No OFD packet to send [00:31:41]OFD Sender: No OFD packet to send [00:31:46]OFD Sender: No OFD packet to send [00:31:51]OFD Sender: No OFD packet to send [00:31:56]OFD Sender: No OFD packet to send [00:32:01]OFD Sender: No OFD packet to send [00:32:06]OFD Sender: No OFD packet to send [00:32:11]OFD Sender: No OFD packet to send [00:32:16]OFD Sender: No OFD packet to send [00:32:21]OFD Sender: No OFD packet to send [00:32:26]OFD Sender: No OFD packet to send [00:32:31]OFD Sender: No OFD packet to send [00:32:36]OFD Sender: No OFD packet to send [00:32:41]OFD Sender: No OFD packet to send [00:32:46]OFD Sender: No OFD packet to send [00:32:51]OFD Sender: No OFD packet to send [00:32:56]OFD Sender: No OFD packet to send [00:33:01]OFD Sender: No OFD packet to send [00:33:06]OFD Sender: No OFD packet to send [00:33:11]OFD Sender: No OFD packet to send [00:33:16]OFD Sender: No OFD packet to send [00:33:21]OFD Sender: No OFD packet to send [00:33:26]OFD Sender: No OFD packet to send [00:33:31]OFD Sender: No OFD packet to send [00:33:36]OFD Sender: No OFD packet to send [00:33:41]OFD Sender: No OFD packet to send [00:33:46]OFD Sender: No OFD packet to send [00:33:51]OFD Sender: No OFD packet to send [00:33:56]OFD Sender: No OFD packet to send [00:34:01]OFD Sender: No OFD packet to send [00:34:06]OFD Sender: No OFD packet to send [00:34:11]OFD Sender: No OFD packet to send [00:34:16]OFD Sender: No OFD packet to send [00:34:21]OFD Sender: No OFD packet to send [00:34:26]OFD Sender: No OFD packet to send [00:34:31]OFD Sender: No OFD packet to send [00:34:36]OFD Sender: No OFD packet to send [00:34:41]OFD Sender: No OFD packet to send [00:34:46]OFD Sender: No OFD packet to send [00:34:51]OFD Sender: No OFD packet to send [00:34:56]OFD Sender: No OFD packet to send [00:35:01]OFD Sender: No OFD packet to send [00:35:06]OFD Sender: No OFD packet to send [00:35:11]OFD Sender: No OFD packet to send [00:35:15]accept exits with 8 [00:35:15]New connection [00:35:15]New thread 3066871140 created [00:35:15]Thread 3067014500 joined [00:35:15]Waiting for new connection... [00:35:15] Sock 8.Parse request [00:35:15]Sock 8.Check first char [00:35:15]Sock 8.First char is OK [00:35:15]request: POST /json_proto HTTP/1.0 [00:35:15]Method: POST [00:35:15]URL: /json_proto [00:35:15]Method is POST - this is cgi request [00:35:15]url: /json_proto [00:35:15]query_string will be loaded in cgi processing [00:35:15]execute_cgi json_proto POST (null) [00:35:15]execute_cgi path=json_proto method=POST [00:35:15]POST find Content-Length [00:35:15]Host: 172.17.35.3:8080 [00:35:15]Content-Length: 215 [00:35:15]Content-Type: application/json [00:35:15] [00:35:15]POST finish read [00:35:15]Found Content-Length = 215 [00:35:15]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:35:15]execute_script... [00:35:15]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:35:15]POST & json_proto [00:35:15]process_json_proto [00:35:15]json parsed OK: [00:35:15]protocol is kg_v1.0 [00:35:15]action value=get_value [00:35:15]process_action get_value [00:35:15]cmd_get_value [00:35:15]process_action get_value done [00:35:15]requested_data is exist [00:35:15]produce_requested_data [00:35:15]requested_item kkm.sn is exist - process it [00:35:15]requested_item kkm.ver is exist - process it [00:35:15]requested_item fm.sn is exist - process it [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 11 00 00 [00:35:15]Write to MH i2c: E2 08 00 4B 4C 80 11 00 00 00 00 00 00 11 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 17 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 17 00 4B 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 69 [00:35:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:35:15]wFMCommunicate OK [00:35:15]requested_item fd.num is exist - process it [00:35:15]SAM_PROTO_GetFieldsCounters [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 13 00 00 [00:35:15]Write to MH i2c: E2 08 00 4C 4C 80 13 00 00 00 00 00 00 14 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 62 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 62 00 4C 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 C3 [00:35:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F3 68 00 00 0E 04 04 00 3A 01 00 00 12 04 04 00 4F 00 00 00 5E 04 04 00 4F 00 00 00 57 04 04 00 51 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:35:15]wFMCommunicate OK [00:35:15]SAM_PROTO_GetFieldsCounters done [00:35:15]requested_item shift.num is exist - process it [00:35:15]requested_item shift.opened is exist - process it [00:35:15]req_shift_opened [00:35:15]FM_GetShiftState [00:35:15]SAM_PROTO_GetShiftState [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 13 01 00 [00:35:15]Write to MH i2c: E2 08 00 4D 4C 80 13 01 00 00 00 00 00 16 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 0E 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 0E 00 4D 4C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 21 [00:35:15]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:35:15]wFMCommunicate OK [00:35:15]SAM_PROTO_GetShiftState done [00:35:15]FM_GetShiftState done [00:35:15]req_shift_opened done [00:35:15]requested_item shift.open_date is exist - process it [00:35:15]req_shift_open_date [00:35:15]FM_GetShiftState [00:35:15]SAM_PROTO_GetShiftState [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 13 01 00 [00:35:15]Write to MH i2c: E2 08 00 4E 4C 80 13 01 00 00 00 00 00 17 [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:15]Read from MH i2c: E2 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 0E 00 [00:35:15]MH_I2C_Read... [00:35:15]Read from MH i2c: E2 0E 00 4E 4C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 22 [00:35:15]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:35:15]wFMCommunicate OK [00:35:15]SAM_PROTO_GetShiftState done [00:35:15]FM_GetShiftState done [00:35:15]req_shift_open_date done [00:35:15]produce_requested_data done [00:35:15]produce_requested_data return {"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26867,"shift.num":314,"shift.opened":0,"shift.open_date":0} [00:35:15]process_action_free get_value [00:35:15]json_value_free [00:35:15]json_value_free done [00:35:15]process_json_proto returns [00:35:15]Send response to host [00:35:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000147","kkm.ver":"001","fm.sn":"0000000000874657","fd.num":26867,"shift.num":314,"shift.opened":0,"shift.open_date":0}}} [00:35:15]free response buf [00:35:15]execute_script done [00:35:15]execute_script returns [00:35:15]free content buf [00:35:15]Sock 8.Close socket [00:35:15]Sock 8.Thread stoped [00:35:15]accept exits with 9 [00:35:15]New connection [00:35:15]New thread 3067014500 created [00:35:15]Thread 3066871140 joined [00:35:15]Waiting for new connection... [00:35:15] Sock 9.Parse request [00:35:15]Sock 9.Check first char [00:35:15]Sock 9.First char is OK [00:35:15]request: POST /json_proto HTTP/1.0 [00:35:15]Method: POST [00:35:15]URL: /json_proto [00:35:15]Method is POST - this is cgi request [00:35:15]url: /json_proto [00:35:15]query_string will be loaded in cgi processing [00:35:15]execute_cgi json_proto POST (null) [00:35:15]execute_cgi path=json_proto method=POST [00:35:15]POST find Content-Length [00:35:15]Host: 172.17.35.3:8080 [00:35:15]Content-Length: 331 [00:35:15]Content-Type: application/json [00:35:15] [00:35:15]POST finish read [00:35:15]Found Content-Length = 331 [00:35:15]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:35:15]execute_script... [00:35:15]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:35:15]POST & json_proto [00:35:15]process_json_proto [00:35:15]json parsed OK: [00:35:15]protocol is kg_v1.0 [00:35:15]action value=get_value [00:35:15]process_action get_value [00:35:15]cmd_get_value [00:35:15]process_action get_value done [00:35:15]requested_data is exist [00:35:15]produce_requested_data [00:35:15]requested_item fm.sale.total is exist - process it [00:35:15]SAM_PROTO_GetFMData [00:35:15]wFMCommunicate request_size=4 [00:35:15]MH_SAM_APDU [00:35:15]CAPDU: 80 13 03 00 [00:35:15]Write to MH i2c: E2 08 00 4F 4C 80 13 03 00 00 00 00 00 1A [00:35:15]Write i2c OK [00:35:15]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 4F 4C 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 99 [00:35:16]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:35:16]wFMCommunicate OK [00:35:16]wFMCommunicate request_size=4 [00:35:16]MH_SAM_APDU [00:35:16]CAPDU: 80 17 00 00 [00:35:16]Write to MH i2c: E2 08 00 50 4C 80 17 00 00 00 00 00 00 1C [00:35:16]Write i2c OK [00:35:16]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 50 4C 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 15 [00:35:16]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:35:16]wFMCommunicate OK [00:35:16]wFMCommunicate request_size=4 [00:35:16]MH_SAM_APDU [00:35:16]CAPDU: 80 17 00 00 [00:35:16]Write to MH i2c: E2 08 00 51 4C 80 17 00 00 00 00 00 00 1D [00:35:16]Write i2c OK [00:35:16]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:16]Read from MH i2c: E2 [00:35:16]MH_I2C_Read... [00:35:16]Read from MH i2c: E2 FD 00 [00:35:16]MH_I2C_Read... [00:35:16]OFD Sender: No OFD packet to send [00:35:16]Read from MH i2c: E2 FD 00 51 4C 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 C0 [00:35:16]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:35:16]wFMCommunicate OK [00:35:16]wFMCommunicate request_size=4 [00:35:16]MH_SAM_APDU [00:35:16]CAPDU: 80 17 00 00 [00:35:16]Write to MH i2c: E2 08 00 52 4C 80 17 00 00 00 00 00 00 1E [00:35:16]Write i2c OK [00:35:16]MH_I2C_Read... [00:35:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:17]Read from MH i2c: E2 [00:35:17]MH_I2C_Read... [00:35:17]Read from MH i2c: E2 FD 00 [00:35:17]MH_I2C_Read... [00:35:17]Read from MH i2c: E2 FD 00 52 4C 00 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [00:35:17]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:17]wFMCommunicate OK [00:35:17]wFMCommunicate request_size=4 [00:35:17]MH_SAM_APDU [00:35:17]CAPDU: 80 17 00 00 [00:35:17]Write to MH i2c: E2 08 00 53 4C 80 17 00 00 00 00 00 00 1F [00:35:17]Write i2c OK [00:35:17]MH_I2C_Read... [00:35:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:35:17]Read from MH i2c: E2 [00:35:17]MH_I2C_Read... [00:35:17]Read from MH i2c: E2 DD 00 [00:35:17]MH_I2C_Read... [00:35:17]Read from MH i2c: E2 DD 00 53 4C 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 07 [00:35:17]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:35:17]wFMCommunicate OK [00:35:17]SAM_PROTO_GetFMData done [00:35:17]requested_item fm.sale_refund.total is exist - process it [00:35:17]requested_item fm.buy.total is exist - process it [00:35:17]requested_item shift.sale.total is exist - process it [00:35:17]SAM_PROTO_GetShiftData [00:35:17]wFMCommunicate request_size=4 [00:35:17]MH_SAM_APDU [00:35:17]CAPDU: 80 13 02 00 [00:35:17]Write to MH i2c: E2 08 00 54 4C 80 13 02 00 00 00 00 00 1E [00:35:17]Write i2c OK [00:35:17]MH_I2C_Read... [00:35:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:35:17]Read from MH i2c: E2 [00:35:17]MH_I2C_Read... [00:35:17]Read from MH i2c: E2 FD 00 [00:35:17]MH_I2C_Read... [00:35:17]Read from MH i2c: E2 FD 00 54 4C 00 B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 82 [00:35:17]RAPDU: B9 04 AA 04 B5 04 6E 04 04 00 4F 00 00 00 69 04 9C 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 E7 70 80 70 04 03 00 9C 9A 46 72 04 03 00 4B D6 39 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 57 A4 0D 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 04 23 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 97 00 6F 04 04 00 01 00 00 00 B1 04 03 00 A0 86 01 70 04 03 00 A0 86 01 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7D 29 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:35:17]wFMCommunicate OK [00:35:17]wFMCommunicate request_size=4 [00:35:17]MH_SAM_APDU [00:35:17]CAPDU: 80 17 00 00 [00:35:17]Write to MH i2c: E2 08 00 55 4C 80 17 00 00 00 00 00 00 21 [00:35:17]Write i2c OK [00:35:17]MH_I2C_Read... [00:35:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:17]Read from MH i2c: E2 [00:35:17]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 FD 00 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 FD 00 55 4C 00 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 58 [00:35:18]RAPDU: 03 0B 00 F6 03 01 00 01 F7 03 02 00 75 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 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 90 00 [00:35:18]wFMCommunicate OK [00:35:18]wFMCommunicate request_size=4 [00:35:18]MH_SAM_APDU [00:35:18]CAPDU: 80 17 00 00 [00:35:18]Write to MH i2c: E2 08 00 56 4C 80 17 00 00 00 00 00 00 22 [00:35:18]Write i2c OK [00:35:18]MH_I2C_Read... [00:35:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:18]Read from MH i2c: E2 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 FD 00 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 FD 00 56 4C 00 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 4A [00:35:18]RAPDU: 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 90 00 [00:35:18]wFMCommunicate OK [00:35:18]wFMCommunicate request_size=4 [00:35:18]MH_SAM_APDU [00:35:18]CAPDU: 80 17 00 00 [00:35:18]Write to MH i2c: E2 08 00 57 4C 80 17 00 00 00 00 00 00 23 [00:35:18]Write i2c OK [00:35:18]MH_I2C_Read... [00:35:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:18]Read from MH i2c: E2 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 FD 00 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 FD 00 57 4C 00 EF 03 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 90 00 9B [00:35:18]RAPDU: EF 03 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 90 00 [00:35:18]wFMCommunicate OK [00:35:18]wFMCommunicate request_size=4 [00:35:18]MH_SAM_APDU [00:35:18]CAPDU: 80 17 00 00 [00:35:18]Write to MH i2c: E2 08 00 58 4C 80 17 00 00 00 00 00 00 24 [00:35:18]Write i2c OK [00:35:18]MH_I2C_Read... [00:35:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 211! [00:35:18]Read from MH i2c: E2 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 D6 00 [00:35:18]MH_I2C_Read... [00:35:18]Read from MH i2c: E2 D6 00 58 4C 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 06 [00:35:18]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:35:18]wFMCommunicate OK [00:35:18]SAM_PROTO_GetShiftData done [00:35:18]requested_item shift.sale.total_cash is exist - process it [00:35:18]requested_item shift.sale_refund.total is exist - process it [00:35:18]requested_item shift.sale_refund.total_cash is exist - process it [00:35:18]requested_item shift.buy.total is exist - process it [00:35:18]requested_item shift.buy.total_cash is exist - process it [00:35:18]produce_requested_data done [00:35:18]produce_requested_data return {"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:35:18]process_action_free get_value [00:35:18]json_value_free [00:35:18]json_value_free done [00:35:18]process_json_proto returns [00:35:18]Send response to host [00:35:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.00,"fm.buy.total":0.00,"shift.sale.total":84175.11,"shift.sale.total_cash":46271.00,"shift.sale_refund.total":1000.00,"shift.sale_refund.total_cash":1000.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:35:18]free response buf [00:35:18]execute_script done [00:35:18]execute_script returns [00:35:18]free content buf [00:35:18]Sock 9.Close socket [00:35:18]Sock 9.Thread stoped [00:35:19]accept exits with 8 [00:35:19]New connection [00:35:19]New thread 3066871140 created [00:35:19]Thread 3067014500 joined [00:35:19]Waiting for new connection... [00:35:19] Sock 8.Parse request [00:35:19]Sock 8.Check first char [00:35:19]Sock 8.First char is OK [00:35:19]request: POST /json_proto HTTP/1.0 [00:35:19]Method: POST [00:35:19]URL: /json_proto [00:35:19]Method is POST - this is cgi request [00:35:19]url: /json_proto [00:35:19]query_string will be loaded in cgi processing [00:35:19]execute_cgi json_proto POST (null) [00:35:19]execute_cgi path=json_proto method=POST [00:35:19]POST find Content-Length [00:35:19]Host: 172.17.35.3:8080 [00:35:19]Content-Length: 252 [00:35:19]Content-Type: application/json [00:35:19] [00:35:19]POST finish read [00:35:19]Found Content-Length = 252 [00:35:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0430\u0441\u043E\u0432 \u042D." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:35:19]execute_script... [00:35:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0430\u0441\u043E\u0432 \u042D." } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:35:19]POST & json_proto [00:35:19]process_json_proto [00:35:19]json parsed OK: [00:35:19]protocol is kg_v1.0 [00:35:19]action value=open_shift [00:35:19]process_action open_shift [00:35:19]cmd_open_shift [00:35:19]MH_GetDate [00:35:19]Write to MH i2c: F0 00 00 59 4C 94 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: F0 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: F0 09 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: F0 09 00 59 4C 00 58 8D 14 66 2B 11 66 64 02 [00:35:19]GetLastDocTimeStamp 1712621722 [00:35:19]current date 1712622936 [00:35:19]FM_GetShiftState [00:35:19]SAM_PROTO_GetShiftState [00:35:19]wFMCommunicate request_size=4 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 13 01 00 [00:35:19]Write to MH i2c: E2 08 00 5A 4C 80 13 01 00 00 00 00 00 23 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 0E 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 0E 00 5A 4C 00 09 00 00 00 00 00 00 00 00 00 00 90 00 2E [00:35:19]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:35:19]wFMCommunicate OK [00:35:19]SAM_PROTO_GetShiftState done [00:35:19]FM_GetShiftState done [00:35:19]KKMCreateOpenShiftDocument [00:35:19]Load OK [00:35:19]Malloc new data [00:35:19]MH_GetDate [00:35:19]Write to MH i2c: F0 00 00 5B 4C 96 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: F0 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: F0 09 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: F0 09 00 5B 4C 00 58 8D 14 66 2B 11 66 64 04 [00:35:19]Malloc new data [00:35:19]KKMCreateOpenShiftDocument OK [00:35:19]KKMSetOpenShiftData OK [00:35:19]ProcessDocumentItem done err = 0, tmpTLVsize=195 [00:35:19]tlvbuf is 00F27E90 [00:35:19]KKMLoadAndSignOpenShiftData [00:35:19]SAM_PROTO_ProcessDocument [00:35:19]wFMCommunicate request_size=9 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 01 00 04 02 00 C3 00 [00:35:19]Write to MH i2c: E2 0C 00 5C 4C 80 15 01 00 04 00 02 00 C3 00 00 00 F4 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 5C 4C 00 90 00 1C [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=23 [00:35:19]MH_SAM_APDU [00:35:19]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:35:19]Write to MH i2c: E2 1A 00 5D 4C 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 1E [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 5D 4C 00 90 00 1D [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=27 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 02 00 16 FD 03 12 00 D0 91 D0 B0 D0 BA D0 B0 D1 81 D0 BE D0 B2 20 D0 AD 2E [00:35:19]Write to MH i2c: E2 1E 00 5E 4C 80 15 02 00 16 00 FD 03 12 00 D0 91 D0 B0 D0 BA D0 B0 D1 81 D0 BE D0 B2 20 D0 AD 2E 00 00 80 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 5E 4C 00 90 00 1E [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=86 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 02 00 51 F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 [00:35:19]Write to MH i2c: E2 59 00 5F 4C 80 15 02 00 51 00 F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 00 00 0C [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 5F 4C 00 90 00 1F [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=51 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 32 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:35:19]Write to MH i2c: E2 36 00 60 4C 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 32 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 D3 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 60 4C 00 90 00 20 [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=13 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 02 00 08 F4 03 04 00 58 8D 14 66 [00:35:19]Write to MH i2c: E2 10 00 61 4C 80 15 02 00 08 00 F4 03 04 00 58 8D 14 66 00 00 97 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 61 4C 00 90 00 21 [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=25 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 [00:35:19]Write to MH i2c: E2 1C 00 62 4C 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 00 00 95 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 03 00 62 4C 00 90 00 22 [00:35:19]RAPDU: 90 00 [00:35:19]wFMCommunicate OK [00:35:19]wFMCommunicate request_size=4 [00:35:19]MH_SAM_APDU [00:35:19]CAPDU: 80 15 03 00 [00:35:19]Write to MH i2c: E2 08 00 63 4C 80 15 03 00 00 00 00 00 30 [00:35:19]Write i2c OK [00:35:19]MH_I2C_Read... [00:35:19]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:35:19]Read from MH i2c: E2 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 38 00 [00:35:19]MH_I2C_Read... [00:35:19]Read from MH i2c: E2 38 00 63 4C 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F4 68 00 00 0E 04 04 00 3B 01 00 00 35 04 06 00 C6 10 0C 97 89 42 90 00 DD [00:35:19]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F4 68 00 00 0E 04 04 00 3B 01 00 00 35 04 06 00 C6 10 0C 97 89 42 90 00 [00:35:20]wFMCommunicate OK [00:35:20]SAM_PROTO_ProcessDocument answer len = 51 [00:35:20]SAM_PROTO_ProcessDocument done [00:35:20]SetTLVBufToDocument [00:35:20]Processing tag 1209 (04B9) [00:35:20]Malloc new data [00:35:20]Processing tag 1041 (0411) [00:35:20]Processing tag 1040 (0410) [00:35:20]Malloc new data [00:35:20]Processing tag 1038 (040E) [00:35:20]Malloc new data [00:35:20]Processing tag 1077 (0435) [00:35:20]Malloc new data [00:35:20]SetTLVBufToDocument err=0 [00:35:20]KKMLoadAndSignOpenShiftData store KKM data [00:35:20]KKMLoadAndSignOpenShiftData err=0 [00:35:20]Отчет об открытии Ñмены ФФД: 1.0 ИÐÐ: 02508201610067 КаÑÑир: БакаÑов Э. ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" 09.04.2024 00:35 Смена: 315 РÐМ: 0000000000091578 ЗÐМ: 0300000147 ФД: 26868 ФМ: 0000000000874657 ФПД: 217772233034050 [00:35:20]StoreToDocumentArchive [00:35:20]shift 315 fd 26868 [00:35:20]Create dir for shift 0315 [00:35:20]save to /storage/0315/doc_00026868 [00:35:20]save last doc name /storage/0315/doc_00026868 to /storage/kkm_last_doc_name [00:35:20]save OK [00:35:20]Clear old archive folders... [00:35:20]Remove dir /storage/0314 [00:35:20]opendir ok [00:35:20]file . [00:35:20]file .. [00:35:20]file doc_00026787 [00:35:20]remove file /storage/0314/doc_00026787 [00:35:20]file doc_00026788 [00:35:20]remove file /storage/0314/doc_00026788 [00:35:20]file doc_00026789 [00:35:20]remove file /storage/0314/doc_00026789 [00:35:20]file doc_00026790 [00:35:20]remove file /storage/0314/doc_00026790 [00:35:20]file doc_00026791 [00:35:20]remove file /storage/0314/doc_00026791 [00:35:20]file doc_00026792 [00:35:20]remove file /storage/0314/doc_00026792 [00:35:20]file doc_00026793 [00:35:20]remove file /storage/0314/doc_00026793 [00:35:20]file doc_00026794 [00:35:20]remove file /storage/0314/doc_00026794 [00:35:20]file doc_00026795 [00:35:20]remove file /storage/0314/doc_00026795 [00:35:20]file doc_00026796 [00:35:20]remove file /storage/0314/doc_00026796 [00:35:20]file doc_00026797 [00:35:20]remove file /storage/0314/doc_00026797 [00:35:20]file doc_00026798 [00:35:20]remove file /storage/0314/doc_00026798 [00:35:20]file doc_00026799 [00:35:20]remove file /storage/0314/doc_00026799 [00:35:20]file doc_00026800 [00:35:20]remove file /storage/0314/doc_00026800 [00:35:20]file doc_00026801 [00:35:20]remove file /storage/0314/doc_00026801 [00:35:20]file doc_00026802 [00:35:20]remove file /storage/0314/doc_00026802 [00:35:20]file doc_00026803 [00:35:20]remove file /storage/0314/doc_00026803 [00:35:20]file doc_00026804 [00:35:20]remove file /storage/0314/doc_00026804 [00:35:20]file doc_00026805 [00:35:20]remove file /storage/0314/doc_00026805 [00:35:20]file doc_00026806 [00:35:20]remove file /storage/0314/doc_00026806 [00:35:20]file doc_00026807 [00:35:20]remove file /storage/0314/doc_00026807 [00:35:20]file doc_00026808 [00:35:20]remove file /storage/0314/doc_00026808 [00:35:20]file doc_00026809 [00:35:20]remove file /storage/0314/doc_00026809 [00:35:20]file doc_00026810 [00:35:20]remove file /storage/0314/doc_00026810 [00:35:20]file doc_00026811 [00:35:20]remove file /storage/0314/doc_00026811 [00:35:20]file doc_00026812 [00:35:20]remove file /storage/0314/doc_00026812 [00:35:20]file doc_00026813 [00:35:20]remove file /storage/0314/doc_00026813 [00:35:20]file doc_00026814 [00:35:20]remove file /storage/0314/doc_00026814 [00:35:20]file doc_00026815 [00:35:20]remove file /storage/0314/doc_00026815 [00:35:20]file doc_00026816 [00:35:20]remove file /storage/0314/doc_00026816 [00:35:20]file doc_00026817 [00:35:20]remove file /storage/0314/doc_00026817 [00:35:20]file doc_00026818 [00:35:20]remove file /storage/0314/doc_00026818 [00:35:20]file doc_00026819 [00:35:20]remove file /storage/0314/doc_00026819 [00:35:20]file doc_00026820 [00:35:20]remove file /storage/0314/doc_00026820 [00:35:20]file doc_00026821 [00:35:20]remove file /storage/0314/doc_00026821 [00:35:20]file doc_00026822 [00:35:20]remove file /storage/0314/doc_00026822 [00:35:20]file doc_00026823 [00:35:20]remove file /storage/0314/doc_00026823 [00:35:20]file doc_00026824 [00:35:20]remove file /storage/0314/doc_00026824 [00:35:20]file doc_00026825 [00:35:20]remove file /storage/0314/doc_00026825 [00:35:20]file doc_00026826 [00:35:20]remove file /storage/0314/doc_00026826 [00:35:20]file doc_00026827 [00:35:20]remove file /storage/0314/doc_00026827 [00:35:20]file doc_00026828 [00:35:20]remove file /storage/0314/doc_00026828 [00:35:20]file doc_00026829 [00:35:20]remove file /storage/0314/doc_00026829 [00:35:20]file doc_00026830 [00:35:20]remove file /storage/0314/doc_00026830 [00:35:20]file doc_00026831 [00:35:20]remove file /storage/0314/doc_00026831 [00:35:20]file doc_00026832 [00:35:20]remove file /storage/0314/doc_00026832 [00:35:20]file doc_00026833 [00:35:20]remove file /storage/0314/doc_00026833 [00:35:20]file doc_00026834 [00:35:20]remove file /storage/0314/doc_00026834 [00:35:20]file doc_00026835 [00:35:20]remove file /storage/0314/doc_00026835 [00:35:20]file doc_00026836 [00:35:20]remove file /storage/0314/doc_00026836 [00:35:20]file doc_00026837 [00:35:20]remove file /storage/0314/doc_00026837 [00:35:20]file doc_00026838 [00:35:20]remove file /storage/0314/doc_00026838 [00:35:20]file doc_00026839 [00:35:20]remove file /storage/0314/doc_00026839 [00:35:20]file doc_00026840 [00:35:20]remove file /storage/0314/doc_00026840 [00:35:20]file doc_00026841 [00:35:20]remove file /storage/0314/doc_00026841 [00:35:20]file doc_00026842 [00:35:20]remove file /storage/0314/doc_00026842 [00:35:20]file doc_00026843 [00:35:20]remove file /storage/0314/doc_00026843 [00:35:20]file doc_00026844 [00:35:20]remove file /storage/0314/doc_00026844 [00:35:20]file doc_00026845 [00:35:20]remove file /storage/0314/doc_00026845 [00:35:20]file doc_00026846 [00:35:20]remove file /storage/0314/doc_00026846 [00:35:20]file doc_00026847 [00:35:20]remove file /storage/0314/doc_00026847 [00:35:20]file doc_00026848 [00:35:20]remove file /storage/0314/doc_00026848 [00:35:20]file doc_00026849 [00:35:20]remove file /storage/0314/doc_00026849 [00:35:20]file doc_00026850 [00:35:20]remove file /storage/0314/doc_00026850 [00:35:20]file doc_00026851 [00:35:20]remove file /storage/0314/doc_00026851 [00:35:20]file doc_00026852 [00:35:20]remove file /storage/0314/doc_00026852 [00:35:20]file doc_00026853 [00:35:20]remove file /storage/0314/doc_00026853 [00:35:20]file doc_00026854 [00:35:20]remove file /storage/0314/doc_00026854 [00:35:20]file doc_00026855 [00:35:20]remove file /storage/0314/doc_00026855 [00:35:20]file doc_00026856 [00:35:20]remove file /storage/0314/doc_00026856 [00:35:20]file doc_00026857 [00:35:20]remove file /storage/0314/doc_00026857 [00:35:20]file doc_00026858 [00:35:20]remove file /storage/0314/doc_00026858 [00:35:20]file doc_00026859 [00:35:20]remove file /storage/0314/doc_00026859 [00:35:20]file doc_00026860 [00:35:20]remove file /storage/0314/doc_00026860 [00:35:20]file doc_00026861 [00:35:20]remove file /storage/0314/doc_00026861 [00:35:20]file doc_00026862 [00:35:20]remove file /storage/0314/doc_00026862 [00:35:20]file doc_00026863 [00:35:20]remove file /storage/0314/doc_00026863 [00:35:20]file doc_00026864 [00:35:20]remove file /storage/0314/doc_00026864 [00:35:20]file doc_00026865 [00:35:20]remove file /storage/0314/doc_00026865 [00:35:20]file doc_00026866 [00:35:20]remove file /storage/0314/doc_00026866 [00:35:20]file doc_00026867 [00:35:20]remove file /storage/0314/doc_00026867 [00:35:20]remove dir /storage/0314 [00:35:20]ProcessDocumentItem done err = 0, tmpTLVsize=246 [00:35:20]tlvbuf is 010F7260 [00:35:20]SAM_PROTO_ClearQueue [00:35:20]wFMCommunicate request_size=4 [00:35:20]MH_SAM_APDU [00:35:20]CAPDU: 80 09 00 00 [00:35:20]Write to MH i2c: E2 08 00 64 4C 80 09 00 00 00 00 00 00 22 [00:35:20]Write i2c OK [00:35:20]MH_I2C_Read... [00:35:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:35:20]Read from MH i2c: E2 [00:35:20]MH_I2C_Read... [00:35:20]Read from MH i2c: E2 03 00 [00:35:20]MH_I2C_Read... [00:35:20]Read from MH i2c: E2 03 00 64 4C 00 90 00 24 [00:35:20]RAPDU: 90 00 [00:35:20]wFMCommunicate OK [00:35:20]SAM_PROTO_ClearQueue done [00:35:20]KKMCreateOFDPacket [00:35:20]OFDProtocolAddRootSTLVToBuf [00:35:20]FM_MakeSignedData [00:35:20]FM_MakeSignedData [00:35:20]SAM_PROTO_SignData [00:35:20]wFMCommunicate request_size=4 [00:35:20]MH_SAM_APDU [00:35:20]CAPDU: 80 0D 01 02 [00:35:20]Write to MH i2c: E2 08 00 65 4C 80 0D 01 02 00 00 00 00 2A [00:35:20]Write i2c OK [00:35:20]MH_I2C_Read... [00:35:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:35:20]Read from MH i2c: E2 [00:35:20]MH_I2C_Read... [00:35:20]Read from MH i2c: E2 03 00 [00:35:20]MH_I2C_Read... [00:35:20]Read from MH i2c: E2 03 00 65 4C 00 90 00 25 [00:35:20]RAPDU: 90 00 [00:35:20]wFMCommunicate OK [00:35:20]wFMCommunicate request_size=255 [00:35:20]MH_SAM_APDU [00:35:20]CAPDU: 80 0D 02 02 FA 02 00 F6 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 12 00 D0 91 D0 B0 D0 BA D0 B0 D1 81 D0 BE D0 B2 20 D0 AD 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 32 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 58 8D 14 66 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F4 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 C6 10 0C 97 89 42 [00:35:20]Write to MH i2c: E2 02 01 66 4C 80 0D 02 02 FA 00 02 00 F6 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 12 00 D0 91 D0 B0 D0 BA D0 B0 D1 81 D0 BE D0 B2 20 D0 AD 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 32 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 58 8D 14 66 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F4 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 C6 10 0C 97 89 42 00 00 89 [00:35:20]Write i2c OK [00:35:20]MH_I2C_Read... [00:35:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:35:20]Read from MH i2c: E2 [00:35:20]MH_I2C_Read... [00:35:20]Read from MH i2c: E2 03 00 [00:35:20]MH_I2C_Read... [00:35:20]Read from MH i2c: E2 03 00 66 4C 00 90 00 26 [00:35:20]RAPDU: 90 00 [00:35:20]wFMCommunicate OK [00:35:20]wFMCommunicate request_size=4 [00:35:20]MH_SAM_APDU [00:35:20]CAPDU: 80 0D 03 02 [00:35:20]Write to MH i2c: E2 08 00 67 4C 80 0D 03 02 00 00 00 00 2E [00:35:20]Write i2c OK [00:35:20]MH_I2C_Read... [00:35:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:35:21]Read from MH i2c: E2 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: E2 0B 00 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: E2 0B 00 67 4C 00 56 21 9F 1A F1 32 8A F6 90 00 02 [00:35:21]RAPDU: 56 21 9F 1A F1 32 8A F6 90 00 [00:35:21]wFMCommunicate OK [00:35:21]SAM_PROTO_SignData done [00:35:21]FM_MakeSignedData done [00:35:21]CreateOFDProtocolMessage [00:35:21]wFMCommunicate request_size=4 [00:35:21]MH_SAM_APDU [00:35:21]CAPDU: 80 11 00 00 [00:35:21]Write to MH i2c: E2 08 00 68 4C 80 11 00 00 00 00 00 00 2E [00:35:21]Write i2c OK [00:35:21]MH_I2C_Read... [00:35:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:21]Read from MH i2c: E2 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: E2 17 00 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: E2 17 00 68 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 86 [00:35:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [00:35:21]wFMCommunicate OK [00:35:21]CreateOFDProtocolMessage done [00:35:21]OFDSenderStorePacket 26868 [00:35:21]StoreOFDPacket docnum=26868 [00:35:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0A 01 00 00 76 91 02 01 C3 1A 5A 02 01 00 02 00 F6 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 12 00 D0 91 D0 B0 D0 BA D0 B0 D1 81 D0 BE D0 B2 20 D0 AD 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 32 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 58 8D 14 66 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F4 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 C6 10 0C 97 89 42 56 21 9F 1A F1 32 8A F6 [00:35:21]CheckFolder [00:35:21]dirname=/storage/ofd_packets [00:35:21]CheckFolder done [00:35:21]ProducePacketName [00:35:21]name=ofd_packets/00026868 [00:35:21]NVStorageSaveData ofd_packets/00026868 [00:35:21]File name is /storage/ofd_packets/00026868 [00:35:21]Write 296 bytes [00:35:21]NVStorageSaveData done [00:35:21]OFDSenderStorePacket done [00:35:21]KKMCreateOFDPacket done [00:35:21]NVStorageSaveData kkm_last_timestamp [00:35:21]File name is /storage/kkm_last_timestamp [00:35:21]Write 4 bytes [00:35:21]NVStorageSaveData done [00:35:21]ExternCall_PrintAddStr [00:35:21]wPrintStart [00:35:21]Write to MH i2c: 01 00 00 69 4C B5 [00:35:21]Write i2c OK [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: 01 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: 01 07 00 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: 01 07 00 69 4C 00 00 00 00 00 FF 0F CA [00:35:21]RasterBufferAndPrint [00:35:21]line Отчет об открытии Ñмены [00:35:21]line ФФД: 1.0 [00:35:21]line ИÐÐ: 02508201610067 [00:35:21]line КаÑÑир: БакаÑов Э. [00:35:21]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [00:35:21]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [00:35:21]line 09.04.2024 00:35 [00:35:21]line Смена: 315 [00:35:21]line РÐМ: 0000000000091578 [00:35:21]line ЗÐМ: 0300000147 [00:35:21]line ФД: 26868 [00:35:21]line ФМ: 0000000000874657 [00:35:21]line ФПД: 217772233034050 [00:35:21]written 0, free lines is 4095 [00:35:21]OFD Sender: Processing packet 26868 [packets to send 44, broken 43] [00:35:21]ProducePacketName [00:35:21]name=ofd_packets/00026868 [00:35:21]OFD Sender: To server: ‡•öpG, [00:35:21]CommunicateWithHost lk.salyk.kg:30040 [00:35:21]ConnectInit lk.salyk.kg [00:35:21]Connected sock=10 [00:35:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0A 01 00 00 76 91 02 01 C3 1A 5A 02 01 00 02 00 F6 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 12 00 D0 91 D0 B0 D0 BA D0 B0 D1 81 D0 BE D0 B2 20 D0 AD 2E F1 03 4D 00 37 32 30 30 30 31 20 D1 81 2E 20 D0 98 D0 B2 D0 B0 D0 BD D0 BE D0 B2 D0 BA D0 B0 2C 20 D1 83 D0 BB 2E 20 D0 93 2E 20 D0 98 D0 BB D1 8C D0 B8 D0 BD D0 B0 20 34 2F 31 2C 20 34 32 2E 38 39 34 30 39 33 2C 20 37 35 2E 30 34 30 36 37 38 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 32 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 58 8D 14 66 0E 04 04 00 3B 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F4 68 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 35 04 06 00 C6 10 0C 97 89 42 56 21 9F 1A F1 32 8A F6 [00:35:21]Write to MH i2c: 01 00 00 7B 4C C7 [00:35:21]Write i2c OK [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: 01 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: 01 07 00 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: 01 07 00 7B 4C 00 00 00 00 00 88 0E 64 [00:35:21]RasterBufferAndPrint [00:35:21]line [00:35:21]line [00:35:21]line [00:35:21]line [00:35:21]line [00:35:21]written 0, free lines is 3732 [00:35:21]MH_Cut [00:35:21]Write to MH i2c: D1 01 00 82 4C 01 A0 [00:35:21]Write i2c OK [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: D1 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: D1 01 00 [00:35:21]MH_I2C_Read... [00:35:21]Read from MH i2c: D1 01 00 82 4C 00 9F [00:35:21]Write to MH i2c: 01 00 00 83 4C CF [00:35:21]Write i2c OK [00:35:21]MH_I2C_Read... [00:35:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 0F 11 47 00 77 9A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F4 68 00 00 F4 03 04 00 C1 34 14 66 B6 04 01 00 00 91 25 80 98 F9 82 70 3B [00:35:21]CommunicateWithHost err = 0 [00:35:21]CheckOFDResponse [00:35:21]1017 (14) - 77093643461234 [00:35:21]1041 (16) - 0000000000874657 [00:35:21]1040 (4) - 26868 [00:35:21]1012 (4) - 08.04.2024 18:17 [00:35:21]1206 (1) - 0 [00:35:21]OFD Sender: Remove packet 26868 [00:35:21]ProducePacketName [00:35:21]name=ofd_packets/00026868 [00:35:21]NVStorageDeleteData [00:35:22]*** Cut start [00:35:22]*** Partial cut [00:35:22]*** CUTSNS_PIN = 1 [00:35:22]*** CUTSNS_PIN = 0 [00:35:22]OFD Sender: No OFD packet to send [00:35:22]*** Brake cut motor [00:35:22]Read from MH i2c: 01 [00:35:22]MH_I2C_Read... [00:35:22]*** Stop cut motor [00:35:22]*** Cut end [00:35:22]Read from MH i2c: 01 07 00 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: 01 07 00 83 4C 00 00 00 00 00 FF 0F E4 [00:35:22]process_action open_shift done [00:35:22]requested_data is exist [00:35:22]produce_requested_data [00:35:22]requested_item fd.num is exist - process it [00:35:22]SAM_PROTO_GetFieldsCounters [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 13 00 00 [00:35:22]Write to MH i2c: E2 08 00 84 4C 80 13 00 00 00 00 00 00 4C [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:35:22]Read from MH i2c: E2 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 62 00 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 62 00 84 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F4 68 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 0F [00:35:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F4 68 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:35:22]wFMCommunicate OK [00:35:22]SAM_PROTO_GetFieldsCounters done [00:35:22]requested_item shift.num is exist - process it [00:35:22]requested_item shift.opened is exist - process it [00:35:22]req_shift_opened [00:35:22]FM_GetShiftState [00:35:22]SAM_PROTO_GetShiftState [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 13 01 00 [00:35:22]Write to MH i2c: E2 08 00 85 4C 80 13 01 00 00 00 00 00 4E [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:22]Read from MH i2c: E2 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 0E 00 [00:35:22]MH_I2C_Read... [00:35:22]Read from MH i2c: E2 0E 00 85 4C 00 09 00 01 58 8D 14 66 00 00 00 00 90 00 B9 [00:35:22]RAPDU: 09 00 01 58 8D 14 66 00 00 00 00 90 00 [00:35:22]wFMCommunicate OK [00:35:22]SAM_PROTO_GetShiftState done [00:35:22]FM_GetShiftState done [00:35:22]req_shift_opened done [00:35:22]requested_item shift.open_date is exist - process it [00:35:22]req_shift_open_date [00:35:22]req_shift_open_date done [00:35:22]produce_requested_data done [00:35:22]produce_requested_data return {"fd.num":26868,"shift.num":315,"shift.opened":1,"shift.open_date":1712622936} [00:35:22]process_action_free open_shift [00:35:22]json_value_free [00:35:22]json_value_free done [00:35:22]process_json_proto returns [00:35:22]Send response to host [00:35:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":26868,"shift.num":315,"shift.opened":1,"shift.open_date":1712622936}}} [00:35:22]free response buf [00:35:22]execute_script done [00:35:22]execute_script returns [00:35:22]free content buf [00:35:22]Sock 8.Close socket [00:35:22]Sock 8.Thread stoped [00:35:22]accept exits with 9 [00:35:22]New connection [00:35:22]New thread 3067014500 created [00:35:22]Thread 3066871140 joined [00:35:22]Waiting for new connection... [00:35:22] Sock 9.Parse request [00:35:22]Sock 9.Check first char [00:35:22]Sock 9.First char is OK [00:35:22]request: POST /json_proto HTTP/1.0 [00:35:22]Method: POST [00:35:22]URL: /json_proto [00:35:22]Method is POST - this is cgi request [00:35:22]url: /json_proto [00:35:22]query_string will be loaded in cgi processing [00:35:22]execute_cgi json_proto POST (null) [00:35:22]execute_cgi path=json_proto method=POST [00:35:22]POST find Content-Length [00:35:22]Host: 172.17.35.3:8080 [00:35:22]Content-Length: 331 [00:35:22]Content-Type: application/json [00:35:22] [00:35:22]POST finish read [00:35:22]Found Content-Length = 331 [00:35:22]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:35:22]execute_script... [00:35:22]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:35:22]POST & json_proto [00:35:22]process_json_proto [00:35:22]json parsed OK: [00:35:22]protocol is kg_v1.0 [00:35:22]action value=get_value [00:35:22]process_action get_value [00:35:22]cmd_get_value [00:35:22]process_action get_value done [00:35:22]requested_data is exist [00:35:22]produce_requested_data [00:35:22]requested_item fm.sale.total is exist - process it [00:35:22]SAM_PROTO_GetFMData [00:35:22]wFMCommunicate request_size=4 [00:35:22]MH_SAM_APDU [00:35:22]CAPDU: 80 13 03 00 [00:35:22]Write to MH i2c: E2 08 00 86 4C 80 13 03 00 00 00 00 00 51 [00:35:22]Write i2c OK [00:35:22]MH_I2C_Read... [00:35:23]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:35:23]Read from MH i2c: E2 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 86 4C 00 C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 D0 [00:35:23]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 7E 66 00 00 69 04 A1 00 6F 04 04 00 3B 66 00 00 B1 04 04 00 7B 06 CA 9B 70 04 04 00 84 98 D1 7F 72 04 04 00 F7 6D F8 1B 00 04 7D 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 B8 45 8C 10 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0D 00 F6 03 01 00 01 F7 03 04 00 58 FF 60 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 99 00 6F 04 04 00 43 00 00 00 B1 04 03 00 44 F4 BC 70 04 03 00 44 F4 BC 72 04 00 00 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 88 11 14 EF 03 09 00 F6 03 01 00 90 00 [00:35:23]wFMCommunicate OK [00:35:23]wFMCommunicate request_size=4 [00:35:23]MH_SAM_APDU [00:35:23]CAPDU: 80 17 00 00 [00:35:23]Write to MH i2c: E2 08 00 87 4C 80 17 00 00 00 00 00 00 53 [00:35:23]Write i2c OK [00:35:23]MH_I2C_Read... [00:35:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:23]Read from MH i2c: E2 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 [00:35:23]MH_I2C_Read... [00:35:23]Read from MH i2c: E2 FD 00 87 4C 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 4C [00:35:23]RAPDU: 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 1C AC 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:35:23]wFMCommunicate OK [00:35:23]wFMCommunicate request_size=4 [00:35:23]MH_SAM_APDU [00:35:23]CAPDU: 80 17 00 00 [00:35:23]Write to MH i2c: E2 08 00 88 4C 80 17 00 00 00 00 00 00 54 [00:35:23]Write i2c OK [00:35:23]MH_I2C_Read... [00:35:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:24]Read from MH i2c: E2 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 88 4C 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 F7 [00:35:24]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:35:24]wFMCommunicate OK [00:35:24]wFMCommunicate request_size=4 [00:35:24]MH_SAM_APDU [00:35:24]CAPDU: 80 17 00 00 [00:35:24]Write to MH i2c: E2 08 00 89 4C 80 17 00 00 00 00 00 00 55 [00:35:24]Write i2c OK [00:35:24]MH_I2C_Read... [00:35:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:24]Read from MH i2c: E2 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 FD 00 89 4C 00 01 00 04 F7 03 00 00 EF 03 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 90 00 CD [00:35:24]RAPDU: 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:24]wFMCommunicate OK [00:35:24]wFMCommunicate request_size=4 [00:35:24]MH_SAM_APDU [00:35:24]CAPDU: 80 17 00 00 [00:35:24]Write to MH i2c: E2 08 00 8A 4C 80 17 00 00 00 00 00 00 56 [00:35:24]Write i2c OK [00:35:24]MH_I2C_Read... [00:35:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:35:24]Read from MH i2c: E2 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 DD 00 [00:35:24]MH_I2C_Read... [00:35:24]Read from MH i2c: E2 DD 00 8A 4C 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 3E [00:35:25]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:35:25]wFMCommunicate OK [00:35:25]SAM_PROTO_GetFMData done [00:35:25]requested_item fm.sale_refund.total is exist - process it [00:35:25]requested_item fm.buy.total is exist - process it [00:35:25]requested_item shift.sale.total is exist - process it [00:35:25]SAM_PROTO_GetShiftData [00:35:25]wFMCommunicate request_size=4 [00:35:25]MH_SAM_APDU [00:35:25]CAPDU: 80 13 02 00 [00:35:25]Write to MH i2c: E2 08 00 8B 4C 80 13 02 00 00 00 00 00 55 [00:35:25]Write i2c OK [00:35:25]MH_I2C_Read... [00:35:25]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:35:25]Read from MH i2c: E2 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 8B 4C 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 C8 [00:35:25]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:35:25]wFMCommunicate OK [00:35:25]wFMCommunicate request_size=4 [00:35:25]MH_SAM_APDU [00:35:25]CAPDU: 80 17 00 00 [00:35:25]Write to MH i2c: E2 08 00 8C 4C 80 17 00 00 00 00 00 00 58 [00:35:25]Write i2c OK [00:35:25]MH_I2C_Read... [00:35:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:25]Read from MH i2c: E2 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 [00:35:25]MH_I2C_Read... [00:35:25]Read from MH i2c: E2 FD 00 8C 4C 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 60 [00:35:26]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:35:26]wFMCommunicate OK [00:35:26]wFMCommunicate request_size=4 [00:35:26]MH_SAM_APDU [00:35:26]CAPDU: 80 17 00 00 [00:35:26]Write to MH i2c: E2 08 00 8D 4C 80 17 00 00 00 00 00 00 59 [00:35:26]Write i2c OK [00:35:26]MH_I2C_Read... [00:35:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:26]Read from MH i2c: E2 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 FD 00 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 FD 00 8D 4C 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 2B [00:35:26]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:35:26]wFMCommunicate OK [00:35:26]wFMCommunicate request_size=4 [00:35:26]MH_SAM_APDU [00:35:26]CAPDU: 80 17 00 00 [00:35:26]Write to MH i2c: E2 08 00 8E 4C 80 17 00 00 00 00 00 00 5A [00:35:26]Write i2c OK [00:35:26]MH_I2C_Read... [00:35:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:26]Read from MH i2c: E2 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 FD 00 [00:35:26]MH_I2C_Read... [00:35:26]Read from MH i2c: E2 FD 00 8E 4C 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 CC [00:35:27]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:35:27]wFMCommunicate OK [00:35:27]wFMCommunicate request_size=4 [00:35:27]MH_SAM_APDU [00:35:27]CAPDU: 80 17 00 00 [00:35:27]Write to MH i2c: E2 08 00 8F 4C 80 17 00 00 00 00 00 00 5B [00:35:27]Write i2c OK [00:35:27]MH_I2C_Read... [00:35:27]OFD Sender: No OFD packet to send [00:35:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:35:27]Read from MH i2c: E2 [00:35:27]MH_I2C_Read... [00:35:27]Read from MH i2c: E2 BD 00 [00:35:27]MH_I2C_Read... [00:35:27]Read from MH i2c: E2 BD 00 8F 4C 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 41 [00:35:27]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:35:27]wFMCommunicate OK [00:35:27]SAM_PROTO_GetShiftData done [00:35:27]requested_item shift.sale.total_cash is exist - process it [00:35:27]requested_item shift.sale_refund.total is exist - process it [00:35:27]requested_item shift.sale_refund.total_cash is exist - process it [00:35:27]requested_item shift.buy.total is exist - process it [00:35:27]requested_item shift.buy.total_cash is exist - process it [00:35:27]produce_requested_data done [00:35:27]produce_requested_data return {"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.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:35:27]process_action_free get_value [00:35:27]json_value_free [00:35:27]json_value_free done [00:35:27]process_json_proto returns [00:35:27]Send response to host [00:35:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":26137084.11,"fm.sale_refund.total":123833.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:35:27]free response buf [00:35:27]execute_script done [00:35:27]execute_script returns [00:35:27]free content buf [00:35:27]Sock 9.Close socket [00:35:27]Sock 9.Thread stoped [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]OFD Sender: No OFD packet to send [00:41:12]OFD Sender: No OFD packet to send [00:41:17]OFD Sender: No OFD packet to send [00:41:22]OFD Sender: No OFD packet to send [00:41:27]OFD Sender: No OFD packet to send [00:41:32]OFD Sender: No OFD packet to send [00:41:37]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:23]OFD Sender: No OFD packet to send [00:56:28]OFD Sender: No OFD packet to send [00:56:33]OFD Sender: No OFD packet to send [00:56:38]OFD Sender: No OFD packet to send [00:56:43]OFD Sender: No OFD packet to send [00:56:48]OFD Sender: No OFD packet to send [00:56:53]OFD Sender: No OFD packet to send [00:56:58]OFD Sender: No OFD packet to send [00:57:03]OFD Sender: No OFD packet to send [00:57:08]OFD Sender: No OFD packet to send [00:57:13]OFD Sender: No OFD packet to send [00:57:18]OFD Sender: No OFD packet to send [00:57:23]OFD Sender: No OFD packet to send [00:57:28]OFD Sender: No OFD packet to send [00:57:33]OFD Sender: No OFD packet to send [00:57:38]OFD Sender: No OFD packet to send [00:57:43]OFD Sender: No OFD packet to send [00:57:48]OFD Sender: No OFD packet to send [00:57:53]OFD Sender: No OFD packet to send [00:57:58]OFD Sender: No OFD packet to send [00:58:03]OFD Sender: No OFD packet to send [00:58:08]OFD Sender: No OFD packet to send [00:58:13]OFD Sender: No OFD packet to send [00:58:18]OFD Sender: No OFD packet to send [00:58:23]OFD Sender: No OFD packet to send [00:58:28]OFD Sender: No OFD packet to send [00:58:33]OFD Sender: No OFD packet to send [00:58:38]OFD Sender: No OFD packet to send [00:58:43]OFD Sender: No OFD packet to send [00:58:48]OFD Sender: No OFD packet to send [00:58:53]OFD Sender: No OFD packet to send [00:58:58]OFD Sender: No OFD packet to send [00:59:03]OFD Sender: No OFD packet to send [00:59:08]OFD Sender: No OFD packet to send [00:59:13]OFD Sender: No OFD packet to send [00:59:18]OFD Sender: No OFD packet to send [00:59:23]OFD Sender: No OFD packet to send [00:59:28]OFD Sender: No OFD packet to send [00:59:33]OFD Sender: No OFD packet to send [00:59:38]OFD Sender: No OFD packet to send [00:59:43]OFD Sender: No OFD packet to send [00:59:48]OFD Sender: No OFD packet to send [00:59:53]OFD Sender: No OFD packet to send [00:59:58]OFD Sender: No OFD packet to send [01:00:03]OFD Sender: No OFD packet to send [01:00:08]OFD Sender: No OFD packet to send [01:00:13]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]accept exits with 8 [01:05:48]New connection [01:05:48]New thread 3066871140 created [01:05:48]Thread 3067014500 joined [01:05:48]Waiting for new connection... [01:05:48] Sock 8.Parse request [01:05:48]Sock 8.Check first char [01:05:48]Sock 8.First char is OK [01:05:48]request: POST /json_proto HTTP/1.0 [01:05:48]Method: POST [01:05:48]URL: /json_proto [01:05:48]Method is POST - this is cgi request [01:05:48]url: /json_proto [01:05:48]query_string will be loaded in cgi processing [01:05:48]execute_cgi json_proto POST (null) [01:05:48]execute_cgi path=json_proto method=POST [01:05:48]POST find Content-Length [01:05:48]Host: 172.17.35.3:8080 [01:05:48]Content-Length: 677 [01:05:48]Content-Type: application/json [01:05:48] [01:05:48]POST finish read [01:05:48]Found Content-Length = 677 [01:05:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359613", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [01:05:48]execute_script... [01:05:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)359613", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 63.40, "quantity" : 7.890, "sum" : 500.23, "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" ] } } [01:05:48]POST & json_proto [01:05:48]process_json_proto [01:05:48]json parsed OK: [01:05:48]protocol is kg_v1.0 [01:05:48]action value=close_receipt [01:05:48]process_action close_receipt [01:05:48]cmd_close_receipt [01:05:48]MH_GetDate [01:05:48]Write to MH i2c: F0 00 00 90 4C CB [01:05:48]Write i2c OK [01:05:48]MH_I2C_Read... [01:05:48]Read from MH i2c: F0 [01:05:48]MH_I2C_Read... [01:05:48]Read from MH i2c: F0 09 00 [01:05:48]MH_I2C_Read... [01:05:48]Read from MH i2c: F0 09 00 90 4C 00 7E 94 14 66 2B 11 66 64 66 [01:05:48]GetLastDocTimeStamp 1712622936 [01:05:48]current date 1712624766 [01:05:48]FM_GetShiftState [01:05:48]SAM_PROTO_GetShiftState [01:05:48]wFMCommunicate request_size=4 [01:05:48]MH_SAM_APDU [01:05:48]CAPDU: 80 13 01 00 [01:05:48]Write to MH i2c: E2 08 00 91 4C 80 13 01 00 00 00 00 00 5A [01:05:48]Write i2c OK [01:05:48]MH_I2C_Read... [01:05:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:48]Read from MH i2c: E2 [01:05:48]MH_I2C_Read... [01:05:48]Read from MH i2c: E2 0E 00 [01:05:48]MH_I2C_Read... [01:05:48]Read from MH i2c: E2 0E 00 91 4C 00 09 00 01 58 8D 14 66 00 00 00 00 90 00 C5 [01:05:48]RAPDU: 09 00 01 58 8D 14 66 00 00 00 00 90 00 [01:05:48]wFMCommunicate OK [01:05:48]SAM_PROTO_GetShiftState done [01:05:48]FM_GetShiftState done [01:05:48]opened in 1712622936 [01:05:48]opened+sec_in_day 1712709336 [01:05:48]quantity*price = 50022 [01:05:48]sum+1 = 50024 [01:05:48]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕÐИЕ: -0.23 ИТОГО: 500.00 ВнеÑено: 500.00 СДÐЧÐ: 0.00 ÐСП 1% : 4.43 ÐДС 12% : 53.12 Ðаличными: 500.00 Безнал.: 0.00 МеÑто: ÐЗС â„– 122 "Партнер Ðефть" ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 СÐО: Общий режим Чек 1 09.04.2024 01:06 Смена: 315 ФФД: 1.0 ЗÐМ: 0300000147 РÐМ: 0000000000091578 ВерÑÐ¸Ñ ÐšÐšÐœ: 001 ФМ: 0000000000874657 ФД: 26869 ФПД: 187162528412182 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240409T010606&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26869&fm=187162528412182&tin=02508201610067®Number=0000000000091578&sum=50000 [01:05:49]StoreToDocumentArchive [01:05:49]shift 315 fd 26869 [01:05:49]save to /storage/0315/doc_00026869 [01:05:49]save last doc name /storage/0315/doc_00026869 to /storage/kkm_last_doc_name [01:05:49]save OK [01:05:49]Clear old archive folders... [01:05:49]ProcessDocumentItem done err = 0, tmpTLVsize=251 [01:05:49]tlvbuf is 00F3EBB0 [01:05:49]SAM_PROTO_ClearQueue [01:05:49]wFMCommunicate request_size=4 [01:05:49]MH_SAM_APDU [01:05:49]CAPDU: 80 09 00 00 [01:05:49]Write to MH i2c: E2 08 00 9E 4C 80 09 00 00 00 00 00 00 5C [01:05:49]Write i2c OK [01:05:49]MH_I2C_Read... [01:05:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:05:49]Read from MH i2c: E2 [01:05:49]MH_I2C_Read... [01:05:49]Read from MH i2c: E2 03 00 [01:05:49]MH_I2C_Read... [01:05:49]Read from MH i2c: E2 03 00 9E 4C 00 90 00 5E [01:05:49]RAPDU: 90 00 [01:05:49]wFMCommunicate OK [01:05:49]SAM_PROTO_ClearQueue done [01:05:49]KKMCreateOFDPacket [01:05:49]OFDProtocolAddRootSTLVToBuf [01:05:49]FM_MakeSignedData [01:05:49]FM_MakeSignedData [01:05:49]SAM_PROTO_SignData [01:05:49]wFMCommunicate request_size=4 [01:05:49]MH_SAM_APDU [01:05:49]CAPDU: 80 0D 01 02 [01:05:49]Write to MH i2c: E2 08 00 9F 4C 80 0D 01 02 00 00 00 00 64 [01:05:49]Write i2c OK [01:05:49]MH_I2C_Read... [01:05:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:05:49]Read from MH i2c: E2 [01:05:49]MH_I2C_Read... [01:05:49]Read from MH i2c: E2 03 00 [01:05:49]MH_I2C_Read... [01:05:49]Read from MH i2c: E2 03 00 9F 4C 00 90 00 5F [01:05:49]RAPDU: 90 00 [01:05:49]wFMCommunicate OK [01:05:49]wFMCommunicate request_size=255 [01:05:49]MH_SAM_APDU [01:05:49]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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 01 00 00 00 F4 03 04 00 7E 94 14 66 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F5 68 00 00 35 04 06 00 AA [01:05:49]Write to MH i2c: E2 02 01 A0 4C 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 01 00 00 00 F4 03 04 00 7E 94 14 66 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F5 68 00 00 35 04 06 00 AA 00 00 F4 [01:05:50]Write i2c OK [01:05:50]MH_I2C_Read... [01:05:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:05:50]Read from MH i2c: E2 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 03 00 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 03 00 A0 4C 00 90 00 60 [01:05:50]RAPDU: 90 00 [01:05:50]wFMCommunicate OK [01:05:50]wFMCommunicate request_size=10 [01:05:50]MH_SAM_APDU [01:05:50]CAPDU: 80 0D 02 02 05 39 2C 05 72 16 [01:05:50]Write to MH i2c: E2 0D 00 A1 4C 80 0D 02 02 05 00 39 2C 05 72 16 00 00 63 [01:05:50]Write i2c OK [01:05:50]MH_I2C_Read... [01:05:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:05:50]Read from MH i2c: E2 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 03 00 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 03 00 A1 4C 00 90 00 61 [01:05:50]RAPDU: 90 00 [01:05:50]wFMCommunicate OK [01:05:50]wFMCommunicate request_size=4 [01:05:50]MH_SAM_APDU [01:05:50]CAPDU: 80 0D 03 02 [01:05:50]Write to MH i2c: E2 08 00 A2 4C 80 0D 03 02 00 00 00 00 69 [01:05:50]Write i2c OK [01:05:50]MH_I2C_Read... [01:05:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:05:50]Read from MH i2c: E2 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 0B 00 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 0B 00 A2 4C 00 90 38 98 2E 8C 64 B2 B8 90 00 52 [01:05:50]RAPDU: 90 38 98 2E 8C 64 B2 B8 90 00 [01:05:50]wFMCommunicate OK [01:05:50]SAM_PROTO_SignData done [01:05:50]FM_MakeSignedData done [01:05:50]CreateOFDProtocolMessage [01:05:50]wFMCommunicate request_size=4 [01:05:50]MH_SAM_APDU [01:05:50]CAPDU: 80 11 00 00 [01:05:50]Write to MH i2c: E2 08 00 A3 4C 80 11 00 00 00 00 00 00 69 [01:05:50]Write i2c OK [01:05:50]MH_I2C_Read... [01:05:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:05:50]Read from MH i2c: E2 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 17 00 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: E2 17 00 A3 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 C1 [01:05:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [01:05:50]wFMCommunicate OK [01:05:50]CreateOFDProtocolMessage done [01:05:50]OFDSenderStorePacket 26869 [01:05:50]StoreOFDPacket docnum=26869 [01:05:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 DD 82 07 01 62 AF 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 01 00 00 00 F4 03 04 00 7E 94 14 66 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F5 68 00 00 35 04 06 00 AA 39 2C 05 72 16 90 38 98 2E 8C 64 B2 B8 [01:05:50]CheckFolder [01:05:50]dirname=/storage/ofd_packets [01:05:50]CheckFolder done [01:05:50]ProducePacketName [01:05:50]name=ofd_packets/00026869 [01:05:50]NVStorageSaveData ofd_packets/00026869 [01:05:50]File name is /storage/ofd_packets/00026869 [01:05:50]Write 301 bytes [01:05:50]NVStorageSaveData done [01:05:50]OFDSenderStorePacket done [01:05:50]KKMCreateOFDPacket done [01:05:50]NVStorageSaveData kkm_last_timestamp [01:05:50]File name is /storage/kkm_last_timestamp [01:05:50]Write 4 bytes [01:05:50]NVStorageSaveData done [01:05:50]ExternCall_PrintAddStr [01:05:50]wPrintStart [01:05:50]Write to MH i2c: 01 00 00 A4 4C F0 [01:05:50]Write i2c OK [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: 01 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: 01 07 00 [01:05:50]MH_I2C_Read... [01:05:50]Read from MH i2c: 01 07 00 A4 4C 00 00 00 00 00 FF 0F 05 [01:05:50]RasterBufferAndPrint [01:05:50]line Счет N : (1)359613 [01:05:50]line ИÐÐ: 02508201610067 [01:05:50]line Контрольно-КаÑÑовый Чек [01:05:50]line ПРОДÐЖР[01:05:50]line ТРК (МРК, ГÐК) : 51 [01:05:50]line Товар: 2710124130 [01:05:50]line Ðи-92-К-5 [01:05:50]line 7.890 * 63.40 [01:05:50]line = 500.23 [01:05:50]line ÐДС 12% ÐСП 1% [01:05:50]line > о реализуемом товаре [01:05:50]line ОКРУГЛЕÐИЕ: -0.23 [01:05:50]line ИТОГО: 500.00 [01:05:50]line ВнеÑено: 500.00 [01:05:50]line СДÐЧÐ: 0.00 [01:05:50]line ÐСП 1% : 4.43 [01:05:50]line ÐДС 12% : 53.12 [01:05:50]line Ðаличными: 500.00 [01:05:50]line Безнал.: 0.00 [01:05:50]line МеÑто: ÐЗС â„– 122 "Партнер Ðефть" [01:05:50]line ÐдреÑ: 720001 Ñ. Ивановка, ул. Г. Ильина 4/1, 42.894093, 75.040678 [01:05:50]line СÐО: Общий режим [01:05:50]line Чек 1 09.04.2024 01:06 [01:05:50]line Смена: 315 ФФД: 1.0 [01:05:50]line ЗÐМ: 0300000147 [01:05:50]line РÐМ: 0000000000091578 [01:05:50]line ВерÑÐ¸Ñ ÐšÐšÐœ: 001 [01:05:50]line ФМ: 0000000000874657 [01:05:50]line ФД: 26869 [01:05:50]line ФПД: 187162528412182 [01:05:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240409T010606&type=1&operation_type=1&fn_number=0000000000874657&fd_number=26869&fm=187162528412182&tin=02508201610067®Number=0000000000091578&sum=50000 [01:05:50]OFD Sender: Processing packet 26869 [packets to send 44, broken 43] [01:05:50]ProducePacketName [01:05:50]name=ofd_packets/00026869 [01:05:50]OFD Sender: To server: ‡•öpG, [01:05:50]CommunicateWithHost lk.salyk.kg:30040 [01:05:50]ConnectInit lk.salyk.kg [01:05:50]written 0, free lines is 4095 [01:05:50]Connected sock=9 [01:05:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0F 01 00 00 DD 82 07 01 62 AF 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 D2 1E 00 00 00 00 00 37 04 06 00 C4 18 00 00 00 00 13 04 06 00 67 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 C0 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 01 00 00 00 F4 03 04 00 7E 94 14 66 0E 04 04 00 3B 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 10 04 04 00 F5 68 00 00 35 04 06 00 AA 39 2C 05 72 16 90 38 98 2E 8C 64 B2 B8 [01:05:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 4F 00 00 00 BB 06 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 38 37 34 36 35 37 10 04 04 00 F5 68 00 00 F4 03 04 00 E6 3B 14 66 B6 04 01 00 00 F6 95 9A 86 8C F2 93 67 [01:05:51]CommunicateWithHost err = 0 [01:05:51]CheckOFDResponse [01:05:51]1017 (14) - 77093643461234 [01:05:51]1041 (16) - 0000000000874657 [01:05:51]1040 (4) - 26869 [01:05:51]1012 (4) - 08.04.2024 18:48 [01:05:51]1206 (1) - 0 [01:05:51]OFD Sender: Remove packet 26869 [01:05:51]ProducePacketName [01:05:51]name=ofd_packets/00026869 [01:05:51]NVStorageDeleteData [01:05:51]Write to MH i2c: 01 00 00 CF 4C 1B [01:05:51]Write i2c OK [01:05:51]MH_I2C_Read... [01:05:51]Read from MH i2c: 01 [01:05:51]MH_I2C_Read... [01:05:51]Read from MH i2c: 01 07 00 [01:05:51]MH_I2C_Read... [01:05:51]Read from MH i2c: 01 07 00 CF 4C 00 00 00 00 00 75 0C A3 [01:05:51]RasterBufferAndPrint [01:05:51]line [01:05:51]line [01:05:51]line [01:05:51]line [01:05:51]line [01:05:51]written 0, free lines is 3192 [01:05:51]MH_Cut [01:05:51]Write to MH i2c: D1 01 00 D6 4C 01 F4 [01:05:51]Write i2c OK [01:05:51]MH_I2C_Read... [01:05:51]Read from MH i2c: D1 [01:05:51]MH_I2C_Read... [01:05:51]Read from MH i2c: D1 01 00 [01:05:51]MH_I2C_Read... [01:05:51]Read from MH i2c: D1 01 00 D6 4C 00 F3 [01:05:51]Write to MH i2c: 01 00 00 D7 4C 23 [01:05:51]Write i2c OK [01:05:51]MH_I2C_Read... [01:05:51]OFD Sender: No OFD packet to send [01:05:52]*** Cut start [01:05:52]*** Partial cut [01:05:52]*** CUTSNS_PIN = 1 [01:05:52]*** CUTSNS_PIN = 0 [01:05:52]*** Brake cut motor [01:05:53]Read from MH i2c: 01 [01:05:53]MH_I2C_Read... [01:05:53]*** Stop cut motor [01:05:53]*** Cut end [01:05:53]Read from MH i2c: 01 07 00 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: 01 07 00 D7 4C 00 00 00 00 00 FF 0F 38 [01:05:53]process_action close_receipt done [01:05:53]requested_data is exist [01:05:53]produce_requested_data [01:05:53]requested_item fm.sn is exist - process it [01:05:53]wFMCommunicate request_size=4 [01:05:53]MH_SAM_APDU [01:05:53]CAPDU: 80 11 00 00 [01:05:53]Write to MH i2c: E2 08 00 D8 4C 80 11 00 00 00 00 00 00 9E [01:05:53]Write i2c OK [01:05:53]MH_I2C_Read... [01:05:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:05:53]Read from MH i2c: E2 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: E2 17 00 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: E2 17 00 D8 4C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 F6 [01:05:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 90 00 [01:05:53]wFMCommunicate OK [01:05:53]requested_item fd.num is exist - process it [01:05:53]SAM_PROTO_GetFieldsCounters [01:05:53]wFMCommunicate request_size=4 [01:05:53]MH_SAM_APDU [01:05:53]CAPDU: 80 13 00 00 [01:05:53]Write to MH i2c: E2 08 00 D9 4C 80 13 00 00 00 00 00 00 A1 [01:05:53]Write i2c OK [01:05:53]MH_I2C_Read... [01:05:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:05:53]Read from MH i2c: E2 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: E2 62 00 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: E2 62 00 D9 4C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F5 68 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [01:05:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 36 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 35 37 38 10 04 04 00 F5 68 00 00 0E 04 04 00 3B 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:05:53]wFMCommunicate OK [01:05:53]SAM_PROTO_GetFieldsCounters done [01:05:53]requested_item shift.num is exist - process it [01:05:53]requested_item shift.opened is exist - process it [01:05:53]req_shift_opened [01:05:53]FM_GetShiftState [01:05:53]SAM_PROTO_GetShiftState [01:05:53]wFMCommunicate request_size=4 [01:05:53]MH_SAM_APDU [01:05:53]CAPDU: 80 13 01 00 [01:05:53]Write to MH i2c: E2 08 00 DA 4C 80 13 01 00 00 00 00 00 A3 [01:05:53]Write i2c OK [01:05:53]MH_I2C_Read... [01:05:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:05:53]Read from MH i2c: E2 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: E2 0E 00 [01:05:53]MH_I2C_Read... [01:05:53]Read from MH i2c: E2 0E 00 DA 4C 00 09 00 01 58 8D 14 66 00 00 00 00 90 00 0E [01:05:53]RAPDU: 09 00 01 58 8D 14 66 00 00 00 00 90 00 [01:05:53]wFMCommunicate OK [01:05:53]SAM_PROTO_GetShiftState done [01:05:53]FM_GetShiftState done [01:05:53]req_shift_opened done [01:05:53]requested_item shift.open_date is exist - process it [01:05:53]req_shift_open_date [01:05:53]req_shift_open_date done [01:05:53]produce_requested_data done [01:05:53]produce_requested_data return {"fm.sn":"0000000000874657","fd.num":26869,"shift.num":315,"shift.opened":1,"shift.open_date":1712622936} [01:05:53]process_action_free close_receipt [01:05:53]json_value_free [01:05:53]json_value_free done [01:05:53]process_json_proto returns [01:05:53]Send response to host [01:05:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874657","fd.num":26869,"shift.num":315,"shift.opened":1,"shift.open_date":1712622936}}} [01:05:53]free response buf [01:05:53]execute_script done [01:05:53]execute_script returns [01:05:53]free content buf [01:05:53]Sock 8.Close socket [01:05:53]Sock 8.Thread stoped [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:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:07]OFD Sender: No OFD packet to send [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]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:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]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:53]OFD Sender: No OFD packet to send [01:49:58]OFD Sender: No OFD packet to send [01:50:03]OFD Sender: No OFD packet to send [01:50:08]OFD Sender: No OFD packet to send [01:50:13]OFD Sender: No OFD packet to send [01:50:18]OFD Sender: No OFD packet to send [01:50:23]OFD Sender: No OFD packet to send [01:50:28]OFD Sender: No OFD packet to send [01:50:33]OFD Sender: No OFD packet to send [01:50:38]OFD Sender: No OFD packet to send [01:50:43]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:29]OFD Sender: No OFD packet to send [02:02:34]OFD Sender: No OFD packet to send [02:02:39]OFD Sender: No OFD packet to send [02:02:44]OFD Sender: No OFD packet to send [02:02:49]OFD Sender: No OFD packet to send [02:02:54]OFD Sender: No OFD packet to send [02:02:59]OFD Sender: No OFD packet to send [02:03:04]OFD Sender: No OFD packet to send [02:03:09]OFD Sender: No OFD packet to send [02:03:14]OFD Sender: No OFD packet to send [02:03:19]OFD Sender: No OFD packet to send [02:03:24]OFD Sender: No OFD packet to send [02:03:29]OFD Sender: No OFD packet to send [02:03:34]OFD Sender: No OFD packet to send [02:03:39]OFD Sender: No OFD packet to send [02:03:44]OFD Sender: No OFD packet to send [02:03:49]OFD Sender: No OFD packet to send [02:03:54]OFD Sender: No OFD packet to send [02:03:59]OFD Sender: No OFD packet to send [02:04:04]OFD Sender: No OFD packet to send [02:04:09]OFD Sender: No OFD packet to send [02:04:14]OFD Sender: No OFD packet to send [02:04:19]OFD Sender: No OFD packet to send [02:04:24]OFD Sender: No OFD packet to send [02:04:29]OFD Sender: No OFD packet to send [02:04:34]OFD Sender: No OFD packet to send [02:04:39]OFD Sender: No OFD packet to send [02:04:44]OFD Sender: No OFD packet to send [02:04:49]OFD Sender: No OFD packet to send [02:04:54]OFD Sender: No OFD packet to send [02:04:59]OFD Sender: No OFD packet to send [02:05:04]OFD Sender: No OFD packet to send [02:05:09]OFD Sender: No OFD packet to send [02:05:14]OFD Sender: No OFD packet to send [02:05:19]OFD Sender: No OFD packet to send [02:05:24]OFD Sender: No OFD packet to send [02:05:29]OFD Sender: No OFD packet to send [02:05:34]OFD Sender: No OFD packet to send [02:05:39]OFD Sender: No OFD packet to send [02:05:44]OFD Sender: No OFD packet to send [02:05:49]OFD Sender: No OFD packet to send [02:05:54]OFD Sender: No OFD packet to send [02:05:59]OFD Sender: No OFD packet to send [02:06:04]OFD Sender: No OFD packet to send [02:06:09]OFD Sender: No OFD packet to send [02:06:14]OFD Sender: No OFD packet to send [02:06:19]OFD Sender: No OFD packet to send [02:06:24]OFD Sender: No OFD packet to send [02:06:29]OFD Sender: No OFD packet to send [02:06:34]OFD Sender: No OFD packet to send [02:06:39]OFD Sender: No OFD packet to send [02:06:44]OFD Sender: No OFD packet to send [02:06:49]OFD Sender: No OFD packet to send [02:06:54]OFD Sender: No OFD packet to send [02:06:59]OFD Sender: No OFD packet to send [02:07:04]OFD Sender: No OFD packet to send [02:07:09]OFD Sender: No OFD packet to send [02:07:14]OFD Sender: No OFD packet to send [02:07:19]OFD Sender: No OFD packet to send [02:07:24]OFD Sender: No OFD packet to send [02:07:29]OFD Sender: No OFD packet to send [02:07:34]OFD Sender: No OFD packet to send [02:07:39]OFD Sender: No OFD packet to send [02:07:44]OFD Sender: No OFD packet to send [02:07:49]OFD Sender: No OFD packet to send [02:07:54]OFD Sender: No OFD packet to send [02:07:59]OFD Sender: No OFD packet to send [02:08:04]OFD Sender: No OFD packet to send [02:08:09]OFD Sender: No OFD packet to send [02:08:14]OFD Sender: No OFD packet to send [02:08:19]OFD Sender: No OFD packet to send [02:08:24]OFD Sender: No OFD packet to send [02:08:29]OFD Sender: No OFD packet to send [02:08:34]OFD Sender: No OFD packet to send [02:08:39]OFD Sender: No OFD packet to send [02:08:44]OFD Sender: No OFD packet to send [02:08:49]OFD Sender: No OFD packet to send [02:08:54]OFD Sender: No OFD packet to send [02:08:59]OFD Sender: No OFD packet to send [02:09:04]OFD Sender: No OFD packet to send [02:09:09]OFD Sender: No OFD packet to send [02:09:14]OFD Sender: No OFD packet to send [02:09:19]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:57]OFD Sender: No OFD packet to send [02:59:02]OFD Sender: No OFD packet to send [02:59:07]OFD Sender: No OFD packet to send [02:59:12]OFD Sender: No OFD packet to send [02:59:17]OFD Sender: No OFD packet to send [02:59:22]OFD Sender: No OFD packet to send [02:59:27]OFD Sender: No OFD packet to send [02:59:32]OFD Sender: No OFD packet to send [02:59:37]OFD Sender: No OFD packet to send [02:59:42]OFD Sender: No OFD packet to send [02:59:47]OFD Sender: No OFD packet to send [02:59:52]OFD Sender: No OFD packet to send [02:59:57]OFD Sender: No OFD packet to send [03:00:02]OFD Sender: No OFD packet to send [03:00:07]OFD Sender: No OFD packet to send [03:00:12]OFD Sender: No OFD packet to send [03:00:17]OFD Sender: No OFD packet to send [03:00:22]OFD Sender: No OFD packet to send [03:00:27]OFD Sender: No OFD packet to send [03:00:32]OFD Sender: No OFD packet to send [03:00:37]OFD Sender: No OFD packet to send [03:00:42]OFD Sender: No OFD packet to send [03:00:47]OFD Sender: No OFD packet to send [03:00:52]OFD Sender: No OFD packet to send [03:00:57]OFD Sender: No OFD packet to send [03:01:02]OFD Sender: No OFD packet to send [03:01:07]OFD Sender: No OFD packet to send [03:01:12]OFD Sender: No OFD packet to send [03:01:17]OFD Sender: No OFD packet to send [03:01:22]OFD Sender: No OFD packet to send [03:01:27]OFD Sender: No OFD packet to send [03:01:32]OFD Sender: No OFD packet to send [03:01:37]OFD Sender: No OFD packet to send [03:01:42]OFD Sender: No OFD packet to send [03:01:47]OFD Sender: No OFD packet to send [03:01:52]OFD Sender: No OFD packet to send [03:01:57]OFD Sender: No OFD packet to send [03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:32]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:42]OFD Sender: No OFD packet to send [03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:03]OFD Sender: No OFD packet to send [03:05:08]OFD Sender: No OFD packet to send [03:05:13]OFD Sender: No OFD packet to send [03:05:18]OFD Sender: No OFD packet to send [03:05:23]OFD Sender: No OFD packet to send [03:05:28]OFD Sender: No OFD packet to send [03:05:33]OFD Sender: No OFD packet to send [03:05:38]OFD Sender: No OFD packet to send [03:05:43]OFD Sender: No OFD packet to send [03:05:48]OFD Sender: No OFD packet to send [03:05:53]OFD Sender: No OFD packet to send [03:05:58]OFD Sender: No OFD packet to send [03:06:03]OFD Sender: No OFD packet to send [03:06:08]OFD Sender: No OFD packet to send [03:06:13]OFD Sender: No OFD packet to send [03:06:18]OFD Sender: No OFD packet to send [03:06:23]OFD Sender: No OFD packet to send [03:06:28]OFD Sender: No OFD packet to send [03:06:33]OFD Sender: No OFD packet to send [03:06:38]OFD Sender: No OFD packet to send [03:06:43]OFD Sender: No OFD packet to send [03:06:48]OFD Sender: No OFD packet to send [03:06:53]OFD Sender: No OFD packet to send [03:06:58]OFD Sender: No OFD packet to send [03:07:03]OFD Sender: No OFD packet to send [03:07:08]OFD Sender: No OFD packet to send [03:07:13]OFD Sender: No OFD packet to send [03:07:18]OFD Sender: No OFD packet to send [03:07:23]OFD Sender: No OFD packet to send [03:07:28]OFD Sender: No OFD packet to send [03:07:33]OFD Sender: No OFD packet to send [03:07:38]OFD Sender: No OFD packet to send [03:07:43]OFD Sender: No OFD packet to send [03:07:48]OFD Sender: No OFD packet to send [03:07:53]OFD Sender: No OFD packet to send [03:07:58]OFD Sender: No OFD packet to send [03:08:03]OFD Sender: No OFD packet to send [03:08:08]OFD Sender: No OFD packet to send [03:08:13]OFD Sender: No OFD packet to send [03:08:18]OFD Sender: No OFD packet to send [03:08:23]OFD Sender: No OFD packet to send [03:08:28]OFD Sender: No OFD packet to send [03:08:33]OFD Sender: No OFD packet to send [03:08:38]OFD Sender: No OFD packet to send [03:08:43]OFD Sender: No OFD packet to send [03:08:48]OFD Sender: No OFD packet to send [03:08:53]OFD Sender: No OFD packet to send [03:08:58]OFD Sender: No OFD packet to send [03:09:03]OFD Sender: No OFD packet to send [03:09:08]OFD Sender: No OFD packet to send [03:09:13]OFD Sender: No OFD packet to send [03:09:18]OFD Sender: No OFD packet to send [03:09:23]OFD Sender: No OFD packet to send [03:09:28]OFD Sender: No OFD packet to send [03:09:33]OFD Sender: No OFD packet to send [03:09:38]OFD Sender: No OFD packet to send [03:09:43]OFD Sender: No OFD packet to send [03:09:48]OFD Sender: No OFD packet to send [03:09:53]OFD Sender: No OFD packet to send [03:09:58]OFD Sender: No OFD packet to send [03:10:03]OFD Sender: No OFD packet to send [03:10:08]OFD Sender: No OFD packet to send [03:10:13]OFD Sender: No OFD packet to send [03:10:18]OFD Sender: No OFD packet to send [03:10:23]OFD Sender: No OFD packet to send [03:10:28]OFD Sender: No OFD packet to send [03:10:33]OFD Sender: No OFD packet to send [03:10:38]OFD Sender: No OFD packet to send [03:10:43]OFD Sender: No OFD packet to send [03:10:48]OFD Sender: No OFD packet to send [03:10:53]OFD Sender: No OFD packet to send [03:10:58]OFD Sender: No OFD packet to send [03:11:03]OFD Sender: No OFD packet to send [03:11:08]OFD Sender: No OFD packet to send [03:11:13]OFD Sender: No OFD packet to send [03:11:18]OFD Sender: No OFD packet to send [03:11:23]OFD Sender: No OFD packet to send [03:11:28]OFD Sender: No OFD packet to send [03:11:33]OFD Sender: No OFD packet to send [03:11:38]OFD Sender: No OFD packet to send [03:11:43]OFD Sender: No OFD packet to send [03:11:48]OFD Sender: No OFD packet to send [03:11:53]OFD Sender: No OFD packet to send [03:11:58]OFD Sender: No OFD packet to send [03:12:03]OFD Sender: No OFD packet to send [03:12:08]OFD Sender: No OFD packet to send [03:12:13]OFD Sender: No OFD packet to send [03:12:18]OFD Sender: No OFD packet to send [03:12:23]OFD Sender: No OFD packet to send [03:12:28]OFD Sender: No OFD packet to send [03:12:33]OFD Sender: No OFD packet to send [03:12:38]OFD Sender: No OFD packet to send [03:12:43]OFD Sender: No OFD packet to send [03:12:48]OFD Sender: No OFD packet to send [03:12:53]OFD Sender: No OFD packet to send [03:12:58]OFD Sender: No OFD packet to send [03:13:03]OFD Sender: No OFD packet to send [03:13:08]OFD Sender: No OFD packet to send [03:13:13]OFD Sender: No OFD packet to send [03:13:18]OFD Sender: No OFD packet to send [03:13:23]OFD Sender: No OFD packet to send [03:13:28]OFD Sender: No OFD packet to send [03:13:33]OFD Sender: No OFD packet to send [03:13:38]OFD Sender: No OFD packet to send [03:13:43]OFD Sender: No OFD packet to send [03:13:48]OFD Sender: No OFD packet to send [03:13:53]OFD Sender: No OFD packet to send [03:13:58]OFD Sender: No OFD packet to send [03:14:03]OFD Sender: No OFD packet to send [03:14:08]OFD Sender: No OFD packet to send [03:14:13]OFD Sender: No OFD packet to send [03:14:18]OFD Sender: No OFD packet to send [03:14:23]OFD Sender: No OFD packet to send [03:14:28]OFD Sender: No OFD packet to send [03:14:33]OFD Sender: No OFD packet to send [03:14:38]OFD Sender: No OFD packet to send [03:14:43]OFD Sender: No OFD packet to send [03:14:48]OFD Sender: No OFD packet to send [03:14:53]OFD Sender: No OFD packet to send [03:14:58]OFD Sender: No OFD packet to send [03:15:03]OFD Sender: No OFD packet to send [03:15:08]OFD Sender: No OFD packet to send [03:15:13]OFD Sender: No OFD packet to send [03:15:18]OFD Sender: No OFD packet to send [03:15:23]OFD Sender: No OFD packet to send [03:15:28]OFD Sender: No OFD packet to send [03:15:33]OFD Sender: No OFD packet to send [03:15:38]OFD Sender: No OFD packet to send [03:15:43]OFD Sender: No OFD packet to send [03:15:48]OFD Sender: No OFD packet to send [03:15:53]OFD Sender: No OFD packet to send [03:15:58]OFD Sender: No OFD packet to send [03:16:03]OFD Sender: No OFD packet to send [03:16:08]OFD Sender: No OFD packet to send [03:16:13]OFD Sender: No OFD packet to send [03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:43]OFD Sender: No OFD packet to send [03:16:48]OFD Sender: No OFD packet to send [03:16:53]OFD Sender: No OFD packet to send [03:16:58]OFD Sender: No OFD packet to send [03:17:03]OFD Sender: No OFD packet to send [03:17:08]OFD Sender: No OFD packet to send [03:17:13]OFD Sender: No OFD packet to send [03:17:18]OFD Sender: No OFD packet to send [03:17:23]OFD Sender: No OFD packet to send [03:17:28]OFD Sender: No OFD packet to send [03:17:33]OFD Sender: No OFD packet to send [03:17:38]OFD Sender: No OFD packet to send