[03:13:20]OFD Sender: No OFD packet to send [03:13:25]OFD Sender: No OFD packet to send [03:13:30]OFD Sender: No OFD packet to send [03:13:35]OFD Sender: No OFD packet to send [03:13:40]OFD Sender: No OFD packet to send [03:13:45]OFD Sender: No OFD packet to send [03:13:50]OFD Sender: No OFD packet to send [03:13:55]OFD Sender: No OFD packet to send [03:14:00]OFD Sender: No OFD packet to send [03:14:05]OFD Sender: No OFD packet to send [03:14:10]OFD Sender: No OFD packet to send [03:14:15]OFD Sender: No OFD packet to send [03:14:20]OFD Sender: No OFD packet to send [03:14:25]OFD Sender: No OFD packet to send [03:14:30]OFD Sender: No OFD packet to send [03:14:35]OFD Sender: No OFD packet to send [03:14:40]OFD Sender: No OFD packet to send [03:14:45]OFD Sender: No OFD packet to send [03:14:50]OFD Sender: No OFD packet to send [03:14:55]OFD Sender: No OFD packet to send [03:15:00]OFD Sender: No OFD packet to send [03:15:05]OFD Sender: No OFD packet to send [03:15:10]OFD Sender: No OFD packet to send [03:15:13]recv_with_timeout no data received [03:15:15]OFD Sender: No OFD packet to send [03:15:20]OFD Sender: No OFD packet to send [03:15:25]OFD Sender: No OFD packet to send [03:15:28]recv_with_timeout no data received [03:15:30]OFD Sender: No OFD packet to send [03:15:35]OFD Sender: No OFD packet to send [03:15:40]OFD Sender: No OFD packet to send [03:15:45]OFD Sender: No OFD packet to send [03:15:46]recv_with_timeout no data received [03:15:50]OFD Sender: No OFD packet to send [03:15:55]OFD Sender: No OFD packet to send [03:16:00]OFD Sender: No OFD packet to send [03:16:05]OFD Sender: No OFD packet to send [03:16:10]OFD Sender: No OFD packet to send [03:16:15]OFD Sender: No OFD packet to send [03:16:20]OFD Sender: No OFD packet to send [03:16:25]OFD Sender: No OFD packet to send [03:16:30]OFD Sender: No OFD packet to send [03:16:35]OFD Sender: No OFD packet to send [03:16:40]OFD Sender: No OFD packet to send [03:16:45]OFD Sender: No OFD packet to send [03:16:50]OFD Sender: No OFD packet to send [03:16:55]OFD Sender: No OFD packet to send [03:17:00]OFD Sender: No OFD packet to send [03:17:05]OFD Sender: No OFD packet to send [03:17:10]OFD Sender: No OFD packet to send [03:17:15]OFD Sender: No OFD packet to send [03:17:20]OFD Sender: No OFD packet to send [03:17:25]OFD Sender: No OFD packet to send [03:17:30]OFD Sender: No OFD packet to send [03:17:35]OFD Sender: No OFD packet to send [03:17:40]OFD Sender: No OFD packet to send [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:00]OFD Sender: No OFD packet to send [03:21:05]OFD Sender: No OFD packet to send [03:21:10]OFD Sender: No OFD packet to send [03:21:15]OFD Sender: No OFD packet to send [03:21:20]OFD Sender: No OFD packet to send [03:21:25]OFD Sender: No OFD packet to send [03:21:30]OFD Sender: No OFD packet to send [03:21:35]OFD Sender: No OFD packet to send [03:21:40]OFD Sender: No OFD packet to send [03:21:45]OFD Sender: No OFD packet to send [03:21:50]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:03]recv_with_timeout no data received [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:21]recv_with_timeout no data received [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:38]recv_with_timeout no data received [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:31]OFD Sender: No OFD packet to send [03:39:36]OFD Sender: No OFD packet to send [03:39:41]OFD Sender: No OFD packet to send [03:39:46]OFD Sender: No OFD packet to send [03:39:51]OFD Sender: No OFD packet to send [03:39:56]OFD Sender: No OFD packet to send [03:40:01]OFD Sender: No OFD packet to send [03:40:06]OFD Sender: No OFD packet to send [03:40:11]OFD Sender: No OFD packet to send [03:40:16]OFD Sender: No OFD packet to send [03:40:21]OFD Sender: No OFD packet to send [03:40:26]OFD Sender: No OFD packet to send [03:40:31]OFD Sender: No OFD packet to send [03:40:36]OFD Sender: No OFD packet to send [03:40:41]OFD Sender: No OFD packet to send [03:40:46]OFD Sender: No OFD packet to send [03:40:51]OFD Sender: No OFD packet to send [03:40:56]OFD Sender: No OFD packet to send [03:41:01]OFD Sender: No OFD packet to send [03:41:06]OFD Sender: No OFD packet to send [03:41:11]OFD Sender: No OFD packet to send [03:41:16]OFD Sender: No OFD packet to send [03:41:21]OFD Sender: No OFD packet to send [03:41:26]OFD Sender: No OFD packet to send [03:41:31]OFD Sender: No OFD packet to send [03:41:36]OFD Sender: No OFD packet to send [03:41:41]OFD Sender: No OFD packet to send [03:41:46]OFD Sender: No OFD packet to send [03:41:51]OFD Sender: No OFD packet to send [03:41:56]OFD Sender: No OFD packet to send [03:42:01]OFD Sender: No OFD packet to send [03:42:06]OFD Sender: No OFD packet to send [03:42:11]OFD Sender: No OFD packet to send [03:42:16]OFD Sender: No OFD packet to send [03:42:21]OFD Sender: No OFD packet to send [03:42:26]OFD Sender: No OFD packet to send [03:42:31]OFD Sender: No OFD packet to send [03:42:36]OFD Sender: No OFD packet to send [03:42:41]OFD Sender: No OFD packet to send [03:42:46]OFD Sender: No OFD packet to send [03:42:51]OFD Sender: No OFD packet to send [03:42:56]OFD Sender: No OFD packet to send [03:43:01]OFD Sender: No OFD packet to send [03:43:06]OFD Sender: No OFD packet to send [03:43:11]OFD Sender: No OFD packet to send [03:43:16]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:34]accept exits with 7 [03:45:34]New connection [03:45:34]New thread 3066965348 created [03:45:34]Thread 3067108708 joined [03:45:34]Waiting for new connection... [03:45:34] Sock 7.Parse request [03:45:34]Sock 7.Check first char [03:45:34]Sock 7.First char is OK [03:45:34]request: POST /json_proto HTTP/1.0 [03:45:34]Method: POST [03:45:34]URL: /json_proto [03:45:34]Method is POST - this is cgi request [03:45:34]url: /json_proto [03:45:34]query_string will be loaded in cgi processing [03:45:34]execute_cgi json_proto POST (null) [03:45:34]execute_cgi path=json_proto method=POST [03:45:34]POST find Content-Length [03:45:34]Host: 172.17.53.196:8080 [03:45:34]Content-Length: 613 [03:45:34]Content-Type: application/json [03:45:34] [03:45:34]POST finish read [03:45:34]Found Content-Length = 613 [03:45:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34742", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:45:34]execute_script... [03:45:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34742", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:45:34]POST & json_proto [03:45:34]process_json_proto [03:45:34]json parsed OK: [03:45:34]protocol is kg_v1.0 [03:45:34]action value=close_receipt [03:45:34]process_action close_receipt [03:45:34]cmd_close_receipt [03:45:34]MH_GetDate [03:45:34]Write to MH i2c: F0 00 00 F6 14 F9 [03:45:34]Write i2c OK [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: F0 [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: F0 09 00 [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: F0 09 00 F6 14 00 E5 1F 17 67 4F CD 9A 65 9F [03:45:34]GetLastDocTimeStamp 1729561585 [03:45:34]current date 1729568741 [03:45:34]FM_GetShiftState [03:45:34]SAM_PROTO_GetShiftState [03:45:34]wFMCommunicate request_size=4 [03:45:34]MH_SAM_APDU [03:45:34]CAPDU: 80 13 01 00 [03:45:34]Write to MH i2c: E2 08 00 F7 14 80 13 01 00 00 00 00 00 88 [03:45:34]Write i2c OK [03:45:34]MH_I2C_Read... [03:45:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:45:34]Read from MH i2c: E2 [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: E2 0E 00 [03:45:34]MH_I2C_Read... [03:45:34]Read from MH i2c: E2 0E 00 F7 14 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 D9 [03:45:34]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [03:45:34]wFMCommunicate OK [03:45:34]SAM_PROTO_GetShiftState done [03:45:34]FM_GetShiftState done [03:45:34]opened in 1729556951 [03:45:34]opened+sec_in_day 1729643351 [03:45:34]quantity*price = 11900 [03:45:34]sum+1 = 11901 [03:45:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 5 22.10.2024 03:45 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24984 ФПД: 64769852251098 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T034541&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24984&fm=64769852251098&tin=02508201610067®Number=0000000000098147&sum=11900 0 [03:45:35]StoreToDocumentArchive [03:45:35]shift 457 fd 24984 [03:45:35]save to /storage/0457/doc_00024984 [03:45:35]save last doc name /storage/0457/doc_00024984 to /storage/kkm_last_doc_name [03:45:35]save OK [03:45:35]Clear old archive folders... [03:45:35]ProcessDocumentItem done err = 0, tmpTLVsize=266 [03:45:35]tlvbuf is 01155E40 [03:45:35]SAM_PROTO_ClearQueue [03:45:35]wFMCommunicate request_size=4 [03:45:35]MH_SAM_APDU [03:45:35]CAPDU: 80 09 00 00 [03:45:35]Write to MH i2c: E2 08 00 04 15 80 09 00 00 00 00 00 00 8B [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:45:35]Read from MH i2c: E2 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 04 15 00 90 00 8D [03:45:35]RAPDU: 90 00 [03:45:35]wFMCommunicate OK [03:45:35]SAM_PROTO_ClearQueue done [03:45:35]KKMCreateOFDPacket [03:45:35]OFDProtocolAddRootSTLVToBuf [03:45:35]FM_MakeSignedData [03:45:35]FM_MakeSignedData [03:45:35]SAM_PROTO_SignData [03:45:35]wFMCommunicate request_size=4 [03:45:35]MH_SAM_APDU [03:45:35]CAPDU: 80 0D 01 02 [03:45:35]Write to MH i2c: E2 08 00 05 15 80 0D 01 02 00 00 00 00 93 [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:45:35]Read from MH i2c: E2 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 05 15 00 90 00 8E [03:45:35]RAPDU: 90 00 [03:45:35]wFMCommunicate OK [03:45:35]wFMCommunicate request_size=255 [03:45:35]MH_SAM_APDU [03:45:35]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E5 1F 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 [03:45:35]Write to MH i2c: E2 02 01 06 15 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E5 1F 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 00 00 E6 [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:45:35]Read from MH i2c: E2 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 06 15 00 90 00 8F [03:45:35]RAPDU: 90 00 [03:45:35]wFMCommunicate OK [03:45:35]wFMCommunicate request_size=25 [03:45:35]MH_SAM_APDU [03:45:35]CAPDU: 80 0D 02 02 14 37 36 10 04 04 00 98 61 00 00 35 04 06 00 3A E8 68 09 1B DA [03:45:35]Write to MH i2c: E2 1C 00 07 15 80 0D 02 02 14 00 37 36 10 04 04 00 98 61 00 00 35 04 06 00 3A E8 68 09 1B DA 00 00 03 [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:45:35]Read from MH i2c: E2 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 03 00 07 15 00 90 00 90 [03:45:35]RAPDU: 90 00 [03:45:35]wFMCommunicate OK [03:45:35]wFMCommunicate request_size=4 [03:45:35]MH_SAM_APDU [03:45:35]CAPDU: 80 0D 03 02 [03:45:35]Write to MH i2c: E2 08 00 08 15 80 0D 03 02 00 00 00 00 98 [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:45:35]Read from MH i2c: E2 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 0B 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 0B 00 08 15 00 42 0B C9 70 42 50 CC 34 90 00 B1 [03:45:35]RAPDU: 42 0B C9 70 42 50 CC 34 90 00 [03:45:35]wFMCommunicate OK [03:45:35]SAM_PROTO_SignData done [03:45:35]FM_MakeSignedData done [03:45:35]CreateOFDProtocolMessage [03:45:35]wFMCommunicate request_size=4 [03:45:35]MH_SAM_APDU [03:45:35]CAPDU: 80 11 00 00 [03:45:35]Write to MH i2c: E2 08 00 09 15 80 11 00 00 00 00 00 00 98 [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:45:35]Read from MH i2c: E2 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 17 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: E2 17 00 09 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EF [03:45:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [03:45:35]wFMCommunicate OK [03:45:35]CreateOFDProtocolMessage done [03:45:35]OFDSenderStorePacket 24984 [03:45:35]StoreOFDPacket docnum=24984 [03:45:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1E 01 00 00 59 79 16 01 B0 38 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E5 1F 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 98 61 00 00 35 04 06 00 3A E8 68 09 1B DA 42 0B C9 70 42 50 CC 34 [03:45:35]CheckFolder [03:45:35]dirname=/storage/ofd_packets [03:45:35]CheckFolder done [03:45:35]ProducePacketName [03:45:35]name=ofd_packets/00024984 [03:45:35]NVStorageSaveData ofd_packets/00024984 [03:45:35]File name is /storage/ofd_packets/00024984 [03:45:35]Write 316 bytes [03:45:35]NVStorageSaveData done [03:45:35]OFDSenderStorePacket done [03:45:35]KKMCreateOFDPacket done [03:45:35]NVStorageSaveData kkm_last_timestamp [03:45:35]File name is /storage/kkm_last_timestamp [03:45:35]Write 4 bytes [03:45:35]NVStorageSaveData done [03:45:35]ExternCall_PrintAddStr [03:45:35]wPrintStart [03:45:35]Write to MH i2c: 01 00 00 0A 15 1F [03:45:35]Write i2c OK [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: 01 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: 01 07 00 [03:45:35]MH_I2C_Read... [03:45:35]Read from MH i2c: 01 07 00 0A 15 00 00 00 00 00 FF 0F 34 [03:45:35]RasterBufferAndPrint [03:45:35]line Счет N : (3)34742 [03:45:35]line ИНН: 02508201610067 [03:45:35]line Контрольно-Кассовый Чек [03:45:35]line ПРОДАЖА [03:45:35]line Товар: 4870001570071 [03:45:35]line Напиток Pepsi 1л [03:45:35]line 1.000 * 119.00 [03:45:35]line = 119.00 [03:45:35]line НДС 12% НСП 1% [03:45:35]line > о реализуемом товаре [03:45:35]line ИТОГО: 119.00 [03:45:35]line НСП 1% : 1.05 [03:45:35]line НДС 12% : 12.64 [03:45:35]line Наличными: 119.00 [03:45:35]line Безнал.: 0.00 [03:45:35]line Место: АЗС № 161 "Партнер Нефть" [03:45:35]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [03:45:35]line СНО: Общий режим [03:45:35]line Чек 5 22.10.2024 03:45 [03:45:35]line Смена: 457 ФФД: 1.0 [03:45:35]line ЗНМ: 0300000240 [03:45:35]line РНМ: 0000000000098147 [03:45:35]line Версия ККМ: 001 [03:45:35]line ФМ: 0000000000965376 [03:45:35]line ФД: 24984 [03:45:35]line ФПД: 64769852251098 [03:45:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T034541&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24984&fm=64769852251098&tin=02508201610067®Number=0000000000098147&sum=11900 [03:45:36]OFD Sender: Processing packet 24984 [packets to send 5, broken 4] [03:45:36]ProducePacketName [03:45:36]name=ofd_packets/00024984 [03:45:36]OFD Sender: To server: pG, [03:45:36]CommunicateWithHost lk.salyk.kg:30040 [03:45:36]ConnectInit lk.salyk.kg [03:45:36]line 0 [03:45:36]written 0, free lines is 4095 [03:45:36]Connected sock=10 [03:45:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1E 01 00 00 59 79 16 01 B0 38 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E5 1F 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 98 61 00 00 35 04 06 00 3A E8 68 09 1B DA 42 0B C9 70 42 50 CC 34 [03:45:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 85 33 47 00 2B 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 98 61 00 00 F4 03 04 00 60 C8 16 67 B6 04 01 00 00 3C 11 09 AF 51 FA 47 28 [03:45:36]CommunicateWithHost err = 0 [03:45:36]CheckOFDResponse [03:45:36]1017 (14) - 77093643461234 [03:45:36]1041 (16) - 0000000000965376 [03:45:36]1040 (4) - 24984 [03:45:36]1012 (4) - 21.10.2024 21:32 [03:45:36]1206 (1) - 0 [03:45:36]OFD Sender: Remove packet 24984 [03:45:36]ProducePacketName [03:45:36]name=ofd_packets/00024984 [03:45:36]NVStorageDeleteData [03:45:36]Write to MH i2c: 01 00 00 32 15 47 [03:45:36]Write i2c OK [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: 01 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: 01 07 00 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: 01 07 00 32 15 00 00 00 00 00 DC 0C 36 [03:45:36]RasterBufferAndPrint [03:45:36]line [03:45:36]line [03:45:36]line [03:45:36]line [03:45:36]line [03:45:36]written 0, free lines is 3298 [03:45:36]process_action close_receipt done [03:45:36]requested_data is exist [03:45:36]produce_requested_data [03:45:36]requested_item fm.sn is exist - process it [03:45:36]wFMCommunicate request_size=4 [03:45:36]MH_SAM_APDU [03:45:36]CAPDU: 80 11 00 00 [03:45:36]Write to MH i2c: E2 08 00 39 15 80 11 00 00 00 00 00 00 C8 [03:45:36]Write i2c OK [03:45:36]MH_I2C_Read... [03:45:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:45:36]Read from MH i2c: E2 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: E2 17 00 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: E2 17 00 39 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 1F [03:45:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [03:45:36]wFMCommunicate OK [03:45:36]requested_item fd.num is exist - process it [03:45:36]SAM_PROTO_GetFieldsCounters [03:45:36]wFMCommunicate request_size=4 [03:45:36]MH_SAM_APDU [03:45:36]CAPDU: 80 13 00 00 [03:45:36]Write to MH i2c: E2 08 00 3A 15 80 13 00 00 00 00 00 00 CB [03:45:36]Write i2c OK [03:45:36]MH_I2C_Read... [03:45:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:45:36]Read from MH i2c: E2 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: E2 62 00 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: E2 62 00 3A 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 98 61 00 00 0E 04 04 00 C9 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 C6 [03:45:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 98 61 00 00 0E 04 04 00 C9 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 [03:45:36]wFMCommunicate OK [03:45:36]SAM_PROTO_GetFieldsCounters done [03:45:36]requested_item shift.num is exist - process it [03:45:36]requested_item shift.opened is exist - process it [03:45:36]req_shift_opened [03:45:36]FM_GetShiftState [03:45:36]SAM_PROTO_GetShiftState [03:45:36]wFMCommunicate request_size=4 [03:45:36]MH_SAM_APDU [03:45:36]CAPDU: 80 13 01 00 [03:45:36]Write to MH i2c: E2 08 00 3B 15 80 13 01 00 00 00 00 00 CD [03:45:36]Write i2c OK [03:45:36]MH_I2C_Read... [03:45:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:45:36]Read from MH i2c: E2 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: E2 0E 00 [03:45:36]MH_I2C_Read... [03:45:36]Read from MH i2c: E2 0E 00 3B 15 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 1E [03:45:36]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [03:45:36]wFMCommunicate OK [03:45:36]SAM_PROTO_GetShiftState done [03:45:36]FM_GetShiftState done [03:45:36]req_shift_opened done [03:45:36]requested_item shift.open_date is exist - process it [03:45:36]req_shift_open_date [03:45:36]req_shift_open_date done [03:45:36]produce_requested_data done [03:45:36]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24984,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [03:45:36]process_action_free close_receipt [03:45:36]json_value_free [03:45:36]json_value_free done [03:45:36]process_json_proto returns [03:45:36]Send response to host [03:45:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24984,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [03:45:36]free response buf [03:45:36]execute_script done [03:45:36]execute_script returns [03:45:36]free content buf [03:45:36]Sock 7.Close socket [03:45:36]Sock 7.Thread stoped [03:45:36]OFD Sender: No OFD packet to send [03:45:41]OFD Sender: No OFD packet to send [03:45:46]OFD Sender: No OFD packet to send [03:45:51]OFD Sender: No OFD packet to send [03:45:56]OFD Sender: No OFD packet to send [03:46:01]OFD Sender: No OFD packet to send [03:46:06]OFD Sender: No OFD packet to send [03:46:11]OFD Sender: No OFD packet to send [03:46:16]OFD Sender: No OFD packet to send [03:46:21]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:11]recv_with_timeout no data received [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:24]recv_with_timeout no data received [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]recv_with_timeout no data received [03:55:42]OFD Sender: No OFD packet to send [03:55:47]OFD Sender: No OFD packet to send [03:55:52]OFD Sender: No OFD packet to send [03:55:57]OFD Sender: No OFD packet to send [03:56:02]OFD Sender: No OFD packet to send [03:56:07]OFD Sender: No OFD packet to send [03:56:12]OFD Sender: No OFD packet to send [03:56:17]OFD Sender: No OFD packet to send [03:56:22]OFD Sender: No OFD packet to send [03:56:27]OFD Sender: No OFD packet to send [03:56:32]OFD Sender: No OFD packet to send [03:56:37]OFD Sender: No OFD packet to send [03:56:42]OFD Sender: No OFD packet to send [03:56:47]OFD Sender: No OFD packet to send [03:56:52]OFD Sender: No OFD packet to send [03:56:57]OFD Sender: No OFD packet to send [03:57:02]OFD Sender: No OFD packet to send [03:57:07]OFD Sender: No OFD packet to send [03:57:12]OFD Sender: No OFD packet to send [03:57:17]OFD Sender: No OFD packet to send [03:57:22]OFD Sender: No OFD packet to send [03:57:27]OFD Sender: No OFD packet to send [03:57:32]OFD Sender: No OFD packet to send [03:57:37]OFD Sender: No OFD packet to send [03:57:42]OFD Sender: No OFD packet to send [03:57:47]OFD Sender: No OFD packet to send [03:57:52]OFD Sender: No OFD packet to send [03:57:57]OFD Sender: No OFD packet to send [03:58:02]OFD Sender: No OFD packet to send [03:58:07]OFD Sender: No OFD packet to send [03:58:12]OFD Sender: No OFD packet to send [03:58:17]OFD Sender: No OFD packet to send [03:58:22]OFD Sender: No OFD packet to send [03:58:27]OFD Sender: No OFD packet to send [03:58:32]OFD Sender: No OFD packet to send [03:58:37]OFD Sender: No OFD packet to send [03:58:42]OFD Sender: No OFD packet to send [03:58:47]OFD Sender: No OFD packet to send [03:58:52]OFD Sender: No OFD packet to send [03:58:57]OFD Sender: No OFD packet to send [03:59:02]OFD Sender: No OFD packet to send [03:59:07]OFD Sender: No OFD packet to send [03:59:12]OFD Sender: No OFD packet to send [03:59:17]OFD Sender: No OFD packet to send [03:59:22]OFD Sender: No OFD packet to send [03:59:27]OFD Sender: No OFD packet to send [03:59:32]OFD Sender: No OFD packet to send [03:59:37]OFD Sender: No OFD packet to send [03:59:42]OFD Sender: No OFD packet to send [03:59:47]OFD Sender: No OFD packet to send [03:59:52]OFD Sender: No OFD packet to send [03:59:57]OFD Sender: No OFD packet to send [04:00:02]OFD Sender: No OFD packet to send [04:00:07]OFD Sender: No OFD packet to send [04:00:12]OFD Sender: No OFD packet to send [04:00:17]OFD Sender: No OFD packet to send [04:00:22]OFD Sender: No OFD packet to send [04:00:27]OFD Sender: No OFD packet to send [04:00:32]OFD Sender: No OFD packet to send [04:00:37]OFD Sender: No OFD packet to send [04:00:42]OFD Sender: No OFD packet to send [04:00:47]OFD Sender: No OFD packet to send [04:00:52]OFD Sender: No OFD packet to send [04:00:57]OFD Sender: No OFD packet to send [04:01:02]OFD Sender: No OFD packet to send [04:01:07]OFD Sender: No OFD packet to send [04:01:12]OFD Sender: No OFD packet to send [04:01:17]OFD Sender: No OFD packet to send [04:01:22]OFD Sender: No OFD packet to send [04:01:27]OFD Sender: No OFD packet to send [04:01:32]OFD Sender: No OFD packet to send [04:01:37]OFD Sender: No OFD packet to send [04:01:42]OFD Sender: No OFD packet to send [04:01:47]OFD Sender: No OFD packet to send [04:01:52]OFD Sender: No OFD packet to send [04:01:57]OFD Sender: No OFD packet to send [04:02:02]OFD Sender: No OFD packet to send [04:02:07]OFD Sender: No OFD packet to send [04:02:12]OFD Sender: No OFD packet to send [04:02:17]OFD Sender: No OFD packet to send [04:02:22]OFD Sender: No OFD packet to send [04:02:27]OFD Sender: No OFD packet to send [04:02:32]OFD Sender: No OFD packet to send [04:02:37]OFD Sender: No OFD packet to send [04:02:42]OFD Sender: No OFD packet to send [04:02:47]OFD Sender: No OFD packet to send [04:02:52]OFD Sender: No OFD packet to send [04:02:57]OFD Sender: No OFD packet to send [04:03:02]OFD Sender: No OFD packet to send [04:03:07]OFD Sender: No OFD packet to send [04:03:12]OFD Sender: No OFD packet to send [04:03:17]OFD Sender: No OFD packet to send [04:03:22]OFD Sender: No OFD packet to send [04:03:27]OFD Sender: No OFD packet to send [04:03:32]OFD Sender: No OFD packet to send [04:03:37]OFD Sender: No OFD packet to send [04:03:42]OFD Sender: No OFD packet to send [04:03:47]OFD Sender: No OFD packet to send [04:03:52]OFD Sender: No OFD packet to send [04:03:57]OFD Sender: No OFD packet to send [04:04:02]OFD Sender: No OFD packet to send [04:04:07]OFD Sender: No OFD packet to send [04:04:12]OFD Sender: No OFD packet to send [04:04:17]OFD Sender: No OFD packet to send [04:04:22]OFD Sender: No OFD packet to send [04:04:27]OFD Sender: No OFD packet to send [04:04:32]OFD Sender: No OFD packet to send [04:04:37]OFD Sender: No OFD packet to send [04:04:42]OFD Sender: No OFD packet to send [04:04:47]OFD Sender: No OFD packet to send [04:04:52]OFD Sender: No OFD packet to send [04:04:57]OFD Sender: No OFD packet to send [04:05:02]OFD Sender: No OFD packet to send [04:05:07]OFD Sender: No OFD packet to send [04:05:10]recv_with_timeout no data received [04:05:12]OFD Sender: No OFD packet to send [04:05:17]OFD Sender: No OFD packet to send [04:05:22]OFD Sender: No OFD packet to send [04:05:25]recv_with_timeout no data received [04:05:27]OFD Sender: No OFD packet to send [04:05:32]OFD Sender: No OFD packet to send [04:05:37]OFD Sender: No OFD packet to send [04:05:42]OFD Sender: No OFD packet to send [04:05:47]OFD Sender: No OFD packet to send [04:05:52]OFD Sender: No OFD packet to send [04:05:53]recv_with_timeout no data received [04:05:57]OFD Sender: No OFD packet to send [04:06:02]OFD Sender: No OFD packet to send [04:06:07]OFD Sender: No OFD packet to send [04:06:12]OFD Sender: No OFD packet to send [04:06:17]OFD Sender: No OFD packet to send [04:06:22]OFD Sender: No OFD packet to send [04:06:27]OFD Sender: No OFD packet to send [04:06:32]OFD Sender: No OFD packet to send [04:06:37]OFD Sender: No OFD packet to send [04:06:42]OFD Sender: No OFD packet to send [04:06:47]OFD Sender: No OFD packet to send [04:06:52]OFD Sender: No OFD packet to send [04:06:57]OFD Sender: No OFD packet to send [04:07:02]OFD Sender: No OFD packet to send [04:07:07]OFD Sender: No OFD packet to send [04:07:12]OFD Sender: No OFD packet to send [04:07:17]OFD Sender: No OFD packet to send [04:07:22]OFD Sender: No OFD packet to send [04:07:27]OFD Sender: No OFD packet to send [04:07:32]OFD Sender: No OFD packet to send [04:07:37]OFD Sender: No OFD packet to send [04:07:42]OFD Sender: No OFD packet to send [04:07:47]OFD Sender: No OFD packet to send [04:07:52]OFD Sender: No OFD packet to send [04:07:57]OFD Sender: No OFD packet to send [04:08:03]OFD Sender: No OFD packet to send [04:08:08]OFD Sender: No OFD packet to send [04:08:13]OFD Sender: No OFD packet to send [04:08:18]OFD Sender: No OFD packet to send [04:08:23]OFD Sender: No OFD packet to send [04:08:28]OFD Sender: No OFD packet to send [04:08:33]OFD Sender: No OFD packet to send [04:08:38]OFD Sender: No OFD packet to send [04:08:43]OFD Sender: No OFD packet to send [04:08:48]OFD Sender: No OFD packet to send [04:08:53]OFD Sender: No OFD packet to send [04:08:58]OFD Sender: No OFD packet to send [04:09:03]OFD Sender: No OFD packet to send [04:09:08]OFD Sender: No OFD packet to send [04:09:13]OFD Sender: No OFD packet to send [04:09:18]OFD Sender: No OFD packet to send [04:09:23]OFD Sender: No OFD packet to send [04:09:28]OFD Sender: No OFD packet to send [04:09:33]OFD Sender: No OFD packet to send [04:09:38]OFD Sender: No OFD packet to send [04:09:43]OFD Sender: No OFD packet to send [04:09:48]OFD Sender: No OFD packet to send [04:09:53]OFD Sender: No OFD packet to send [04:09:58]OFD Sender: No OFD packet to send [04:10:03]OFD Sender: No OFD packet to send [04:10:08]OFD Sender: No OFD packet to send [04:10:13]OFD Sender: No OFD packet to send [04:10:18]OFD Sender: No OFD packet to send [04:10:23]OFD Sender: No OFD packet to send [04:10:28]OFD Sender: No OFD packet to send [04:10:33]OFD Sender: No OFD packet to send [04:10:38]OFD Sender: No OFD packet to send [04:10:43]OFD Sender: No OFD packet to send [04:10:48]OFD Sender: No OFD packet to send [04:10:53]OFD Sender: No OFD packet to send [04:10:58]OFD Sender: No OFD packet to send [04:11:03]OFD Sender: No OFD packet to send [04:11:08]OFD Sender: No OFD packet to send [04:11:13]OFD Sender: No OFD packet to send [04:11:18]OFD Sender: No OFD packet to send [04:11:23]OFD Sender: No OFD packet to send [04:11:28]OFD Sender: No OFD packet to send [04:11:33]OFD Sender: No OFD packet to send [04:11:38]OFD Sender: No OFD packet to send [04:11:43]OFD Sender: No OFD packet to send [04:11:48]OFD Sender: No OFD packet to send [04:11:53]OFD Sender: No OFD packet to send [04:11:58]OFD Sender: No OFD packet to send [04:12:03]OFD Sender: No OFD packet to send [04:12:08]OFD Sender: No OFD packet to send [04:12:13]OFD Sender: No OFD packet to send [04:12:18]OFD Sender: No OFD packet to send [04:12:23]OFD Sender: No OFD packet to send [04:12:28]OFD Sender: No OFD packet to send [04:12:33]OFD Sender: No OFD packet to send [04:12:38]OFD Sender: No OFD packet to send [04:12:43]OFD Sender: No OFD packet to send [04:12:48]OFD Sender: No OFD packet to send [04:12:53]OFD Sender: No OFD packet to send [04:12:58]OFD Sender: No OFD packet to send [04:13:03]OFD Sender: No OFD packet to send [04:13:08]OFD Sender: No OFD packet to send [04:13:13]OFD Sender: No OFD packet to send [04:13:18]OFD Sender: No OFD packet to send [04:13:23]OFD Sender: No OFD packet to send [04:13:28]OFD Sender: No OFD packet to send [04:13:33]OFD Sender: No OFD packet to send [04:13:38]OFD Sender: No OFD packet to send [04:13:43]OFD Sender: No OFD packet to send [04:13:48]OFD Sender: No OFD packet to send [04:13:53]OFD Sender: No OFD packet to send [04:13:58]OFD Sender: No OFD packet to send [04:14:03]OFD Sender: No OFD packet to send [04:14:08]OFD Sender: No OFD packet to send [04:14:13]OFD Sender: No OFD packet to send [04:14:18]OFD Sender: No OFD packet to send [04:14:23]OFD Sender: No OFD packet to send [04:14:28]OFD Sender: No OFD packet to send [04:14:33]OFD Sender: No OFD packet to send [04:14:38]OFD Sender: No OFD packet to send [04:14:43]OFD Sender: No OFD packet to send [04:14:48]OFD Sender: No OFD packet to send [04:14:53]OFD Sender: No OFD packet to send [04:14:58]OFD Sender: No OFD packet to send [04:15:03]OFD Sender: No OFD packet to send [04:15:08]OFD Sender: No OFD packet to send [04:15:13]OFD Sender: No OFD packet to send [04:15:18]OFD Sender: No OFD packet to send [04:15:23]OFD Sender: No OFD packet to send [04:15:28]OFD Sender: No OFD packet to send [04:15:33]OFD Sender: No OFD packet to send [04:15:38]OFD Sender: No OFD packet to send [04:15:43]OFD Sender: No OFD packet to send [04:15:48]OFD Sender: No OFD packet to send [04:15:53]OFD Sender: No OFD packet to send [04:15:58]OFD Sender: No OFD packet to send [04:16:03]OFD Sender: No OFD packet to send [04:16:08]OFD Sender: No OFD packet to send [04:16:13]OFD Sender: No OFD packet to send [04:16:18]OFD Sender: No OFD packet to send [04:16:23]OFD Sender: No OFD packet to send [04:16:28]OFD Sender: No OFD packet to send [04:16:33]OFD Sender: No OFD packet to send [04:16:38]OFD Sender: No OFD packet to send [04:16:43]OFD Sender: No OFD packet to send [04:16:48]OFD Sender: No OFD packet to send [04:16:53]OFD Sender: No OFD packet to send [04:16:58]OFD Sender: No OFD packet to send [04:17:03]OFD Sender: No OFD packet to send [04:17:08]OFD Sender: No OFD packet to send [04:17:13]OFD Sender: No OFD packet to send [04:17:18]OFD Sender: No OFD packet to send [04:17:23]OFD Sender: No OFD packet to send [04:17:28]OFD Sender: No OFD packet to send [04:17:33]OFD Sender: No OFD packet to send [04:17:38]OFD Sender: No OFD packet to send [04:17:43]OFD Sender: No OFD packet to send [04:17:48]OFD Sender: No OFD packet to send [04:17:53]OFD Sender: No OFD packet to send [04:17:58]OFD Sender: No OFD packet to send [04:18:03]OFD Sender: No OFD packet to send [04:18:08]OFD Sender: No OFD packet to send [04:18:13]OFD Sender: No OFD packet to send [04:18:18]OFD Sender: No OFD packet to send [04:18:23]OFD Sender: No OFD packet to send [04:18:28]OFD Sender: No OFD packet to send [04:18:33]OFD Sender: No OFD packet to send [04:18:38]OFD Sender: No OFD packet to send [04:18:43]OFD Sender: No OFD packet to send [04:18:48]OFD Sender: No OFD packet to send [04:18:53]OFD Sender: No OFD packet to send [04:18:58]OFD Sender: No OFD packet to send [04:19:03]OFD Sender: No OFD packet to send [04:19:08]OFD Sender: No OFD packet to send [04:19:13]OFD Sender: No OFD packet to send [04:19:18]OFD Sender: No OFD packet to send [04:19:23]OFD Sender: No OFD packet to send [04:19:28]OFD Sender: No OFD packet to send [04:19:33]OFD Sender: No OFD packet to send [04:19:38]OFD Sender: No OFD packet to send [04:19:43]OFD Sender: No OFD packet to send [04:19:48]OFD Sender: No OFD packet to send [04:19:53]OFD Sender: No OFD packet to send [04:19:58]OFD Sender: No OFD packet to send [04:20:03]OFD Sender: No OFD packet to send [04:20:08]OFD Sender: No OFD packet to send [04:20:13]OFD Sender: No OFD packet to send [04:20:18]OFD Sender: No OFD packet to send [04:20:23]OFD Sender: No OFD packet to send [04:20:28]OFD Sender: No OFD packet to send [04:20:33]OFD Sender: No OFD packet to send [04:20:38]OFD Sender: No OFD packet to send [04:20:43]OFD Sender: No OFD packet to send [04:20:48]OFD Sender: No OFD packet to send [04:20:53]OFD Sender: No OFD packet to send [04:20:58]OFD Sender: No OFD packet to send [04:21:03]OFD Sender: No OFD packet to send [04:21:08]OFD Sender: No OFD packet to send [04:21:13]OFD Sender: No OFD packet to send [04:21:18]OFD Sender: No OFD packet to send [04:21:23]OFD Sender: No OFD packet to send [04:21:28]OFD Sender: No OFD packet to send [04:21:33]OFD Sender: No OFD packet to send [04:21:38]OFD Sender: No OFD packet to send [04:21:43]OFD Sender: No OFD packet to send [04:21:48]OFD Sender: No OFD packet to send [04:21:53]OFD Sender: No OFD packet to send [04:21:58]OFD Sender: No OFD packet to send [04:22:03]OFD Sender: No OFD packet to send [04:22:08]OFD Sender: No OFD packet to send [04:22:13]OFD Sender: No OFD packet to send [04:22:18]OFD Sender: No OFD packet to send [04:22:23]OFD Sender: No OFD packet to send [04:22:28]OFD Sender: No OFD packet to send [04:22:33]OFD Sender: No OFD packet to send [04:22:38]OFD Sender: No OFD packet to send [04:22:43]OFD Sender: No OFD packet to send [04:22:48]OFD Sender: No OFD packet to send [04:22:53]OFD Sender: No OFD packet to send [04:22:58]OFD Sender: No OFD packet to send [04:23:03]OFD Sender: No OFD packet to send [04:23:08]OFD Sender: No OFD packet to send [04:23:13]OFD Sender: No OFD packet to send [04:23:18]OFD Sender: No OFD packet to send [04:23:23]OFD Sender: No OFD packet to send [04:23:28]OFD Sender: No OFD packet to send [04:23:33]OFD Sender: No OFD packet to send [04:23:38]OFD Sender: No OFD packet to send [04:23:43]OFD Sender: No OFD packet to send [04:23:48]OFD Sender: No OFD packet to send [04:23:53]OFD Sender: No OFD packet to send [04:23:58]OFD Sender: No OFD packet to send [04:24:03]OFD Sender: No OFD packet to send [04:24:08]OFD Sender: No OFD packet to send [04:24:13]OFD Sender: No OFD packet to send [04:24:18]OFD Sender: No OFD packet to send [04:24:23]OFD Sender: No OFD packet to send [04:24:28]OFD Sender: No OFD packet to send [04:24:33]OFD Sender: No OFD packet to send [04:24:38]OFD Sender: No OFD packet to send [04:24:43]OFD Sender: No OFD packet to send [04:24:48]OFD Sender: No OFD packet to send [04:24:53]OFD Sender: No OFD packet to send [04:24:58]OFD Sender: No OFD packet to send [04:25:03]OFD Sender: No OFD packet to send [04:25:08]OFD Sender: No OFD packet to send [04:25:13]OFD Sender: No OFD packet to send [04:25:18]OFD Sender: No OFD packet to send [04:25:23]OFD Sender: No OFD packet to send [04:25:28]OFD Sender: No OFD packet to send [04:25:33]OFD Sender: No OFD packet to send [04:25:38]OFD Sender: No OFD packet to send [04:25:40]recv_with_timeout no data received [04:25:43]OFD Sender: No OFD packet to send [04:25:48]OFD Sender: No OFD packet to send [04:25:53]OFD Sender: No OFD packet to send [04:25:58]recv_with_timeout no data received [04:25:58]OFD Sender: No OFD packet to send [04:26:03]OFD Sender: No OFD packet to send [04:26:08]OFD Sender: No OFD packet to send [04:26:13]OFD Sender: No OFD packet to send [04:26:18]OFD Sender: No OFD packet to send [04:26:19]recv_with_timeout no data received [04:26:23]OFD Sender: No OFD packet to send [04:26:28]OFD Sender: No OFD packet to send [04:26:33]OFD Sender: No OFD packet to send [04:26:38]OFD Sender: No OFD packet to send [04:26:43]OFD Sender: No OFD packet to send [04:26:48]OFD Sender: No OFD packet to send [04:26:53]OFD Sender: No OFD packet to send [04:26:58]OFD Sender: No OFD packet to send [04:27:03]OFD Sender: No OFD packet to send [04:27:08]OFD Sender: No OFD packet to send [04:27:13]OFD Sender: No OFD packet to send [04:27:18]OFD Sender: No OFD packet to send [04:27:23]OFD Sender: No OFD packet to send [04:27:28]OFD Sender: No OFD packet to send [04:27:33]OFD Sender: No OFD packet to send [04:27:38]OFD Sender: No OFD packet to send [04:27:43]OFD Sender: No OFD packet to send [04:27:48]OFD Sender: No OFD packet to send [04:27:53]OFD Sender: No OFD packet to send [04:27:58]OFD Sender: No OFD packet to send [04:28:03]OFD Sender: No OFD packet to send [04:28:08]OFD Sender: No OFD packet to send [04:28:13]OFD Sender: No OFD packet to send [04:28:18]OFD Sender: No OFD packet to send [04:28:23]OFD Sender: No OFD packet to send [04:28:28]OFD Sender: No OFD packet to send [04:28:33]OFD Sender: No OFD packet to send [04:28:38]OFD Sender: No OFD packet to send [04:28:43]OFD Sender: No OFD packet to send [04:28:48]OFD Sender: No OFD packet to send [04:28:53]OFD Sender: No OFD packet to send [04:28:58]OFD Sender: No OFD packet to send [04:29:03]OFD Sender: No OFD packet to send [04:29:08]OFD Sender: No OFD packet to send [04:29:13]OFD Sender: No OFD packet to send [04:29:19]OFD Sender: No OFD packet to send [04:29:24]OFD Sender: No OFD packet to send [04:29:29]OFD Sender: No OFD packet to send [04:29:34]OFD Sender: No OFD packet to send [04:29:39]OFD Sender: No OFD packet to send [04:29:44]OFD Sender: No OFD packet to send [04:29:49]OFD Sender: No OFD packet to send [04:29:54]OFD Sender: No OFD packet to send [04:29:59]OFD Sender: No OFD packet to send [04:30:04]OFD Sender: No OFD packet to send [04:30:09]OFD Sender: No OFD packet to send [04:30:14]OFD Sender: No OFD packet to send [04:30:19]OFD Sender: No OFD packet to send [04:30:24]OFD Sender: No OFD packet to send [04:30:29]OFD Sender: No OFD packet to send [04:30:34]OFD Sender: No OFD packet to send [04:30:39]OFD Sender: No OFD packet to send [04:30:44]OFD Sender: No OFD packet to send [04:30:49]OFD Sender: No OFD packet to send [04:30:54]OFD Sender: No OFD packet to send [04:30:59]OFD Sender: No OFD packet to send [04:31:04]OFD Sender: No OFD packet to send [04:31:09]OFD Sender: No OFD packet to send [04:31:14]OFD Sender: No OFD packet to send [04:31:19]OFD Sender: No OFD packet to send [04:31:24]OFD Sender: No OFD packet to send [04:31:29]OFD Sender: No OFD packet to send [04:31:34]OFD Sender: No OFD packet to send [04:31:39]OFD Sender: No OFD packet to send [04:31:44]OFD Sender: No OFD packet to send [04:31:49]OFD Sender: No OFD packet to send [04:31:54]OFD Sender: No OFD packet to send [04:31:59]OFD Sender: No OFD packet to send [04:32:04]OFD Sender: No OFD packet to send [04:32:09]OFD Sender: No OFD packet to send [04:32:14]OFD Sender: No OFD packet to send [04:32:19]OFD Sender: No OFD packet to send [04:32:24]OFD Sender: No OFD packet to send [04:32:29]OFD Sender: No OFD packet to send [04:32:34]OFD Sender: No OFD packet to send [04:32:39]OFD Sender: No OFD packet to send [04:32:44]OFD Sender: No OFD packet to send [04:32:49]OFD Sender: No OFD packet to send [04:32:54]OFD Sender: No OFD packet to send [04:32:59]OFD Sender: No OFD packet to send [04:33:04]OFD Sender: No OFD packet to send [04:33:09]OFD Sender: No OFD packet to send [04:33:14]OFD Sender: No OFD packet to send [04:33:19]OFD Sender: No OFD packet to send [04:33:24]OFD Sender: No OFD packet to send [04:33:29]OFD Sender: No OFD packet to send [04:33:34]OFD Sender: No OFD packet to send [04:33:39]OFD Sender: No OFD packet to send [04:33:44]OFD Sender: No OFD packet to send [04:33:49]OFD Sender: No OFD packet to send [04:33:54]OFD Sender: No OFD packet to send [04:33:59]OFD Sender: No OFD packet to send [04:34:04]OFD Sender: No OFD packet to send [04:34:09]OFD Sender: No OFD packet to send [04:34:14]OFD Sender: No OFD packet to send [04:34:19]OFD Sender: No OFD packet to send [04:34:24]OFD Sender: No OFD packet to send [04:34:29]OFD Sender: No OFD packet to send [04:34:34]OFD Sender: No OFD packet to send [04:34:39]OFD Sender: No OFD packet to send [04:34:44]OFD Sender: No OFD packet to send [04:34:49]OFD Sender: No OFD packet to send [04:34:54]OFD Sender: No OFD packet to send [04:34:59]OFD Sender: No OFD packet to send [04:35:04]OFD Sender: No OFD packet to send [04:35:09]OFD Sender: No OFD packet to send [04:35:14]OFD Sender: No OFD packet to send [04:35:19]OFD Sender: No OFD packet to send [04:35:24]OFD Sender: No OFD packet to send [04:35:29]OFD Sender: No OFD packet to send [04:35:34]OFD Sender: No OFD packet to send [04:35:39]OFD Sender: No OFD packet to send [04:35:44]OFD Sender: No OFD packet to send [04:35:49]OFD Sender: No OFD packet to send [04:35:54]OFD Sender: No OFD packet to send [04:35:59]OFD Sender: No OFD packet to send [04:36:04]OFD Sender: No OFD packet to send [04:36:09]OFD Sender: No OFD packet to send [04:36:14]OFD Sender: No OFD packet to send [04:36:19]OFD Sender: No OFD packet to send [04:36:24]OFD Sender: No OFD packet to send [04:36:29]OFD Sender: No OFD packet to send [04:36:34]OFD Sender: No OFD packet to send [04:36:39]OFD Sender: No OFD packet to send [04:36:44]OFD Sender: No OFD packet to send [04:36:49]OFD Sender: No OFD packet to send [04:36:54]OFD Sender: No OFD packet to send [04:36:59]OFD Sender: No OFD packet to send [04:37:04]OFD Sender: No OFD packet to send [04:37:09]OFD Sender: No OFD packet to send [04:37:14]OFD Sender: No OFD packet to send [04:37:19]OFD Sender: No OFD packet to send [04:37:24]OFD Sender: No OFD packet to send [04:37:29]OFD Sender: No OFD packet to send [04:37:34]OFD Sender: No OFD packet to send [04:37:39]OFD Sender: No OFD packet to send [04:37:44]OFD Sender: No OFD packet to send [04:37:49]OFD Sender: No OFD packet to send [04:37:54]OFD Sender: No OFD packet to send [04:37:59]OFD Sender: No OFD packet to send [04:38:04]OFD Sender: No OFD packet to send [04:38:09]OFD Sender: No OFD packet to send [04:38:14]OFD Sender: No OFD packet to send [04:38:19]OFD Sender: No OFD packet to send [04:38:24]OFD Sender: No OFD packet to send [04:38:29]OFD Sender: No OFD packet to send [04:38:34]OFD Sender: No OFD packet to send [04:38:39]OFD Sender: No OFD packet to send [04:38:44]OFD Sender: No OFD packet to send [04:38:49]OFD Sender: No OFD packet to send [04:38:54]OFD Sender: No OFD packet to send [04:38:59]OFD Sender: No OFD packet to send [04:39:04]OFD Sender: No OFD packet to send [04:39:09]OFD Sender: No OFD packet to send [04:39:14]OFD Sender: No OFD packet to send [04:39:19]OFD Sender: No OFD packet to send [04:39:24]OFD Sender: No OFD packet to send [04:39:29]OFD Sender: No OFD packet to send [04:39:34]OFD Sender: No OFD packet to send [04:39:39]OFD Sender: No OFD packet to send [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]OFD Sender: No OFD packet to send [04:40:09]OFD Sender: No OFD packet to send [04:40:14]OFD Sender: No OFD packet to send [04:40:19]OFD Sender: No OFD packet to send [04:40:24]OFD Sender: No OFD packet to send [04:40:29]OFD Sender: No OFD packet to send [04:40:34]OFD Sender: No OFD packet to send [04:40:39]OFD Sender: No OFD packet to send [04:40:44]OFD Sender: No OFD packet to send [04:40:49]OFD Sender: No OFD packet to send [04:40:54]OFD Sender: No OFD packet to send [04:40:59]OFD Sender: No OFD packet to send [04:41:04]OFD Sender: No OFD packet to send [04:41:09]OFD Sender: No OFD packet to send [04:41:14]OFD Sender: No OFD packet to send [04:41:19]OFD Sender: No OFD packet to send [04:41:24]OFD Sender: No OFD packet to send [04:41:29]OFD Sender: No OFD packet to send [04:41:34]OFD Sender: No OFD packet to send [04:41:39]OFD Sender: No OFD packet to send [04:41:44]OFD Sender: No OFD packet to send [04:41:49]OFD Sender: No OFD packet to send [04:41:54]OFD Sender: No OFD packet to send [04:41:59]OFD Sender: No OFD packet to send [04:42:04]OFD Sender: No OFD packet to send [04:42:09]OFD Sender: No OFD packet to send [04:42:14]OFD Sender: No OFD packet to send [04:42:19]OFD Sender: No OFD packet to send [04:42:24]OFD Sender: No OFD packet to send [04:42:29]OFD Sender: No OFD packet to send [04:42:34]OFD Sender: No OFD packet to send [04:42:39]OFD Sender: No OFD packet to send [04:42:44]OFD Sender: No OFD packet to send [04:42:49]OFD Sender: No OFD packet to send [04:42:54]OFD Sender: No OFD packet to send [04:42:59]OFD Sender: No OFD packet to send [04:43:04]OFD Sender: No OFD packet to send [04:43:09]OFD Sender: No OFD packet to send [04:43:14]OFD Sender: No OFD packet to send [04:43:19]OFD Sender: No OFD packet to send [04:43:24]OFD Sender: No OFD packet to send [04:43:29]OFD Sender: No OFD packet to send [04:43:34]OFD Sender: No OFD packet to send [04:43:39]OFD Sender: No OFD packet to send [04:43:44]OFD Sender: No OFD packet to send [04:43:49]OFD Sender: No OFD packet to send [04:43:54]OFD Sender: No OFD packet to send [04:43:59]OFD Sender: No OFD packet to send [04:44:04]OFD Sender: No OFD packet to send [04:44:09]OFD Sender: No OFD packet to send [04:44:14]OFD Sender: No OFD packet to send [04:44:19]OFD Sender: No OFD packet to send [04:44:24]OFD Sender: No OFD packet to send [04:44:29]OFD Sender: No OFD packet to send [04:44:34]OFD Sender: No OFD packet to send [04:44:39]OFD Sender: No OFD packet to send [04:44:44]OFD Sender: No OFD packet to send [04:44:49]OFD Sender: No OFD packet to send [04:44:54]OFD Sender: No OFD packet to send [04:44:59]OFD Sender: No OFD packet to send [04:45:04]OFD Sender: No OFD packet to send [04:45:09]OFD Sender: No OFD packet to send [04:45:14]OFD Sender: No OFD packet to send [04:45:19]OFD Sender: No OFD packet to send [04:45:24]OFD Sender: No OFD packet to send [04:45:29]OFD Sender: No OFD packet to send [04:45:34]OFD Sender: No OFD packet to send [04:45:39]OFD Sender: No OFD packet to send [04:45:43]recv_with_timeout no data received [04:45:44]OFD Sender: No OFD packet to send [04:45:49]OFD Sender: No OFD packet to send [04:45:54]OFD Sender: No OFD packet to send [04:45:59]OFD Sender: No OFD packet to send [04:46:00]recv_with_timeout no data received [04:46:04]OFD Sender: No OFD packet to send [04:46:09]OFD Sender: No OFD packet to send [04:46:14]OFD Sender: No OFD packet to send [04:46:16]recv_with_timeout no data received [04:46:19]OFD Sender: No OFD packet to send [04:46:24]OFD Sender: No OFD packet to send [04:46:29]OFD Sender: No OFD packet to send [04:46:34]OFD Sender: No OFD packet to send [04:46:39]OFD Sender: No OFD packet to send [04:46:44]OFD Sender: No OFD packet to send [04:46:49]OFD Sender: No OFD packet to send [04:46:54]OFD Sender: No OFD packet to send [04:46:59]OFD Sender: No OFD packet to send [04:47:04]OFD Sender: No OFD packet to send [04:47:09]OFD Sender: No OFD packet to send [04:47:14]OFD Sender: No OFD packet to send [04:47:19]OFD Sender: No OFD packet to send [04:47:24]OFD Sender: No OFD packet to send [04:47:29]OFD Sender: No OFD packet to send [04:47:34]OFD Sender: No OFD packet to send [04:47:39]OFD Sender: No OFD packet to send [04:47:44]OFD Sender: No OFD packet to send [04:47:49]OFD Sender: No OFD packet to send [04:47:54]OFD Sender: No OFD packet to send [04:47:59]OFD Sender: No OFD packet to send [04:48:04]OFD Sender: No OFD packet to send [04:48:09]OFD Sender: No OFD packet to send [04:48:14]OFD Sender: No OFD packet to send [04:48:19]OFD Sender: No OFD packet to send [04:48:24]OFD Sender: No OFD packet to send [04:48:29]OFD Sender: No OFD packet to send [04:48:34]OFD Sender: No OFD packet to send [04:48:39]OFD Sender: No OFD packet to send [04:48:44]OFD Sender: No OFD packet to send [04:48:49]OFD Sender: No OFD packet to send [04:48:54]OFD Sender: No OFD packet to send [04:48:59]OFD Sender: No OFD packet to send [04:49:04]OFD Sender: No OFD packet to send [04:49:09]OFD Sender: No OFD packet to send [04:49:14]OFD Sender: No OFD packet to send [04:49:19]OFD Sender: No OFD packet to send [04:49:24]OFD Sender: No OFD packet to send [04:49:29]OFD Sender: No OFD packet to send [04:49:34]OFD Sender: No OFD packet to send [04:49:39]OFD Sender: No OFD packet to send [04:49:44]OFD Sender: No OFD packet to send [04:49:49]OFD Sender: No OFD packet to send [04:49:54]OFD Sender: No OFD packet to send [04:49:59]OFD Sender: No OFD packet to send [04:50:04]OFD Sender: No OFD packet to send [04:50:09]OFD Sender: No OFD packet to send [04:50:14]OFD Sender: No OFD packet to send [04:50:19]OFD Sender: No OFD packet to send [04:50:24]OFD Sender: No OFD packet to send [04:50:29]OFD Sender: No OFD packet to send [04:50:34]OFD Sender: No OFD packet to send [04:50:39]OFD Sender: No OFD packet to send [04:50:44]OFD Sender: No OFD packet to send [04:50:49]OFD Sender: No OFD packet to send [04:50:55]OFD Sender: No OFD packet to send [04:51:00]OFD Sender: No OFD packet to send [04:51:05]OFD Sender: No OFD packet to send [04:51:10]OFD Sender: No OFD packet to send [04:51:15]OFD Sender: No OFD packet to send [04:51:20]OFD Sender: No OFD packet to send [04:51:25]OFD Sender: No OFD packet to send [04:51:30]OFD Sender: No OFD packet to send [04:51:35]OFD Sender: No OFD packet to send [04:51:40]OFD Sender: No OFD packet to send [04:51:45]OFD Sender: No OFD packet to send [04:51:50]OFD Sender: No OFD packet to send [04:51:55]OFD Sender: No OFD packet to send [04:52:00]OFD Sender: No OFD packet to send [04:52:05]OFD Sender: No OFD packet to send [04:52:10]OFD Sender: No OFD packet to send [04:52:15]OFD Sender: No OFD packet to send [04:52:20]OFD Sender: No OFD packet to send [04:52:25]OFD Sender: No OFD packet to send [04:52:30]OFD Sender: No OFD packet to send [04:52:35]OFD Sender: No OFD packet to send [04:52:40]OFD Sender: No OFD packet to send [04:52:45]OFD Sender: No OFD packet to send [04:52:50]OFD Sender: No OFD packet to send [04:52:55]OFD Sender: No OFD packet to send [04:53:00]OFD Sender: No OFD packet to send [04:53:05]OFD Sender: No OFD packet to send [04:53:10]OFD Sender: No OFD packet to send [04:53:15]OFD Sender: No OFD packet to send [04:53:20]OFD Sender: No OFD packet to send [04:53:25]OFD Sender: No OFD packet to send [04:53:30]OFD Sender: No OFD packet to send [04:53:35]OFD Sender: No OFD packet to send [04:53:40]OFD Sender: No OFD packet to send [04:53:45]OFD Sender: No OFD packet to send [04:53:50]OFD Sender: No OFD packet to send [04:53:55]OFD Sender: No OFD packet to send [04:54:00]OFD Sender: No OFD packet to send [04:54:05]OFD Sender: No OFD packet to send [04:54:10]OFD Sender: No OFD packet to send [04:54:15]OFD Sender: No OFD packet to send [04:54:20]OFD Sender: No OFD packet to send [04:54:25]OFD Sender: No OFD packet to send [04:54:30]OFD Sender: No OFD packet to send [04:54:35]OFD Sender: No OFD packet to send [04:54:40]OFD Sender: No OFD packet to send [04:54:45]OFD Sender: No OFD packet to send [04:54:50]OFD Sender: No OFD packet to send [04:54:55]OFD Sender: No OFD packet to send [04:55:00]OFD Sender: No OFD packet to send [04:55:05]OFD Sender: No OFD packet to send [04:55:10]OFD Sender: No OFD packet to send [04:55:15]OFD Sender: No OFD packet to send [04:55:20]OFD Sender: No OFD packet to send [04:55:25]OFD Sender: No OFD packet to send [04:55:30]OFD Sender: No OFD packet to send [04:55:35]OFD Sender: No OFD packet to send [04:55:40]OFD Sender: No OFD packet to send [04:55:45]OFD Sender: No OFD packet to send [04:55:50]OFD Sender: No OFD packet to send [04:55:55]OFD Sender: No OFD packet to send [04:56:00]OFD Sender: No OFD packet to send [04:56:05]OFD Sender: No OFD packet to send [04:56:10]OFD Sender: No OFD packet to send [04:56:15]OFD Sender: No OFD packet to send [04:56:20]OFD Sender: No OFD packet to send [04:56:25]OFD Sender: No OFD packet to send [04:56:30]OFD Sender: No OFD packet to send [04:56:35]OFD Sender: No OFD packet to send [04:56:40]OFD Sender: No OFD packet to send [04:56:45]OFD Sender: No OFD packet to send [04:56:50]OFD Sender: No OFD packet to send [04:56:55]OFD Sender: No OFD packet to send [04:57:00]OFD Sender: No OFD packet to send [04:57:05]OFD Sender: No OFD packet to send [04:57:10]OFD Sender: No OFD packet to send [04:57:15]OFD Sender: No OFD packet to send [04:57:20]OFD Sender: No OFD packet to send [04:57:25]OFD Sender: No OFD packet to send [04:57:30]OFD Sender: No OFD packet to send [04:57:35]OFD Sender: No OFD packet to send [04:57:40]OFD Sender: No OFD packet to send [04:57:45]OFD Sender: No OFD packet to send [04:57:50]OFD Sender: No OFD packet to send [04:57:55]OFD Sender: No OFD packet to send [04:58:00]OFD Sender: No OFD packet to send [04:58:05]OFD Sender: No OFD packet to send [04:58:10]OFD Sender: No OFD packet to send [04:58:15]OFD Sender: No OFD packet to send [04:58:20]OFD Sender: No OFD packet to send [04:58:25]OFD Sender: No OFD packet to send [04:58:30]OFD Sender: No OFD packet to send [04:58:35]OFD Sender: No OFD packet to send [04:58:40]OFD Sender: No OFD packet to send [04:58:45]OFD Sender: No OFD packet to send [04:58:50]OFD Sender: No OFD packet to send [04:58:55]OFD Sender: No OFD packet to send [04:59:00]OFD Sender: No OFD packet to send [04:59:05]OFD Sender: No OFD packet to send [04:59:10]OFD Sender: No OFD packet to send [04:59:15]OFD Sender: No OFD packet to send [04:59:20]OFD Sender: No OFD packet to send [04:59:25]OFD Sender: No OFD packet to send [04:59:30]OFD Sender: No OFD packet to send [04:59:35]OFD Sender: No OFD packet to send [04:59:40]OFD Sender: No OFD packet to send [04:59:45]OFD Sender: No OFD packet to send [04:59:50]OFD Sender: No OFD packet to send [04:59:55]OFD Sender: No OFD packet to send [05:00:00]OFD Sender: No OFD packet to send [05:00:05]OFD Sender: No OFD packet to send [05:00:10]OFD Sender: No OFD packet to send [05:00:15]OFD Sender: No OFD packet to send [05:00:20]OFD Sender: No OFD packet to send [05:00:25]OFD Sender: No OFD packet to send [05:00:30]OFD Sender: No OFD packet to send [05:00:35]OFD Sender: No OFD packet to send [05:00:40]OFD Sender: No OFD packet to send [05:00:45]OFD Sender: No OFD packet to send [05:00:50]OFD Sender: No OFD packet to send [05:00:55]OFD Sender: No OFD packet to send [05:01:00]OFD Sender: No OFD packet to send [05:01:05]OFD Sender: No OFD packet to send [05:01:10]OFD Sender: No OFD packet to send [05:01:15]OFD Sender: No OFD packet to send [05:01:20]OFD Sender: No OFD packet to send [05:01:25]OFD Sender: No OFD packet to send [05:01:30]OFD Sender: No OFD packet to send [05:01:35]OFD Sender: No OFD packet to send [05:01:40]OFD Sender: No OFD packet to send [05:01:45]OFD Sender: No OFD packet to send [05:01:50]OFD Sender: No OFD packet to send [05:01:55]OFD Sender: No OFD packet to send [05:02:00]OFD Sender: No OFD packet to send [05:02:05]OFD Sender: No OFD packet to send [05:02:10]OFD Sender: No OFD packet to send [05:02:15]OFD Sender: No OFD packet to send [05:02:20]OFD Sender: No OFD packet to send [05:02:25]OFD Sender: No OFD packet to send [05:02:30]OFD Sender: No OFD packet to send [05:02:35]OFD Sender: No OFD packet to send [05:02:40]OFD Sender: No OFD packet to send [05:02:45]OFD Sender: No OFD packet to send [05:02:50]OFD Sender: No OFD packet to send [05:02:55]OFD Sender: No OFD packet to send [05:03:00]OFD Sender: No OFD packet to send [05:03:05]OFD Sender: No OFD packet to send [05:03:10]OFD Sender: No OFD packet to send [05:03:15]OFD Sender: No OFD packet to send [05:03:20]OFD Sender: No OFD packet to send [05:03:25]OFD Sender: No OFD packet to send [05:03:30]OFD Sender: No OFD packet to send [05:03:35]OFD Sender: No OFD packet to send [05:03:40]OFD Sender: No OFD packet to send [05:03:45]OFD Sender: No OFD packet to send [05:03:50]OFD Sender: No OFD packet to send [05:03:55]OFD Sender: No OFD packet to send [05:04:00]OFD Sender: No OFD packet to send [05:04:05]OFD Sender: No OFD packet to send [05:04:10]OFD Sender: No OFD packet to send [05:04:15]OFD Sender: No OFD packet to send [05:04:20]OFD Sender: No OFD packet to send [05:04:25]OFD Sender: No OFD packet to send [05:04:30]OFD Sender: No OFD packet to send [05:04:35]OFD Sender: No OFD packet to send [05:04:40]OFD Sender: No OFD packet to send [05:04:45]OFD Sender: No OFD packet to send [05:04:50]OFD Sender: No OFD packet to send [05:04:55]OFD Sender: No OFD packet to send [05:05:00]OFD Sender: No OFD packet to send [05:05:05]OFD Sender: No OFD packet to send [05:05:10]OFD Sender: No OFD packet to send [05:05:15]OFD Sender: No OFD packet to send [05:05:20]OFD Sender: No OFD packet to send [05:05:25]OFD Sender: No OFD packet to send [05:05:30]OFD Sender: No OFD packet to send [05:05:35]OFD Sender: No OFD packet to send [05:05:40]OFD Sender: No OFD packet to send [05:05:45]OFD Sender: No OFD packet to send [05:05:50]OFD Sender: No OFD packet to send [05:05:55]OFD Sender: No OFD packet to send [05:06:00]OFD Sender: No OFD packet to send [05:06:05]OFD Sender: No OFD packet to send [05:06:10]OFD Sender: No OFD packet to send [05:06:15]OFD Sender: No OFD packet to send [05:06:20]OFD Sender: No OFD packet to send [05:06:25]OFD Sender: No OFD packet to send [05:06:30]OFD Sender: No OFD packet to send [05:06:35]OFD Sender: No OFD packet to send [05:06:40]OFD Sender: No OFD packet to send [05:06:45]OFD Sender: No OFD packet to send [05:06:50]OFD Sender: No OFD packet to send [05:06:55]OFD Sender: No OFD packet to send [05:07:00]OFD Sender: No OFD packet to send [05:07:05]OFD Sender: No OFD packet to send [05:07:10]OFD Sender: No OFD packet to send [05:07:15]OFD Sender: No OFD packet to send [05:07:20]OFD Sender: No OFD packet to send [05:07:25]OFD Sender: No OFD packet to send [05:07:30]OFD Sender: No OFD packet to send [05:07:35]OFD Sender: No OFD packet to send [05:07:40]OFD Sender: No OFD packet to send [05:07:45]OFD Sender: No OFD packet to send [05:07:50]OFD Sender: No OFD packet to send [05:07:55]OFD Sender: No OFD packet to send [05:08:00]OFD Sender: No OFD packet to send [05:08:05]OFD Sender: No OFD packet to send [05:08:10]OFD Sender: No OFD packet to send [05:08:15]OFD Sender: No OFD packet to send [05:08:20]OFD Sender: No OFD packet to send [05:08:25]OFD Sender: No OFD packet to send [05:08:30]OFD Sender: No OFD packet to send [05:08:35]OFD Sender: No OFD packet to send [05:08:40]OFD Sender: No OFD packet to send [05:08:45]OFD Sender: No OFD packet to send [05:08:50]OFD Sender: No OFD packet to send [05:08:55]OFD Sender: No OFD packet to send [05:09:00]OFD Sender: No OFD packet to send [05:09:05]OFD Sender: No OFD packet to send [05:09:10]OFD Sender: No OFD packet to send [05:09:15]OFD Sender: No OFD packet to send [05:09:20]OFD Sender: No OFD packet to send [05:09:25]OFD Sender: No OFD packet to send [05:09:30]OFD Sender: No OFD packet to send [05:09:35]OFD Sender: No OFD packet to send [05:09:40]OFD Sender: No OFD packet to send [05:09:45]OFD Sender: No OFD packet to send [05:09:50]OFD Sender: No OFD packet to send [05:09:55]OFD Sender: No OFD packet to send [05:10:00]OFD Sender: No OFD packet to send [05:10:05]OFD Sender: No OFD packet to send [05:10:10]OFD Sender: No OFD packet to send [05:10:15]OFD Sender: No OFD packet to send [05:10:20]OFD Sender: No OFD packet to send [05:10:25]OFD Sender: No OFD packet to send [05:10:30]OFD Sender: No OFD packet to send [05:10:35]OFD Sender: No OFD packet to send [05:10:40]OFD Sender: No OFD packet to send [05:10:45]OFD Sender: No OFD packet to send [05:10:50]OFD Sender: No OFD packet to send [05:10:55]OFD Sender: No OFD packet to send [05:11:00]OFD Sender: No OFD packet to send [05:11:05]OFD Sender: No OFD packet to send [05:11:10]OFD Sender: No OFD packet to send [05:11:15]OFD Sender: No OFD packet to send [05:11:20]OFD Sender: No OFD packet to send [05:11:25]OFD Sender: No OFD packet to send [05:11:30]OFD Sender: No OFD packet to send [05:11:35]OFD Sender: No OFD packet to send [05:11:40]OFD Sender: No OFD packet to send [05:11:45]OFD Sender: No OFD packet to send [05:11:50]OFD Sender: No OFD packet to send [05:11:55]OFD Sender: No OFD packet to send [05:12:00]OFD Sender: No OFD packet to send [05:12:05]OFD Sender: No OFD packet to send [05:12:10]OFD Sender: No OFD packet to send [05:12:15]OFD Sender: No OFD packet to send [05:12:20]OFD Sender: No OFD packet to send [05:12:25]OFD Sender: No OFD packet to send [05:12:30]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:31]OFD Sender: No OFD packet to send [05:15:36]OFD Sender: No OFD packet to send [05:15:41]OFD Sender: No OFD packet to send [05:15:46]OFD Sender: No OFD packet to send [05:15:51]OFD Sender: No OFD packet to send [05:15:56]OFD Sender: No OFD packet to send [05:16:01]OFD Sender: No OFD packet to send [05:16:06]OFD Sender: No OFD packet to send [05:16:11]OFD Sender: No OFD packet to send [05:16:16]OFD Sender: No OFD packet to send [05:16:21]OFD Sender: No OFD packet to send [05:16:26]OFD Sender: No OFD packet to send [05:16:31]OFD Sender: No OFD packet to send [05:16:36]OFD Sender: No OFD packet to send [05:16:41]OFD Sender: No OFD packet to send [05:16:46]OFD Sender: No OFD packet to send [05:16:51]OFD Sender: No OFD packet to send [05:16:56]OFD Sender: No OFD packet to send [05:17:01]OFD Sender: No OFD packet to send [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:08]accept exits with 9 [05:21:08]New connection [05:21:08]New thread 3067108708 created [05:21:08]Thread 3066965348 joined [05:21:08]Waiting for new connection... [05:21:08] Sock 9.Parse request [05:21:08]Sock 9.Check first char [05:21:08]Sock 9.First char is OK [05:21:08]request: POST /json_proto HTTP/1.0 [05:21:08]Method: POST [05:21:08]URL: /json_proto [05:21:08]Method is POST - this is cgi request [05:21:08]url: /json_proto [05:21:08]query_string will be loaded in cgi processing [05:21:08]execute_cgi json_proto POST (null) [05:21:08]execute_cgi path=json_proto method=POST [05:21:08]POST find Content-Length [05:21:08]Host: 172.17.53.196:8080 [05:21:08]Content-Length: 780 [05:21:08]Content-Type: application/json [05:21:08] [05:21:08]POST finish read [05:21:08]Found Content-Length = 780 [05:21:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34743", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:21:08]execute_script... [05:21:08]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34743", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:21:08]POST & json_proto [05:21:08]process_json_proto [05:21:08]json parsed OK: [05:21:08]protocol is kg_v1.0 [05:21:08]action value=close_receipt [05:21:08]process_action close_receipt [05:21:08]cmd_close_receipt [05:21:08]MH_GetDate [05:21:08]Write to MH i2c: F0 00 00 3C 15 40 [05:21:08]Write i2c OK [05:21:08]MH_I2C_Read... [05:21:08]Read from MH i2c: F0 [05:21:08]MH_I2C_Read... [05:21:08]Read from MH i2c: F0 09 00 [05:21:08]MH_I2C_Read... [05:21:08]Read from MH i2c: F0 09 00 3C 15 00 4C 36 17 67 4F CD 9A 65 64 [05:21:08]GetLastDocTimeStamp 1729568741 [05:21:08]current date 1729574476 [05:21:08]FM_GetShiftState [05:21:08]SAM_PROTO_GetShiftState [05:21:08]wFMCommunicate request_size=4 [05:21:08]MH_SAM_APDU [05:21:08]CAPDU: 80 13 01 00 [05:21:08]Write to MH i2c: E2 08 00 3D 15 80 13 01 00 00 00 00 00 CF [05:21:08]Write i2c OK [05:21:08]MH_I2C_Read... [05:21:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:21:08]Read from MH i2c: E2 [05:21:08]MH_I2C_Read... [05:21:08]Read from MH i2c: E2 0E 00 [05:21:08]MH_I2C_Read... [05:21:08]Read from MH i2c: E2 0E 00 3D 15 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 20 [05:21:08]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [05:21:08]wFMCommunicate OK [05:21:08]SAM_PROTO_GetShiftState done [05:21:08]FM_GetShiftState done [05:21:08]opened in 1729556951 [05:21:08]opened+sec_in_day 1729643351 [05:21:08]quantity*price = 9500 [05:21:08]sum+1 = 9501 [05:21:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 6 22.10.2024 05:21 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24985 ФПД: 41286280377147 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T052116&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24985&fm=41286280377147&tin=02508201610067®Number=0000000000098147&sum=9500 0 [05:21:10]StoreToDocumentArchive [05:21:10]shift 457 fd 24985 [05:21:10]save to /storage/0457/doc_00024985 [05:21:10]save last doc name /storage/0457/doc_00024985 to /storage/kkm_last_doc_name [05:21:10]save OK [05:21:10]Clear old archive folders... [05:21:10]ProcessDocumentItem done err = 0, tmpTLVsize=293 [05:21:10]tlvbuf is B6EE7A70 [05:21:10]SAM_PROTO_ClearQueue [05:21:10]wFMCommunicate request_size=4 [05:21:10]MH_SAM_APDU [05:21:10]CAPDU: 80 09 00 00 [05:21:10]Write to MH i2c: E2 08 00 4A 15 80 09 00 00 00 00 00 00 D1 [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:21:10]Read from MH i2c: E2 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 4A 15 00 90 00 D3 [05:21:10]RAPDU: 90 00 [05:21:10]wFMCommunicate OK [05:21:10]SAM_PROTO_ClearQueue done [05:21:10]KKMCreateOFDPacket [05:21:10]OFDProtocolAddRootSTLVToBuf [05:21:10]FM_MakeSignedData [05:21:10]FM_MakeSignedData [05:21:10]SAM_PROTO_SignData [05:21:10]wFMCommunicate request_size=4 [05:21:10]MH_SAM_APDU [05:21:10]CAPDU: 80 0D 01 02 [05:21:10]Write to MH i2c: E2 08 00 4B 15 80 0D 01 02 00 00 00 00 D9 [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:21:10]Read from MH i2c: E2 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 4B 15 00 90 00 D4 [05:21:10]RAPDU: 90 00 [05:21:10]wFMCommunicate OK [05:21:10]wFMCommunicate request_size=255 [05:21:10]MH_SAM_APDU [05:21:10]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4C 36 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [05:21:10]Write to MH i2c: E2 02 01 4C 15 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4C 36 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 49 [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:21:10]Read from MH i2c: E2 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 4C 15 00 90 00 D5 [05:21:10]RAPDU: 90 00 [05:21:10]wFMCommunicate OK [05:21:10]wFMCommunicate request_size=52 [05:21:10]MH_SAM_APDU [05:21:10]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 99 61 00 00 35 04 06 00 25 8C B6 13 73 3B [05:21:10]Write to MH i2c: E2 37 00 4D 15 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 99 61 00 00 35 04 06 00 25 8C B6 13 73 3B 00 00 C9 [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:21:10]Read from MH i2c: E2 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 03 00 4D 15 00 90 00 D6 [05:21:10]RAPDU: 90 00 [05:21:10]wFMCommunicate OK [05:21:10]wFMCommunicate request_size=4 [05:21:10]MH_SAM_APDU [05:21:10]CAPDU: 80 0D 03 02 [05:21:10]Write to MH i2c: E2 08 00 4E 15 80 0D 03 02 00 00 00 00 DE [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:21:10]Read from MH i2c: E2 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 0B 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 0B 00 4E 15 00 79 C0 3E 7E DA 1E C1 A7 90 00 34 [05:21:10]RAPDU: 79 C0 3E 7E DA 1E C1 A7 90 00 [05:21:10]wFMCommunicate OK [05:21:10]SAM_PROTO_SignData done [05:21:10]FM_MakeSignedData done [05:21:10]CreateOFDProtocolMessage [05:21:10]wFMCommunicate request_size=4 [05:21:10]MH_SAM_APDU [05:21:10]CAPDU: 80 11 00 00 [05:21:10]Write to MH i2c: E2 08 00 4F 15 80 11 00 00 00 00 00 00 DE [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:21:10]Read from MH i2c: E2 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 17 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: E2 17 00 4F 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 35 [05:21:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [05:21:10]wFMCommunicate OK [05:21:10]CreateOFDProtocolMessage done [05:21:10]OFDSenderStorePacket 24985 [05:21:10]StoreOFDPacket docnum=24985 [05:21:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 28 6E 31 01 74 49 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4C 36 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 99 61 00 00 35 04 06 00 25 8C B6 13 73 3B 79 C0 3E 7E DA 1E C1 A7 [05:21:10]CheckFolder [05:21:10]dirname=/storage/ofd_packets [05:21:10]CheckFolder done [05:21:10]ProducePacketName [05:21:10]name=ofd_packets/00024985 [05:21:10]NVStorageSaveData ofd_packets/00024985 [05:21:10]File name is /storage/ofd_packets/00024985 [05:21:10]Write 343 bytes [05:21:10]NVStorageSaveData done [05:21:10]OFDSenderStorePacket done [05:21:10]KKMCreateOFDPacket done [05:21:10]NVStorageSaveData kkm_last_timestamp [05:21:10]File name is /storage/kkm_last_timestamp [05:21:10]Write 4 bytes [05:21:10]NVStorageSaveData done [05:21:10]ExternCall_PrintAddStr [05:21:10]wPrintStart [05:21:10]Write to MH i2c: 01 00 00 50 15 65 [05:21:10]OFD Sender: Processing packet 24985 [packets to send 5, broken 4] [05:21:10]ProducePacketName [05:21:10]name=ofd_packets/00024985 [05:21:10]OFD Sender: To server: pG, [05:21:10]CommunicateWithHost lk.salyk.kg:30040 [05:21:10]ConnectInit lk.salyk.kg [05:21:10]Write i2c OK [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: 01 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: 01 07 00 [05:21:10]MH_I2C_Read... [05:21:10]Read from MH i2c: 01 07 00 50 15 00 00 00 00 00 FF 0F 7A [05:21:10]RasterBufferAndPrint [05:21:10]line Счет N : (3)34743 [05:21:10]line ИНН: 02508201610067 [05:21:10]line Контрольно-Кассовый Чек [05:21:10]line ПРОДАЖА [05:21:10]line Товар: 4700000480050 [05:21:10]line Напиток Nitro Energy эн green ж/б 0,45л [05:21:10]line 1.000 * 95.00 [05:21:10]line = 95.00 [05:21:10]line НДС 12% НСП 1% [05:21:10]line > о реализуемом товаре [05:21:10]line ИТОГО: 95.00 [05:21:10]line НСП 1% : 0.84 [05:21:10]line НДС 12% : 10.09 [05:21:10]line Наличными: 0.00 [05:21:10]line Безнал.: 95.00 [05:21:10]line Место: АЗС № 161 "Партнер Нефть" [05:21:10]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [05:21:10]line СНО: Общий режим [05:21:10]line Чек 6 22.10.2024 05:21 [05:21:10]line Смена: 457 ФФД: 1.0 [05:21:10]line ЗНМ: 0300000240 [05:21:10]line РНМ: 0000000000098147 [05:21:10]line Версия ККМ: 001 [05:21:10]line Платежная система: Mbank [05:21:10]line ФМ: 0000000000965376 [05:21:10]line ФД: 24985 [05:21:10]line ФПД: 41286280377147 [05:21:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T052116&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24985&fm=41286280377147&tin=02508201610067®Number=0000000000098147&sum=9500 [05:21:11]Connected sock=10 [05:21:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 28 6E 31 01 74 49 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 4C 36 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 99 61 00 00 35 04 06 00 25 8C B6 13 73 3B 79 C0 3E 7E DA 1E C1 A7 [05:21:11]line 0 [05:21:11]written 0, free lines is 4095 [05:21:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 51 2D 47 00 F6 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 99 61 00 00 F4 03 04 00 C7 DE 16 67 B6 04 01 00 00 1E 91 A2 F6 3F F6 14 EE [05:21:11]CommunicateWithHost err = 0 [05:21:11]CheckOFDResponse [05:21:11]1017 (14) - 77093643461234 [05:21:11]1041 (16) - 0000000000965376 [05:21:11]1040 (4) - 24985 [05:21:11]1012 (4) - 21.10.2024 23:07 [05:21:11]1206 (1) - 0 [05:21:11]OFD Sender: Remove packet 24985 [05:21:11]ProducePacketName [05:21:11]name=ofd_packets/00024985 [05:21:11]NVStorageDeleteData [05:21:11]Write to MH i2c: 01 00 00 7A 15 8F [05:21:11]Write i2c OK [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: 01 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: 01 07 00 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: 01 07 00 7A 15 00 00 00 00 00 B6 0C 58 [05:21:11]RasterBufferAndPrint [05:21:11]line [05:21:11]line [05:21:11]line [05:21:11]line [05:21:11]line [05:21:11]written 0, free lines is 3261 [05:21:11]process_action close_receipt done [05:21:11]requested_data is exist [05:21:11]produce_requested_data [05:21:11]requested_item fm.sn is exist - process it [05:21:11]wFMCommunicate request_size=4 [05:21:11]MH_SAM_APDU [05:21:11]CAPDU: 80 11 00 00 [05:21:11]Write to MH i2c: E2 08 00 81 15 80 11 00 00 00 00 00 00 10 [05:21:11]Write i2c OK [05:21:11]MH_I2C_Read... [05:21:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:21:11]Read from MH i2c: E2 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: E2 17 00 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: E2 17 00 81 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 67 [05:21:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [05:21:11]wFMCommunicate OK [05:21:11]requested_item fd.num is exist - process it [05:21:11]SAM_PROTO_GetFieldsCounters [05:21:11]wFMCommunicate request_size=4 [05:21:11]MH_SAM_APDU [05:21:11]CAPDU: 80 13 00 00 [05:21:11]Write to MH i2c: E2 08 00 82 15 80 13 00 00 00 00 00 00 13 [05:21:11]Write i2c OK [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: E2 [05:21:11]MH_I2C_Read... [05:21:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:21:11]Read from MH i2c: E2 62 00 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: E2 62 00 82 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 99 61 00 00 0E 04 04 00 C9 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 12 [05:21:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 99 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:21:11]wFMCommunicate OK [05:21:11]SAM_PROTO_GetFieldsCounters done [05:21:11]requested_item shift.num is exist - process it [05:21:11]requested_item shift.opened is exist - process it [05:21:11]req_shift_opened [05:21:11]FM_GetShiftState [05:21:11]SAM_PROTO_GetShiftState [05:21:11]wFMCommunicate request_size=4 [05:21:11]MH_SAM_APDU [05:21:11]CAPDU: 80 13 01 00 [05:21:11]Write to MH i2c: E2 08 00 83 15 80 13 01 00 00 00 00 00 15 [05:21:11]OFD Sender: No OFD packet to send [05:21:11]Write i2c OK [05:21:11]MH_I2C_Read... [05:21:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:21:11]Read from MH i2c: E2 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: E2 0E 00 [05:21:11]MH_I2C_Read... [05:21:11]Read from MH i2c: E2 0E 00 83 15 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 66 [05:21:11]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [05:21:11]wFMCommunicate OK [05:21:11]SAM_PROTO_GetShiftState done [05:21:11]FM_GetShiftState done [05:21:11]req_shift_opened done [05:21:11]requested_item shift.open_date is exist - process it [05:21:11]req_shift_open_date [05:21:11]req_shift_open_date done [05:21:11]produce_requested_data done [05:21:11]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24985,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [05:21:11]process_action_free close_receipt [05:21:11]json_value_free [05:21:11]json_value_free done [05:21:11]process_json_proto returns [05:21:11]Send response to host [05:21:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24985,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [05:21:11]free response buf [05:21:11]execute_script done [05:21:11]execute_script returns [05:21:11]free content buf [05:21:11]Sock 9.Close socket [05:21:11]Sock 9.Thread stoped [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27: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:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:53]recv_with_timeout no data received [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:10]recv_with_timeout no data received [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]recv_with_timeout no data received [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]recv_with_timeout no data received [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:17]OFD Sender: No OFD packet to send [05:46:22]OFD Sender: No OFD packet to send [05:46:27]OFD Sender: No OFD packet to send [05:46:32]OFD Sender: No OFD packet to send [05:46:37]OFD Sender: No OFD packet to send [05:46:42]OFD Sender: No OFD packet to send [05:46:47]OFD Sender: No OFD packet to send [05:46:52]OFD Sender: No OFD packet to send [05:46:57]OFD Sender: No OFD packet to send [05:47:02]OFD Sender: No OFD packet to send [05:47:07]OFD Sender: No OFD packet to send [05:47:12]OFD Sender: No OFD packet to send [05:47:17]OFD Sender: No OFD packet to send [05:47:22]OFD Sender: No OFD packet to send [05:47:27]OFD Sender: No OFD packet to send [05:47:32]OFD Sender: No OFD packet to send [05:47:37]OFD Sender: No OFD packet to send [05:47:42]OFD Sender: No OFD packet to send [05:47:47]OFD Sender: No OFD packet to send [05:47:52]OFD Sender: No OFD packet to send [05:47:57]OFD Sender: No OFD packet to send [05:48:02]OFD Sender: No OFD packet to send [05:48:07]OFD Sender: No OFD packet to send [05:48:12]OFD Sender: No OFD packet to send [05:48:17]OFD Sender: No OFD packet to send [05:48:22]OFD Sender: No OFD packet to send [05:48:27]OFD Sender: No OFD packet to send [05:48:32]OFD Sender: No OFD packet to send [05:48:37]OFD Sender: No OFD packet to send [05:48:42]OFD Sender: No OFD packet to send [05:48:47]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:50]recv_with_timeout no data received [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:07]recv_with_timeout no data received [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:27]recv_with_timeout no data received [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:24]recv_with_timeout no data received [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:54]OFD Sender: No OFD packet to send [06:14:59]OFD Sender: No OFD packet to send [06:15:04]OFD Sender: No OFD packet to send [06:15:09]OFD Sender: No OFD packet to send [06:15:14]OFD Sender: No OFD packet to send [06:15:19]OFD Sender: No OFD packet to send [06:15:24]OFD Sender: No OFD packet to send [06:15:29]OFD Sender: No OFD packet to send [06:15:34]OFD Sender: No OFD packet to send [06:15:38]recv_with_timeout no data received [06:15:39]OFD Sender: No OFD packet to send [06:15:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]recv_with_timeout no data received [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:12]recv_with_timeout no data received [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:29]OFD Sender: No OFD packet to send [06:18:34]OFD Sender: No OFD packet to send [06:18:39]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:29]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:44]OFD Sender: No OFD packet to send [06:21:49]OFD Sender: No OFD packet to send [06:21:54]OFD Sender: No OFD packet to send [06:21:59]OFD Sender: No OFD packet to send [06:22:04]OFD Sender: No OFD packet to send [06:22:09]OFD Sender: No OFD packet to send [06:22:14]OFD Sender: No OFD packet to send [06:22:19]OFD Sender: No OFD packet to send [06:22:24]OFD Sender: No OFD packet to send [06:22:29]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:04]OFD Sender: No OFD packet to send [06:24:09]OFD Sender: No OFD packet to send [06:24:14]OFD Sender: No OFD packet to send [06:24:19]OFD Sender: No OFD packet to send [06:24:24]OFD Sender: No OFD packet to send [06:24:29]OFD Sender: No OFD packet to send [06:24:34]OFD Sender: No OFD packet to send [06:24:39]OFD Sender: No OFD packet to send [06:24:44]OFD Sender: No OFD packet to send [06:24:49]OFD Sender: No OFD packet to send [06:24:54]OFD Sender: No OFD packet to send [06:24:59]OFD Sender: No OFD packet to send [06:25:04]OFD Sender: No OFD packet to send [06:25:09]OFD Sender: No OFD packet to send [06:25:14]OFD Sender: No OFD packet to send [06:25:19]OFD Sender: No OFD packet to send [06:25:24]OFD Sender: No OFD packet to send [06:25:29]OFD Sender: No OFD packet to send [06:25:34]OFD Sender: No OFD packet to send [06:25:37]recv_with_timeout no data received [06:25:39]OFD Sender: No OFD packet to send [06:25:44]OFD Sender: No OFD packet to send [06:25:49]OFD Sender: No OFD packet to send [06:25:52]recv_with_timeout no data received [06:25:54]OFD Sender: No OFD packet to send [06:25:59]OFD Sender: No OFD packet to send [06:26:04]OFD Sender: No OFD packet to send [06:26:09]OFD Sender: No OFD packet to send [06:26:14]OFD Sender: No OFD packet to send [06:26:19]OFD Sender: No OFD packet to send [06:26:24]OFD Sender: No OFD packet to send [06:26:29]OFD Sender: No OFD packet to send [06:26:34]OFD Sender: No OFD packet to send [06:26:39]OFD Sender: No OFD packet to send [06:26:44]OFD Sender: No OFD packet to send [06:26:49]recv_with_timeout no data received [06:26:49]OFD Sender: No OFD packet to send [06:26:54]OFD Sender: No OFD packet to send [06:26:59]OFD Sender: No OFD packet to send [06:27:04]OFD Sender: No OFD packet to send [06:27:06]recv_with_timeout no data received [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:38]recv_with_timeout no data received [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:50]OFD Sender: No OFD packet to send [06:34:55]OFD Sender: No OFD packet to send [06:35:00]OFD Sender: No OFD packet to send [06:35:05]OFD Sender: No OFD packet to send [06:35:10]OFD Sender: No OFD packet to send [06:35:15]OFD Sender: No OFD packet to send [06:35:20]OFD Sender: No OFD packet to send [06:35:25]OFD Sender: No OFD packet to send [06:35:30]OFD Sender: No OFD packet to send [06:35:35]OFD Sender: No OFD packet to send [06:35:40]OFD Sender: No OFD packet to send [06:35:45]OFD Sender: No OFD packet to send [06:35:50]OFD Sender: No OFD packet to send [06:35:55]OFD Sender: No OFD packet to send [06:36:00]OFD Sender: No OFD packet to send [06:36:05]OFD Sender: No OFD packet to send [06:36:10]OFD Sender: No OFD packet to send [06:36:15]OFD Sender: No OFD packet to send [06:36:20]OFD Sender: No OFD packet to send [06:36:25]OFD Sender: No OFD packet to send [06:36:30]OFD Sender: No OFD packet to send [06:36:35]OFD Sender: No OFD packet to send [06:36:40]OFD Sender: No OFD packet to send [06:36:45]OFD Sender: No OFD packet to send [06:36:50]OFD Sender: No OFD packet to send [06:36:55]OFD Sender: No OFD packet to send [06:37:00]OFD Sender: No OFD packet to send [06:37:05]OFD Sender: No OFD packet to send [06:37:10]OFD Sender: No OFD packet to send [06:37:15]OFD Sender: No OFD packet to send [06:37:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:50]recv_with_timeout no data received [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:07]recv_with_timeout no data received [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:10]OFD Sender: No OFD packet to send [06:42:15]OFD Sender: No OFD packet to send [06:42:20]OFD Sender: No OFD packet to send [06:42:25]OFD Sender: No OFD packet to send [06:42:30]OFD Sender: No OFD packet to send [06:42:35]OFD Sender: No OFD packet to send [06:42:40]OFD Sender: No OFD packet to send [06:42:45]OFD Sender: No OFD packet to send [06:42:50]OFD Sender: No OFD packet to send [06:42:55]OFD Sender: No OFD packet to send [06:43:00]OFD Sender: No OFD packet to send [06:43:05]OFD Sender: No OFD packet to send [06:43:10]OFD Sender: No OFD packet to send [06:43:15]OFD Sender: No OFD packet to send [06:43:20]OFD Sender: No OFD packet to send [06:43:25]OFD Sender: No OFD packet to send [06:43:30]OFD Sender: No OFD packet to send [06:43:35]OFD Sender: No OFD packet to send [06:43:40]OFD Sender: No OFD packet to send [06:43:45]OFD Sender: No OFD packet to send [06:43:50]OFD Sender: No OFD packet to send [06:43:55]OFD Sender: No OFD packet to send [06:44:00]OFD Sender: No OFD packet to send [06:44:05]OFD Sender: No OFD packet to send [06:44:10]OFD Sender: No OFD packet to send [06:44:15]OFD Sender: No OFD packet to send [06:44:20]OFD Sender: No OFD packet to send [06:44:25]OFD Sender: No OFD packet to send [06:44:30]OFD Sender: No OFD packet to send [06:44:35]OFD Sender: No OFD packet to send [06:44:40]OFD Sender: No OFD packet to send [06:44:45]OFD Sender: No OFD packet to send [06:44:50]OFD Sender: No OFD packet to send [06:44:55]OFD Sender: No OFD packet to send [06:45:00]OFD Sender: No OFD packet to send [06:45:05]OFD Sender: No OFD packet to send [06:45:10]OFD Sender: No OFD packet to send [06:45:15]OFD Sender: No OFD packet to send [06:45:20]OFD Sender: No OFD packet to send [06:45:25]OFD Sender: No OFD packet to send [06:45:30]OFD Sender: No OFD packet to send [06:45:35]OFD Sender: No OFD packet to send [06:45:40]OFD Sender: No OFD packet to send [06:45:45]OFD Sender: No OFD packet to send [06:45:50]OFD Sender: No OFD packet to send [06:45:55]OFD Sender: No OFD packet to send [06:46:00]OFD Sender: No OFD packet to send [06:46:05]OFD Sender: No OFD packet to send [06:46:10]OFD Sender: No OFD packet to send [06:46:15]OFD Sender: No OFD packet to send [06:46:20]OFD Sender: No OFD packet to send [06:46:25]OFD Sender: No OFD packet to send [06:46:30]OFD Sender: No OFD packet to send [06:46:35]OFD Sender: No OFD packet to send [06:46:40]OFD Sender: No OFD packet to send [06:46:45]OFD Sender: No OFD packet to send [06:46:50]OFD Sender: No OFD packet to send [06:46:55]OFD Sender: No OFD packet to send [06:46:56]recv_with_timeout no data received [06:47:00]OFD Sender: No OFD packet to send [06:47:05]OFD Sender: No OFD packet to send [06:47:10]OFD Sender: No OFD packet to send [06:47:15]recv_with_timeout no data received [06:47:15]OFD Sender: No OFD packet to send [06:47:20]OFD Sender: No OFD packet to send [06:47:25]OFD Sender: No OFD packet to send [06:47:30]OFD Sender: No OFD packet to send [06:47:33]recv_with_timeout no data received [06:47:35]OFD Sender: No OFD packet to send [06:47:40]OFD Sender: No OFD packet to send [06:47:45]OFD Sender: No OFD packet to send [06:47:50]OFD Sender: No OFD packet to send [06:47:55]OFD Sender: No OFD packet to send [06:48:00]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:21]OFD Sender: No OFD packet to send [06:53:26]OFD Sender: No OFD packet to send [06:53:31]OFD Sender: No OFD packet to send [06:53:36]OFD Sender: No OFD packet to send [06:53:41]OFD Sender: No OFD packet to send [06:53:46]OFD Sender: No OFD packet to send [06:53:51]OFD Sender: No OFD packet to send [06:53:56]OFD Sender: No OFD packet to send [06:54:01]OFD Sender: No OFD packet to send [06:54:06]OFD Sender: No OFD packet to send [06:54:11]OFD Sender: No OFD packet to send [06:54:16]OFD Sender: No OFD packet to send [06:54:21]OFD Sender: No OFD packet to send [06:54:26]OFD Sender: No OFD packet to send [06:54:31]OFD Sender: No OFD packet to send [06:54:36]OFD Sender: No OFD packet to send [06:54:41]OFD Sender: No OFD packet to send [06:54:46]OFD Sender: No OFD packet to send [06:54:51]OFD Sender: No OFD packet to send [06:54:56]OFD Sender: No OFD packet to send [06:55:01]OFD Sender: No OFD packet to send [06:55:06]OFD Sender: No OFD packet to send [06:55:11]OFD Sender: No OFD packet to send [06:55:16]OFD Sender: No OFD packet to send [06:55:21]OFD Sender: No OFD packet to send [06:55:26]OFD Sender: No OFD packet to send [06:55:31]OFD Sender: No OFD packet to send [06:55:36]OFD Sender: No OFD packet to send [06:55:41]OFD Sender: No OFD packet to send [06:55:46]OFD Sender: No OFD packet to send [06:55:51]OFD Sender: No OFD packet to send [06:55:56]OFD Sender: No OFD packet to send [06:56:01]OFD Sender: No OFD packet to send [06:56:06]OFD Sender: No OFD packet to send [06:56:11]OFD Sender: No OFD packet to send [06:56:16]OFD Sender: No OFD packet to send [06:56:21]OFD Sender: No OFD packet to send [06:56:26]OFD Sender: No OFD packet to send [06:56:31]OFD Sender: No OFD packet to send [06:56:36]OFD Sender: No OFD packet to send [06:56:41]OFD Sender: No OFD packet to send [06:56:46]OFD Sender: No OFD packet to send [06:56:51]OFD Sender: No OFD packet to send [06:56:56]OFD Sender: No OFD packet to send [06:57:01]OFD Sender: No OFD packet to send [06:57:06]OFD Sender: No OFD packet to send [06:57:11]OFD Sender: No OFD packet to send [06:57:16]OFD Sender: No OFD packet to send [06:57:21]OFD Sender: No OFD packet to send [06:57:26]OFD Sender: No OFD packet to send [06:57:31]OFD Sender: No OFD packet to send [06:57:36]OFD Sender: No OFD packet to send [06:57:41]OFD Sender: No OFD packet to send [06:57:46]OFD Sender: No OFD packet to send [06:57:51]OFD Sender: No OFD packet to send [06:57:56]OFD Sender: No OFD packet to send [06:58:01]OFD Sender: No OFD packet to send [06:58:06]OFD Sender: No OFD packet to send [06:58:11]OFD Sender: No OFD packet to send [06:58:16]OFD Sender: No OFD packet to send [06:58:21]OFD Sender: No OFD packet to send [06:58:26]OFD Sender: No OFD packet to send [06:58:31]OFD Sender: No OFD packet to send [06:58:36]OFD Sender: No OFD packet to send [06:58:41]OFD Sender: No OFD packet to send [06:58:46]OFD Sender: No OFD packet to send [06:58:51]OFD Sender: No OFD packet to send [06:58:56]OFD Sender: No OFD packet to send [06:59:01]OFD Sender: No OFD packet to send [06:59:06]OFD Sender: No OFD packet to send [06:59:11]OFD Sender: No OFD packet to send [06:59:16]OFD Sender: No OFD packet to send [06:59:21]OFD Sender: No OFD packet to send [06:59:26]OFD Sender: No OFD packet to send [06:59:31]OFD Sender: No OFD packet to send [06:59:36]OFD Sender: No OFD packet to send [06:59:41]OFD Sender: No OFD packet to send [06:59:46]OFD Sender: No OFD packet to send [06:59:51]OFD Sender: No OFD packet to send [06:59:56]OFD Sender: No OFD packet to send [07:00:01]OFD Sender: No OFD packet to send [07:00:06]OFD Sender: No OFD packet to send [07:00:11]OFD Sender: No OFD packet to send [07:00:16]OFD Sender: No OFD packet to send [07:00:21]OFD Sender: No OFD packet to send [07:00:26]OFD Sender: No OFD packet to send [07:00:31]OFD Sender: No OFD packet to send [07:00:36]OFD Sender: No OFD packet to send [07:00:41]OFD Sender: No OFD packet to send [07:00:46]OFD Sender: No OFD packet to send [07:00:51]OFD Sender: No OFD packet to send [07:00:56]OFD Sender: No OFD packet to send [07:01:01]OFD Sender: No OFD packet to send [07:01:06]OFD Sender: No OFD packet to send [07:01:11]OFD Sender: No OFD packet to send [07:01:16]OFD Sender: No OFD packet to send [07:01:21]OFD Sender: No OFD packet to send [07:01:26]OFD Sender: No OFD packet to send [07:01:31]OFD Sender: No OFD packet to send [07:01:36]OFD Sender: No OFD packet to send [07:01:41]OFD Sender: No OFD packet to send [07:01:46]OFD Sender: No OFD packet to send [07:01:51]OFD Sender: No OFD packet to send [07:01:56]OFD Sender: No OFD packet to send [07:02:01]OFD Sender: No OFD packet to send [07:02:06]OFD Sender: No OFD packet to send [07:02:11]OFD Sender: No OFD packet to send [07:02:16]OFD Sender: No OFD packet to send [07:02:21]OFD Sender: No OFD packet to send [07:02:26]OFD Sender: No OFD packet to send [07:02:31]OFD Sender: No OFD packet to send [07:02:36]OFD Sender: No OFD packet to send [07:02:41]OFD Sender: No OFD packet to send [07:02:46]OFD Sender: No OFD packet to send [07:02:51]OFD Sender: No OFD packet to send [07:02:56]OFD Sender: No OFD packet to send [07:03:01]OFD Sender: No OFD packet to send [07:03:06]OFD Sender: No OFD packet to send [07:03:11]OFD Sender: No OFD packet to send [07:03:16]OFD Sender: No OFD packet to send [07:03:21]OFD Sender: No OFD packet to send [07:03:26]OFD Sender: No OFD packet to send [07:03:31]OFD Sender: No OFD packet to send [07:03:36]OFD Sender: No OFD packet to send [07:03:41]OFD Sender: No OFD packet to send [07:03:46]OFD Sender: No OFD packet to send [07:03:51]OFD Sender: No OFD packet to send [07:03:56]OFD Sender: No OFD packet to send [07:04:01]OFD Sender: No OFD packet to send [07:04:06]OFD Sender: No OFD packet to send [07:04:11]OFD Sender: No OFD packet to send [07:04:16]OFD Sender: No OFD packet to send [07:04:21]OFD Sender: No OFD packet to send [07:04:26]OFD Sender: No OFD packet to send [07:04:31]OFD Sender: No OFD packet to send [07:04:36]OFD Sender: No OFD packet to send [07:04:41]OFD Sender: No OFD packet to send [07:04:46]OFD Sender: No OFD packet to send [07:04:51]OFD Sender: No OFD packet to send [07:04:56]OFD Sender: No OFD packet to send [07:05:01]OFD Sender: No OFD packet to send [07:05:06]OFD Sender: No OFD packet to send [07:05:11]OFD Sender: No OFD packet to send [07:05:16]OFD Sender: No OFD packet to send [07:05:21]OFD Sender: No OFD packet to send [07:05:26]OFD Sender: No OFD packet to send [07:05:31]OFD Sender: No OFD packet to send [07:05:36]OFD Sender: No OFD packet to send [07:05:41]OFD Sender: No OFD packet to send [07:05:44]recv_with_timeout no data received [07:05:46]OFD Sender: No OFD packet to send [07:05:51]OFD Sender: No OFD packet to send [07:05:56]OFD Sender: No OFD packet to send [07:06:01]OFD Sender: No OFD packet to send [07:06:03]recv_with_timeout no data received [07:06:06]OFD Sender: No OFD packet to send [07:06:11]OFD Sender: No OFD packet to send [07:06:16]OFD Sender: No OFD packet to send [07:06:20]recv_with_timeout no data received [07:06:21]OFD Sender: No OFD packet to send [07:06:26]OFD Sender: No OFD packet to send [07:06:31]OFD Sender: No OFD packet to send [07:06:36]OFD Sender: No OFD packet to send [07:06:37]recv_with_timeout no data received [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:47]OFD Sender: No OFD packet to send [07:14:52]OFD Sender: No OFD packet to send [07:14:57]OFD Sender: No OFD packet to send [07:15:02]OFD Sender: No OFD packet to send [07:15:07]OFD Sender: No OFD packet to send [07:15:12]OFD Sender: No OFD packet to send [07:15:17]OFD Sender: No OFD packet to send [07:15:22]OFD Sender: No OFD packet to send [07:15:27]OFD Sender: No OFD packet to send [07:15:32]OFD Sender: No OFD packet to send [07:15:37]OFD Sender: No OFD packet to send [07:15:42]OFD Sender: No OFD packet to send [07:15:47]OFD Sender: No OFD packet to send [07:15:52]OFD Sender: No OFD packet to send [07:15:57]OFD Sender: No OFD packet to send [07:16:02]OFD Sender: No OFD packet to send [07:16:07]OFD Sender: No OFD packet to send [07:16:12]OFD Sender: No OFD packet to send [07:16:17]OFD Sender: No OFD packet to send [07:16:22]OFD Sender: No OFD packet to send [07:16:26]recv_with_timeout no data received [07:16:27]OFD Sender: No OFD packet to send [07:16:32]OFD Sender: No OFD packet to send [07:16:37]OFD Sender: No OFD packet to send [07:16:42]OFD Sender: No OFD packet to send [07:16:47]OFD Sender: No OFD packet to send [07:16:47]recv_with_timeout no data received [07:16:52]OFD Sender: No OFD packet to send [07:16:57]OFD Sender: No OFD packet to send [07:17:02]OFD Sender: No OFD packet to send [07:17:07]OFD Sender: No OFD packet to send [07:17:12]OFD Sender: No OFD packet to send [07:17:17]OFD Sender: No OFD packet to send [07:17:22]OFD Sender: No OFD packet to send [07:17:27]OFD Sender: No OFD packet to send [07:17:32]OFD Sender: No OFD packet to send [07:17:37]OFD Sender: No OFD packet to send [07:17:42]OFD Sender: No OFD packet to send [07:17:47]OFD Sender: No OFD packet to send [07:17:52]OFD Sender: No OFD packet to send [07:17:57]OFD Sender: No OFD packet to send [07:18:02]OFD Sender: No OFD packet to send [07:18:07]OFD Sender: No OFD packet to send [07:18:12]OFD Sender: No OFD packet to send [07:18:17]OFD Sender: No OFD packet to send [07:18:22]OFD Sender: No OFD packet to send [07:18:27]OFD Sender: No OFD packet to send [07:18:32]OFD Sender: No OFD packet to send [07:18:37]OFD Sender: No OFD packet to send [07:18:42]OFD Sender: No OFD packet to send [07:18:47]OFD Sender: No OFD packet to send [07:18:52]OFD Sender: No OFD packet to send [07:18:57]OFD Sender: No OFD packet to send [07:19:02]OFD Sender: No OFD packet to send [07:19:07]OFD Sender: No OFD packet to send [07:19:12]OFD Sender: No OFD packet to send [07:19:17]OFD Sender: No OFD packet to send [07:19:22]OFD Sender: No OFD packet to send [07:19:27]OFD Sender: No OFD packet to send [07:19:32]OFD Sender: No OFD packet to send [07:19:37]OFD Sender: No OFD packet to send [07:19:42]OFD Sender: No OFD packet to send [07:19:47]OFD Sender: No OFD packet to send [07:19:52]OFD Sender: No OFD packet to send [07:19:57]OFD Sender: No OFD packet to send [07:20:02]OFD Sender: No OFD packet to send [07:20:07]OFD Sender: No OFD packet to send [07:20:12]OFD Sender: No OFD packet to send [07:20:17]OFD Sender: No OFD packet to send [07:20:22]OFD Sender: No OFD packet to send [07:20:27]OFD Sender: No OFD packet to send [07:20:32]OFD Sender: No OFD packet to send [07:20:37]OFD Sender: No OFD packet to send [07:20:42]OFD Sender: No OFD packet to send [07:20:47]OFD Sender: No OFD packet to send [07:20:52]OFD Sender: No OFD packet to send [07:20:57]OFD Sender: No OFD packet to send [07:21:02]OFD Sender: No OFD packet to send [07:21:07]OFD Sender: No OFD packet to send [07:21:12]OFD Sender: No OFD packet to send [07:21:17]OFD Sender: No OFD packet to send [07:21:22]OFD Sender: No OFD packet to send [07:21:27]OFD Sender: No OFD packet to send [07:21:32]OFD Sender: No OFD packet to send [07:21:37]OFD Sender: No OFD packet to send [07:21:42]OFD Sender: No OFD packet to send [07:21:47]OFD Sender: No OFD packet to send [07:21:52]OFD Sender: No OFD packet to send [07:21:57]OFD Sender: No OFD packet to send [07:22:02]OFD Sender: No OFD packet to send [07:22:07]OFD Sender: No OFD packet to send [07:22:12]OFD Sender: No OFD packet to send [07:22:17]OFD Sender: No OFD packet to send [07:22:22]OFD Sender: No OFD packet to send [07:22:27]OFD Sender: No OFD packet to send [07:22:32]OFD Sender: No OFD packet to send [07:22:37]OFD Sender: No OFD packet to send [07:22:42]OFD Sender: No OFD packet to send [07:22:47]OFD Sender: No OFD packet to send [07:22:52]OFD Sender: No OFD packet to send [07:22:57]OFD Sender: No OFD packet to send [07:23:02]OFD Sender: No OFD packet to send [07:23:07]OFD Sender: No OFD packet to send [07:23:12]OFD Sender: No OFD packet to send [07:23:17]OFD Sender: No OFD packet to send [07:23:22]OFD Sender: No OFD packet to send [07:23:27]OFD Sender: No OFD packet to send [07:23:32]OFD Sender: No OFD packet to send [07:23:37]OFD Sender: No OFD packet to send [07:23:42]OFD Sender: No OFD packet to send [07:23:47]OFD Sender: No OFD packet to send [07:23:52]OFD Sender: No OFD packet to send [07:23:57]OFD Sender: No OFD packet to send [07:24:02]OFD Sender: No OFD packet to send [07:24:07]OFD Sender: No OFD packet to send [07:24:12]OFD Sender: No OFD packet to send [07:24:17]OFD Sender: No OFD packet to send [07:24:22]OFD Sender: No OFD packet to send [07:24:27]OFD Sender: No OFD packet to send [07:24:32]OFD Sender: No OFD packet to send [07:24:37]OFD Sender: No OFD packet to send [07:24:42]OFD Sender: No OFD packet to send [07:24:47]OFD Sender: No OFD packet to send [07:24:52]OFD Sender: No OFD packet to send [07:24:57]OFD Sender: No OFD packet to send [07:25:02]OFD Sender: No OFD packet to send [07:25:07]OFD Sender: No OFD packet to send [07:25:12]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:25]recv_with_timeout no data received [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]recv_with_timeout no data received [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:10]recv_with_timeout no data received [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:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:23]OFD Sender: No OFD packet to send [07:36:28]OFD Sender: No OFD packet to send [07:36:33]OFD Sender: No OFD packet to send [07:36:38]OFD Sender: No OFD packet to send [07:36:43]OFD Sender: No OFD packet to send [07:36:48]OFD Sender: No OFD packet to send [07:36:53]OFD Sender: No OFD packet to send [07:36:58]OFD Sender: No OFD packet to send [07:37:03]OFD Sender: No OFD packet to send [07:37:08]OFD Sender: No OFD packet to send [07:37:13]OFD Sender: No OFD packet to send [07:37:18]OFD Sender: No OFD packet to send [07:37:23]OFD Sender: No OFD packet to send [07:37:28]OFD Sender: No OFD packet to send [07:37:33]OFD Sender: No OFD packet to send [07:37:38]OFD Sender: No OFD packet to send [07:37:43]OFD Sender: No OFD packet to send [07:37:48]OFD Sender: No OFD packet to send [07:37:53]OFD Sender: No OFD packet to send [07:37:58]OFD Sender: No OFD packet to send [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:18]OFD Sender: No OFD packet to send [07:44:23]OFD Sender: No OFD packet to send [07:44:28]OFD Sender: No OFD packet to send [07:44:33]OFD Sender: No OFD packet to send [07:44:38]OFD Sender: No OFD packet to send [07:44:43]OFD Sender: No OFD packet to send [07:44:48]OFD Sender: No OFD packet to send [07:44:53]OFD Sender: No OFD packet to send [07:44:58]OFD Sender: No OFD packet to send [07:45:02]accept exits with 7 [07:45:02]New connection [07:45:02]New thread 3066965348 created [07:45:02]Thread 3067108708 joined [07:45:02]Waiting for new connection... [07:45:02] Sock 7.Parse request [07:45:02]Sock 7.Check first char [07:45:02]Sock 7.First char is OK [07:45:02]request: POST /json_proto HTTP/1.0 [07:45:02]Method: POST [07:45:02]URL: /json_proto [07:45:02]Method is POST - this is cgi request [07:45:02]url: /json_proto [07:45:02]query_string will be loaded in cgi processing [07:45:02]execute_cgi json_proto POST (null) [07:45:02]execute_cgi path=json_proto method=POST [07:45:02]POST find Content-Length [07:45:02]Host: 172.17.53.196:8080 [07:45:02]Content-Length: 788 [07:45:02]Content-Type: application/json [07:45:02] [07:45:02]POST finish read [07:45:02]Found Content-Length = 788 [07:45:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34744", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:45:02]execute_script... [07:45:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34744", "tax_sys" : 0, "items" : [ { "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:45:02]POST & json_proto [07:45:02]process_json_proto [07:45:02]json parsed OK: [07:45:02]protocol is kg_v1.0 [07:45:02]action value=close_receipt [07:45:02]process_action close_receipt [07:45:02]cmd_close_receipt [07:45:02]MH_GetDate [07:45:02]Write to MH i2c: F0 00 00 84 15 88 [07:45:02]Write i2c OK [07:45:02]MH_I2C_Read... [07:45:02]Read from MH i2c: F0 [07:45:02]MH_I2C_Read... [07:45:02]Read from MH i2c: F0 09 00 [07:45:02]MH_I2C_Read... [07:45:02]Read from MH i2c: F0 09 00 84 15 00 06 58 17 67 4F CD 9A 65 88 [07:45:02]GetLastDocTimeStamp 1729574476 [07:45:02]current date 1729583110 [07:45:02]FM_GetShiftState [07:45:02]SAM_PROTO_GetShiftState [07:45:02]wFMCommunicate request_size=4 [07:45:02]MH_SAM_APDU [07:45:02]CAPDU: 80 13 01 00 [07:45:02]Write to MH i2c: E2 08 00 85 15 80 13 01 00 00 00 00 00 17 [07:45:02]Write i2c OK [07:45:02]MH_I2C_Read... [07:45:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:02]Read from MH i2c: E2 [07:45:02]MH_I2C_Read... [07:45:02]Read from MH i2c: E2 0E 00 [07:45:02]MH_I2C_Read... [07:45:02]Read from MH i2c: E2 0E 00 85 15 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 68 [07:45:02]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [07:45:02]wFMCommunicate OK [07:45:02]SAM_PROTO_GetShiftState done [07:45:02]FM_GetShiftState done [07:45:02]opened in 1729556951 [07:45:02]opened+sec_in_day 1729643351 [07:45:02]quantity*price = 9500 [07:45:02]sum+1 = 9501 [07:45:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 7 22.10.2024 07:45 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24986 ФПД: 152360584322253 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T074510&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24986&fm=152360584322253&tin=02508201610067®Number=0000000000098147&sum=9500 0 [07:45:03]StoreToDocumentArchive [07:45:03]shift 457 fd 24986 [07:45:03]save to /storage/0457/doc_00024986 [07:45:03]save last doc name /storage/0457/doc_00024986 to /storage/kkm_last_doc_name [07:45:03]save OK [07:45:03]Clear old archive folders... [07:45:03]ProcessDocumentItem done err = 0, tmpTLVsize=289 [07:45:03]tlvbuf is B6ECE990 [07:45:03]SAM_PROTO_ClearQueue [07:45:03]wFMCommunicate request_size=4 [07:45:03]MH_SAM_APDU [07:45:03]CAPDU: 80 09 00 00 [07:45:03]Write to MH i2c: E2 08 00 92 15 80 09 00 00 00 00 00 00 19 [07:45:03]Write i2c OK [07:45:03]MH_I2C_Read... [07:45:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:45:03]Read from MH i2c: E2 [07:45:03]MH_I2C_Read... [07:45:03]Read from MH i2c: E2 03 00 [07:45:03]MH_I2C_Read... [07:45:03]Read from MH i2c: E2 03 00 92 15 00 90 00 1B [07:45:03]RAPDU: 90 00 [07:45:03]wFMCommunicate OK [07:45:03]SAM_PROTO_ClearQueue done [07:45:03]KKMCreateOFDPacket [07:45:03]OFDProtocolAddRootSTLVToBuf [07:45:03]FM_MakeSignedData [07:45:03]FM_MakeSignedData [07:45:03]SAM_PROTO_SignData [07:45:03]wFMCommunicate request_size=4 [07:45:03]MH_SAM_APDU [07:45:03]CAPDU: 80 0D 01 02 [07:45:03]Write to MH i2c: E2 08 00 93 15 80 0D 01 02 00 00 00 00 21 [07:45:03]Write i2c OK [07:45:03]MH_I2C_Read... [07:45:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:45:03]Read from MH i2c: E2 [07:45:03]MH_I2C_Read... [07:45:03]Read from MH i2c: E2 03 00 [07:45:03]MH_I2C_Read... [07:45:03]Read from MH i2c: E2 03 00 93 15 00 90 00 1C [07:45:03]RAPDU: 90 00 [07:45:03]wFMCommunicate OK [07:45:03]wFMCommunicate request_size=255 [07:45:03]MH_SAM_APDU [07:45:03]CAPDU: 80 0D 02 02 FA 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 06 58 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 [07:45:03]Write to MH i2c: E2 02 01 94 15 80 0D 02 02 FA 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 06 58 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 00 00 3E [07:45:03]Write i2c OK [07:45:03]MH_I2C_Read... [07:45:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:04]Read from MH i2c: E2 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 03 00 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 03 00 94 15 00 90 00 1D [07:45:04]RAPDU: 90 00 [07:45:04]wFMCommunicate OK [07:45:04]wFMCommunicate request_size=48 [07:45:04]MH_SAM_APDU [07:45:04]CAPDU: 80 0D 02 02 2B 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9A 61 00 00 35 04 06 00 8A 92 36 81 9C CD [07:45:04]Write to MH i2c: E2 33 00 95 15 80 0D 02 02 2B 00 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9A 61 00 00 35 04 06 00 8A 92 36 81 9C CD 00 00 5E [07:45:04]Write i2c OK [07:45:04]MH_I2C_Read... [07:45:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:45:04]Read from MH i2c: E2 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 03 00 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 03 00 95 15 00 90 00 1E [07:45:04]RAPDU: 90 00 [07:45:04]wFMCommunicate OK [07:45:04]wFMCommunicate request_size=4 [07:45:04]MH_SAM_APDU [07:45:04]CAPDU: 80 0D 03 02 [07:45:04]Write to MH i2c: E2 08 00 96 15 80 0D 03 02 00 00 00 00 26 [07:45:04]Write i2c OK [07:45:04]MH_I2C_Read... [07:45:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:45:04]Read from MH i2c: E2 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 0B 00 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 0B 00 96 15 00 D0 6B 0A 2C 1C 27 7E EA 90 00 43 [07:45:04]RAPDU: D0 6B 0A 2C 1C 27 7E EA 90 00 [07:45:04]wFMCommunicate OK [07:45:04]SAM_PROTO_SignData done [07:45:04]FM_MakeSignedData done [07:45:04]CreateOFDProtocolMessage [07:45:04]wFMCommunicate request_size=4 [07:45:04]MH_SAM_APDU [07:45:04]CAPDU: 80 11 00 00 [07:45:04]Write to MH i2c: E2 08 00 97 15 80 11 00 00 00 00 00 00 26 [07:45:04]Write i2c OK [07:45:04]MH_I2C_Read... [07:45:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:04]Read from MH i2c: E2 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 17 00 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: E2 17 00 97 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7D [07:45:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [07:45:04]wFMCommunicate OK [07:45:04]CreateOFDProtocolMessage done [07:45:04]OFDSenderStorePacket 24986 [07:45:04]StoreOFDPacket docnum=24986 [07:45:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 01 00 00 B1 3B 2D 01 FB 86 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 06 58 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9A 61 00 00 35 04 06 00 8A 92 36 81 9C CD D0 6B 0A 2C 1C 27 7E EA [07:45:04]CheckFolder [07:45:04]dirname=/storage/ofd_packets [07:45:04]CheckFolder done [07:45:04]ProducePacketName [07:45:04]name=ofd_packets/00024986 [07:45:04]NVStorageSaveData ofd_packets/00024986 [07:45:04]File name is /storage/ofd_packets/00024986 [07:45:04]Write 339 bytes [07:45:04]NVStorageSaveData done [07:45:04]OFDSenderStorePacket done [07:45:04]KKMCreateOFDPacket done [07:45:04]NVStorageSaveData kkm_last_timestamp [07:45:04]File name is /storage/kkm_last_timestamp [07:45:04]Write 4 bytes [07:45:04]NVStorageSaveData done [07:45:04]ExternCall_PrintAddStr [07:45:04]wPrintStart [07:45:04]Write to MH i2c: 01 00 00 98 15 AD [07:45:04]Write i2c OK [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: 01 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: 01 07 00 [07:45:04]MH_I2C_Read... [07:45:04]Read from MH i2c: 01 07 00 98 15 00 00 00 00 00 FF 0F C2 [07:45:04]RasterBufferAndPrint [07:45:04]line Счет N : (3)34744 [07:45:04]line ИНН: 02508201610067 [07:45:04]line Контрольно-Кассовый Чек [07:45:04]line ПРОДАЖА [07:45:04]line Товар: 5449000176431 [07:45:04]line Сок Piko Pulpy апельсин ПЭТ 0,5л [07:45:04]line 1.000 * 95.00 [07:45:04]line = 95.00 [07:45:04]line НДС 12% НСП 1% [07:45:04]line > о реализуемом товаре [07:45:04]line ИТОГО: 95.00 [07:45:04]line НСП 1% : 0.84 [07:45:04]line НДС 12% : 10.09 [07:45:04]line Наличными: 0.00 [07:45:04]line Безнал.: 95.00 [07:45:04]line Место: АЗС № 161 "Партнер Нефть" [07:45:04]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [07:45:04]line СНО: Общий режим [07:45:04]line Чек 7 22.10.2024 07:45 [07:45:04]line Смена: 457 ФФД: 1.0 [07:45:04]line ЗНМ: 0300000240 [07:45:04]line РНМ: 0000000000098147 [07:45:04]line Версия ККМ: 001 [07:45:04]line Платежная система: Mbank [07:45:04]line ФМ: 0000000000965376 [07:45:04]line ФД: 24986 [07:45:04]line ФПД: 152360584322253 [07:45:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T074510&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24986&fm=152360584322253&tin=02508201610067®Number=0000000000098147&sum=9500 [07:45:04]OFD Sender: Processing packet 24986 [packets to send 5, broken 4] [07:45:04]ProducePacketName [07:45:04]name=ofd_packets/00024986 [07:45:04]OFD Sender: To server: pG, [07:45:04]CommunicateWithHost lk.salyk.kg:30040 [07:45:04]ConnectInit lk.salyk.kg [07:45:04]line 0 [07:45:04]written 0, free lines is 4095 [07:45:04]Connected sock=10 [07:45:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 01 00 00 B1 3B 2D 01 FB 86 5A 03 01 00 03 00 21 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 B0 D0 BF D0 B5 D0 BB D1 8C D1 81 D0 B8 D0 BD 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 06 58 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9A 61 00 00 35 04 06 00 8A 92 36 81 9C CD D0 6B 0A 2C 1C 27 7E EA [07:45:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C5 76 47 00 B3 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9A 61 00 00 F4 03 04 00 81 00 17 67 B6 04 01 00 00 3E 93 2C 26 80 1F 97 D3 [07:45:04]CommunicateWithHost err = 0 [07:45:04]CheckOFDResponse [07:45:04]1017 (14) - 77093643461234 [07:45:04]1041 (16) - 0000000000965376 [07:45:04]1040 (4) - 24986 [07:45:04]1012 (4) - 22.10.2024 01:31 [07:45:04]1206 (1) - 0 [07:45:04]OFD Sender: Remove packet 24986 [07:45:04]ProducePacketName [07:45:04]name=ofd_packets/00024986 [07:45:04]NVStorageDeleteData [07:45:05]Write to MH i2c: 01 00 00 C2 15 D7 [07:45:05]Write i2c OK [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: 01 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: 01 07 00 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: 01 07 00 C2 15 00 00 00 00 00 B4 0C 9E [07:45:05]RasterBufferAndPrint [07:45:05]line [07:45:05]line [07:45:05]line [07:45:05]line [07:45:05]line [07:45:05]written 0, free lines is 3258 [07:45:05]process_action close_receipt done [07:45:05]requested_data is exist [07:45:05]produce_requested_data [07:45:05]requested_item fm.sn is exist - process it [07:45:05]wFMCommunicate request_size=4 [07:45:05]MH_SAM_APDU [07:45:05]CAPDU: 80 11 00 00 [07:45:05]Write to MH i2c: E2 08 00 C9 15 80 11 00 00 00 00 00 00 58 [07:45:05]Write i2c OK [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: E2 [07:45:05]MH_I2C_Read... [07:45:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:45:05]Read from MH i2c: E2 17 00 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: E2 17 00 C9 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 AF [07:45:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [07:45:05]wFMCommunicate OK [07:45:05]requested_item fd.num is exist - process it [07:45:05]SAM_PROTO_GetFieldsCounters [07:45:05]wFMCommunicate request_size=4 [07:45:05]MH_SAM_APDU [07:45:05]CAPDU: 80 13 00 00 [07:45:05]Write to MH i2c: E2 08 00 CA 15 80 13 00 00 00 00 00 00 5B [07:45:05]Write i2c OK [07:45:05]MH_I2C_Read... [07:45:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:45:05]Read from MH i2c: E2 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: E2 62 00 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: E2 62 00 CA 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9A 61 00 00 0E 04 04 00 C9 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 5E [07:45:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9A 61 00 00 0E 04 04 00 C9 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:05]wFMCommunicate OK [07:45:05]SAM_PROTO_GetFieldsCounters done [07:45:05]requested_item shift.num is exist - process it [07:45:05]requested_item shift.opened is exist - process it [07:45:05]req_shift_opened [07:45:05]FM_GetShiftState [07:45:05]SAM_PROTO_GetShiftState [07:45:05]wFMCommunicate request_size=4 [07:45:05]MH_SAM_APDU [07:45:05]CAPDU: 80 13 01 00 [07:45:05]Write to MH i2c: E2 08 00 CB 15 80 13 01 00 00 00 00 00 5D [07:45:05]Write i2c OK [07:45:05]MH_I2C_Read... [07:45:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:45:05]Read from MH i2c: E2 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: E2 0E 00 [07:45:05]MH_I2C_Read... [07:45:05]Read from MH i2c: E2 0E 00 CB 15 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 AE [07:45:05]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [07:45:05]wFMCommunicate OK [07:45:05]SAM_PROTO_GetShiftState done [07:45:05]FM_GetShiftState done [07:45:05]req_shift_opened done [07:45:05]requested_item shift.open_date is exist - process it [07:45:05]req_shift_open_date [07:45:05]req_shift_open_date done [07:45:05]produce_requested_data done [07:45:05]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24986,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [07:45:05]process_action_free close_receipt [07:45:05]json_value_free [07:45:05]json_value_free done [07:45:05]process_json_proto returns [07:45:05]Send response to host [07:45:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24986,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [07:45:05]free response buf [07:45:05]execute_script done [07:45:05]execute_script returns [07:45:05]free content buf [07:45:05]Sock 7.Close socket [07:45:05]Sock 7.Thread stoped [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:05]recv_with_timeout no data received [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:26]recv_with_timeout no data received [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:42]recv_with_timeout no data received [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:10]OFD Sender: No OFD packet to send [07:47:15]OFD Sender: No OFD packet to send [07:47:20]OFD Sender: No OFD packet to send [07:47:25]OFD Sender: No OFD packet to send [07:47:30]OFD Sender: No OFD packet to send [07:47:35]OFD Sender: No OFD packet to send [07:47:40]OFD Sender: No OFD packet to send [07:47:45]OFD Sender: No OFD packet to send [07:47:50]OFD Sender: No OFD packet to send [07:47:55]OFD Sender: No OFD packet to send [07:48:00]OFD Sender: No OFD packet to send [07:48:05]OFD Sender: No OFD packet to send [07:48:10]OFD Sender: No OFD packet to send [07:48:15]OFD Sender: No OFD packet to send [07:48:20]OFD Sender: No OFD packet to send [07:48:25]OFD Sender: No OFD packet to send [07:48:30]OFD Sender: No OFD packet to send [07:48:35]OFD Sender: No OFD packet to send [07:48:40]OFD Sender: No OFD packet to send [07:48:45]OFD Sender: No OFD packet to send [07:48:50]OFD Sender: No OFD packet to send [07:48:55]OFD Sender: No OFD packet to send [07:49:00]OFD Sender: No OFD packet to send [07:49:05]OFD Sender: No OFD packet to send [07:49:10]OFD Sender: No OFD packet to send [07:49:15]OFD Sender: No OFD packet to send [07:49:20]OFD Sender: No OFD packet to send [07:49:25]OFD Sender: No OFD packet to send [07:49:30]OFD Sender: No OFD packet to send [07:49:35]OFD Sender: No OFD packet to send [07:49:40]OFD Sender: No OFD packet to send [07:49:45]OFD Sender: No OFD packet to send [07:49:50]OFD Sender: No OFD packet to send [07:49:55]OFD Sender: No OFD packet to send [07:50:00]OFD Sender: No OFD packet to send [07:50:05]OFD Sender: No OFD packet to send [07:50:10]OFD Sender: No OFD packet to send [07:50:15]OFD Sender: No OFD packet to send [07:50:20]OFD Sender: No OFD packet to send [07:50:25]OFD Sender: No OFD packet to send [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]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:26]recv_with_timeout no data received [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:41]recv_with_timeout no data received [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:55:56]recv_with_timeout no data received [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: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:12]recv_with_timeout no data received [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:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:51]OFD Sender: No OFD packet to send [08:05:56]OFD Sender: No OFD packet to send [08:06:01]OFD Sender: No OFD packet to send [08:06:06]OFD Sender: No OFD packet to send [08:06:11]OFD Sender: No OFD packet to send [08:06:16]OFD Sender: No OFD packet to send [08:06:21]OFD Sender: No OFD packet to send [08:06:26]OFD Sender: No OFD packet to send [08:06:31]OFD Sender: No OFD packet to send [08:06:36]OFD Sender: No OFD packet to send [08:06:41]OFD Sender: No OFD packet to send [08:06:46]OFD Sender: No OFD packet to send [08:06:51]OFD Sender: No OFD packet to send [08:06:56]OFD Sender: No OFD packet to send [08:07:01]OFD Sender: No OFD packet to send [08:07:06]OFD Sender: No OFD packet to send [08:07:11]OFD Sender: No OFD packet to send [08:07:15]recv_with_timeout no data received [08:07:16]OFD Sender: No OFD packet to send [08:07:21]OFD Sender: No OFD packet to send [08:07:26]OFD Sender: No OFD packet to send [08:07:31]OFD Sender: No OFD packet to send [08:07:36]OFD Sender: No OFD packet to send [08:07:41]OFD Sender: No OFD packet to send [08:07:43]recv_with_timeout no data received [08:07:46]OFD Sender: No OFD packet to send [08:07:51]OFD Sender: No OFD packet to send [08:07:56]OFD Sender: No OFD packet to send [08:08:01]OFD Sender: No OFD packet to send [08:08:03]recv_with_timeout no data received [08:08:06]OFD Sender: No OFD packet to send [08:08:11]OFD Sender: No OFD packet to send [08:08:16]OFD Sender: No OFD packet to send [08:08:21]OFD Sender: No OFD packet to send [08:08:26]OFD Sender: No OFD packet to send [08:08:31]OFD Sender: No OFD packet to send [08:08:36]OFD Sender: No OFD packet to send [08:08:41]OFD Sender: No OFD packet to send [08:08:46]OFD Sender: No OFD packet to send [08:08:51]OFD Sender: No OFD packet to send [08:08:56]OFD Sender: No OFD packet to send [08:09:01]OFD Sender: No OFD packet to send [08:09:06]OFD Sender: No OFD packet to send [08:09:11]OFD Sender: No OFD packet to send [08:09:16]OFD Sender: No OFD packet to send [08:09:21]OFD Sender: No OFD packet to send [08:09:26]OFD Sender: No OFD packet to send [08:09:31]OFD Sender: No OFD packet to send [08:09:36]OFD Sender: No OFD packet to send [08:09:41]OFD Sender: No OFD packet to send [08:09:46]OFD Sender: No OFD packet to send [08:09:51]OFD Sender: No OFD packet to send [08:09:56]OFD Sender: No OFD packet to send [08:10:01]OFD Sender: No OFD packet to send [08:10:06]OFD Sender: No OFD packet to send [08:10:11]OFD Sender: No OFD packet to send [08:10:16]OFD Sender: No OFD packet to send [08:10:21]OFD Sender: No OFD packet to send [08:10:26]OFD Sender: No OFD packet to send [08:10:31]OFD Sender: No OFD packet to send [08:10:36]OFD Sender: No OFD packet to send [08:10:41]OFD Sender: No OFD packet to send [08:10:46]OFD Sender: No OFD packet to send [08:10:51]OFD Sender: No OFD packet to send [08:10:56]OFD Sender: No OFD packet to send [08:11:01]OFD Sender: No OFD packet to send [08:11:06]OFD Sender: No OFD packet to send [08:11:11]OFD Sender: No OFD packet to send [08:11:16]OFD Sender: No OFD packet to send [08:11:21]OFD Sender: No OFD packet to send [08:11:26]OFD Sender: No OFD packet to send [08:11:31]OFD Sender: No OFD packet to send [08:11:36]OFD Sender: No OFD packet to send [08:11:41]OFD Sender: No OFD packet to send [08:11:46]OFD Sender: No OFD packet to send [08:11:51]OFD Sender: No OFD packet to send [08:11:56]OFD Sender: No OFD packet to send [08:12:01]OFD Sender: No OFD packet to send [08:12:06]OFD Sender: No OFD packet to send [08:12:11]OFD Sender: No OFD packet to send [08:12:16]OFD Sender: No OFD packet to send [08:12:21]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: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:53]recv_with_timeout no data received [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:14]recv_with_timeout no data received [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:29]recv_with_timeout no data received [08:16:31]OFD Sender: No OFD packet to send [08:16:36]OFD Sender: No OFD packet to send [08:16:41]OFD Sender: No OFD packet to send [08:16:46]OFD Sender: No OFD packet to send [08:16:51]OFD Sender: No OFD packet to send [08:16:56]OFD Sender: No OFD packet to send [08:17:21]OFD Sender: No OFD packet to send [08:17:26]OFD Sender: No OFD packet to send [08:17:31]OFD Sender: No OFD packet to send [08:17:32]recv_with_timeout no data received [08:17:36]OFD Sender: No OFD packet to send [08:17:41]OFD Sender: No OFD packet to send [08:17:46]OFD Sender: No OFD packet to send [08:17:51]OFD Sender: No OFD packet to send [08:17:56]OFD Sender: No OFD packet to send [08:18:01]OFD Sender: No OFD packet to send [08:18:06]OFD Sender: No OFD packet to send [08:18:11]OFD Sender: No OFD packet to send [08:18:16]OFD Sender: No OFD packet to send [08:18:21]OFD Sender: No OFD packet to send [08:18:26]OFD Sender: No OFD packet to send [08:18:31]OFD Sender: No OFD packet to send [08:18:36]OFD Sender: No OFD packet to send [08:18:41]OFD Sender: No OFD packet to send [08:18:46]OFD Sender: No OFD packet to send [08:18:51]OFD Sender: No OFD packet to send [08:18:56]OFD Sender: No OFD packet to send [08:19:01]OFD Sender: No OFD packet to send [08:19:06]OFD Sender: No OFD packet to send [08:19:12]OFD Sender: No OFD packet to send [08:19:17]OFD Sender: No OFD packet to send [08:19:22]OFD Sender: No OFD packet to send [08:19:27]OFD Sender: No OFD packet to send [08:19:32]OFD Sender: No OFD packet to send [08:19:37]OFD Sender: No OFD packet to send [08:19:42]OFD Sender: No OFD packet to send [08:19:47]OFD Sender: No OFD packet to send [08:19:52]OFD Sender: No OFD packet to send [08:19:57]OFD Sender: No OFD packet to send [08:20:02]OFD Sender: No OFD packet to send [08:20:07]OFD Sender: No OFD packet to send [08:20:12]OFD Sender: No OFD packet to send [08:20:17]OFD Sender: No OFD packet to send [08:20:22]OFD Sender: No OFD packet to send [08:20:27]OFD Sender: No OFD packet to send [08:20:32]OFD Sender: No OFD packet to send [08:20:37]OFD Sender: No OFD packet to send [08:20:42]OFD Sender: No OFD packet to send [08:20:47]OFD Sender: No OFD packet to send [08:20:52]OFD Sender: No OFD packet to send [08:20:57]OFD Sender: No OFD packet to send [08:21:02]OFD Sender: No OFD packet to send [08:21:07]OFD Sender: No OFD packet to send [08:21:12]OFD Sender: No OFD packet to send [08:21:17]OFD Sender: No OFD packet to send [08:21:22]OFD Sender: No OFD packet to send [08:21:27]OFD Sender: No OFD packet to send [08:21:32]OFD Sender: No OFD packet to send [08:21:37]OFD Sender: No OFD packet to send [08:21:42]OFD Sender: No OFD packet to send [08:21:47]OFD Sender: No OFD packet to send [08:21:52]OFD Sender: No OFD packet to send [08:21:57]OFD Sender: No OFD packet to send [08:22:02]OFD Sender: No OFD packet to send [08:22:07]OFD Sender: No OFD packet to send [08:22:12]OFD Sender: No OFD packet to send [08:22:17]OFD Sender: No OFD packet to send [08:22:22]OFD Sender: No OFD packet to send [08:22:27]OFD Sender: No OFD packet to send [08:22:32]OFD Sender: No OFD packet to send [08:22:37]OFD Sender: No OFD packet to send [08:22:42]OFD Sender: No OFD packet to send [08:22:47]OFD Sender: No OFD packet to send [08:22:52]OFD Sender: No OFD packet to send [08:22:57]OFD Sender: No OFD packet to send [08:23:02]OFD Sender: No OFD packet to send [08:23:07]OFD Sender: No OFD packet to send [08:23:12]OFD Sender: No OFD packet to send [08:23:17]OFD Sender: No OFD packet to send [08:23:22]OFD Sender: No OFD packet to send [08:23:27]OFD Sender: No OFD packet to send [08:23:32]OFD Sender: No OFD packet to send [08:23:37]OFD Sender: No OFD packet to send [08:23:42]OFD Sender: No OFD packet to send [08:23:47]OFD Sender: No OFD packet to send [08:23:52]OFD Sender: No OFD packet to send [08:23:57]OFD Sender: No OFD packet to send [08:24:02]OFD Sender: No OFD packet to send [08:24:07]OFD Sender: No OFD packet to send [08:24:12]OFD Sender: No OFD packet to send [08:24:17]OFD Sender: No OFD packet to send [08:24:22]OFD Sender: No OFD packet to send [08:24:27]OFD Sender: No OFD packet to send [08:24:32]OFD Sender: No OFD packet to send [08:24:37]OFD Sender: No OFD packet to send [08:24:42]OFD Sender: No OFD packet to send [08:24:47]OFD Sender: No OFD packet to send [08:24:52]OFD Sender: No OFD packet to send [08:24:57]OFD Sender: No OFD packet to send [08:25:02]OFD Sender: No OFD packet to send [08:25:07]OFD Sender: No OFD packet to send [08:25:12]OFD Sender: No OFD packet to send [08:25:17]OFD Sender: No OFD packet to send [08:25:22]OFD Sender: No OFD packet to send [08:25:27]OFD Sender: No OFD packet to send [08:25:32]OFD Sender: No OFD packet to send [08:25:37]OFD Sender: No OFD packet to send [08:25:42]OFD Sender: No OFD packet to send [08:25:47]OFD Sender: No OFD packet to send [08:25:52]OFD Sender: No OFD packet to send [08:25:57]OFD Sender: No OFD packet to send [08:26:02]OFD Sender: No OFD packet to send [08:26:07]OFD Sender: No OFD packet to send [08:26:12]OFD Sender: No OFD packet to send [08:26:17]OFD Sender: No OFD packet to send [08:26:22]OFD Sender: No OFD packet to send [08:26:27]OFD Sender: No OFD packet to send [08:26:29]recv_with_timeout no data received [08:26:32]OFD Sender: No OFD packet to send [08:26:37]OFD Sender: No OFD packet to send [08:26:42]OFD Sender: No OFD packet to send [08:26:47]OFD Sender: No OFD packet to send [08:26:47]recv_with_timeout no data received [08:26:52]OFD Sender: No OFD packet to send [08:26:57]OFD Sender: No OFD packet to send [08:27:02]OFD Sender: No OFD packet to send [08:27:07]recv_with_timeout no data received [08:27:07]OFD Sender: No OFD packet to send [08:27:12]OFD Sender: No OFD packet to send [08:27:17]OFD Sender: No OFD packet to send [08:27:22]OFD Sender: No OFD packet to send [08:27:27]OFD Sender: No OFD packet to send [08:27:32]OFD Sender: No OFD packet to send [08:27:37]OFD Sender: No OFD packet to send [08:27:42]OFD Sender: No OFD packet to send [08:27:47]OFD Sender: No OFD packet to send [08:27:52]OFD Sender: No OFD packet to send [08:27:57]OFD Sender: No OFD packet to send [08:28:02]OFD Sender: No OFD packet to send [08:28:07]OFD Sender: No OFD packet to send [08:28:12]OFD Sender: No OFD packet to send [08:28:17]OFD Sender: No OFD packet to send [08:28:22]OFD Sender: No OFD packet to send [08:28:27]OFD Sender: No OFD packet to send [08:28:32]OFD Sender: No OFD packet to send [08:28:37]OFD Sender: No OFD packet to send [08:28:42]OFD Sender: No OFD packet to send [08:28:47]OFD Sender: No OFD packet to send [08:28:52]OFD Sender: No OFD packet to send [08:28:57]OFD Sender: No OFD packet to send [08:29:02]OFD Sender: No OFD packet to send [08:29:07]OFD Sender: No OFD packet to send [08:29:12]OFD Sender: No OFD packet to send [08:29:17]OFD Sender: No OFD packet to send [08:29:22]OFD Sender: No OFD packet to send [08:29:27]OFD Sender: No OFD packet to send [08:29:32]OFD Sender: No OFD packet to send [08:29:37]OFD Sender: No OFD packet to send [08:29:42]OFD Sender: No OFD packet to send [08:29:47]OFD Sender: No OFD packet to send [08:29:52]OFD Sender: No OFD packet to send [08:29:57]OFD Sender: No OFD packet to send [08:30:02]OFD Sender: No OFD packet to send [08:30:07]OFD Sender: No OFD packet to send [08:30:12]OFD Sender: No OFD packet to send [08:30:17]OFD Sender: No OFD packet to send [08:30:22]OFD Sender: No OFD packet to send [08:30:27]OFD Sender: No OFD packet to send [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:43]OFD Sender: No OFD packet to send [08:40:48]OFD Sender: No OFD packet to send [08:40:53]OFD Sender: No OFD packet to send [08:40:58]OFD Sender: No OFD packet to send [08:41:03]OFD Sender: No OFD packet to send [08:41:08]OFD Sender: No OFD packet to send [08:41:13]OFD Sender: No OFD packet to send [08:41:18]OFD Sender: No OFD packet to send [08:41:23]OFD Sender: No OFD packet to send [08:41:28]OFD Sender: No OFD packet to send [08:41:33]OFD Sender: No OFD packet to send [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41:58]OFD Sender: No OFD packet to send [08:42:03]OFD Sender: No OFD packet to send [08:42:08]OFD Sender: No OFD packet to send [08:42:13]OFD Sender: No OFD packet to send [08:42:18]OFD Sender: No OFD packet to send [08:42:23]OFD Sender: No OFD packet to send [08:42:28]OFD Sender: No OFD packet to send [08:42:33]OFD Sender: No OFD packet to send [08:42:38]OFD Sender: No OFD packet to send [08:42:43]OFD Sender: No OFD packet to send [08:42:48]OFD Sender: No OFD packet to send [08:42:53]OFD Sender: No OFD packet to send [08:42:58]OFD Sender: No OFD packet to send [08:43:03]OFD Sender: No OFD packet to send [08:43:08]OFD Sender: No OFD packet to send [08:43:13]OFD Sender: No OFD packet to send [08:43:18]OFD Sender: No OFD packet to send [08:43:23]OFD Sender: No OFD packet to send [08:43:28]OFD Sender: No OFD packet to send [08:43:33]OFD Sender: No OFD packet to send [08:43:38]OFD Sender: No OFD packet to send [08:43:43]OFD Sender: No OFD packet to send [08:43:48]OFD Sender: No OFD packet to send [08:43:53]OFD Sender: No OFD packet to send [08:43:58]OFD Sender: No OFD packet to send [08:44:03]OFD Sender: No OFD packet to send [08:44:08]OFD Sender: No OFD packet to send [08:44:13]OFD Sender: No OFD packet to send [08:44:16]accept exits with 9 [08:44:16]New connection [08:44:16]New thread 3067108708 created [08:44:16]Thread 3066965348 joined [08:44:16]Waiting for new connection... [08:44:16] Sock 9.Parse request [08:44:16]Sock 9.Check first char [08:44:16]Sock 9.First char is OK [08:44:16]request: POST /json_proto HTTP/1.0 [08:44:16]Method: POST [08:44:16]URL: /json_proto [08:44:16]Method is POST - this is cgi request [08:44:16]url: /json_proto [08:44:16]query_string will be loaded in cgi processing [08:44:16]execute_cgi json_proto POST (null) [08:44:16]execute_cgi path=json_proto method=POST [08:44:16]POST find Content-Length [08:44:16]Host: 172.17.53.196:8080 [08:44:16]Content-Length: 620 [08:44:16]Content-Type: application/json [08:44:16] [08:44:16]POST finish read [08:44:16]Found Content-Length = 620 [08:44:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34745", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:44:16]execute_script... [08:44:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34745", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:44:16]POST & json_proto [08:44:16]process_json_proto [08:44:16]json parsed OK: [08:44:16]protocol is kg_v1.0 [08:44:16]action value=close_receipt [08:44:16]process_action close_receipt [08:44:16]cmd_close_receipt [08:44:16]MH_GetDate [08:44:16]Write to MH i2c: F0 00 00 CC 15 D0 [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: F0 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: F0 09 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: F0 09 00 CC 15 00 E8 65 17 67 4F CD 9A 65 BF [08:44:16]GetLastDocTimeStamp 1729583110 [08:44:16]current date 1729586664 [08:44:16]FM_GetShiftState [08:44:16]SAM_PROTO_GetShiftState [08:44:16]wFMCommunicate request_size=4 [08:44:16]MH_SAM_APDU [08:44:16]CAPDU: 80 13 01 00 [08:44:16]Write to MH i2c: E2 08 00 CD 15 80 13 01 00 00 00 00 00 5F [08:44:16]Write i2c OK [08:44:16]MH_I2C_Read... [08:44:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:16]Read from MH i2c: E2 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 0E 00 [08:44:16]MH_I2C_Read... [08:44:16]Read from MH i2c: E2 0E 00 CD 15 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 B0 [08:44:16]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [08:44:16]wFMCommunicate OK [08:44:16]SAM_PROTO_GetShiftState done [08:44:16]FM_GetShiftState done [08:44:16]opened in 1729556951 [08:44:16]opened+sec_in_day 1729643351 [08:44:16]quantity*price = 14400 [08:44:16]sum+1 = 14401 [08:44:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 8 22.10.2024 08:44 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24987 ФПД: 263630721860806 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T084424&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24987&fm=263630721860806&tin=02508201610067®Number=0000000000098147&sum=14400 0 [08:44:17]StoreToDocumentArchive [08:44:17]shift 457 fd 24987 [08:44:17]save to /storage/0457/doc_00024987 [08:44:17]save last doc name /storage/0457/doc_00024987 to /storage/kkm_last_doc_name [08:44:17]save OK [08:44:17]Clear old archive folders... [08:44:17]ProcessDocumentItem done err = 0, tmpTLVsize=273 [08:44:17]tlvbuf is 0117E280 [08:44:17]SAM_PROTO_ClearQueue [08:44:17]wFMCommunicate request_size=4 [08:44:17]MH_SAM_APDU [08:44:17]CAPDU: 80 09 00 00 [08:44:17]Write to MH i2c: E2 08 00 DA 15 80 09 00 00 00 00 00 00 61 [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:44:17]Read from MH i2c: E2 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 DA 15 00 90 00 63 [08:44:17]RAPDU: 90 00 [08:44:17]wFMCommunicate OK [08:44:17]SAM_PROTO_ClearQueue done [08:44:17]KKMCreateOFDPacket [08:44:17]OFDProtocolAddRootSTLVToBuf [08:44:17]FM_MakeSignedData [08:44:17]FM_MakeSignedData [08:44:17]SAM_PROTO_SignData [08:44:17]wFMCommunicate request_size=4 [08:44:17]MH_SAM_APDU [08:44:17]CAPDU: 80 0D 01 02 [08:44:17]Write to MH i2c: E2 08 00 DB 15 80 0D 01 02 00 00 00 00 69 [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:44:17]Read from MH i2c: E2 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 DB 15 00 90 00 64 [08:44:17]RAPDU: 90 00 [08:44:17]wFMCommunicate OK [08:44:17]wFMCommunicate request_size=255 [08:44:17]MH_SAM_APDU [08:44:17]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 E8 65 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [08:44:17]Write to MH i2c: E2 02 01 DC 15 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 E8 65 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 60 [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 [08:44:17]MH_I2C_Read... [08:44:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:17]Read from MH i2c: E2 03 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 DC 15 00 90 00 65 [08:44:17]RAPDU: 90 00 [08:44:17]wFMCommunicate OK [08:44:17]wFMCommunicate request_size=32 [08:44:17]MH_SAM_APDU [08:44:17]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 9B 61 00 00 35 04 06 00 EF C5 4F 87 44 C6 [08:44:17]Write to MH i2c: E2 23 00 DD 15 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 9B 61 00 00 35 04 06 00 EF C5 4F 87 44 C6 00 00 5D [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:44:17]Read from MH i2c: E2 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 03 00 DD 15 00 90 00 66 [08:44:17]RAPDU: 90 00 [08:44:17]wFMCommunicate OK [08:44:17]wFMCommunicate request_size=4 [08:44:17]MH_SAM_APDU [08:44:17]CAPDU: 80 0D 03 02 [08:44:17]Write to MH i2c: E2 08 00 DE 15 80 0D 03 02 00 00 00 00 6E [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:44:17]Read from MH i2c: E2 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 0B 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 0B 00 DE 15 00 35 31 76 B5 43 F0 F7 54 90 00 7E [08:44:17]RAPDU: 35 31 76 B5 43 F0 F7 54 90 00 [08:44:17]wFMCommunicate OK [08:44:17]SAM_PROTO_SignData done [08:44:17]FM_MakeSignedData done [08:44:17]CreateOFDProtocolMessage [08:44:17]wFMCommunicate request_size=4 [08:44:17]MH_SAM_APDU [08:44:17]CAPDU: 80 11 00 00 [08:44:17]Write to MH i2c: E2 08 00 DF 15 80 11 00 00 00 00 00 00 6E [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:17]Read from MH i2c: E2 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 17 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: E2 17 00 DF 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C5 [08:44:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [08:44:17]wFMCommunicate OK [08:44:17]CreateOFDProtocolMessage done [08:44:17]OFDSenderStorePacket 24987 [08:44:17]StoreOFDPacket docnum=24987 [08:44:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 0F 5A 1D 01 81 34 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 E8 65 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9B 61 00 00 35 04 06 00 EF C5 4F 87 44 C6 35 31 76 B5 43 F0 F7 54 [08:44:17]CheckFolder [08:44:17]dirname=/storage/ofd_packets [08:44:17]CheckFolder done [08:44:17]ProducePacketName [08:44:17]name=ofd_packets/00024987 [08:44:17]NVStorageSaveData ofd_packets/00024987 [08:44:17]File name is /storage/ofd_packets/00024987 [08:44:17]Write 323 bytes [08:44:17]NVStorageSaveData done [08:44:17]OFDSenderStorePacket done [08:44:17]KKMCreateOFDPacket done [08:44:17]NVStorageSaveData kkm_last_timestamp [08:44:17]File name is /storage/kkm_last_timestamp [08:44:17]Write 4 bytes [08:44:17]NVStorageSaveData done [08:44:17]ExternCall_PrintAddStr [08:44:17]wPrintStart [08:44:17]Write to MH i2c: 01 00 00 E0 15 F5 [08:44:17]Write i2c OK [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: 01 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: 01 07 00 [08:44:17]MH_I2C_Read... [08:44:17]Read from MH i2c: 01 07 00 E0 15 00 00 00 00 00 FF 0F 0A [08:44:17]RasterBufferAndPrint [08:44:17]line Счет N : (3)34745 [08:44:17]line ИНН: 02508201610067 [08:44:17]line Контрольно-Кассовый Чек [08:44:17]line ПРОДАЖА [08:44:17]line Товар: 48747059 [08:44:17]line Сигареты Winston Legend Blue [08:44:17]line 1.000 * 144.00 [08:44:17]line = 144.00 [08:44:17]line НДС 12% НСП 1% [08:44:17]line > о реализуемом товаре [08:44:17]line ИТОГО: 144.00 [08:44:17]line НСП 1% : 1.27 [08:44:17]line НДС 12% : 15.29 [08:44:17]line Наличными: 144.00 [08:44:17]line Безнал.: 0.00 [08:44:17]line Место: АЗС № 161 "Партнер Нефть" [08:44:17]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [08:44:17]line СНО: Общий режим [08:44:17]line Чек 8 22.10.2024 08:44 [08:44:17]line Смена: 457 ФФД: 1.0 [08:44:17]line ЗНМ: 0300000240 [08:44:17]line РНМ: 0000000000098147 [08:44:17]line Версия ККМ: 001 [08:44:17]line ФМ: 0000000000965376 [08:44:17]line ФД: 24987 [08:44:17]line ФПД: 263630721860806 [08:44:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T084424&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24987&fm=263630721860806&tin=02508201610067®Number=0000000000098147&sum=14400 [08:44:18]line 0 [08:44:18]OFD Sender: Processing packet 24987 [packets to send 5, broken 4] [08:44:18]ProducePacketName [08:44:18]name=ofd_packets/00024987 [08:44:18]OFD Sender: To server: pG, [08:44:18]CommunicateWithHost lk.salyk.kg:30040 [08:44:18]ConnectInit lk.salyk.kg [08:44:18]written 0, free lines is 4095 [08:44:18]Connected sock=10 [08:44:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 0F 5A 1D 01 81 34 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 E8 65 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9B 61 00 00 35 04 06 00 EF C5 4F 87 44 C6 35 31 76 B5 43 F0 F7 54 [08:44:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 78 31 47 00 1D 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 39 36 35 33 37 36 10 04 04 00 9B 61 00 00 F4 03 04 00 63 0E 17 67 B6 04 01 00 00 CC 58 3A AB 2A 84 8B 8D [08:44:18]CommunicateWithHost err = 0 [08:44:18]CheckOFDResponse [08:44:18]1017 (14) - 77093643461234 [08:44:18]1041 (16) - 0000000000965376 [08:44:18]1040 (4) - 24987 [08:44:18]1012 (4) - 22.10.2024 02:30 [08:44:18]1206 (1) - 0 [08:44:18]OFD Sender: Remove packet 24987 [08:44:18]ProducePacketName [08:44:18]name=ofd_packets/00024987 [08:44:18]NVStorageDeleteData [08:44:18]Write to MH i2c: 01 00 00 09 16 1F [08:44:18]Write i2c OK [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: 01 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: 01 07 00 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: 01 07 00 09 16 00 00 00 00 00 B8 0C EA [08:44:18]RasterBufferAndPrint [08:44:18]line [08:44:18]line [08:44:18]line [08:44:18]line [08:44:18]line [08:44:18]written 0, free lines is 3260 [08:44:18]process_action close_receipt done [08:44:18]requested_data is exist [08:44:18]produce_requested_data [08:44:18]requested_item fm.sn is exist - process it [08:44:18]wFMCommunicate request_size=4 [08:44:18]MH_SAM_APDU [08:44:18]CAPDU: 80 11 00 00 [08:44:18]Write to MH i2c: E2 08 00 10 16 80 11 00 00 00 00 00 00 A0 [08:44:18]Write i2c OK [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: E2 [08:44:18]MH_I2C_Read... [08:44:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:44:18]Read from MH i2c: E2 17 00 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: E2 17 00 10 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F7 [08:44:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [08:44:18]wFMCommunicate OK [08:44:18]requested_item fd.num is exist - process it [08:44:18]SAM_PROTO_GetFieldsCounters [08:44:18]wFMCommunicate request_size=4 [08:44:18]MH_SAM_APDU [08:44:18]CAPDU: 80 13 00 00 [08:44:18]Write to MH i2c: E2 08 00 11 16 80 13 00 00 00 00 00 00 A3 [08:44:18]Write i2c OK [08:44:18]MH_I2C_Read... [08:44:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:44:18]Read from MH i2c: E2 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: E2 62 00 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: E2 62 00 11 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9B 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [08:44:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9B 61 00 00 0E 04 04 00 C9 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:44:18]wFMCommunicate OK [08:44:18]SAM_PROTO_GetFieldsCounters done [08:44:18]requested_item shift.num is exist - process it [08:44:18]requested_item shift.opened is exist - process it [08:44:18]req_shift_opened [08:44:18]FM_GetShiftState [08:44:18]SAM_PROTO_GetShiftState [08:44:18]wFMCommunicate request_size=4 [08:44:18]MH_SAM_APDU [08:44:18]CAPDU: 80 13 01 00 [08:44:18]Write to MH i2c: E2 08 00 12 16 80 13 01 00 00 00 00 00 A5 [08:44:18]Write i2c OK [08:44:18]MH_I2C_Read... [08:44:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:44:18]Read from MH i2c: E2 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: E2 0E 00 [08:44:18]MH_I2C_Read... [08:44:18]Read from MH i2c: E2 0E 00 12 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 F6 [08:44:18]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [08:44:18]wFMCommunicate OK [08:44:18]SAM_PROTO_GetShiftState done [08:44:18]FM_GetShiftState done [08:44:18]req_shift_opened done [08:44:18]requested_item shift.open_date is exist - process it [08:44:18]req_shift_open_date [08:44:18]req_shift_open_date done [08:44:18]produce_requested_data done [08:44:18]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24987,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [08:44:18]process_action_free close_receipt [08:44:18]json_value_free [08:44:18]json_value_free done [08:44:18]process_json_proto returns [08:44:18]Send response to host [08:44:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24987,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [08:44:19]free response buf [08:44:19]execute_script done [08:44:19]execute_script returns [08:44:19]free content buf [08:44:19]Sock 9.Close socket [08:44:19]Sock 9.Thread stoped [08:44:19]OFD Sender: No OFD packet to send [08:44:20]int [08:44:20]Write to MH i2c: 01 00 00 13 16 29 [08:44:20]*** FLAG_PRN_KEY set [08:44:20]Write i2c OK [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 07 00 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 07 00 13 16 00 08 00 00 00 FF 0F 46 [08:44:20]state=0 [08:44:20]Key pressed [08:44:20]Feed [08:44:20]Write to MH i2c: D8 00 00 14 16 01 [08:44:20]Write i2c OK [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: D8 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: D8 01 00 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: D8 01 00 14 16 00 02 [08:44:20]int [08:44:20]Write to MH i2c: 01 00 00 15 16 2B [08:44:20]Write i2c OK [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 07 00 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 07 00 15 16 00 48 00 00 00 3C 00 B6 [08:44:20]state=2 [08:44:20]Key pressed [08:44:20]int [08:44:20]Write to MH i2c: 01 00 00 16 16 2C [08:44:20]*** FLAG_PRN_KEY reset [08:44:20]Write i2c OK [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 07 00 [08:44:20]MH_I2C_Read... [08:44:20]Read from MH i2c: 01 07 00 16 16 00 00 00 00 00 FF 0F 41 [08:44:20]state=2 [08:44:20]Stop feed [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [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]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:56]accept exits with 7 [08:53:56]New connection [08:53:56]New thread 3066965348 created [08:53:56]Thread 3067108708 joined [08:53:56]Waiting for new connection... [08:53:56] Sock 7.Parse request [08:53:56]Sock 7.Check first char [08:53:56]Sock 7.First char is OK [08:53:56]request: POST /json_proto HTTP/1.0 [08:53:56]Method: POST [08:53:56]URL: /json_proto [08:53:56]Method is POST - this is cgi request [08:53:56]url: /json_proto [08:53:56]query_string will be loaded in cgi processing [08:53:56]execute_cgi json_proto POST (null) [08:53:56]execute_cgi path=json_proto method=POST [08:53:56]POST find Content-Length [08:53:56]Host: 172.17.53.196:8080 [08:53:56]Content-Length: 751 [08:53:56]Content-Type: application/json [08:53:56] [08:53:56]POST finish read [08:53:56]Found Content-Length = 751 [08:53:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34746", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:53:56]execute_script... [08:53:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34746", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:53:56]POST & json_proto [08:53:56]process_json_proto [08:53:56]json parsed OK: [08:53:56]protocol is kg_v1.0 [08:53:56]action value=close_receipt [08:53:56]process_action close_receipt [08:53:56]cmd_close_receipt [08:53:56]MH_GetDate [08:53:56]Write to MH i2c: F0 00 00 17 16 1C [08:53:56]Write i2c OK [08:53:56]MH_I2C_Read... [08:53:56]Read from MH i2c: F0 [08:53:56]MH_I2C_Read... [08:53:56]Read from MH i2c: F0 09 00 [08:53:56]MH_I2C_Read... [08:53:56]Read from MH i2c: F0 09 00 17 16 00 2C 68 17 67 4F CD 9A 65 52 [08:53:56]GetLastDocTimeStamp 1729586664 [08:53:56]current date 1729587244 [08:53:56]FM_GetShiftState [08:53:56]SAM_PROTO_GetShiftState [08:53:56]wFMCommunicate request_size=4 [08:53:56]MH_SAM_APDU [08:53:56]CAPDU: 80 13 01 00 [08:53:56]Write to MH i2c: E2 08 00 18 16 80 13 01 00 00 00 00 00 AB [08:53:56]Write i2c OK [08:53:56]MH_I2C_Read... [08:53:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:53:56]Read from MH i2c: E2 [08:53:56]MH_I2C_Read... [08:53:56]Read from MH i2c: E2 0E 00 [08:53:56]MH_I2C_Read... [08:53:56]Read from MH i2c: E2 0E 00 18 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 FC [08:53:56]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [08:53:56]wFMCommunicate OK [08:53:56]SAM_PROTO_GetShiftState done [08:53:56]FM_GetShiftState done [08:53:56]opened in 1729556951 [08:53:56]opened+sec_in_day 1729643351 [08:53:56]quantity*price = 14900 [08:53:56]sum+1 = 14901 [08:53:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 9 22.10.2024 08:54 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24988 ФПД: 58340983443918 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T085404&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24988&fm=58340983443918&tin=02508201610067®Number=0000000000098147&sum=14900 0 [08:53:57]StoreToDocumentArchive [08:53:57]shift 457 fd 24988 [08:53:57]save to /storage/0457/doc_00024988 [08:53:57]save last doc name /storage/0457/doc_00024988 to /storage/kkm_last_doc_name [08:53:57]save OK [08:53:57]Clear old archive folders... [08:53:57]ProcessDocumentItem done err = 0, tmpTLVsize=312 [08:53:57]tlvbuf is 0114FB30 [08:53:57]SAM_PROTO_ClearQueue [08:53:57]wFMCommunicate request_size=4 [08:53:57]MH_SAM_APDU [08:53:57]CAPDU: 80 09 00 00 [08:53:57]Write to MH i2c: E2 08 00 25 16 80 09 00 00 00 00 00 00 AD [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 [08:53:57]MH_I2C_Read... [08:53:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:53:57]Read from MH i2c: E2 03 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 25 16 00 90 00 AF [08:53:57]RAPDU: 90 00 [08:53:57]wFMCommunicate OK [08:53:57]SAM_PROTO_ClearQueue done [08:53:57]KKMCreateOFDPacket [08:53:57]OFDProtocolAddRootSTLVToBuf [08:53:57]FM_MakeSignedData [08:53:57]FM_MakeSignedData [08:53:57]SAM_PROTO_SignData [08:53:57]wFMCommunicate request_size=4 [08:53:57]MH_SAM_APDU [08:53:57]CAPDU: 80 0D 01 02 [08:53:57]Write to MH i2c: E2 08 00 26 16 80 0D 01 02 00 00 00 00 B5 [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:53:57]Read from MH i2c: E2 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 26 16 00 90 00 B0 [08:53:57]RAPDU: 90 00 [08:53:57]wFMCommunicate OK [08:53:57]wFMCommunicate request_size=255 [08:53:57]MH_SAM_APDU [08:53:57]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 2C 68 17 67 0E 04 04 00 C9 [08:53:57]Write to MH i2c: E2 02 01 27 16 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 2C 68 17 67 0E 04 04 00 C9 00 00 58 [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:53:57]Read from MH i2c: E2 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 27 16 00 90 00 B1 [08:53:57]RAPDU: 90 00 [08:53:57]wFMCommunicate OK [08:53:57]wFMCommunicate request_size=71 [08:53:57]MH_SAM_APDU [08:53:57]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9C 61 00 00 35 04 06 00 35 0F 91 98 11 CE [08:53:57]Write to MH i2c: E2 4A 00 28 16 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9C 61 00 00 35 04 06 00 35 0F 91 98 11 CE 00 00 23 [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:53:57]Read from MH i2c: E2 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 03 00 28 16 00 90 00 B2 [08:53:57]RAPDU: 90 00 [08:53:57]wFMCommunicate OK [08:53:57]wFMCommunicate request_size=4 [08:53:57]MH_SAM_APDU [08:53:57]CAPDU: 80 0D 03 02 [08:53:57]Write to MH i2c: E2 08 00 29 16 80 0D 03 02 00 00 00 00 BA [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:53:57]Read from MH i2c: E2 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 0B 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 0B 00 29 16 00 93 33 99 12 AC 42 00 C9 90 00 E3 [08:53:57]RAPDU: 93 33 99 12 AC 42 00 C9 90 00 [08:53:57]wFMCommunicate OK [08:53:57]SAM_PROTO_SignData done [08:53:57]FM_MakeSignedData done [08:53:57]CreateOFDProtocolMessage [08:53:57]wFMCommunicate request_size=4 [08:53:57]MH_SAM_APDU [08:53:57]CAPDU: 80 11 00 00 [08:53:57]Write to MH i2c: E2 08 00 2A 16 80 11 00 00 00 00 00 00 BA [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:53:57]Read from MH i2c: E2 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 17 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: E2 17 00 2A 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 11 [08:53:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [08:53:57]wFMCommunicate OK [08:53:57]CreateOFDProtocolMessage done [08:53:57]OFDSenderStorePacket 24988 [08:53:57]StoreOFDPacket docnum=24988 [08:53:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4C 01 00 00 89 2F 44 01 B9 B0 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 2C 68 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9C 61 00 00 35 04 06 00 35 0F 91 98 11 CE 93 33 99 12 AC 42 00 C9 [08:53:57]CheckFolder [08:53:57]dirname=/storage/ofd_packets [08:53:57]CheckFolder done [08:53:57]ProducePacketName [08:53:57]name=ofd_packets/00024988 [08:53:57]NVStorageSaveData ofd_packets/00024988 [08:53:57]File name is /storage/ofd_packets/00024988 [08:53:57]Write 362 bytes [08:53:57]NVStorageSaveData done [08:53:57]OFDSenderStorePacket done [08:53:57]KKMCreateOFDPacket done [08:53:57]NVStorageSaveData kkm_last_timestamp [08:53:57]File name is /storage/kkm_last_timestamp [08:53:57]Write 4 bytes [08:53:57]NVStorageSaveData done [08:53:57]ExternCall_PrintAddStr [08:53:57]wPrintStart [08:53:57]Write to MH i2c: 01 00 00 2B 16 41 [08:53:57]Write i2c OK [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: 01 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: 01 07 00 [08:53:57]MH_I2C_Read... [08:53:57]Read from MH i2c: 01 07 00 2B 16 00 00 00 00 00 FF 0F 56 [08:53:57]RasterBufferAndPrint [08:53:57]line Счет N : (3)34746 [08:53:57]line ИНН: 02508201610067 [08:53:57]line Контрольно-Кассовый Чек [08:53:57]line ПРОДАЖА [08:53:57]line Товар: 4607015235333 [08:53:57]line Пряники Яшкино с вареной сгущенкой 350г [08:53:57]line 1.000 * 149.00 [08:53:57]line = 149.00 [08:53:57]line НДС 12% НСП 1% [08:53:57]line > о реализуемом товаре [08:53:57]line ИТОГО: 149.00 [08:53:57]line НСП 1% : 1.32 [08:53:57]line НДС 12% : 15.82 [08:53:57]line Наличными: 149.00 [08:53:57]line Безнал.: 0.00 [08:53:57]line Место: АЗС № 161 "Партнер Нефть" [08:53:57]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [08:53:57]line СНО: Общий режим [08:53:57]line Чек 9 22.10.2024 08:54 [08:53:57]line Смена: 457 ФФД: 1.0 [08:53:57]line ЗНМ: 0300000240 [08:53:57]line РНМ: 0000000000098147 [08:53:57]line Версия ККМ: 001 [08:53:57]line ФМ: 0000000000965376 [08:53:57]line ФД: 24988 [08:53:58]line ФПД: 58340983443918 [08:53:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T085404&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24988&fm=58340983443918&tin=02508201610067®Number=0000000000098147&sum=14900 [08:53:58]line 0 [08:53:58]OFD Sender: Processing packet 24988 [packets to send 5, broken 4] [08:53:58]ProducePacketName [08:53:58]name=ofd_packets/00024988 [08:53:58]OFD Sender: To server: pG, [08:53:58]CommunicateWithHost lk.salyk.kg:30040 [08:53:58]ConnectInit lk.salyk.kg [08:53:58]written 0, free lines is 4095 [08:53:58]Connected sock=10 [08:53:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4C 01 00 00 89 2F 44 01 B9 B0 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 2C 68 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9C 61 00 00 35 04 06 00 35 0F 91 98 11 CE 93 33 99 12 AC 42 00 C9 [08:53:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 B2 BF 47 00 46 68 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9C 61 00 00 F4 03 04 00 A7 10 17 67 B6 04 01 00 00 62 90 A6 08 22 1B 9A B0 [08:53:58]CommunicateWithHost err = 0 [08:53:58]CheckOFDResponse [08:53:58]1017 (14) - 77093643461234 [08:53:58]1041 (16) - 0000000000965376 [08:53:58]1040 (4) - 24988 [08:53:58]1012 (4) - 22.10.2024 02:40 [08:53:58]1206 (1) - 0 [08:53:58]OFD Sender: Remove packet 24988 [08:53:58]ProducePacketName [08:53:58]name=ofd_packets/00024988 [08:53:58]NVStorageDeleteData [08:53:58]Write to MH i2c: 01 00 00 54 16 6A [08:53:58]Write i2c OK [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: 01 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: 01 07 00 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: 01 07 00 54 16 00 00 00 00 00 C0 0C 3D [08:53:58]RasterBufferAndPrint [08:53:58]line [08:53:58]line [08:53:58]line [08:53:58]line [08:53:58]line [08:53:58]written 0, free lines is 3270 [08:53:58]process_action close_receipt done [08:53:58]requested_data is exist [08:53:58]produce_requested_data [08:53:58]requested_item fm.sn is exist - process it [08:53:58]wFMCommunicate request_size=4 [08:53:58]MH_SAM_APDU [08:53:58]CAPDU: 80 11 00 00 [08:53:58]Write to MH i2c: E2 08 00 5B 16 80 11 00 00 00 00 00 00 EB [08:53:58]Write i2c OK [08:53:58]MH_I2C_Read... [08:53:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:53:58]Read from MH i2c: E2 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: E2 17 00 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: E2 17 00 5B 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 42 [08:53:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [08:53:58]wFMCommunicate OK [08:53:58]requested_item fd.num is exist - process it [08:53:58]SAM_PROTO_GetFieldsCounters [08:53:58]wFMCommunicate request_size=4 [08:53:58]MH_SAM_APDU [08:53:58]CAPDU: 80 13 00 00 [08:53:58]Write to MH i2c: E2 08 00 5C 16 80 13 00 00 00 00 00 00 EE [08:53:58]Write i2c OK [08:53:58]MH_I2C_Read... [08:53:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:53:58]Read from MH i2c: E2 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: E2 62 00 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: E2 62 00 5C 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9C 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 F9 [08:53:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9C 61 00 00 0E 04 04 00 C9 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:53:58]wFMCommunicate OK [08:53:58]SAM_PROTO_GetFieldsCounters done [08:53:58]requested_item shift.num is exist - process it [08:53:58]requested_item shift.opened is exist - process it [08:53:58]req_shift_opened [08:53:58]FM_GetShiftState [08:53:58]SAM_PROTO_GetShiftState [08:53:58]wFMCommunicate request_size=4 [08:53:58]MH_SAM_APDU [08:53:58]CAPDU: 80 13 01 00 [08:53:58]Write to MH i2c: E2 08 00 5D 16 80 13 01 00 00 00 00 00 F0 [08:53:58]Write i2c OK [08:53:58]MH_I2C_Read... [08:53:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:53:58]Read from MH i2c: E2 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: E2 0E 00 [08:53:58]MH_I2C_Read... [08:53:58]Read from MH i2c: E2 0E 00 5D 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 41 [08:53:58]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [08:53:58]wFMCommunicate OK [08:53:58]SAM_PROTO_GetShiftState done [08:53:58]FM_GetShiftState done [08:53:58]req_shift_opened done [08:53:58]requested_item shift.open_date is exist - process it [08:53:58]req_shift_open_date [08:53:58]req_shift_open_date done [08:53:58]produce_requested_data done [08:53:58]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24988,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [08:53:58]process_action_free close_receipt [08:53:58]json_value_free [08:53:58]json_value_free done [08:53:58]process_json_proto returns [08:53:58]Send response to host [08:53:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24988,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [08:53:58]free response buf [08:53:58]execute_script done [08:53:58]execute_script returns [08:53:58]free content buf [08:53:58]Sock 7.Close socket [08:53:58]Sock 7.Thread stoped [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:03]accept exits with 9 [09:00:03]New connection [09:00:03]New thread 3067108708 created [09:00:03]Thread 3066965348 joined [09:00:03]Waiting for new connection... [09:00:03] Sock 9.Parse request [09:00:03]Sock 9.Check first char [09:00:03]Sock 9.First char is OK [09:00:03]request: POST /json_proto HTTP/1.0 [09:00:03]Method: POST [09:00:03]URL: /json_proto [09:00:03]Method is POST - this is cgi request [09:00:03]url: /json_proto [09:00:03]query_string will be loaded in cgi processing [09:00:03]execute_cgi json_proto POST (null) [09:00:03]execute_cgi path=json_proto method=POST [09:00:03]POST find Content-Length [09:00:03]Host: 172.17.53.196:8080 [09:00:03]Content-Length: 874 [09:00:03]Content-Type: application/json [09:00:03] [09:00:03]POST finish read [09:00:03]Found Content-Length = 874 [09:00:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34747", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 4.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:03]execute_script... [09:00:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34747", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 4.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:03]POST & json_proto [09:00:03]process_json_proto [09:00:03]json parsed OK: [09:00:03]protocol is kg_v1.0 [09:00:03]action value=close_receipt [09:00:03]process_action close_receipt [09:00:03]cmd_close_receipt [09:00:03]MH_GetDate [09:00:03]Write to MH i2c: F0 00 00 5E 16 63 [09:00:03]Write i2c OK [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: F0 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: F0 09 00 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: F0 09 00 5E 16 00 9B 69 17 67 4F CD 9A 65 09 [09:00:03]GetLastDocTimeStamp 1729587244 [09:00:03]current date 1729587611 [09:00:03]FM_GetShiftState [09:00:03]SAM_PROTO_GetShiftState [09:00:03]wFMCommunicate request_size=4 [09:00:03]MH_SAM_APDU [09:00:03]CAPDU: 80 13 01 00 [09:00:03]Write to MH i2c: E2 08 00 5F 16 80 13 01 00 00 00 00 00 F2 [09:00:03]Write i2c OK [09:00:03]MH_I2C_Read... [09:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:03]Read from MH i2c: E2 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: E2 0E 00 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: E2 0E 00 5F 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 43 [09:00:03]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:00:03]wFMCommunicate OK [09:00:03]SAM_PROTO_GetShiftState done [09:00:03]FM_GetShiftState done [09:00:03]opened in 1729556951 [09:00:03]opened+sec_in_day 1729643351 [09:00:03]quantity*price = 4000 [09:00:03]sum+1 = 4001 [09:00:03]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 4.000 * 10.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.70 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 10 22.10.2024 09:00 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24989 ФПД: 17085568908380 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090011&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24989&fm=17085568908380&tin=02508201610067®Number=0000000000098147&sum=8000 0 [09:00:04]StoreToDocumentArchive [09:00:04]shift 457 fd 24989 [09:00:04]save to /storage/0457/doc_00024989 [09:00:04]save last doc name /storage/0457/doc_00024989 to /storage/kkm_last_doc_name [09:00:04]save OK [09:00:04]Clear old archive folders... [09:00:04]ProcessDocumentItem done err = 0, tmpTLVsize=374 [09:00:04]tlvbuf is 01183960 [09:00:04]SAM_PROTO_ClearQueue [09:00:04]wFMCommunicate request_size=4 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 09 00 00 [09:00:04]Write to MH i2c: E2 08 00 6C 16 80 09 00 00 00 00 00 00 F4 [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 6C 16 00 90 00 F6 [09:00:04]RAPDU: 90 00 [09:00:04]wFMCommunicate OK [09:00:04]SAM_PROTO_ClearQueue done [09:00:04]KKMCreateOFDPacket [09:00:04]OFDProtocolAddRootSTLVToBuf [09:00:04]FM_MakeSignedData [09:00:04]FM_MakeSignedData [09:00:04]SAM_PROTO_SignData [09:00:04]wFMCommunicate request_size=4 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 0D 01 02 [09:00:04]Write to MH i2c: E2 08 00 6D 16 80 0D 01 02 00 00 00 00 FC [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 6D 16 00 90 00 F7 [09:00:04]RAPDU: 90 00 [09:00:04]wFMCommunicate OK [09:00:04]wFMCommunicate request_size=255 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 0D 02 02 FA 03 00 76 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 [09:00:04]Write to MH i2c: E2 02 01 6E 16 80 0D 02 02 FA 00 03 00 76 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 00 00 8F [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 03 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 03 00 6E 16 00 90 00 F8 [09:00:05]RAPDU: 90 00 [09:00:05]wFMCommunicate OK [09:00:05]wFMCommunicate request_size=133 [09:00:05]MH_SAM_APDU [09:00:05]CAPDU: 80 0D 02 02 80 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 9B 69 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9D 61 00 00 35 04 06 00 0F 8A 0B 43 FC 5C [09:00:05]Write to MH i2c: E2 88 00 6F 16 80 0D 02 02 80 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 9B 69 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9D 61 00 00 35 04 06 00 0F 8A 0B 43 FC 5C 00 00 7B [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 03 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 03 00 6F 16 00 90 00 F9 [09:00:05]RAPDU: 90 00 [09:00:05]wFMCommunicate OK [09:00:05]wFMCommunicate request_size=4 [09:00:05]MH_SAM_APDU [09:00:05]CAPDU: 80 0D 03 02 [09:00:05]Write to MH i2c: E2 08 00 70 16 80 0D 03 02 00 00 00 00 01 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 0B 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 0B 00 70 16 00 49 EB AE AC 9F 09 28 AD 90 00 0D [09:00:05]RAPDU: 49 EB AE AC 9F 09 28 AD 90 00 [09:00:05]wFMCommunicate OK [09:00:05]SAM_PROTO_SignData done [09:00:05]FM_MakeSignedData done [09:00:05]CreateOFDProtocolMessage [09:00:05]wFMCommunicate request_size=4 [09:00:05]MH_SAM_APDU [09:00:05]CAPDU: 80 11 00 00 [09:00:05]Write to MH i2c: E2 08 00 71 16 80 11 00 00 00 00 00 00 01 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 17 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 17 00 71 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 58 [09:00:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:00:05]wFMCommunicate OK [09:00:05]CreateOFDProtocolMessage done [09:00:05]OFDSenderStorePacket 24989 [09:00:05]StoreOFDPacket docnum=24989 [09:00:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8A 01 00 00 25 49 82 01 6F 93 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 9B 69 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9D 61 00 00 35 04 06 00 0F 8A 0B 43 FC 5C 49 EB AE AC 9F 09 28 AD [09:00:05]CheckFolder [09:00:05]dirname=/storage/ofd_packets [09:00:05]CheckFolder done [09:00:05]ProducePacketName [09:00:05]name=ofd_packets/00024989 [09:00:05]NVStorageSaveData ofd_packets/00024989 [09:00:05]File name is /storage/ofd_packets/00024989 [09:00:05]Write 424 bytes [09:00:05]NVStorageSaveData done [09:00:05]OFDSenderStorePacket done [09:00:05]KKMCreateOFDPacket done [09:00:05]NVStorageSaveData kkm_last_timestamp [09:00:05]File name is /storage/kkm_last_timestamp [09:00:05]Write 4 bytes [09:00:05]NVStorageSaveData done [09:00:05]ExternCall_PrintAddStr [09:00:05]wPrintStart [09:00:05]Write to MH i2c: 01 00 00 72 16 88 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: 01 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: 01 07 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: 01 07 00 72 16 00 00 00 00 00 FF 0F 9D [09:00:05]RasterBufferAndPrint [09:00:05]line Счет N : (3)34747 [09:00:05]line ИНН: 02508201610067 [09:00:05]line Контрольно-Кассовый Чек [09:00:05]line ПРОДАЖА [09:00:05]line Товар: 4700000160211 [09:00:05]line Вода Легенда 0,5л [09:00:05]line 1.000 * 40.00 [09:00:05]line = 40.00 [09:00:05]line НДС 12% НСП 1% [09:00:05]line > о реализуемом товаре [09:00:05]line Товар: 46226624 [09:00:05]line Mentos ПВ Клубника 6*100*2 [09:00:05]line 4.000 * 10.00 [09:00:05]line = 40.00 [09:00:05]line НДС 12% НСП 1% [09:00:05]line > о реализуемом товаре [09:00:05]line ИТОГО: 80.00 [09:00:05]line НСП 1% : 0.70 [09:00:05]line НДС 12% : 8.50 [09:00:05]line Наличными: 80.00 [09:00:05]line Безнал.: 0.00 [09:00:05]line Место: АЗС № 161 "Партнер Нефть" [09:00:05]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:00:05]line СНО: Общий режим [09:00:05]line Чек 10 22.10.2024 09:00 [09:00:05]line Смена: 457 ФФД: 1.0 [09:00:05]line ЗНМ: 0300000240 [09:00:05]line РНМ: 0000000000098147 [09:00:05]line Версия ККМ: 001 [09:00:05]line ФМ: 0000000000965376 [09:00:05]line ФД: 24989 [09:00:05]line ФПД: 17085568908380 [09:00:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090011&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24989&fm=17085568908380&tin=02508201610067®Number=0000000000098147&sum=8000 [09:00:05]OFD Sender: Processing packet 24989 [packets to send 5, broken 4] [09:00:05]line 0 [09:00:05]ProducePacketName [09:00:05]name=ofd_packets/00024989 [09:00:05]OFD Sender: To server: pG, [09:00:05]CommunicateWithHost lk.salyk.kg:30040 [09:00:05]ConnectInit lk.salyk.kg [09:00:05]written 0, free lines is 4095 [09:00:05]Connected sock=10 [09:00:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8A 01 00 00 25 49 82 01 6F 93 5A 03 01 00 03 00 76 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 9B 69 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9D 61 00 00 35 04 06 00 0F 8A 0B 43 FC 5C 49 EB AE AC 9F 09 28 AD [09:00:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C9 A2 47 00 BF BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9D 61 00 00 F4 03 04 00 16 12 17 67 B6 04 01 00 00 8F 4E CC 3A 3E 9C 94 C6 [09:00:05]CommunicateWithHost err = 0 [09:00:05]CheckOFDResponse [09:00:05]1017 (14) - 77093643461234 [09:00:05]1041 (16) - 0000000000965376 [09:00:05]1040 (4) - 24989 [09:00:05]1012 (4) - 22.10.2024 02:46 [09:00:05]1206 (1) - 0 [09:00:05]OFD Sender: Remove packet 24989 [09:00:05]ProducePacketName [09:00:05]name=ofd_packets/00024989 [09:00:05]NVStorageDeleteData [09:00:06]Write to MH i2c: 01 00 00 A0 16 B6 [09:00:06]Write i2c OK [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: 01 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: 01 07 00 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: 01 07 00 A0 16 00 00 00 00 00 73 0C 3C [09:00:06]RasterBufferAndPrint [09:00:06]line [09:00:06]line [09:00:06]line [09:00:06]line [09:00:06]line [09:00:06]written 0, free lines is 3196 [09:00:06]process_action close_receipt done [09:00:06]requested_data is exist [09:00:06]produce_requested_data [09:00:06]requested_item fm.sn is exist - process it [09:00:06]wFMCommunicate request_size=4 [09:00:06]MH_SAM_APDU [09:00:06]CAPDU: 80 11 00 00 [09:00:06]Write to MH i2c: E2 08 00 A7 16 80 11 00 00 00 00 00 00 37 [09:00:06]Write i2c OK [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: E2 [09:00:06]MH_I2C_Read... [09:00:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:06]Read from MH i2c: E2 17 00 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: E2 17 00 A7 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 8E [09:00:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:00:06]wFMCommunicate OK [09:00:06]requested_item fd.num is exist - process it [09:00:06]SAM_PROTO_GetFieldsCounters [09:00:06]wFMCommunicate request_size=4 [09:00:06]MH_SAM_APDU [09:00:06]CAPDU: 80 13 00 00 [09:00:06]Write to MH i2c: E2 08 00 A8 16 80 13 00 00 00 00 00 00 3A [09:00:06]Write i2c OK [09:00:06]MH_I2C_Read... [09:00:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:00:06]Read from MH i2c: E2 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: E2 62 00 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: E2 62 00 A8 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9D 61 00 00 0E 04 04 00 C9 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 49 [09:00:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9D 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:00:06]wFMCommunicate OK [09:00:06]SAM_PROTO_GetFieldsCounters done [09:00:06]requested_item shift.num is exist - process it [09:00:06]requested_item shift.opened is exist - process it [09:00:06]req_shift_opened [09:00:06]FM_GetShiftState [09:00:06]SAM_PROTO_GetShiftState [09:00:06]wFMCommunicate request_size=4 [09:00:06]MH_SAM_APDU [09:00:06]CAPDU: 80 13 01 00 [09:00:06]Write to MH i2c: E2 08 00 A9 16 80 13 01 00 00 00 00 00 3C [09:00:06]Write i2c OK [09:00:06]MH_I2C_Read... [09:00:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:06]Read from MH i2c: E2 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: E2 0E 00 [09:00:06]MH_I2C_Read... [09:00:06]Read from MH i2c: E2 0E 00 A9 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 8D [09:00:06]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:00:06]wFMCommunicate OK [09:00:06]SAM_PROTO_GetShiftState done [09:00:06]FM_GetShiftState done [09:00:06]req_shift_opened done [09:00:06]requested_item shift.open_date is exist - process it [09:00:06]req_shift_open_date [09:00:06]req_shift_open_date done [09:00:06]produce_requested_data done [09:00:06]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24989,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [09:00:06]process_action_free close_receipt [09:00:06]json_value_free [09:00:06]json_value_free done [09:00:06]process_json_proto returns [09:00:06]Send response to host [09:00:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24989,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [09:00:06]free response buf [09:00:06]execute_script done [09:00:06]execute_script returns [09:00:06]free content buf [09:00:06]Sock 9.Close socket [09:00:06]Sock 9.Thread stoped [09:00:06]OFD Sender: No OFD packet to send [09:00:08]int [09:00:08]Write to MH i2c: 01 00 00 AA 16 C0 [09:00:08]*** FLAG_PRN_KEY set [09:00:08]Write i2c OK [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 07 00 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 07 00 AA 16 00 08 00 00 00 FF 0F DD [09:00:08]state=0 [09:00:08]Key pressed [09:00:08]Feed [09:00:08]Write to MH i2c: D8 00 00 AB 16 98 [09:00:08]Write i2c OK [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: D8 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: D8 01 00 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: D8 01 00 AB 16 00 99 [09:00:08]int [09:00:08]Write to MH i2c: 01 00 00 AC 16 C2 [09:00:08]Write i2c OK [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 07 00 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 07 00 AC 16 00 48 00 00 00 3C 00 4D [09:00:08]state=2 [09:00:08]Key pressed [09:00:08]int [09:00:08]Write to MH i2c: 01 00 00 AD 16 C3 [09:00:08]*** FLAG_PRN_KEY reset [09:00:08]Write i2c OK [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 07 00 [09:00:08]MH_I2C_Read... [09:00:08]Read from MH i2c: 01 07 00 AD 16 00 00 00 00 00 FE 0F D7 [09:00:08]state=2 [09:00:08]Stop feed [09:00:11]OFD Sender: No OFD packet to send [09:00:16]OFD Sender: No OFD packet to send [09:00:21]OFD Sender: No OFD packet to send [09:00:26]OFD Sender: No OFD packet to send [09:00:31]OFD Sender: No OFD packet to send [09:00:36]OFD Sender: No OFD packet to send [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [09:09:26]OFD Sender: No OFD packet to send [09:09:31]OFD Sender: No OFD packet to send [09:09:36]OFD Sender: No OFD packet to send [09:09:41]OFD Sender: No OFD packet to send [09:09:46]OFD Sender: No OFD packet to send [09:09:51]OFD Sender: No OFD packet to send [09:09:56]OFD Sender: No OFD packet to send [09:10:01]OFD Sender: No OFD packet to send [09:10:06]OFD Sender: No OFD packet to send [09:10:11]OFD Sender: No OFD packet to send [09:10:16]OFD Sender: No OFD packet to send [09:10:21]OFD Sender: No OFD packet to send [09:10:26]OFD Sender: No OFD packet to send [09:10:31]OFD Sender: No OFD packet to send [09:10:36]OFD Sender: No OFD packet to send [09:10:41]OFD Sender: No OFD packet to send [09:10:46]OFD Sender: No OFD packet to send [09:10:51]OFD Sender: No OFD packet to send [09:10:56]OFD Sender: No OFD packet to send [09:11:01]OFD Sender: No OFD packet to send [09:11:06]OFD Sender: No OFD packet to send [09:11:11]OFD Sender: No OFD packet to send [09:11:16]OFD Sender: No OFD packet to send [09:11:21]OFD Sender: No OFD packet to send [09:11:26]OFD Sender: No OFD packet to send [09:11:31]OFD Sender: No OFD packet to send [09:11:36]OFD Sender: No OFD packet to send [09:11:41]OFD Sender: No OFD packet to send [09:11:46]OFD Sender: No OFD packet to send [09:11:51]OFD Sender: No OFD packet to send [09:11:56]OFD Sender: No OFD packet to send [09:12:01]OFD Sender: No OFD packet to send [09:12:06]OFD Sender: No OFD packet to send [09:12:11]OFD Sender: No OFD packet to send [09:12:16]OFD Sender: No OFD packet to send [09:12:21]OFD Sender: No OFD packet to send [09:12:26]OFD Sender: No OFD packet to send [09:12:31]OFD Sender: No OFD packet to send [09:12:36]OFD Sender: No OFD packet to send [09:12:41]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]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:22]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34: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:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:12]accept exits with 7 [09:46:12]New connection [09:46:12]New thread 3066965348 created [09:46:12]Thread 3067108708 joined [09:46:12]Waiting for new connection... [09:46:12] Sock 7.Parse request [09:46:12]Sock 7.Check first char [09:46:12]Sock 7.First char is OK [09:46:12]request: POST /json_proto HTTP/1.0 [09:46:12]Method: POST [09:46:12]URL: /json_proto [09:46:12]Method is POST - this is cgi request [09:46:12]url: /json_proto [09:46:12]query_string will be loaded in cgi processing [09:46:12]execute_cgi json_proto POST (null) [09:46:12]execute_cgi path=json_proto method=POST [09:46:12]POST find Content-Length [09:46:12]Host: 172.17.53.196:8080 [09:46:12]Content-Length: 608 [09:46:12]Content-Type: application/json [09:46:12] [09:46:12]POST finish read [09:46:12]Found Content-Length = 608 [09:46:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34748", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:12]execute_script... [09:46:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34748", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:46:12]POST & json_proto [09:46:12]process_json_proto [09:46:12]json parsed OK: [09:46:12]protocol is kg_v1.0 [09:46:12]action value=close_receipt [09:46:12]process_action close_receipt [09:46:12]cmd_close_receipt [09:46:12]MH_GetDate [09:46:12]Write to MH i2c: F0 00 00 AE 16 B3 [09:46:12]Write i2c OK [09:46:12]MH_I2C_Read... [09:46:12]Read from MH i2c: F0 [09:46:12]MH_I2C_Read... [09:46:12]Read from MH i2c: F0 09 00 [09:46:12]MH_I2C_Read... [09:46:12]Read from MH i2c: F0 09 00 AE 16 00 6C 74 17 67 4F CD 9A 65 35 [09:46:12]GetLastDocTimeStamp 1729587611 [09:46:12]current date 1729590380 [09:46:12]FM_GetShiftState [09:46:12]SAM_PROTO_GetShiftState [09:46:12]wFMCommunicate request_size=4 [09:46:12]MH_SAM_APDU [09:46:12]CAPDU: 80 13 01 00 [09:46:12]Write to MH i2c: E2 08 00 AF 16 80 13 01 00 00 00 00 00 42 [09:46:12]Write i2c OK [09:46:12]MH_I2C_Read... [09:46:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:12]Read from MH i2c: E2 [09:46:12]MH_I2C_Read... [09:46:12]Read from MH i2c: E2 0E 00 [09:46:12]MH_I2C_Read... [09:46:12]Read from MH i2c: E2 0E 00 AF 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 93 [09:46:12]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:46:12]wFMCommunicate OK [09:46:12]SAM_PROTO_GetShiftState done [09:46:12]FM_GetShiftState done [09:46:12]opened in 1729556951 [09:46:12]opened+sec_in_day 1729643351 [09:46:12]quantity*price = 13400 [09:46:12]sum+1 = 13401 [09:46:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 11 22.10.2024 09:46 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24990 ФПД: 185565631176789 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T094620&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24990&fm=185565631176789&tin=02508201610067®Number=0000000000098147&sum=13400 0 [09:46:13]StoreToDocumentArchive [09:46:13]shift 457 fd 24990 [09:46:13]save to /storage/0457/doc_00024990 [09:46:13]save last doc name /storage/0457/doc_00024990 to /storage/kkm_last_doc_name [09:46:13]save OK [09:46:13]Clear old archive folders... [09:46:13]ProcessDocumentItem done err = 0, tmpTLVsize=261 [09:46:13]tlvbuf is 0117DF00 [09:46:13]SAM_PROTO_ClearQueue [09:46:13]wFMCommunicate request_size=4 [09:46:13]MH_SAM_APDU [09:46:13]CAPDU: 80 09 00 00 [09:46:13]Write to MH i2c: E2 08 00 BC 16 80 09 00 00 00 00 00 00 44 [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:46:13]Read from MH i2c: E2 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 BC 16 00 90 00 46 [09:46:13]RAPDU: 90 00 [09:46:13]wFMCommunicate OK [09:46:13]SAM_PROTO_ClearQueue done [09:46:13]KKMCreateOFDPacket [09:46:13]OFDProtocolAddRootSTLVToBuf [09:46:13]FM_MakeSignedData [09:46:13]FM_MakeSignedData [09:46:13]SAM_PROTO_SignData [09:46:13]wFMCommunicate request_size=4 [09:46:13]MH_SAM_APDU [09:46:13]CAPDU: 80 0D 01 02 [09:46:13]Write to MH i2c: E2 08 00 BD 16 80 0D 01 02 00 00 00 00 4C [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:46:13]Read from MH i2c: E2 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 BD 16 00 90 00 47 [09:46:13]RAPDU: 90 00 [09:46:13]wFMCommunicate OK [09:46:13]wFMCommunicate request_size=255 [09:46:13]MH_SAM_APDU [09:46:13]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 6C 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 [09:46:13]Write to MH i2c: E2 02 01 BE 16 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 6C 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 00 A6 [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]OFD Sender: No OFD packet to send [09:46:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:13]Read from MH i2c: E2 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 BE 16 00 90 00 48 [09:46:13]RAPDU: 90 00 [09:46:13]wFMCommunicate OK [09:46:13]wFMCommunicate request_size=20 [09:46:13]MH_SAM_APDU [09:46:13]CAPDU: 80 0D 02 02 0F 00 9E 61 00 00 35 04 06 00 A8 C5 5D 87 60 55 [09:46:13]Write to MH i2c: E2 17 00 BF 16 80 0D 02 02 0F 00 00 9E 61 00 00 35 04 06 00 A8 C5 5D 87 60 55 00 00 B1 [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:46:13]Read from MH i2c: E2 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 03 00 BF 16 00 90 00 49 [09:46:13]RAPDU: 90 00 [09:46:13]wFMCommunicate OK [09:46:13]wFMCommunicate request_size=4 [09:46:13]MH_SAM_APDU [09:46:13]CAPDU: 80 0D 03 02 [09:46:13]Write to MH i2c: E2 08 00 C0 16 80 0D 03 02 00 00 00 00 51 [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:46:13]Read from MH i2c: E2 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 0B 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 0B 00 C0 16 00 31 1E 66 35 5E 9F F6 D1 90 00 00 [09:46:13]RAPDU: 31 1E 66 35 5E 9F F6 D1 90 00 [09:46:13]wFMCommunicate OK [09:46:13]SAM_PROTO_SignData done [09:46:13]FM_MakeSignedData done [09:46:13]CreateOFDProtocolMessage [09:46:13]wFMCommunicate request_size=4 [09:46:13]MH_SAM_APDU [09:46:13]CAPDU: 80 11 00 00 [09:46:13]Write to MH i2c: E2 08 00 C1 16 80 11 00 00 00 00 00 00 51 [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:13]Read from MH i2c: E2 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 17 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: E2 17 00 C1 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A8 [09:46:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:46:13]wFMCommunicate OK [09:46:13]CreateOFDProtocolMessage done [09:46:13]OFDSenderStorePacket 24990 [09:46:13]StoreOFDPacket docnum=24990 [09:46:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 19 01 00 00 44 22 11 01 3D 0C 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 6C 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9E 61 00 00 35 04 06 00 A8 C5 5D 87 60 55 31 1E 66 35 5E 9F F6 D1 [09:46:13]CheckFolder [09:46:13]dirname=/storage/ofd_packets [09:46:13]CheckFolder done [09:46:13]ProducePacketName [09:46:13]name=ofd_packets/00024990 [09:46:13]NVStorageSaveData ofd_packets/00024990 [09:46:13]File name is /storage/ofd_packets/00024990 [09:46:13]Write 311 bytes [09:46:13]NVStorageSaveData done [09:46:13]OFDSenderStorePacket done [09:46:13]KKMCreateOFDPacket done [09:46:13]NVStorageSaveData kkm_last_timestamp [09:46:13]File name is /storage/kkm_last_timestamp [09:46:13]Write 4 bytes [09:46:13]NVStorageSaveData done [09:46:13]ExternCall_PrintAddStr [09:46:13]wPrintStart [09:46:13]Write to MH i2c: 01 00 00 C2 16 D8 [09:46:13]Write i2c OK [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: 01 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: 01 07 00 [09:46:13]MH_I2C_Read... [09:46:13]Read from MH i2c: 01 07 00 C2 16 00 00 00 00 00 FF 0F ED [09:46:13]RasterBufferAndPrint [09:46:13]line Счет N : (3)34748 [09:46:13]line ИНН: 02508201610067 [09:46:13]line Контрольно-Кассовый Чек [09:46:13]line ПРОДАЖА [09:46:13]line Товар: 48741156 [09:46:13]line Сигареты LD Blue [09:46:13]line 1.000 * 134.00 [09:46:13]line = 134.00 [09:46:13]line НДС 12% НСП 1% [09:46:13]line > о реализуемом товаре [09:46:13]line ИТОГО: 134.00 [09:46:13]line НСП 1% : 1.19 [09:46:13]line НДС 12% : 14.23 [09:46:13]line Наличными: 134.00 [09:46:13]line Безнал.: 0.00 [09:46:13]line Место: АЗС № 161 "Партнер Нефть" [09:46:13]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:46:13]line СНО: Общий режим [09:46:13]line Чек 11 22.10.2024 09:46 [09:46:13]line Смена: 457 ФФД: 1.0 [09:46:13]line ЗНМ: 0300000240 [09:46:13]line РНМ: 0000000000098147 [09:46:13]line Версия ККМ: 001 [09:46:13]line ФМ: 0000000000965376 [09:46:13]line ФД: 24990 [09:46:13]line ФПД: 185565631176789 [09:46:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T094620&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24990&fm=185565631176789&tin=02508201610067®Number=0000000000098147&sum=13400 [09:46:14]OFD Sender: Processing packet 24990 [packets to send 5, broken 4] [09:46:14]ProducePacketName [09:46:14]name=ofd_packets/00024990 [09:46:14]OFD Sender: To server: pG, [09:46:14]CommunicateWithHost lk.salyk.kg:30040 [09:46:14]ConnectInit lk.salyk.kg [09:46:14]line 0 [09:46:14]written 0, free lines is 4095 [09:46:14]Connected sock=10 [09:46:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 19 01 00 00 44 22 11 01 3D 0C 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 6C 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9E 61 00 00 35 04 06 00 A8 C5 5D 87 60 55 31 1E 66 35 5E 9F F6 D1 [09:46:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 6B 7B 47 00 2D 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 39 36 35 33 37 36 10 04 04 00 9E 61 00 00 F4 03 04 00 E7 1C 17 67 B6 04 01 00 00 BE A9 37 16 BE 1B 8E FB [09:46:14]CommunicateWithHost err = 0 [09:46:14]CheckOFDResponse [09:46:14]1017 (14) - 77093643461234 [09:46:14]1041 (16) - 0000000000965376 [09:46:14]1040 (4) - 24990 [09:46:14]1012 (4) - 22.10.2024 03:32 [09:46:14]1206 (1) - 0 [09:46:14]OFD Sender: Remove packet 24990 [09:46:14]ProducePacketName [09:46:14]name=ofd_packets/00024990 [09:46:14]NVStorageDeleteData [09:46:14]Write to MH i2c: 01 00 00 EA 16 00 [09:46:14]Write i2c OK [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: 01 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: 01 07 00 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: 01 07 00 EA 16 00 00 00 00 00 EB 0C FE [09:46:14]RasterBufferAndPrint [09:46:14]line [09:46:14]line [09:46:14]line [09:46:14]line [09:46:14]line [09:46:14]written 0, free lines is 3313 [09:46:14]process_action close_receipt done [09:46:14]requested_data is exist [09:46:14]produce_requested_data [09:46:14]requested_item fm.sn is exist - process it [09:46:14]wFMCommunicate request_size=4 [09:46:14]MH_SAM_APDU [09:46:14]CAPDU: 80 11 00 00 [09:46:14]Write to MH i2c: E2 08 00 F1 16 80 11 00 00 00 00 00 00 81 [09:46:14]Write i2c OK [09:46:14]MH_I2C_Read... [09:46:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:46:14]Read from MH i2c: E2 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: E2 17 00 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: E2 17 00 F1 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D8 [09:46:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:46:14]wFMCommunicate OK [09:46:14]requested_item fd.num is exist - process it [09:46:14]SAM_PROTO_GetFieldsCounters [09:46:14]wFMCommunicate request_size=4 [09:46:14]MH_SAM_APDU [09:46:14]CAPDU: 80 13 00 00 [09:46:14]Write to MH i2c: E2 08 00 F2 16 80 13 00 00 00 00 00 00 84 [09:46:14]Write i2c OK [09:46:14]MH_I2C_Read... [09:46:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:46:14]Read from MH i2c: E2 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: E2 62 00 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: E2 62 00 F2 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9E 61 00 00 0E 04 04 00 C9 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 97 [09:46:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9E 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:46:14]wFMCommunicate OK [09:46:14]SAM_PROTO_GetFieldsCounters done [09:46:14]requested_item shift.num is exist - process it [09:46:14]requested_item shift.opened is exist - process it [09:46:14]req_shift_opened [09:46:14]FM_GetShiftState [09:46:14]SAM_PROTO_GetShiftState [09:46:14]wFMCommunicate request_size=4 [09:46:14]MH_SAM_APDU [09:46:14]CAPDU: 80 13 01 00 [09:46:14]Write to MH i2c: E2 08 00 F3 16 80 13 01 00 00 00 00 00 86 [09:46:14]Write i2c OK [09:46:14]MH_I2C_Read... [09:46:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:46:14]Read from MH i2c: E2 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: E2 0E 00 [09:46:14]MH_I2C_Read... [09:46:14]Read from MH i2c: E2 0E 00 F3 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 D7 [09:46:14]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:46:14]wFMCommunicate OK [09:46:14]SAM_PROTO_GetShiftState done [09:46:14]FM_GetShiftState done [09:46:14]req_shift_opened done [09:46:14]requested_item shift.open_date is exist - process it [09:46:14]req_shift_open_date [09:46:14]req_shift_open_date done [09:46:14]produce_requested_data done [09:46:14]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24990,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [09:46:14]process_action_free close_receipt [09:46:14]json_value_free [09:46:14]json_value_free done [09:46:14]process_json_proto returns [09:46:14]Send response to host [09:46:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24990,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [09:46:14]free response buf [09:46:14]execute_script done [09:46:14]execute_script returns [09:46:14]free content buf [09:46:14]Sock 7.Close socket [09:46:14]Sock 7.Thread stoped [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:13]accept exits with 9 [09:47:13]New connection [09:47:13]New thread 3067108708 created [09:47:13]Thread 3066965348 joined [09:47:13]Waiting for new connection... [09:47:13] Sock 9.Parse request [09:47:13]Sock 9.Check first char [09:47:13]Sock 9.First char is OK [09:47:13]request: POST /json_proto HTTP/1.0 [09:47:13]Method: POST [09:47:13]URL: /json_proto [09:47:13]Method is POST - this is cgi request [09:47:13]url: /json_proto [09:47:13]query_string will be loaded in cgi processing [09:47:13]execute_cgi json_proto POST (null) [09:47:13]execute_cgi path=json_proto method=POST [09:47:13]POST find Content-Length [09:47:13]Host: 172.17.53.196:8080 [09:47:13]Content-Length: 621 [09:47:13]Content-Type: application/json [09:47:13] [09:47:13]POST finish read [09:47:13]Found Content-Length = 621 [09:47:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34749", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:47:13]execute_script... [09:47:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34749", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:47:13]POST & json_proto [09:47:13]process_json_proto [09:47:13]json parsed OK: [09:47:13]protocol is kg_v1.0 [09:47:13]action value=close_receipt [09:47:13]process_action close_receipt [09:47:13]cmd_close_receipt [09:47:13]MH_GetDate [09:47:13]Write to MH i2c: F0 00 00 F4 16 F9 [09:47:13]Write i2c OK [09:47:13]MH_I2C_Read... [09:47:13]Read from MH i2c: F0 [09:47:13]MH_I2C_Read... [09:47:13]Read from MH i2c: F0 09 00 [09:47:13]MH_I2C_Read... [09:47:13]Read from MH i2c: F0 09 00 F4 16 00 A9 74 17 67 4F CD 9A 65 B8 [09:47:13]GetLastDocTimeStamp 1729590380 [09:47:13]current date 1729590441 [09:47:13]FM_GetShiftState [09:47:13]SAM_PROTO_GetShiftState [09:47:13]wFMCommunicate request_size=4 [09:47:13]MH_SAM_APDU [09:47:13]CAPDU: 80 13 01 00 [09:47:13]Write to MH i2c: E2 08 00 F5 16 80 13 01 00 00 00 00 00 88 [09:47:13]Write i2c OK [09:47:13]MH_I2C_Read... [09:47:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:47:13]Read from MH i2c: E2 [09:47:13]MH_I2C_Read... [09:47:13]Read from MH i2c: E2 0E 00 [09:47:13]MH_I2C_Read... [09:47:13]Read from MH i2c: E2 0E 00 F5 16 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 D9 [09:47:13]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:47:13]wFMCommunicate OK [09:47:13]SAM_PROTO_GetShiftState done [09:47:13]FM_GetShiftState done [09:47:13]opened in 1729556951 [09:47:13]opened+sec_in_day 1729643351 [09:47:13]quantity*price = 16000 [09:47:13]sum+1 = 16001 [09:47:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 12 22.10.2024 09:47 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24991 ФПД: 95784750488519 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T094721&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24991&fm=95784750488519&tin=02508201610067®Number=0000000000098147&sum=16000 0 [09:47:14]StoreToDocumentArchive [09:47:14]shift 457 fd 24991 [09:47:14]save to /storage/0457/doc_00024991 [09:47:14]save last doc name /storage/0457/doc_00024991 to /storage/kkm_last_doc_name [09:47:14]save OK [09:47:14]Clear old archive folders... [09:47:14]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:47:14]tlvbuf is B6ECE1A0 [09:47:14]SAM_PROTO_ClearQueue [09:47:14]wFMCommunicate request_size=4 [09:47:14]MH_SAM_APDU [09:47:14]CAPDU: 80 09 00 00 [09:47:14]Write to MH i2c: E2 08 00 02 17 80 09 00 00 00 00 00 00 8B [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:47:14]Read from MH i2c: E2 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 02 17 00 90 00 8D [09:47:14]RAPDU: 90 00 [09:47:14]wFMCommunicate OK [09:47:14]SAM_PROTO_ClearQueue done [09:47:14]KKMCreateOFDPacket [09:47:14]OFDProtocolAddRootSTLVToBuf [09:47:14]FM_MakeSignedData [09:47:14]FM_MakeSignedData [09:47:14]SAM_PROTO_SignData [09:47:14]wFMCommunicate request_size=4 [09:47:14]MH_SAM_APDU [09:47:14]CAPDU: 80 0D 01 02 [09:47:14]Write to MH i2c: E2 08 00 03 17 80 0D 01 02 00 00 00 00 93 [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:47:14]Read from MH i2c: E2 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 03 17 00 90 00 8E [09:47:14]RAPDU: 90 00 [09:47:14]wFMCommunicate OK [09:47:14]wFMCommunicate request_size=255 [09:47:14]MH_SAM_APDU [09:47:14]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A9 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [09:47:14]Write to MH i2c: E2 02 01 04 17 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A9 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 59 [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:47:14]Read from MH i2c: E2 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 04 17 00 90 00 8F [09:47:14]RAPDU: 90 00 [09:47:14]wFMCommunicate OK [09:47:14]wFMCommunicate request_size=33 [09:47:14]MH_SAM_APDU [09:47:14]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9F 61 00 00 35 04 06 00 57 1D A0 07 1B C7 [09:47:14]Write to MH i2c: E2 24 00 05 17 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9F 61 00 00 35 04 06 00 57 1D A0 07 1B C7 00 00 26 [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:47:14]Read from MH i2c: E2 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 03 00 05 17 00 90 00 90 [09:47:14]RAPDU: 90 00 [09:47:14]wFMCommunicate OK [09:47:14]wFMCommunicate request_size=4 [09:47:14]MH_SAM_APDU [09:47:14]CAPDU: 80 0D 03 02 [09:47:14]Write to MH i2c: E2 08 00 06 17 80 0D 03 02 00 00 00 00 98 [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:47:14]Read from MH i2c: E2 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 0B 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 0B 00 06 17 00 38 46 41 BC 93 0E F0 0C 90 00 B1 [09:47:14]RAPDU: 38 46 41 BC 93 0E F0 0C 90 00 [09:47:14]wFMCommunicate OK [09:47:14]SAM_PROTO_SignData done [09:47:14]FM_MakeSignedData done [09:47:14]CreateOFDProtocolMessage [09:47:14]wFMCommunicate request_size=4 [09:47:14]MH_SAM_APDU [09:47:14]CAPDU: 80 11 00 00 [09:47:14]Write to MH i2c: E2 08 00 07 17 80 11 00 00 00 00 00 00 98 [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:47:14]Read from MH i2c: E2 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 17 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: E2 17 00 07 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EF [09:47:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:47:14]wFMCommunicate OK [09:47:14]CreateOFDProtocolMessage done [09:47:14]OFDSenderStorePacket 24991 [09:47:14]StoreOFDPacket docnum=24991 [09:47:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 64 04 1E 01 0E 40 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A9 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9F 61 00 00 35 04 06 00 57 1D A0 07 1B C7 38 46 41 BC 93 0E F0 0C [09:47:14]CheckFolder [09:47:14]dirname=/storage/ofd_packets [09:47:14]CheckFolder done [09:47:14]ProducePacketName [09:47:14]name=ofd_packets/00024991 [09:47:14]NVStorageSaveData ofd_packets/00024991 [09:47:14]File name is /storage/ofd_packets/00024991 [09:47:14]Write 324 bytes [09:47:14]NVStorageSaveData done [09:47:14]OFDSenderStorePacket done [09:47:14]KKMCreateOFDPacket done [09:47:14]NVStorageSaveData kkm_last_timestamp [09:47:14]File name is /storage/kkm_last_timestamp [09:47:14]Write 4 bytes [09:47:14]NVStorageSaveData done [09:47:14]ExternCall_PrintAddStr [09:47:14]wPrintStart [09:47:14]Write to MH i2c: 01 00 00 08 17 1F [09:47:14]Write i2c OK [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: 01 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: 01 07 00 [09:47:14]MH_I2C_Read... [09:47:14]Read from MH i2c: 01 07 00 08 17 00 00 00 00 00 FF 0F 34 [09:47:14]RasterBufferAndPrint [09:47:14]line Счет N : (3)34749 [09:47:14]line ИНН: 02508201610067 [09:47:14]line Контрольно-Кассовый Чек [09:47:14]line ПРОДАЖА [09:47:14]line Товар: 48741958 [09:47:14]line Сигареты Parliament Aqua Blue [09:47:14]line 1.000 * 160.00 [09:47:14]line = 160.00 [09:47:14]line НДС 12% НСП 1% [09:47:14]line > о реализуемом товаре [09:47:14]line ИТОГО: 160.00 [09:47:14]line НСП 1% : 1.42 [09:47:14]line НДС 12% : 16.99 [09:47:14]line Наличными: 160.00 [09:47:14]line Безнал.: 0.00 [09:47:14]line Место: АЗС № 161 "Партнер Нефть" [09:47:14]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [09:47:14]line СНО: Общий режим [09:47:14]line Чек 12 22.10.2024 09:47 [09:47:14]line Смена: 457 ФФД: 1.0 [09:47:14]line ЗНМ: 0300000240 [09:47:14]line РНМ: 0000000000098147 [09:47:14]line Версия ККМ: 001 [09:47:14]line ФМ: 0000000000965376 [09:47:14]line ФД: 24991 [09:47:14]line ФПД: 95784750488519 [09:47:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T094721&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24991&fm=95784750488519&tin=02508201610067®Number=0000000000098147&sum=16000 [09:47:15]OFD Sender: Processing packet 24991 [packets to send 5, broken 4] [09:47:15]ProducePacketName [09:47:15]name=ofd_packets/00024991 [09:47:15]OFD Sender: To server: pG, [09:47:15]CommunicateWithHost lk.salyk.kg:30040 [09:47:15]ConnectInit lk.salyk.kg [09:47:15]line 0 [09:47:15]written 0, free lines is 4095 [09:47:15]Connected sock=10 [09:47:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 64 04 1E 01 0E 40 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 A9 74 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9F 61 00 00 35 04 06 00 57 1D A0 07 1B C7 38 46 41 BC 93 0E F0 0C [09:47:15]Write to MH i2c: 01 00 00 31 17 48 [09:47:15]Write i2c OK [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: 01 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: 01 07 00 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: 01 07 00 31 17 00 00 00 00 00 C4 0C 1F [09:47:15]RasterBufferAndPrint [09:47:15]line [09:47:15]line [09:47:15]line [09:47:15]line [09:47:15]line [09:47:15]written 0, free lines is 3272 [09:47:15]process_action close_receipt done [09:47:15]requested_data is exist [09:47:15]produce_requested_data [09:47:15]requested_item fm.sn is exist - process it [09:47:15]wFMCommunicate request_size=4 [09:47:15]MH_SAM_APDU [09:47:15]CAPDU: 80 11 00 00 [09:47:15]Write to MH i2c: E2 08 00 38 17 80 11 00 00 00 00 00 00 C9 [09:47:15]Write i2c OK [09:47:15]MH_I2C_Read... [09:47:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:47:15]Read from MH i2c: E2 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: E2 17 00 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: E2 17 00 38 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 20 [09:47:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:47:15]wFMCommunicate OK [09:47:15]requested_item fd.num is exist - process it [09:47:15]SAM_PROTO_GetFieldsCounters [09:47:15]wFMCommunicate request_size=4 [09:47:15]MH_SAM_APDU [09:47:15]CAPDU: 80 13 00 00 [09:47:15]Write to MH i2c: E2 08 00 39 17 80 13 00 00 00 00 00 00 CC [09:47:15]Write i2c OK [09:47:15]MH_I2C_Read... [09:47:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 36 54 47 00 FE 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 9F 61 00 00 F4 03 04 00 24 1D 17 67 B6 04 01 00 00 5D 3A B9 EE E7 96 B4 BB [09:47:15]CommunicateWithHost err = 0 [09:47:15]CheckOFDResponse [09:47:15]1017 (14) - 77093643461234 [09:47:15]1041 (16) - 0000000000965376 [09:47:15]1040 (4) - 24991 [09:47:15]1012 (4) - 22.10.2024 03:33 [09:47:15]1206 (1) - 0 [09:47:15]OFD Sender: Remove packet 24991 [09:47:15]ProducePacketName [09:47:15]name=ofd_packets/00024991 [09:47:15]NVStorageDeleteData [09:47:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:47:15]Read from MH i2c: E2 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: E2 62 00 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: E2 62 00 39 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9F 61 00 00 0E 04 04 00 C9 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 E3 [09:47:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9F 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:47:15]wFMCommunicate OK [09:47:15]SAM_PROTO_GetFieldsCounters done [09:47:15]requested_item shift.num is exist - process it [09:47:15]requested_item shift.opened is exist - process it [09:47:15]req_shift_opened [09:47:15]FM_GetShiftState [09:47:15]SAM_PROTO_GetShiftState [09:47:15]wFMCommunicate request_size=4 [09:47:15]MH_SAM_APDU [09:47:15]CAPDU: 80 13 01 00 [09:47:15]Write to MH i2c: E2 08 00 3A 17 80 13 01 00 00 00 00 00 CE [09:47:15]Write i2c OK [09:47:15]MH_I2C_Read... [09:47:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:47:15]Read from MH i2c: E2 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: E2 0E 00 [09:47:15]MH_I2C_Read... [09:47:15]Read from MH i2c: E2 0E 00 3A 17 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 1F [09:47:15]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:47:15]wFMCommunicate OK [09:47:15]SAM_PROTO_GetShiftState done [09:47:15]FM_GetShiftState done [09:47:15]req_shift_opened done [09:47:15]requested_item shift.open_date is exist - process it [09:47:15]req_shift_open_date [09:47:15]req_shift_open_date done [09:47:15]produce_requested_data done [09:47:15]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24991,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [09:47:15]process_action_free close_receipt [09:47:15]json_value_free [09:47:15]json_value_free done [09:47:15]process_json_proto returns [09:47:15]Send response to host [09:47:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24991,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [09:47:15]free response buf [09:47:15]execute_script done [09:47:15]execute_script returns [09:47:15]free content buf [09:47:15]Sock 9.Close socket [09:47:15]Sock 9.Thread stoped [09:47:16]OFD Sender: No OFD packet to send [09:47:21]OFD Sender: No OFD packet to send [09:47:26]OFD Sender: No OFD packet to send [09:47:31]OFD Sender: No OFD packet to send [09:47:36]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 [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 73 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:10]*** MH1903S init start (LINUX_LIGHT) [00:00:10]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:10]*** Serial: 3139303353513838 54000000005725CE (1903SQ88T) [00:00:10]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:10]*** step 0: 5000 (2650, 2350 REF) [00:00:10]*** step 1: 4835 (2500, 2335 REF) [00:00:10]*** step 2: 4676 (2440, 2236 REF) [00:00:10]*** step 3: 4523 (2280, 2243 REF) [00:00:10]*** step 4: 4376 (2160, 2216 REF) [00:00:10]*** step 5: 4235 (2050, 2185 REF) [00:00:10]*** step 6: 4098 (1950, 2148 REF) [00:00:10]*** step 7: 3967 (1870, 2097 REF) [00:00:10]*** step 8: 3840 (1828, 2012 REF) [00:00:10]*** step 9: 3719 (1728, 1991 REF) [00:00:10]*** step 10: 3601 (1675, 1926 REF) [00:00:10]*** step 11: 3488 (1635, 1853 REF) [00:00:10]*** step 12: 3379 (1595, 1784 REF) [00:00:10]*** step 13: 3275 (1565, 1710 REF) [00:00:10]*** step 14: 3174 (1543, 1631 REF) [00:00:10]*** step 15: 3077 (1523, 1554 REF) [00:00:10]*** step 16: 2983 (1503, 1480 REF) [00:00:10]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 24946910+1704643919=1729590829 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:11]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 74 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]LoadDictionaryFromArray [00:00:11]Load OK [00:00:11]ExternCall_SetCallbacks [00:00:11]NVStorageInit [00:00:11]MH_GetDate [00:00:11]Write to MH i2c: F0 00 00 07 00 F6 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: F0 09 00 07 00 00 2D 76 17 67 4F CD 9A 65 3B [09:53:49]Current date/time: 22.10.2024 09:53 [09:53:49]FM_Init [09:53:49]wFMConnect [09:53:49]MH_SAM_On [09:53:49]Write to MH i2c: E0 00 00 08 00 E7 [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_init finished! [09:53:49]*** atr: [09:53:49]*** 0F 3B D5 18 FF 81 91 FE [09:53:49]*** 1F C3 80 73 C8 21 10 0A [09:53:49]*** 00 00 00 00 00 00 00 00 [09:53:49]*** 00 00 00 00 00 00 00 00 [09:53:49]*** 00 00 00 00 00 00 00 00 [09:53:49]*** 00 00 00 00 00 00 00 00 [09:53:49]*** 00 00 00 00 00 00 00 00 [09:53:49]*** 00 00 00 00 00 00 00 00 [09:53:49]Read from MH i2c: E0 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E0 10 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [09:53:49]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [09:53:49]wFMCommunicate request_size=10 [09:53:49]MH_SAM_APDU [09:53:49]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [09:53:49]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [09:53:49]Read from MH i2c: E2 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [09:53:49]RAPDU: 90 00 [09:53:49]wFMCommunicate OK [09:53:49]wFMCommunicate request_size=4 [09:53:49]MH_SAM_APDU [09:53:49]CAPDU: 80 11 00 00 [09:53:49]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:49]Read from MH i2c: E2 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 17 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DB [09:53:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:53:49]wFMCommunicate OK [09:53:49]Detected FM SN is 0000000000965376 [09:53:49]Stored FM SN is 0000000000965376 [09:53:49]wFMCommunicate request_size=9 [09:53:49]MH_SAM_APDU [09:53:49]CAPDU: 80 16 00 00 04 9B 09 01 00 [09:53:49]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 9B 09 01 00 00 00 37 [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [09:53:49]Read from MH i2c: E2 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [09:53:49]RAPDU: 90 00 [09:53:49]wFMCommunicate OK [09:53:49]FM PIN OK [09:53:49]wFMCommunicate request_size=8 [09:53:49]MH_SAM_APDU [09:53:49]CAPDU: 80 14 04 00 03 02 00 01 [09:53:49]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [09:53:49]Read from MH i2c: E2 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [09:53:49]RAPDU: 90 00 [09:53:49]wFMCommunicate OK [09:53:49]wFMCommunicate request_size=13 [09:53:49]MH_SAM_APDU [09:53:49]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [09:53:49]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [09:53:49]Read from MH i2c: E2 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [09:53:49]RAPDU: 90 00 [09:53:49]wFMCommunicate OK [09:53:49]wFMCommunicate request_size=4 [09:53:49]MH_SAM_APDU [09:53:49]CAPDU: 80 11 00 00 [09:53:49]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:49]Read from MH i2c: E2 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 17 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [09:53:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:53:49]wFMCommunicate OK [09:53:49]DocumentArchiveInit [09:53:49]Start Httpd... [09:53:49]Httpd thread 3067182436 created [09:53:49]Write to MH i2c: 01 00 00 0F 00 0F [09:53:49]Write i2c OK [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: 01 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: 01 07 00 [09:53:49]MH_I2C_Read... [09:53:49]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [09:53:49]Allocated Socket 5 [09:53:49]Bind OK [09:53:49]Listen OK [09:53:49]httpd running on port 8080 [09:53:49]Waiting for new connection... [09:53:49]MH Int Process started [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:57]accept exits with 6 [09:53:57]New connection [09:53:57]New thread 3066895716 created [09:53:57]Waiting for new connection... [09:53:57] Sock 6.Parse request [09:53:57]Sock 6.Check first char [09:53:57]Sock 6.First char is OK [09:53:57]request: POST /json_proto HTTP/1.0 [09:53:57]Method: POST [09:53:57]URL: /json_proto [09:53:57]Method is POST - this is cgi request [09:53:57]url: /json_proto [09:53:57]query_string will be loaded in cgi processing [09:53:57]execute_cgi json_proto POST (null) [09:53:57]execute_cgi path=json_proto method=POST [09:53:57]POST find Content-Length [09:53:57]Host: 172.17.53.196:8080 [09:53:57]Content-Length: 215 [09:53:57]Content-Type: application/json [09:53:57] [09:53:57]POST finish read [09:53:57]Found Content-Length = 215 [09:53:57]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:53:57]execute_script... [09:53:57]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:53:57]POST & json_proto [09:53:57]process_json_proto [09:53:57]json parsed OK: [09:53:57]protocol is kg_v1.0 [09:53:57]action value=get_value [09:53:57]process_action get_value [09:53:57]cmd_get_value [09:53:57]process_action get_value done [09:53:57]requested_data is exist [09:53:57]produce_requested_data [09:53:57]requested_item kkm.sn is exist - process it [09:53:57]requested_item kkm.ver is exist - process it [09:53:57]requested_item fm.sn is exist - process it [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 11 00 00 [09:53:57]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 [09:53:57]MH_I2C_Read... [09:53:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:53:57]Read from MH i2c: E2 17 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E1 [09:53:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [09:53:57]wFMCommunicate OK [09:53:57]requested_item fd.num is exist - process it [09:53:57]SAM_PROTO_GetFieldsCounters [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 13 00 00 [09:53:57]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:53:57]Read from MH i2c: E2 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 62 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9F 61 00 00 0E 04 04 00 C9 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 A4 [09:53:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 9F 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:53:57]wFMCommunicate OK [09:53:57]SAM_PROTO_GetFieldsCounters done [09:53:57]requested_item shift.num is exist - process it [09:53:57]requested_item shift.opened is exist - process it [09:53:57]req_shift_opened [09:53:57]FM_GetShiftState [09:53:57]SAM_PROTO_GetShiftState [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 13 01 00 [09:53:57]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [09:53:57]Write i2c OK [09:53:57]MH_I2C_Read... [09:53:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:53:57]Read from MH i2c: E2 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 0E 00 [09:53:57]MH_I2C_Read... [09:53:57]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E0 [09:53:57]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [09:53:57]wFMCommunicate OK [09:53:57]SAM_PROTO_GetShiftState done [09:53:57]FM_GetShiftState done [09:53:57]req_shift_opened done [09:53:57]requested_item shift.open_date is exist - process it [09:53:57]req_shift_open_date [09:53:57]req_shift_open_date done [09:53:57]produce_requested_data done [09:53:57]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24991,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [09:53:57]process_action_free get_value [09:53:57]json_value_free [09:53:57]json_value_free done [09:53:57]process_json_proto returns [09:53:57]Send response to host [09:53:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24991,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [09:53:57]free response buf [09:53:57]execute_script done [09:53:57]execute_script returns [09:53:57]free content buf [09:53:57]Sock 6.Close socket [09:53:57]Sock 6.Thread stoped [09:53:57]accept exits with 9 [09:53:57]New connection [09:53:57]New thread 3066752356 created [09:53:57]Thread 3066895716 joined [09:53:57]Waiting for new connection... [09:53:57] Sock 9.Parse request [09:53:57]Sock 9.Check first char [09:53:57]Sock 9.First char is OK [09:53:57]request: POST /json_proto HTTP/1.0 [09:53:57]Method: POST [09:53:57]URL: /json_proto [09:53:57]Method is POST - this is cgi request [09:53:57]url: /json_proto [09:53:57]query_string will be loaded in cgi processing [09:53:57]execute_cgi json_proto POST (null) [09:53:57]execute_cgi path=json_proto method=POST [09:53:57]POST find Content-Length [09:53:57]Host: 172.17.53.196:8080 [09:53:57]Content-Length: 331 [09:53:57]Content-Type: application/json [09:53:57] [09:53:57]POST finish read [09:53:57]Found Content-Length = 331 [09:53:57]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:53:57]execute_script... [09:53:57]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:53:57]POST & json_proto [09:53:57]process_json_proto [09:53:57]json parsed OK: [09:53:57]protocol is kg_v1.0 [09:53:57]action value=get_value [09:53:57]process_action get_value [09:53:57]cmd_get_value [09:53:57]process_action get_value done [09:53:57]requested_data is exist [09:53:57]produce_requested_data [09:53:57]requested_item fm.sale.total is exist - process it [09:53:57]SAM_PROTO_GetFMData [09:53:57]wFMCommunicate request_size=4 [09:53:57]MH_SAM_APDU [09:53:57]CAPDU: 80 13 03 00 [09:53:57]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [09:53:58]Write i2c OK [09:53:58]MH_I2C_Read... [09:53:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [09:53:58]Read from MH i2c: E2 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 0D 5E 00 00 69 04 A0 00 6F 04 04 00 FF 5D 00 00 B1 04 04 00 CC 79 C8 14 70 04 04 00 10 AD 99 12 72 04 04 00 BC CC 2E 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 48 F9 34 02 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 46 0A 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 0D [09:53:58]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 0D 5E 00 00 69 04 A0 00 6F 04 04 00 FF 5D 00 00 B1 04 04 00 CC 79 C8 14 70 04 04 00 10 AD 99 12 72 04 04 00 BC CC 2E 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 48 F9 34 02 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 46 0A 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [09:53:58]wFMCommunicate OK [09:53:58]wFMCommunicate request_size=4 [09:53:58]MH_SAM_APDU [09:53:58]CAPDU: 80 17 00 00 [09:53:58]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [09:53:58]Write i2c OK [09:53:58]MH_I2C_Read... [09:53:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:53:58]Read from MH i2c: E2 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 [09:53:58]MH_I2C_Read... [09:53:58]Read from MH i2c: E2 FD 00 14 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 86 [09:53:58]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [09:53:58]wFMCommunicate OK [09:53:58]wFMCommunicate request_size=4 [09:53:58]MH_SAM_APDU [09:53:58]CAPDU: 80 17 00 00 [09:53:58]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [09:53:58]Write i2c OK [09:53:58]MH_I2C_Read... [09:53:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:53:59]Read from MH i2c: E2 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 FD 00 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [09:53:59]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [09:53:59]wFMCommunicate OK [09:53:59]wFMCommunicate request_size=4 [09:53:59]MH_SAM_APDU [09:53:59]CAPDU: 80 17 00 00 [09:53:59]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [09:53:59]Write i2c OK [09:53:59]MH_I2C_Read... [09:53:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:53:59]Read from MH i2c: E2 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 FD 00 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [09:53:59]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [09:53:59]wFMCommunicate OK [09:53:59]wFMCommunicate request_size=4 [09:53:59]MH_SAM_APDU [09:53:59]CAPDU: 80 17 00 00 [09:53:59]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [09:53:59]Write i2c OK [09:53:59]MH_I2C_Read... [09:53:59]OFD Sender: No OFD packet to send [09:53:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [09:53:59]Read from MH i2c: E2 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 DC 00 [09:53:59]MH_I2C_Read... [09:53:59]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [09:53:59]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:53:59]wFMCommunicate OK [09:53:59]SAM_PROTO_GetFMData done [09:53:59]requested_item fm.sale_refund.total is exist - process it [09:53:59]requested_item fm.buy.total is exist - process it [09:53:59]requested_item shift.sale.total is exist - process it [09:53:59]SAM_PROTO_GetShiftData [09:53:59]wFMCommunicate request_size=4 [09:53:59]MH_SAM_APDU [09:53:59]CAPDU: 80 13 02 00 [09:53:59]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [09:53:59]Write i2c OK [09:53:59]MH_I2C_Read... [09:54:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:54:00]Read from MH i2c: E2 [09:54:00]MH_I2C_Read... [09:54:00]Read from MH i2c: E2 FD 00 [09:54:00]MH_I2C_Read... [09:54:00]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 0C 00 00 00 69 04 99 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 B0 6F 03 70 04 03 00 78 25 03 72 04 02 00 38 4A 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 6B 5D 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 C7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 42 [09:54:00]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 0C 00 00 00 69 04 99 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 B0 6F 03 70 04 03 00 78 25 03 72 04 02 00 38 4A 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 6B 5D 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 C7 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [09:54:00]wFMCommunicate OK [09:54:00]wFMCommunicate request_size=4 [09:54:00]MH_SAM_APDU [09:54:00]CAPDU: 80 17 00 00 [09:54:00]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [09:54:00]Write i2c OK [09:54:00]MH_I2C_Read... [09:54:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:00]Read from MH i2c: E2 [09:54:00]MH_I2C_Read... [09:54:00]Read from MH i2c: E2 FD 00 [09:54:00]MH_I2C_Read... [09:54:00]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AE [09:54:00]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [09:54:00]wFMCommunicate OK [09:54:00]wFMCommunicate request_size=4 [09:54:00]MH_SAM_APDU [09:54:00]CAPDU: 80 17 00 00 [09:54:00]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [09:54:00]Write i2c OK [09:54:00]MH_I2C_Read... [09:54:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:00]Read from MH i2c: E2 [09:54:00]MH_I2C_Read... [09:54:00]Read from MH i2c: E2 FD 00 [09:54:00]MH_I2C_Read... [09:54:00]Read from MH i2c: E2 FD 00 1A 00 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 5B [09:54:00]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [09:54:00]wFMCommunicate OK [09:54:00]wFMCommunicate request_size=4 [09:54:00]MH_SAM_APDU [09:54:00]CAPDU: 80 17 00 00 [09:54:00]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [09:54:00]Write i2c OK [09:54:00]MH_I2C_Read... [09:54:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:54:01]Read from MH i2c: E2 [09:54:01]MH_I2C_Read... [09:54:01]Read from MH i2c: E2 FD 00 [09:54:01]MH_I2C_Read... [09:54:01]Read from MH i2c: E2 FD 00 1B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 10 [09:54:01]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [09:54:01]wFMCommunicate OK [09:54:01]wFMCommunicate request_size=4 [09:54:01]MH_SAM_APDU [09:54:01]CAPDU: 80 17 00 00 [09:54:01]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [09:54:01]Write i2c OK [09:54:01]MH_I2C_Read... [09:54:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [09:54:01]Read from MH i2c: E2 [09:54:01]MH_I2C_Read... [09:54:01]Read from MH i2c: E2 C9 00 [09:54:01]MH_I2C_Read... [09:54:01]Read from MH i2c: E2 C9 00 1C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [09:54:01]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:54:01]wFMCommunicate OK [09:54:01]SAM_PROTO_GetShiftData done [09:54:01]requested_item shift.sale.total_cash is exist - process it [09:54:01]requested_item shift.sale_refund.total is exist - process it [09:54:01]requested_item shift.sale_refund.total_cash is exist - process it [09:54:01]requested_item shift.buy.total is exist - process it [09:54:01]requested_item shift.buy.total_cash is exist - process it [09:54:01]produce_requested_data done [09:54:01]produce_requested_data return {"fm.sale.total":3486827.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":2252.00,"shift.sale.total_cash":2062.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:54:01]process_action_free get_value [09:54:01]json_value_free [09:54:01]json_value_free done [09:54:01]process_json_proto returns [09:54:01]Send response to host [09:54:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3486827.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":2252.00,"shift.sale.total_cash":2062.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:54:01]free response buf [09:54:01]execute_script done [09:54:01]execute_script returns [09:54:01]free content buf [09:54:01]Sock 9.Close socket [09:54:01]Sock 9.Thread stoped [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:29]OFD Sender: No OFD packet to send [09:56:34]OFD Sender: No OFD packet to send [09:56:39]OFD Sender: No OFD packet to send [09:56:44]OFD Sender: No OFD packet to send [09:56:49]OFD Sender: No OFD packet to send [09:56:54]OFD Sender: No OFD packet to send [09:56:59]OFD Sender: No OFD packet to send [09:57:04]OFD Sender: No OFD packet to send [09:57:09]OFD Sender: No OFD packet to send [09:57:14]OFD Sender: No OFD packet to send [09:57:19]OFD Sender: No OFD packet to send [09:57:24]OFD Sender: No OFD packet to send [09:57:29]OFD Sender: No OFD packet to send [09:57:34]OFD Sender: No OFD packet to send [09:57:39]OFD Sender: No OFD packet to send [09:57:44]OFD Sender: No OFD packet to send [09:57:49]OFD Sender: No OFD packet to send [09:57:54]OFD Sender: No OFD packet to send [09:57:59]OFD Sender: No OFD packet to send [09:58:04]OFD Sender: No OFD packet to send [09:58:09]OFD Sender: No OFD packet to send [09:58:14]OFD Sender: No OFD packet to send [09:58:19]OFD Sender: No OFD packet to send [09:58:24]OFD Sender: No OFD packet to send [09:58:29]OFD Sender: No OFD packet to send [09:58:34]OFD Sender: No OFD packet to send [09:58:39]OFD Sender: No OFD packet to send [09:58:44]OFD Sender: No OFD packet to send [09:58:49]OFD Sender: No OFD packet to send [09:58:54]OFD Sender: No OFD packet to send [09:58:59]OFD Sender: No OFD packet to send [09:59:04]OFD Sender: No OFD packet to send [09:59:09]OFD Sender: No OFD packet to send [09:59:14]OFD Sender: No OFD packet to send [09:59:19]OFD Sender: No OFD packet to send [09:59:24]OFD Sender: No OFD packet to send [09:59:29]OFD Sender: No OFD packet to send [09:59:34]OFD Sender: No OFD packet to send [09:59:39]OFD Sender: No OFD packet to send [09:59:44]OFD Sender: No OFD packet to send [09:59:49]OFD Sender: No OFD packet to send [09:59:54]OFD Sender: No OFD packet to send [09:59:59]OFD Sender: No OFD packet to send [10:00:04]OFD Sender: No OFD packet to send [10:00:09]OFD Sender: No OFD packet to send [10:00:14]OFD Sender: No OFD packet to send [10:00:19]OFD Sender: No OFD packet to send [10:00:24]OFD Sender: No OFD packet to send [10:00:29]OFD Sender: No OFD packet to send [10:00:34]OFD Sender: No OFD packet to send [10:00:39]OFD Sender: No OFD packet to send [10:00:44]OFD Sender: No OFD packet to send [10:00:49]OFD Sender: No OFD packet to send [10:00:54]OFD Sender: No OFD packet to send [10:00:59]OFD Sender: No OFD packet to send [10:01:04]OFD Sender: No OFD packet to send [10:01:09]OFD Sender: No OFD packet to send [10:01:14]OFD Sender: No OFD packet to send [10:01:19]OFD Sender: No OFD packet to send [10:01:24]OFD Sender: No OFD packet to send [10:01:29]OFD Sender: No OFD packet to send [10:01:34]OFD Sender: No OFD packet to send [10:01:39]OFD Sender: No OFD packet to send [10:01:44]OFD Sender: No OFD packet to send [10:01:49]OFD Sender: No OFD packet to send [10:01:54]OFD Sender: No OFD packet to send [10:01:59]OFD Sender: No OFD packet to send [10:02:04]OFD Sender: No OFD packet to send [10:02:09]OFD Sender: No OFD packet to send [10:02:14]OFD Sender: No OFD packet to send [10:02:19]OFD Sender: No OFD packet to send [10:02:24]OFD Sender: No OFD packet to send [10:02:29]OFD Sender: No OFD packet to send [10:02:34]OFD Sender: No OFD packet to send [10:02:39]OFD Sender: No OFD packet to send [10:02:44]OFD Sender: No OFD packet to send [10:02:49]OFD Sender: No OFD packet to send [10:02:54]OFD Sender: No OFD packet to send [10:02:59]OFD Sender: No OFD packet to send [10:03:04]OFD Sender: No OFD packet to send [10:03:09]OFD Sender: No OFD packet to send [10:03:14]OFD Sender: No OFD packet to send [10:03:19]OFD Sender: No OFD packet to send [10:03:24]OFD Sender: No OFD packet to send [10:03:29]OFD Sender: No OFD packet to send [10:03:34]OFD Sender: No OFD packet to send [10:03:39]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:35]OFD Sender: No OFD packet to send [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:50]OFD Sender: No OFD packet to send [10:07:55]OFD Sender: No OFD packet to send [10:08:00]OFD Sender: No OFD packet to send [10:08:05]OFD Sender: No OFD packet to send [10:08:10]OFD Sender: No OFD packet to send [10:08:15]OFD Sender: No OFD packet to send [10:08:20]OFD Sender: No OFD packet to send [10:08:25]OFD Sender: No OFD packet to send [10:08:30]OFD Sender: No OFD packet to send [10:08:35]OFD Sender: No OFD packet to send [10:08:40]OFD Sender: No OFD packet to send [10:08:45]OFD Sender: No OFD packet to send [10:08:47]accept exits with 6 [10:08:47]New connection [10:08:47]New thread 3066895716 created [10:08:47]Thread 3066752356 joined [10:08:47]Waiting for new connection... [10:08:47] Sock 6.Parse request [10:08:47]Sock 6.Check first char [10:08:47]Sock 6.First char is OK [10:08:47]request: POST /json_proto HTTP/1.0 [10:08:47]Method: POST [10:08:47]URL: /json_proto [10:08:47]Method is POST - this is cgi request [10:08:47]url: /json_proto [10:08:47]query_string will be loaded in cgi processing [10:08:47]execute_cgi json_proto POST (null) [10:08:47]execute_cgi path=json_proto method=POST [10:08:47]POST find Content-Length [10:08:47]Host: 172.17.53.196:8080 [10:08:47]Content-Length: 629 [10:08:47]Content-Type: application/json [10:08:47] [10:08:47]POST finish read [10:08:47]Found Content-Length = 629 [10:08:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34750", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:47]execute_script... [10:08:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34750", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:08:47]POST & json_proto [10:08:47]process_json_proto [10:08:47]json parsed OK: [10:08:47]protocol is kg_v1.0 [10:08:47]action value=close_receipt [10:08:47]process_action close_receipt [10:08:47]cmd_close_receipt [10:08:47]MH_GetDate [10:08:47]Write to MH i2c: F0 00 00 1D 00 0C [10:08:47]Write i2c OK [10:08:47]MH_I2C_Read... [10:08:47]Read from MH i2c: F0 [10:08:47]MH_I2C_Read... [10:08:47]Read from MH i2c: F0 09 00 [10:08:47]MH_I2C_Read... [10:08:47]Read from MH i2c: F0 09 00 1D 00 00 B0 79 17 67 4F CD 9A 65 D7 [10:08:47]GetLastDocTimeStamp 1729590441 [10:08:47]current date 1729591728 [10:08:47]FM_GetShiftState [10:08:47]SAM_PROTO_GetShiftState [10:08:47]wFMCommunicate request_size=4 [10:08:47]MH_SAM_APDU [10:08:47]CAPDU: 80 13 01 00 [10:08:47]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [10:08:47]Write i2c OK [10:08:47]MH_I2C_Read... [10:08:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:47]Read from MH i2c: E2 [10:08:47]MH_I2C_Read... [10:08:47]Read from MH i2c: E2 0E 00 [10:08:47]MH_I2C_Read... [10:08:47]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 EC [10:08:47]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [10:08:47]wFMCommunicate OK [10:08:47]SAM_PROTO_GetShiftState done [10:08:47]FM_GetShiftState done [10:08:47]opened in 1729556951 [10:08:47]opened+sec_in_day 1729643351 [10:08:47]quantity*price = 5000 [10:08:47]sum+1 = 5001 [10:08:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 13 22.10.2024 10:08 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24992 ФПД: 125487167672532 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T100848&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24992&fm=125487167672532&tin=02508201610067®Number=0000000000098147&sum=5000 0 [10:08:48]StoreToDocumentArchive [10:08:48]shift 457 fd 24992 [10:08:48]save to /storage/0457/doc_00024992 [10:08:48]save last doc name /storage/0457/doc_00024992 to /storage/kkm_last_doc_name [10:08:48]save OK [10:08:48]Clear old archive folders... [10:08:48]ProcessDocumentItem done err = 0, tmpTLVsize=269 [10:08:48]tlvbuf is 000C0700 [10:08:48]SAM_PROTO_ClearQueue [10:08:48]wFMCommunicate request_size=4 [10:08:48]MH_SAM_APDU [10:08:48]CAPDU: 80 09 00 00 [10:08:48]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:08:48]Read from MH i2c: E2 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [10:08:48]RAPDU: 90 00 [10:08:48]wFMCommunicate OK [10:08:48]SAM_PROTO_ClearQueue done [10:08:48]KKMCreateOFDPacket [10:08:48]OFDProtocolAddRootSTLVToBuf [10:08:48]FM_MakeSignedData [10:08:48]FM_MakeSignedData [10:08:48]SAM_PROTO_SignData [10:08:48]wFMCommunicate request_size=4 [10:08:48]MH_SAM_APDU [10:08:48]CAPDU: 80 0D 01 02 [10:08:48]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:08:48]Read from MH i2c: E2 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [10:08:48]RAPDU: 90 00 [10:08:48]wFMCommunicate OK [10:08:48]wFMCommunicate request_size=255 [10:08:48]MH_SAM_APDU [10:08:48]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B0 79 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [10:08:48]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B0 79 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 3F [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:48]Read from MH i2c: E2 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [10:08:48]RAPDU: 90 00 [10:08:48]wFMCommunicate OK [10:08:48]wFMCommunicate request_size=28 [10:08:48]MH_SAM_APDU [10:08:48]CAPDU: 80 0D 02 02 17 36 35 33 37 36 10 04 04 00 A0 61 00 00 35 04 06 00 72 21 42 0D 90 D4 [10:08:48]Write to MH i2c: E2 1F 00 2E 00 80 0D 02 02 17 00 36 35 33 37 36 10 04 04 00 A0 61 00 00 35 04 06 00 72 21 42 0D 90 D4 00 00 7F [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:48]Read from MH i2c: E2 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [10:08:48]RAPDU: 90 00 [10:08:48]wFMCommunicate OK [10:08:48]wFMCommunicate request_size=4 [10:08:48]MH_SAM_APDU [10:08:48]CAPDU: 80 0D 03 02 [10:08:48]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:08:48]Read from MH i2c: E2 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 0B 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 0B 00 2F 00 00 38 5F 96 13 FE 5C 70 F4 90 00 A9 [10:08:48]RAPDU: 38 5F 96 13 FE 5C 70 F4 90 00 [10:08:48]wFMCommunicate OK [10:08:48]SAM_PROTO_SignData done [10:08:48]FM_MakeSignedData done [10:08:48]CreateOFDProtocolMessage [10:08:48]wFMCommunicate request_size=4 [10:08:48]MH_SAM_APDU [10:08:48]CAPDU: 80 11 00 00 [10:08:48]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:48]Read from MH i2c: E2 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 17 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 01 [10:08:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:08:48]wFMCommunicate OK [10:08:48]CreateOFDProtocolMessage done [10:08:48]OFDSenderStorePacket 24992 [10:08:48]StoreOFDPacket docnum=24992 [10:08:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 21 01 00 00 B2 BF 19 01 3B 30 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B0 79 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A0 61 00 00 35 04 06 00 72 21 42 0D 90 D4 38 5F 96 13 FE 5C 70 F4 [10:08:48]CheckFolder [10:08:48]dirname=/storage/ofd_packets [10:08:48]CheckFolder done [10:08:48]ProducePacketName [10:08:48]name=ofd_packets/00024992 [10:08:48]NVStorageSaveData ofd_packets/00024992 [10:08:48]File name is /storage/ofd_packets/00024992 [10:08:48]Write 319 bytes [10:08:48]NVStorageSaveData done [10:08:48]OFDSenderStorePacket done [10:08:48]KKMCreateOFDPacket done [10:08:48]NVStorageSaveData kkm_last_timestamp [10:08:48]File name is /storage/kkm_last_timestamp [10:08:48]Write 4 bytes [10:08:48]NVStorageSaveData done [10:08:48]ExternCall_PrintAddStr [10:08:48]wPrintStart [10:08:48]Write to MH i2c: 01 00 00 31 00 31 [10:08:48]Write i2c OK [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: 01 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: 01 07 00 [10:08:48]MH_I2C_Read... [10:08:48]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [10:08:48]RasterBufferAndPrint [10:08:48]line Счет N : (3)34750 [10:08:48]line ИНН: 02508201610067 [10:08:48]line Контрольно-Кассовый Чек [10:08:48]line ПРОДАЖА [10:08:48]line Товар: 4700000160358 [10:08:48]line Вода Легенда 1л [10:08:48]line 1.000 * 50.00 [10:08:48]line = 50.00 [10:08:48]line НДС 12% НСП 1% [10:08:48]line > о реализуемом товаре [10:08:48]line ИТОГО: 50.00 [10:08:48]line НСП 1% : 0.44 [10:08:48]line НДС 12% : 5.31 [10:08:48]line Наличными: 50.00 [10:08:48]line Безнал.: 0.00 [10:08:48]line Место: АЗС № 161 "Партнер Нефть" [10:08:48]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:08:48]line СНО: Общий режим [10:08:48]line Чек 13 22.10.2024 10:08 [10:08:48]line Смена: 457 ФФД: 1.0 [10:08:48]line ЗНМ: 0300000240 [10:08:48]line РНМ: 0000000000098147 [10:08:48]line Версия ККМ: 001 [10:08:48]line ФМ: 0000000000965376 [10:08:48]line ФД: 24992 [10:08:48]line ФПД: 125487167672532 [10:08:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T100848&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24992&fm=125487167672532&tin=02508201610067®Number=0000000000098147&sum=5000 [10:08:48]line 0 [10:08:48]written 0, free lines is 4095 [10:08:48]OFD Sender: Processing packet 24992 [packets to send 5, broken 4] [10:08:48]ProducePacketName [10:08:48]name=ofd_packets/00024992 [10:08:48]OFD Sender: To server: pG, [10:08:48]CommunicateWithHost lk.salyk.kg:30040 [10:08:48]ConnectInit lk.salyk.kg [10:08:48]Connected sock=10 [10:08:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 21 01 00 00 B2 BF 19 01 3B 30 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 B0 79 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A0 61 00 00 35 04 06 00 72 21 42 0D 90 D4 38 5F 96 13 FE 5C 70 F4 [10:08:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 CB FF 47 00 E1 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A0 61 00 00 F4 03 04 00 2A 22 17 67 B6 04 01 00 00 B2 C1 98 38 DA FB E5 A6 [10:08:49]CommunicateWithHost err = 0 [10:08:49]CheckOFDResponse [10:08:49]1017 (14) - 77093643461234 [10:08:49]1041 (16) - 0000000000965376 [10:08:49]1040 (4) - 24992 [10:08:49]1012 (4) - 22.10.2024 03:55 [10:08:49]1206 (1) - 0 [10:08:49]OFD Sender: Remove packet 24992 [10:08:49]ProducePacketName [10:08:49]name=ofd_packets/00024992 [10:08:49]NVStorageDeleteData [10:08:49]Write to MH i2c: 01 00 00 59 00 59 [10:08:49]Write i2c OK [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: 01 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: 01 07 00 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 E7 0C 53 [10:08:49]RasterBufferAndPrint [10:08:49]line [10:08:49]line [10:08:49]line [10:08:49]line [10:08:49]line [10:08:49]written 0, free lines is 3310 [10:08:49]process_action close_receipt done [10:08:49]requested_data is exist [10:08:49]produce_requested_data [10:08:49]requested_item fm.sn is exist - process it [10:08:49]wFMCommunicate request_size=4 [10:08:49]MH_SAM_APDU [10:08:49]CAPDU: 80 11 00 00 [10:08:49]Write to MH i2c: E2 08 00 60 00 80 11 00 00 00 00 00 00 DA [10:08:49]Write i2c OK [10:08:49]MH_I2C_Read... [10:08:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:49]Read from MH i2c: E2 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: E2 17 00 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: E2 17 00 60 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 31 [10:08:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:08:49]wFMCommunicate OK [10:08:49]requested_item fd.num is exist - process it [10:08:49]SAM_PROTO_GetFieldsCounters [10:08:49]wFMCommunicate request_size=4 [10:08:49]MH_SAM_APDU [10:08:49]CAPDU: 80 13 00 00 [10:08:49]Write to MH i2c: E2 08 00 61 00 80 13 00 00 00 00 00 00 DD [10:08:49]Write i2c OK [10:08:49]MH_I2C_Read... [10:08:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:08:49]Read from MH i2c: E2 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: E2 62 00 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: E2 62 00 61 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A0 61 00 00 0E 04 04 00 C9 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 F8 [10:08:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A0 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:08:49]wFMCommunicate OK [10:08:49]SAM_PROTO_GetFieldsCounters done [10:08:49]requested_item shift.num is exist - process it [10:08:49]requested_item shift.opened is exist - process it [10:08:49]req_shift_opened [10:08:49]FM_GetShiftState [10:08:49]SAM_PROTO_GetShiftState [10:08:49]wFMCommunicate request_size=4 [10:08:49]MH_SAM_APDU [10:08:49]CAPDU: 80 13 01 00 [10:08:49]Write to MH i2c: E2 08 00 62 00 80 13 01 00 00 00 00 00 DF [10:08:49]Write i2c OK [10:08:49]MH_I2C_Read... [10:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:49]Read from MH i2c: E2 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: E2 0E 00 [10:08:49]MH_I2C_Read... [10:08:49]Read from MH i2c: E2 0E 00 62 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 30 [10:08:49]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [10:08:49]wFMCommunicate OK [10:08:49]SAM_PROTO_GetShiftState done [10:08:49]FM_GetShiftState done [10:08:49]req_shift_opened done [10:08:49]requested_item shift.open_date is exist - process it [10:08:49]req_shift_open_date [10:08:49]req_shift_open_date done [10:08:49]produce_requested_data done [10:08:49]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24992,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [10:08:49]process_action_free close_receipt [10:08:49]json_value_free [10:08:49]json_value_free done [10:08:49]process_json_proto returns [10:08:49]Send response to host [10:08:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24992,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [10:08:49]free response buf [10:08:49]execute_script done [10:08:49]execute_script returns [10:08:49]free content buf [10:08:49]Sock 6.Close socket [10:08:49]Sock 6.Thread stoped [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:49]OFD Sender: No OFD packet to send [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:25]OFD Sender: No OFD packet to send [10:15:30]OFD Sender: No OFD packet to send [10:15:35]OFD Sender: No OFD packet to send [10:15:40]OFD Sender: No OFD packet to send [10:15:45]OFD Sender: No OFD packet to send [10:15:50]OFD Sender: No OFD packet to send [10:15:55]OFD Sender: No OFD packet to send [10:16:00]OFD Sender: No OFD packet to send [10:16:05]OFD Sender: No OFD packet to send [10:16:10]OFD Sender: No OFD packet to send [10:16:15]OFD Sender: No OFD packet to send [10:16:20]OFD Sender: No OFD packet to send [10:16:25]OFD Sender: No OFD packet to send [10:16:30]OFD Sender: No OFD packet to send [10:16:35]OFD Sender: No OFD packet to send [10:16:40]OFD Sender: No OFD packet to send [10:16:45]OFD Sender: No OFD packet to send [10:16:50]OFD Sender: No OFD packet to send [10:16:55]OFD Sender: No OFD packet to send [10:17:00]OFD Sender: No OFD packet to send [10:17:05]OFD Sender: No OFD packet to send [10:17:10]OFD Sender: No OFD packet to send [10:17:15]OFD Sender: No OFD packet to send [10:17:20]OFD Sender: No OFD packet to send [10:17:25]OFD Sender: No OFD packet to send [10:17:30]OFD Sender: No OFD packet to send [10:17:35]OFD Sender: No OFD packet to send [10:17:40]OFD Sender: No OFD packet to send [10:17:45]OFD Sender: No OFD packet to send [10:17:50]OFD Sender: No OFD packet to send [10:17:55]OFD Sender: No OFD packet to send [10:18:00]OFD Sender: No OFD packet to send [10:18:05]OFD Sender: No OFD packet to send [10:18:10]OFD Sender: No OFD packet to send [10:18:15]OFD Sender: No OFD packet to send [10:18:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]OFD Sender: No OFD packet to send [10:19:15]OFD Sender: No OFD packet to send [10:19:20]OFD Sender: No OFD packet to send [10:19:25]OFD Sender: No OFD packet to send [10:19:30]OFD Sender: No OFD packet to send [10:19:35]OFD Sender: No OFD packet to send [10:19:40]OFD Sender: No OFD packet to send [10:19:45]OFD Sender: No OFD packet to send [10:19:50]OFD Sender: No OFD packet to send [10:19:55]OFD Sender: No OFD packet to send [10:20:00]OFD Sender: No OFD packet to send [10:20:05]OFD Sender: No OFD packet to send [10:20:10]OFD Sender: No OFD packet to send [10:20:15]OFD Sender: No OFD packet to send [10:20:20]OFD Sender: No OFD packet to send [10:20:25]OFD Sender: No OFD packet to send [10:20:30]OFD Sender: No OFD packet to send [10:20:35]OFD Sender: No OFD packet to send [10:20:40]OFD Sender: No OFD packet to send [10:20:45]OFD Sender: No OFD packet to send [10:20:50]OFD Sender: No OFD packet to send [10:20:55]OFD Sender: No OFD packet to send [10:21:00]OFD Sender: No OFD packet to send [10:21:05]OFD Sender: No OFD packet to send [10:21:10]OFD Sender: No OFD packet to send [10:21:15]OFD Sender: No OFD packet to send [10:21:20]OFD Sender: No OFD packet to send [10:21:25]OFD Sender: No OFD packet to send [10:21:30]OFD Sender: No OFD packet to send [10:21:35]OFD Sender: No OFD packet to send [10:21:40]OFD Sender: No OFD packet to send [10:21:45]OFD Sender: No OFD packet to send [10:21:50]OFD Sender: No OFD packet to send [10:21:55]OFD Sender: No OFD packet to send [10:22:00]OFD Sender: No OFD packet to send [10:22:05]OFD Sender: No OFD packet to send [10:22:10]OFD Sender: No OFD packet to send [10:22:15]OFD Sender: No OFD packet to send [10:22:20]OFD Sender: No OFD packet to send [10:22:25]OFD Sender: No OFD packet to send [10:22:30]OFD Sender: No OFD packet to send [10:22:35]OFD Sender: No OFD packet to send [10:22:40]OFD Sender: No OFD packet to send [10:22:45]OFD Sender: No OFD packet to send [10:22:50]OFD Sender: No OFD packet to send [10:22:55]OFD Sender: No OFD packet to send [10:23:00]OFD Sender: No OFD packet to send [10:23:05]OFD Sender: No OFD packet to send [10:23:10]OFD Sender: No OFD packet to send [10:23:15]OFD Sender: No OFD packet to send [10:23:20]OFD Sender: No OFD packet to send [10:23:25]OFD Sender: No OFD packet to send [10:23:30]OFD Sender: No OFD packet to send [10:23:35]OFD Sender: No OFD packet to send [10:23:40]OFD Sender: No OFD packet to send [10:23:45]OFD Sender: No OFD packet to send [10:23:50]OFD Sender: No OFD packet to send [10:23:55]OFD Sender: No OFD packet to send [10:24:00]OFD Sender: No OFD packet to send [10:24:05]OFD Sender: No OFD packet to send [10:24:10]OFD Sender: No OFD packet to send [10:24:15]OFD Sender: No OFD packet to send [10:24:20]OFD Sender: No OFD packet to send [10:24:25]OFD Sender: No OFD packet to send [10:24:30]OFD Sender: No OFD packet to send [10:24:35]OFD Sender: No OFD packet to send [10:24:40]OFD Sender: No OFD packet to send [10:24:45]OFD Sender: No OFD packet to send [10:24:50]OFD Sender: No OFD packet to send [10:24:55]OFD Sender: No OFD packet to send [10:25:00]OFD Sender: No OFD packet to send [10:25:05]OFD Sender: No OFD packet to send [10:25:10]OFD Sender: No OFD packet to send [10:25:15]OFD Sender: No OFD packet to send [10:25:20]OFD Sender: No OFD packet to send [10:25:25]OFD Sender: No OFD packet to send [10:25:30]OFD Sender: No OFD packet to send [10:25:35]OFD Sender: No OFD packet to send [10:25:40]OFD Sender: No OFD packet to send [10:25:45]OFD Sender: No OFD packet to send [10:25:50]OFD Sender: No OFD packet to send [10:25:55]OFD Sender: No OFD packet to send [10:26:00]OFD Sender: No OFD packet to send [10:26:05]OFD Sender: No OFD packet to send [10:26:10]OFD Sender: No OFD packet to send [10:26:15]OFD Sender: No OFD packet to send [10:26:20]OFD Sender: No OFD packet to send [10:26:25]OFD Sender: No OFD packet to send [10:26:30]OFD Sender: No OFD packet to send [10:26:35]OFD Sender: No OFD packet to send [10:26:40]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:04]recv_with_timeout no data received [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:55]OFD Sender: No OFD packet to send [10:29:00]OFD Sender: No OFD packet to send [10:29:05]OFD Sender: No OFD packet to send [10:29:10]OFD Sender: No OFD packet to send [10:29:15]OFD Sender: No OFD packet to send [10:29:20]OFD Sender: No OFD packet to send [10:29:25]OFD Sender: No OFD packet to send [10:29:30]OFD Sender: No OFD packet to send [10:29:35]OFD Sender: No OFD packet to send [10:29:40]OFD Sender: No OFD packet to send [10:29:45]OFD Sender: No OFD packet to send [10:29:50]OFD Sender: No OFD packet to send [10:29:55]OFD Sender: No OFD packet to send [10:30:00]OFD Sender: No OFD packet to send [10:30:05]OFD Sender: No OFD packet to send [10:30:10]OFD Sender: No OFD packet to send [10:30:15]OFD Sender: No OFD packet to send [10:30:20]OFD Sender: No OFD packet to send [10:30:25]OFD Sender: No OFD packet to send [10:30:30]OFD Sender: No OFD packet to send [10:30:35]OFD Sender: No OFD packet to send [10:30:40]OFD Sender: No OFD packet to send [10:30:45]OFD Sender: No OFD packet to send [10:30:50]OFD Sender: No OFD packet to send [10:30:55]OFD Sender: No OFD packet to send [10:31:00]OFD Sender: No OFD packet to send [10:31:05]OFD Sender: No OFD packet to send [10:31:10]OFD Sender: No OFD packet to send [10:31:15]OFD Sender: No OFD packet to send [10:31:20]OFD Sender: No OFD packet to send [10:31:25]OFD Sender: No OFD packet to send [10:31:30]OFD Sender: No OFD packet to send [10:31:35]OFD Sender: No OFD packet to send [10:31:40]OFD Sender: No OFD packet to send [10:31:45]OFD Sender: No OFD packet to send [10:31:50]OFD Sender: No OFD packet to send [10:31:55]OFD Sender: No OFD packet to send [10:32:00]OFD Sender: No OFD packet to send [10:32:05]OFD Sender: No OFD packet to send [10:32:10]OFD Sender: No OFD packet to send [10:32:15]OFD Sender: No OFD packet to send [10:32:20]OFD Sender: No OFD packet to send [10:32:25]OFD Sender: No OFD packet to send [10:32:30]OFD Sender: No OFD packet to send [10:32:35]OFD Sender: No OFD packet to send [10:32:40]OFD Sender: No OFD packet to send [10:32:45]OFD Sender: No OFD packet to send [10:32:50]OFD Sender: No OFD packet to send [10:32:55]OFD Sender: No OFD packet to send [10:33:00]OFD Sender: No OFD packet to send [10:33:05]OFD Sender: No OFD packet to send [10:33:10]OFD Sender: No OFD packet to send [10:33:15]OFD Sender: No OFD packet to send [10:33:20]OFD Sender: No OFD packet to send [10:33:25]OFD Sender: No OFD packet to send [10:33:30]OFD Sender: No OFD packet to send [10:33:35]OFD Sender: No OFD packet to send [10:33:40]OFD Sender: No OFD packet to send [10:33:45]OFD Sender: No OFD packet to send [10:33:50]OFD Sender: No OFD packet to send [10:33:55]OFD Sender: No OFD packet to send [10:34:00]OFD Sender: No OFD packet to send [10:34:05]OFD Sender: No OFD packet to send [10:34:10]OFD Sender: No OFD packet to send [10:34:15]OFD Sender: No OFD packet to send [10:34:20]OFD Sender: No OFD packet to send [10:34:25]OFD Sender: No OFD packet to send [10:34:30]OFD Sender: No OFD packet to send [10:34:35]OFD Sender: No OFD packet to send [10:34:40]OFD Sender: No OFD packet to send [10:34:45]OFD Sender: No OFD packet to send [10:34:50]OFD Sender: No OFD packet to send [10:34:55]OFD Sender: No OFD packet to send [10:35:00]OFD Sender: No OFD packet to send [10:35:05]OFD Sender: No OFD packet to send [10:35:10]OFD Sender: No OFD packet to send [10:35:15]OFD Sender: No OFD packet to send [10:35:20]OFD Sender: No OFD packet to send [10:35:25]OFD Sender: No OFD packet to send [10:35:30]OFD Sender: No OFD packet to send [10:35:35]OFD Sender: No OFD packet to send [10:35:40]OFD Sender: No OFD packet to send [10:35:45]OFD Sender: No OFD packet to send [10:35:50]OFD Sender: No OFD packet to send [10:35:55]OFD Sender: No OFD packet to send [10:36:00]OFD Sender: No OFD packet to send [10:36:05]OFD Sender: No OFD packet to send [10:36:10]OFD Sender: No OFD packet to send [10:36:15]OFD Sender: No OFD packet to send [10:36:20]OFD Sender: No OFD packet to send [10:36:25]OFD Sender: No OFD packet to send [10:36:30]OFD Sender: No OFD packet to send [10:36:35]OFD Sender: No OFD packet to send [10:36:40]OFD Sender: No OFD packet to send [10:36:45]OFD Sender: No OFD packet to send [10:36:50]OFD Sender: No OFD packet to send [10:36:56]OFD Sender: No OFD packet to send [10:37:01]OFD Sender: No OFD packet to send [10:37:06]OFD Sender: No OFD packet to send [10:37:21]OFD Sender: No OFD packet to send [10:37:26]OFD Sender: No OFD packet to send [10:37:31]OFD Sender: No OFD packet to send [10:37:36]OFD Sender: No OFD packet to send [10:37:41]OFD Sender: No OFD packet to send [10:37:46]OFD Sender: No OFD packet to send [10:37:51]OFD Sender: No OFD packet to send [10:37:56]OFD Sender: No OFD packet to send [10:38:01]OFD Sender: No OFD packet to send [10:38:06]OFD Sender: No OFD packet to send [10:38:11]OFD Sender: No OFD packet to send [10:38:16]OFD Sender: No OFD packet to send [10:38:21]OFD Sender: No OFD packet to send [10:38:26]OFD Sender: No OFD packet to send [10:38:31]OFD Sender: No OFD packet to send [10:38:36]OFD Sender: No OFD packet to send [10:38:41]OFD Sender: No OFD packet to send [10:38:46]OFD Sender: No OFD packet to send [10:38:51]OFD Sender: No OFD packet to send [10:38:56]OFD Sender: No OFD packet to send [10:39:01]OFD Sender: No OFD packet to send [10:39:06]OFD Sender: No OFD packet to send [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:33]ConnectInit Can't connect to host [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:43]accept exits with 9 [10:40:43]New connection [10:40:43]New thread 3066752356 created [10:40:43]Thread 3066895716 joined [10:40:43]Waiting for new connection... [10:40:43] Sock 9.Parse request [10:40:43]Sock 9.Check first char [10:40:43]Sock 9.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.53.196:8080 [10:40:43]Content-Length: 620 [10:40:43]Content-Type: application/json [10:40:43] [10:40:43]POST finish read [10:40:43]Found Content-Length = 620 [10:40:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34751", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [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 : (3)34751", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [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 63 00 52 [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 63 00 00 2C 81 17 67 4F CD 9A 65 A1 [10:40:43]GetLastDocTimeStamp 1729591728 [10:40:43]current date 1729593644 [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 64 00 80 13 01 00 00 00 00 00 E1 [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 64 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 32 [10:40:43]RAPDU: 09 00 01 D7 F1 16 67 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 1729556951 [10:40:43]opened+sec_in_day 1729643351 [10:40:43]quantity*price = 14400 [10:40:43]sum+1 = 14401 [10:40:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 14 22.10.2024 10:40 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24993 ФПД: 248238089244316 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T104044&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24993&fm=248238089244316&tin=02508201610067®Number=0000000000098147&sum=14400 0 [10:40:44]StoreToDocumentArchive [10:40:44]shift 457 fd 24993 [10:40:44]save to /storage/0457/doc_00024993 [10:40:44]save last doc name /storage/0457/doc_00024993 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=273 [10:40:44]tlvbuf is 000C0960 [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 71 00 80 09 00 00 00 00 00 00 E3 [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 71 00 00 90 00 E5 [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 72 00 80 0D 01 02 00 00 00 00 EB [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 72 00 00 90 00 E6 [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 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2C 81 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [10:40:44]Write to MH i2c: E2 02 01 73 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2C 81 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 5C [10:40:44]Write i2c OK [10:40:44]MH_I2C_Read... [10:40:44]*** iso7816_exchange 80 0D 02 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 73 00 00 90 00 E7 [10:40:44]RAPDU: 90 00 [10:40:44]wFMCommunicate OK [10:40:44]wFMCommunicate request_size=32 [10:40:44]MH_SAM_APDU [10:40:44]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 A1 61 00 00 35 04 06 00 E1 C5 6F 21 0E 9C [10:40:44]Write to MH i2c: E2 23 00 74 00 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 A1 61 00 00 35 04 06 00 E1 C5 6F 21 0E 9C 00 00 31 [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 74 00 00 90 00 E8 [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 75 00 80 0D 03 02 00 00 00 00 F0 [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 75 00 00 69 32 CE 77 6E 35 6D 86 90 00 67 [10:40:45]RAPDU: 69 32 CE 77 6E 35 6D 86 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 76 00 80 11 00 00 00 00 00 00 F0 [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 76 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 47 [10:40:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:40:45]wFMCommunicate OK [10:40:45]CreateOFDProtocolMessage done [10:40:45]OFDSenderStorePacket 24993 [10:40:45]StoreOFDPacket docnum=24993 [10:40:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 47 A3 1D 01 CD 02 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2C 81 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A1 61 00 00 35 04 06 00 E1 C5 6F 21 0E 9C 69 32 CE 77 6E 35 6D 86 [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/00024993 [10:40:45]NVStorageSaveData ofd_packets/00024993 [10:40:45]File name is /storage/ofd_packets/00024993 [10:40:45]Write 323 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]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 77 00 77 [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 77 00 00 00 00 00 00 FF 0F 8C [10:40:45]RasterBufferAndPrint [10:40:45]line Счет N : (3)34751 [10:40:45]line ИНН: 02508201610067 [10:40:45]line Контрольно-Кассовый Чек [10:40:45]line ПРОДАЖА [10:40:45]line Товар: 48743570 [10:40:45]line Сигареты Winston XStyle Blue [10:40:45]line 1.000 * 144.00 [10:40:45]line = 144.00 [10:40:45]line НДС 12% НСП 1% [10:40:45]line > о реализуемом товаре [10:40:45]line ИТОГО: 144.00 [10:40:45]line НСП 1% : 1.27 [10:40:45]line НДС 12% : 15.29 [10:40:45]line Наличными: 144.00 [10:40:45]line Безнал.: 0.00 [10:40:45]line Место: АЗС № 161 "Партнер Нефть" [10:40:45]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:40:45]line СНО: Общий режим [10:40:45]line Чек 14 22.10.2024 10:40 [10:40:45]line Смена: 457 ФФД: 1.0 [10:40:45]line ЗНМ: 0300000240 [10:40:45]line РНМ: 0000000000098147 [10:40:45]line Версия ККМ: 001 [10:40:45]line ФМ: 0000000000965376 [10:40:45]line ФД: 24993 [10:40:45]line ФПД: 248238089244316 [10:40:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T104044&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24993&fm=248238089244316&tin=02508201610067®Number=0000000000098147&sum=14400 [10:40:45]OFD Sender: Processing packet 24993 [packets to send 5, broken 4] [10:40:45]ProducePacketName [10:40:45]name=ofd_packets/00024993 [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]line 0 [10:40:45]written 0, free lines is 4095 [10:40:45]Connected sock=10 [10:40:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 47 A3 1D 01 CD 02 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 2C 81 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A1 61 00 00 35 04 06 00 E1 C5 6F 21 0E 9C 69 32 CE 77 6E 35 6D 86 [10:40:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 08 CC 47 00 A6 D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A1 61 00 00 F4 03 04 00 A7 29 17 67 B6 04 01 00 00 E1 39 C4 C6 75 0A 5A 23 [10:40:45]CommunicateWithHost err = 0 [10:40:45]CheckOFDResponse [10:40:45]1017 (14) - 77093643461234 [10:40:45]1041 (16) - 0000000000965376 [10:40:45]1040 (4) - 24993 [10:40:45]1012 (4) - 22.10.2024 04:27 [10:40:45]1206 (1) - 0 [10:40:45]OFD Sender: Remove packet 24993 [10:40:45]ProducePacketName [10:40:45]name=ofd_packets/00024993 [10:40:45]NVStorageDeleteData [10:40:45]Write to MH i2c: 01 00 00 9F 00 9F [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 9F 00 00 00 00 00 00 DA 0C 8C [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 3296 [10:40:45]process_action close_receipt done [10:40:45]requested_data is exist [10:40:45]produce_requested_data [10:40:45]requested_item fm.sn is exist - process it [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 A6 00 80 11 00 00 00 00 00 00 20 [10:40:45]Write i2c OK [10:40:45]MH_I2C_Read... [10:40:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:40:46]Read from MH i2c: E2 [10:40:46]MH_I2C_Read... [10:40:46]Read from MH i2c: E2 17 00 [10:40:46]MH_I2C_Read... [10:40:46]Read from MH i2c: E2 17 00 A6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 77 [10:40:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:40:46]wFMCommunicate OK [10:40:46]requested_item fd.num is exist - process it [10:40:46]SAM_PROTO_GetFieldsCounters [10:40:46]wFMCommunicate request_size=4 [10:40:46]MH_SAM_APDU [10:40:46]CAPDU: 80 13 00 00 [10:40:46]Write to MH i2c: E2 08 00 A7 00 80 13 00 00 00 00 00 00 23 [10:40:46]Write i2c OK [10:40:46]MH_I2C_Read... [10:40:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:40:46]Read from MH i2c: E2 [10:40:46]MH_I2C_Read... [10:40:46]Read from MH i2c: E2 62 00 [10:40:46]MH_I2C_Read... [10:40:46]Read from MH i2c: E2 62 00 A7 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A1 61 00 00 0E 04 04 00 C9 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 42 [10:40:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A1 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:40:46]wFMCommunicate OK [10:40:46]SAM_PROTO_GetFieldsCounters done [10:40:46]requested_item shift.num is exist - process it [10:40:46]requested_item shift.opened is exist - process it [10:40:46]req_shift_opened [10:40:46]FM_GetShiftState [10:40:46]SAM_PROTO_GetShiftState [10:40:46]wFMCommunicate request_size=4 [10:40:46]MH_SAM_APDU [10:40:46]CAPDU: 80 13 01 00 [10:40:46]Write to MH i2c: E2 08 00 A8 00 80 13 01 00 00 00 00 00 25 [10:40:46]Write i2c OK [10:40:46]MH_I2C_Read... [10:40:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:40:46]Read from MH i2c: E2 [10:40:46]MH_I2C_Read... [10:40:46]Read from MH i2c: E2 0E 00 [10:40:46]MH_I2C_Read... [10:40:46]Read from MH i2c: E2 0E 00 A8 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 76 [10:40:46]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [10:40:46]wFMCommunicate OK [10:40:46]SAM_PROTO_GetShiftState done [10:40:46]FM_GetShiftState done [10:40:46]req_shift_opened done [10:40:46]requested_item shift.open_date is exist - process it [10:40:46]req_shift_open_date [10:40:46]req_shift_open_date done [10:40:46]produce_requested_data done [10:40:46]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24993,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [10:40:46]process_action_free close_receipt [10:40:46]json_value_free [10:40:46]json_value_free done [10:40:46]process_json_proto returns [10:40:46]Send response to host [10:40:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24993,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [10:40:46]free response buf [10:40:46]execute_script done [10:40:46]execute_script returns [10:40:46]free content buf [10:40:46]Sock 9.Close socket [10:40:46]Sock 9.Thread stoped [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:51]OFD Sender: No OFD packet to send [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:46]OFD Sender: No OFD packet to send [10:49:49]accept exits with 8 [10:49:49]New connection [10:49:49]New thread 3066895716 created [10:49:49]Thread 3066752356 joined [10:49:49]Waiting for new connection... [10:49:49] Sock 8.Parse request [10:49:49]Sock 8.Check first char [10:49:49]Sock 8.First char is OK [10:49:49]request: POST /json_proto HTTP/1.0 [10:49:49]Method: POST [10:49:49]URL: /json_proto [10:49:49]Method is POST - this is cgi request [10:49:49]url: /json_proto [10:49:49]query_string will be loaded in cgi processing [10:49:49]execute_cgi json_proto POST (null) [10:49:49]execute_cgi path=json_proto method=POST [10:49:49]POST find Content-Length [10:49:49]Host: 172.17.53.196:8080 [10:49:49]Content-Length: 1390 [10:49:49]Content-Type: application/json [10:49:49] [10:49:49]POST finish read [10:49:49]Found Content-Length = 1390 [10:49:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34752", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 519.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:49:49]execute_script... [10:49:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34752", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 519.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:49:49]POST & json_proto [10:49:49]process_json_proto [10:49:49]json parsed OK: [10:49:49]protocol is kg_v1.0 [10:49:49]action value=close_receipt [10:49:49]process_action close_receipt [10:49:49]cmd_close_receipt [10:49:49]MH_GetDate [10:49:49]Write to MH i2c: F0 00 00 A9 00 98 [10:49:49]Write i2c OK [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: F0 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: F0 09 00 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: F0 09 00 A9 00 00 4E 83 17 67 4F CD 9A 65 0B [10:49:49]GetLastDocTimeStamp 1729593644 [10:49:49]current date 1729594190 [10:49:49]FM_GetShiftState [10:49:49]SAM_PROTO_GetShiftState [10:49:49]wFMCommunicate request_size=4 [10:49:49]MH_SAM_APDU [10:49:49]CAPDU: 80 13 01 00 [10:49:49]Write to MH i2c: E2 08 00 AA 00 80 13 01 00 00 00 00 00 27 [10:49:49]Write i2c OK [10:49:49]MH_I2C_Read... [10:49:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:49]Read from MH i2c: E2 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: E2 0E 00 [10:49:49]MH_I2C_Read... [10:49:49]Read from MH i2c: E2 0E 00 AA 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 78 [10:49:49]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [10:49:49]wFMCommunicate OK [10:49:49]SAM_PROTO_GetShiftState done [10:49:49]FM_GetShiftState done [10:49:49]opened in 1729556951 [10:49:49]opened+sec_in_day 1729643351 [10:49:49]quantity*price = 10400 [10:49:49]sum+1 = 10401 [10:49:49]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 119.00 = 119.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48744546 LD Compact Silver 2.000 * 134.00 = 268.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 4.000 * 7.00 = 28.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 519.00 НСП 1% : 4.59 НДС 12% : 55.11 Наличными: 519.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 15 22.10.2024 10:49 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24994 ФПД: 174085495137338 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T104950&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24994&fm=174085495137338&tin=02508201610067®Number=0000000000098147&sum=51900 0 [10:49:50]StoreToDocumentArchive [10:49:50]shift 457 fd 24994 [10:49:50]save to /storage/0457/doc_00024994 [10:49:50]save last doc name /storage/0457/doc_00024994 to /storage/kkm_last_doc_name [10:49:50]save OK [10:49:50]Clear old archive folders... [10:49:50]ProcessDocumentItem done err = 0, tmpTLVsize=588 [10:49:50]tlvbuf is 000CCA20 [10:49:50]SAM_PROTO_ClearQueue [10:49:50]wFMCommunicate request_size=4 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 09 00 00 [10:49:50]Write to MH i2c: E2 08 00 B7 00 80 09 00 00 00 00 00 00 29 [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:49:50]Read from MH i2c: E2 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 B7 00 00 90 00 2B [10:49:50]RAPDU: 90 00 [10:49:50]wFMCommunicate OK [10:49:50]SAM_PROTO_ClearQueue done [10:49:50]KKMCreateOFDPacket [10:49:50]OFDProtocolAddRootSTLVToBuf [10:49:50]FM_MakeSignedData [10:49:50]FM_MakeSignedData [10:49:50]SAM_PROTO_SignData [10:49:50]wFMCommunicate request_size=4 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 0D 01 02 [10:49:50]Write to MH i2c: E2 08 00 B8 00 80 0D 01 02 00 00 00 00 31 [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:49:50]Read from MH i2c: E2 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 B8 00 00 90 00 2C [10:49:50]RAPDU: 90 00 [10:49:50]wFMCommunicate OK [10:49:50]wFMCommunicate request_size=255 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 0D 02 02 FA 03 00 4C 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 [10:49:50]Write to MH i2c: E2 02 01 B9 00 80 0D 02 02 FA 00 03 00 4C 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 00 00 0B [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:50]Read from MH i2c: E2 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 [10:49:50]MH_I2C_Read... [10:49:50]Read from MH i2c: E2 03 00 B9 00 00 90 00 2D [10:49:50]RAPDU: 90 00 [10:49:50]wFMCommunicate OK [10:49:50]wFMCommunicate request_size=255 [10:49:50]MH_SAM_APDU [10:49:50]CAPDU: 80 0D 02 02 FA 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 15 00 00 00 00 07 04 06 00 BC CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F [10:49:50]Write to MH i2c: E2 02 01 BA 00 80 0D 02 02 FA 00 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 15 00 00 00 00 07 04 06 00 BC CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 00 00 F5 [10:49:50]Write i2c OK [10:49:50]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 BA 00 00 90 00 2E [10:49:51]RAPDU: 90 00 [10:49:51]wFMCommunicate OK [10:49:51]wFMCommunicate request_size=97 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 0D 02 02 5C 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 4E 83 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A2 61 00 00 35 04 06 00 9E 54 70 19 24 3A [10:49:51]Write to MH i2c: E2 64 00 BB 00 80 0D 02 02 5C 00 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 4E 83 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A2 61 00 00 35 04 06 00 9E 54 70 19 24 3A 00 00 C0 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 03 00 BB 00 00 90 00 2F [10:49:51]RAPDU: 90 00 [10:49:51]wFMCommunicate OK [10:49:51]wFMCommunicate request_size=4 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 0D 03 02 [10:49:51]Write to MH i2c: E2 08 00 BC 00 80 0D 03 02 00 00 00 00 37 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 0B 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 0B 00 BC 00 00 83 B4 9A 61 4B 5F 05 8E 90 00 A7 [10:49:51]RAPDU: 83 B4 9A 61 4B 5F 05 8E 90 00 [10:49:51]wFMCommunicate OK [10:49:51]SAM_PROTO_SignData done [10:49:51]FM_MakeSignedData done [10:49:51]CreateOFDProtocolMessage [10:49:51]wFMCommunicate request_size=4 [10:49:51]MH_SAM_APDU [10:49:51]CAPDU: 80 11 00 00 [10:49:51]Write to MH i2c: E2 08 00 BD 00 80 11 00 00 00 00 00 00 37 [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:51]Read from MH i2c: E2 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 17 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: E2 17 00 BD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 8E [10:49:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:49:51]wFMCommunicate OK [10:49:51]CreateOFDProtocolMessage done [10:49:51]OFDSenderStorePacket 24994 [10:49:51]StoreOFDPacket docnum=24994 [10:49:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 60 02 00 00 87 E6 58 02 3C 60 5A 03 01 00 03 00 4C 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 15 00 00 00 00 07 04 06 00 BC CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 4E 83 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A2 61 00 00 35 04 06 00 9E 54 70 19 24 3A 83 B4 9A 61 4B 5F 05 8E [10:49:51]CheckFolder [10:49:51]dirname=/storage/ofd_packets [10:49:51]CheckFolder done [10:49:51]ProducePacketName [10:49:51]name=ofd_packets/00024994 [10:49:51]NVStorageSaveData ofd_packets/00024994 [10:49:51]File name is /storage/ofd_packets/00024994 [10:49:51]Write 638 bytes [10:49:51]NVStorageSaveData done [10:49:51]OFDSenderStorePacket done [10:49:51]KKMCreateOFDPacket done [10:49:51]NVStorageSaveData kkm_last_timestamp [10:49:51]File name is /storage/kkm_last_timestamp [10:49:51]Write 4 bytes [10:49:51]NVStorageSaveData done [10:49:51]ExternCall_PrintAddStr [10:49:51]wPrintStart [10:49:51]Write to MH i2c: 01 00 00 BE 00 BE [10:49:51]Write i2c OK [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: 01 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: 01 07 00 [10:49:51]MH_I2C_Read... [10:49:51]Read from MH i2c: 01 07 00 BE 00 00 00 00 00 00 FF 0F D3 [10:49:51]RasterBufferAndPrint [10:49:51]line Счет N : (3)34752 [10:49:51]line ИНН: 02508201610067 [10:49:51]line Контрольно-Кассовый Чек [10:49:51]line ПРОДАЖА [10:49:51]line Товар: 4870202522015 [10:49:51]line Напиток Maxi Чай Грушевый 1,2л [10:49:51]line 1.000 * 104.00 [10:49:51]line = 104.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line Товар: 4870001570071 [10:49:51]line Напиток Pepsi 1л [10:49:51]line 1.000 * 119.00 [10:49:51]line = 119.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line Товар: 48744546 [10:49:51]line LD Compact Silver [10:49:51]line 2.000 * 134.00 [10:49:51]line = 268.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line Товар: 2000053020015 [10:49:51]line Бумажные стаканы 250мл 1шт [10:49:51]line 4.000 * 7.00 [10:49:51]line = 28.00 [10:49:51]line НДС 12% НСП 1% [10:49:51]line > о реализуемом товаре [10:49:51]line ИТОГО: 519.00 [10:49:51]line НСП 1% : 4.59 [10:49:51]line НДС 12% : 55.11 [10:49:51]line Наличными: 519.00 [10:49:51]line Безнал.: 0.00 [10:49:51]line Место: АЗС № 161 "Партнер Нефть" [10:49:51]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [10:49:51]line СНО: Общий режим [10:49:51]line Чек 15 22.10.2024 10:49 [10:49:51]line Смена: 457 ФФД: 1.0 [10:49:51]line ЗНМ: 0300000240 [10:49:51]line РНМ: 0000000000098147 [10:49:51]line Версия ККМ: 001 [10:49:51]line ФМ: 0000000000965376 [10:49:51]line ФД: 24994 [10:49:51]line ФПД: 174085495137338 [10:49:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T104950&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24994&fm=174085495137338&tin=02508201610067®Number=0000000000098147&sum=51900 [10:49:51]line 0 [10:49:51]OFD Sender: Processing packet 24994 [packets to send 5, broken 4] [10:49:51]ProducePacketName [10:49:51]name=ofd_packets/00024994 [10:49:51]OFD Sender: To server: pG, [10:49:51]CommunicateWithHost lk.salyk.kg:30040 [10:49:51]ConnectInit lk.salyk.kg [10:49:51]written 0, free lines is 4095 [10:49:51]Connected sock=10 [10:49:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 60 02 00 00 87 E6 58 02 3C 60 5A 03 01 00 03 00 4C 02 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC CA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 15 00 00 00 00 07 04 06 00 BC CA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 4E 83 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A2 61 00 00 35 04 06 00 9E 54 70 19 24 3A 83 B4 9A 61 4B 5F 05 8E [10:49:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 9A DA 47 00 16 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 39 36 35 33 37 36 10 04 04 00 A2 61 00 00 F4 03 04 00 C9 2B 17 67 B6 04 01 00 00 0A 88 E6 7E B2 4F 23 FC [10:49:52]CommunicateWithHost err = 0 [10:49:52]CheckOFDResponse [10:49:52]1017 (14) - 77093643461234 [10:49:52]1041 (16) - 0000000000965376 [10:49:52]1040 (4) - 24994 [10:49:52]1012 (4) - 22.10.2024 04:36 [10:49:52]1206 (1) - 0 [10:49:52]OFD Sender: Remove packet 24994 [10:49:52]ProducePacketName [10:49:52]name=ofd_packets/00024994 [10:49:52]NVStorageDeleteData [10:49:52]Write to MH i2c: 01 00 00 FA 00 FA [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: 01 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: 01 07 00 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: 01 07 00 FA 00 00 00 00 00 00 9F 0B AB [10:49:52]RasterBufferAndPrint [10:49:52]line [10:49:52]line [10:49:52]line [10:49:52]line [10:49:52]line [10:49:52]written 0, free lines is 2984 [10:49:52]process_action close_receipt done [10:49:52]requested_data is exist [10:49:52]produce_requested_data [10:49:52]requested_item fm.sn is exist - process it [10:49:52]wFMCommunicate request_size=4 [10:49:52]MH_SAM_APDU [10:49:52]CAPDU: 80 11 00 00 [10:49:52]Write to MH i2c: E2 08 00 01 01 80 11 00 00 00 00 00 00 7C [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:49:52]Read from MH i2c: E2 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: E2 17 00 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: E2 17 00 01 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D3 [10:49:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [10:49:52]wFMCommunicate OK [10:49:52]requested_item fd.num is exist - process it [10:49:52]SAM_PROTO_GetFieldsCounters [10:49:52]wFMCommunicate request_size=4 [10:49:52]MH_SAM_APDU [10:49:52]CAPDU: 80 13 00 00 [10:49:52]Write to MH i2c: E2 08 00 02 01 80 13 00 00 00 00 00 00 7F [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:52]OFD Sender: No OFD packet to send [10:49:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:49:52]Read from MH i2c: E2 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: E2 62 00 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: E2 62 00 02 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A2 61 00 00 0E 04 04 00 C9 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 A2 [10:49:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A2 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:49:52]wFMCommunicate OK [10:49:52]SAM_PROTO_GetFieldsCounters done [10:49:52]requested_item shift.num is exist - process it [10:49:52]requested_item shift.opened is exist - process it [10:49:52]req_shift_opened [10:49:52]FM_GetShiftState [10:49:52]SAM_PROTO_GetShiftState [10:49:52]wFMCommunicate request_size=4 [10:49:52]MH_SAM_APDU [10:49:52]CAPDU: 80 13 01 00 [10:49:52]Write to MH i2c: E2 08 00 03 01 80 13 01 00 00 00 00 00 81 [10:49:52]Write i2c OK [10:49:52]MH_I2C_Read... [10:49:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:49:52]Read from MH i2c: E2 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: E2 0E 00 [10:49:52]MH_I2C_Read... [10:49:52]Read from MH i2c: E2 0E 00 03 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 D2 [10:49:52]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [10:49:52]wFMCommunicate OK [10:49:52]SAM_PROTO_GetShiftState done [10:49:52]FM_GetShiftState done [10:49:52]req_shift_opened done [10:49:52]requested_item shift.open_date is exist - process it [10:49:52]req_shift_open_date [10:49:52]req_shift_open_date done [10:49:52]produce_requested_data done [10:49:52]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24994,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [10:49:52]process_action_free close_receipt [10:49:52]json_value_free [10:49:52]json_value_free done [10:49:52]process_json_proto returns [10:49:52]Send response to host [10:49:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24994,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [10:49:52]free response buf [10:49:52]execute_script done [10:49:52]execute_script returns [10:49:52]free content buf [10:49:52]Sock 8.Close socket [10:49:52]Sock 8.Thread stoped [10:49:57]OFD Sender: No OFD packet to send [10:50:02]OFD Sender: No OFD packet to send [10:50:07]OFD Sender: No OFD packet to send [10:50:12]OFD Sender: No OFD packet to send [10:50:17]OFD Sender: No OFD packet to send [10:50:22]OFD Sender: No OFD packet to send [10:50:27]OFD Sender: No OFD packet to send [10:50:32]OFD Sender: No OFD packet to send [10:50:37]OFD Sender: No OFD packet to send [10:50:42]OFD Sender: No OFD packet to send [10:50:47]OFD Sender: No OFD packet to send [10:50:52]OFD Sender: No OFD packet to send [10:50:57]OFD Sender: No OFD packet to send [10:51:02]OFD Sender: No OFD packet to send [10:51:07]OFD Sender: No OFD packet to send [10:51:12]OFD Sender: No OFD packet to send [10:51:17]OFD Sender: No OFD packet to send [10:51:22]OFD Sender: No OFD packet to send [10:51:27]OFD Sender: No OFD packet to send [10:51:32]OFD Sender: No OFD packet to send [10:51:37]OFD Sender: No OFD packet to send [10:51:42]OFD Sender: No OFD packet to send [10:51:47]OFD Sender: No OFD packet to send [10:51:52]OFD Sender: No OFD packet to send [10:51:57]OFD Sender: No OFD packet to send [10:52:02]OFD Sender: No OFD packet to send [10:52:07]OFD Sender: No OFD packet to send [10:52:12]OFD Sender: No OFD packet to send [10:52:17]OFD Sender: No OFD packet to send [10:52:22]OFD Sender: No OFD packet to send [10:52:27]OFD Sender: No OFD packet to send [10:52:32]OFD Sender: No OFD packet to send [10:52:37]OFD Sender: No OFD packet to send [10:52:42]OFD Sender: No OFD packet to send [10:52:47]OFD Sender: No OFD packet to send [10:52:52]OFD Sender: No OFD packet to send [10:52:57]OFD Sender: No OFD packet to send [10:53:02]OFD Sender: No OFD packet to send [10:53:07]OFD Sender: No OFD packet to send [10:53:12]OFD Sender: No OFD packet to send [10:53:17]OFD Sender: No OFD packet to send [10:53:22]OFD Sender: No OFD packet to send [10:53:27]OFD Sender: No OFD packet to send [10:53:32]OFD Sender: No OFD packet to send [10:53:37]OFD Sender: No OFD packet to send [10:53:42]OFD Sender: No OFD packet to send [10:53:47]OFD Sender: No OFD packet to send [10:53:52]OFD Sender: No OFD packet to send [10:53:57]OFD Sender: No OFD packet to send [10:54:02]OFD Sender: No OFD packet to send [10:54:07]OFD Sender: No OFD packet to send [10:54:12]OFD Sender: No OFD packet to send [10:54:17]OFD Sender: No OFD packet to send [10:54:22]OFD Sender: No OFD packet to send [10:54:27]OFD Sender: No OFD packet to send [10:54:32]OFD Sender: No OFD packet to send [10:54:37]OFD Sender: No OFD packet to send [10:54:42]OFD Sender: No OFD packet to send [10:54:47]OFD Sender: No OFD packet to send [10:54:52]OFD Sender: No OFD packet to send [10:54:57]OFD Sender: No OFD packet to send [10:55:02]OFD Sender: No OFD packet to send [10:55:07]OFD Sender: No OFD packet to send [10:55:12]OFD Sender: No OFD packet to send [10:55:17]OFD Sender: No OFD packet to send [10:55:22]OFD Sender: No OFD packet to send [10:55:27]OFD Sender: No OFD packet to send [10:55:32]OFD Sender: No OFD packet to send [10:55:37]OFD Sender: No OFD packet to send [10:55:42]OFD Sender: No OFD packet to send [10:55:47]OFD Sender: No OFD packet to send [10:55:52]OFD Sender: No OFD packet to send [10:55:57]OFD Sender: No OFD packet to send [10:56:02]OFD Sender: No OFD packet to send [10:56:07]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:13]OFD Sender: No OFD packet to send [10:59:18]OFD Sender: No OFD packet to send [10:59:23]OFD Sender: No OFD packet to send [10:59:28]OFD Sender: No OFD packet to send [10:59:33]OFD Sender: No OFD packet to send [10:59:38]OFD Sender: No OFD packet to send [10:59:43]OFD Sender: No OFD packet to send [10:59:48]OFD Sender: No OFD packet to send [10:59:53]OFD Sender: No OFD packet to send [10:59:58]OFD Sender: No OFD packet to send [11:00:03]OFD Sender: No OFD packet to send [11:00:08]OFD Sender: No OFD packet to send [11:00:13]OFD Sender: No OFD packet to send [11:00:18]OFD Sender: No OFD packet to send [11:00:23]OFD Sender: No OFD packet to send [11:00:28]OFD Sender: No OFD packet to send [11:00:33]OFD Sender: No OFD packet to send [11:00:38]OFD Sender: No OFD packet to send [11:00:43]OFD Sender: No OFD packet to send [11:00:48]OFD Sender: No OFD packet to send [11:00:53]OFD Sender: No OFD packet to send [11:00:58]OFD Sender: No OFD packet to send [11:01:03]OFD Sender: No OFD packet to send [11:01:08]OFD Sender: No OFD packet to send [11:01:13]OFD Sender: No OFD packet to send [11:01:18]OFD Sender: No OFD packet to send [11:01:23]OFD Sender: No OFD packet to send [11:01:28]OFD Sender: No OFD packet to send [11:01:33]OFD Sender: No OFD packet to send [11:01:38]OFD Sender: No OFD packet to send [11:01:43]OFD Sender: No OFD packet to send [11:01:48]OFD Sender: No OFD packet to send [11:01:53]OFD Sender: No OFD packet to send [11:01:58]OFD Sender: No OFD packet to send [11:02:03]OFD Sender: No OFD packet to send [11:02:08]OFD Sender: No OFD packet to send [11:02:13]OFD Sender: No OFD packet to send [11:02:18]OFD Sender: No OFD packet to send [11:02:23]OFD Sender: No OFD packet to send [11:02:28]OFD Sender: No OFD packet to send [11:02:33]OFD Sender: No OFD packet to send [11:02:38]OFD Sender: No OFD packet to send [11:02:43]OFD Sender: No OFD packet to send [11:02:48]OFD Sender: No OFD packet to send [11:02:53]OFD Sender: No OFD packet to send [11:02:58]OFD Sender: No OFD packet to send [11:03:03]OFD Sender: No OFD packet to send [11:03:08]OFD Sender: No OFD packet to send [11:03:13]OFD Sender: No OFD packet to send [11:03:18]OFD Sender: No OFD packet to send [11:03:23]OFD Sender: No OFD packet to send [11:03:28]OFD Sender: No OFD packet to send [11:03:33]OFD Sender: No OFD packet to send [11:03:38]OFD Sender: No OFD packet to send [11:03:43]OFD Sender: No OFD packet to send [11:03:48]OFD Sender: No OFD packet to send [11:03:53]OFD Sender: No OFD packet to send [11:03:58]OFD Sender: No OFD packet to send [11:04:03]OFD Sender: No OFD packet to send [11:04:08]OFD Sender: No OFD packet to send [11:04:13]OFD Sender: No OFD packet to send [11:04:18]OFD Sender: No OFD packet to send [11:04:23]OFD Sender: No OFD packet to send [11:04:28]OFD Sender: No OFD packet to send [11:04:33]OFD Sender: No OFD packet to send [11:04:38]OFD Sender: No OFD packet to send [11:04:43]OFD Sender: No OFD packet to send [11:04:48]OFD Sender: No OFD packet to send [11:04:53]OFD Sender: No OFD packet to send [11:04:58]OFD Sender: No OFD packet to send [11:05:03]OFD Sender: No OFD packet to send [11:05:08]OFD Sender: No OFD packet to send [11:05:13]OFD Sender: No OFD packet to send [11:05:18]OFD Sender: No OFD packet to send [11:05:23]OFD Sender: No OFD packet to send [11:05:28]OFD Sender: No OFD packet to send [11:05:33]OFD Sender: No OFD packet to send [11:05:38]OFD Sender: No OFD packet to send [11:05:43]OFD Sender: No OFD packet to send [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:43]OFD Sender: No OFD packet to send [11:11:48]OFD Sender: No OFD packet to send [11:11:53]OFD Sender: No OFD packet to send [11:11:58]OFD Sender: No OFD packet to send [11:12:03]OFD Sender: No OFD packet to send [11:12:08]OFD Sender: No OFD packet to send [11:12:13]OFD Sender: No OFD packet to send [11:12:18]OFD Sender: No OFD packet to send [11:12:23]OFD Sender: No OFD packet to send [11:12:28]OFD Sender: No OFD packet to send [11:12:33]OFD Sender: No OFD packet to send [11:12:38]OFD Sender: No OFD packet to send [11:12:43]OFD Sender: No OFD packet to send [11:12:48]OFD Sender: No OFD packet to send [11:12:53]OFD Sender: No OFD packet to send [11:12:58]OFD Sender: No OFD packet to send [11:13:03]OFD Sender: No OFD packet to send [11:13:08]OFD Sender: No OFD packet to send [11:13:13]OFD Sender: No OFD packet to send [11:13:18]OFD Sender: No OFD packet to send [11:13:23]OFD Sender: No OFD packet to send [11:13:28]OFD Sender: No OFD packet to send [11:13:33]OFD Sender: No OFD packet to send [11:13:38]OFD Sender: No OFD packet to send [11:13:43]OFD Sender: No OFD packet to send [11:13:48]OFD Sender: No OFD packet to send [11:13:53]OFD Sender: No OFD packet to send [11:13:58]OFD Sender: No OFD packet to send [11:14:03]OFD Sender: No OFD packet to send [11:14:08]OFD Sender: No OFD packet to send [11:14:13]OFD Sender: No OFD packet to send [11:14:18]OFD Sender: No OFD packet to send [11:14:23]OFD Sender: No OFD packet to send [11:14:28]OFD Sender: No OFD packet to send [11:14:33]OFD Sender: No OFD packet to send [11:14:38]OFD Sender: No OFD packet to send [11:14:43]OFD Sender: No OFD packet to send [11:14:48]OFD Sender: No OFD packet to send [11:14:53]OFD Sender: No OFD packet to send [11:14:58]OFD Sender: No OFD packet to send [11:15:03]OFD Sender: No OFD packet to send [11:15:08]OFD Sender: No OFD packet to send [11:15:13]OFD Sender: No OFD packet to send [11:15:18]OFD Sender: No OFD packet to send [11:15:23]OFD Sender: No OFD packet to send [11:15:28]OFD Sender: No OFD packet to send [11:15:33]OFD Sender: No OFD packet to send [11:15:38]OFD Sender: No OFD packet to send [11:15:43]OFD Sender: No OFD packet to send [11:15:48]OFD Sender: No OFD packet to send [11:15:53]OFD Sender: No OFD packet to send [11:15:58]OFD Sender: No OFD packet to send [11:16:03]OFD Sender: No OFD packet to send [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:39]OFD Sender: No OFD packet to send [11:20:44]OFD Sender: No OFD packet to send [11:20:49]OFD Sender: No OFD packet to send [11:20:54]OFD Sender: No OFD packet to send [11:20:59]OFD Sender: No OFD packet to send [11:21:04]OFD Sender: No OFD packet to send [11:21:09]OFD Sender: No OFD packet to send [11:21:14]OFD Sender: No OFD packet to send [11:21:19]OFD Sender: No OFD packet to send [11:21:24]OFD Sender: No OFD packet to send [11:21:29]OFD Sender: No OFD packet to send [11:21:34]OFD Sender: No OFD packet to send [11:21:39]OFD Sender: No OFD packet to send [11:21:44]OFD Sender: No OFD packet to send [11:21:49]OFD Sender: No OFD packet to send [11:21:54]OFD Sender: No OFD packet to send [11:21:59]OFD Sender: No OFD packet to send [11:22:04]OFD Sender: No OFD packet to send [11:22:09]OFD Sender: No OFD packet to send [11:22:14]OFD Sender: No OFD packet to send [11:22:19]OFD Sender: No OFD packet to send [11:22:24]OFD Sender: No OFD packet to send [11:22:28]ConnectInit Can't connect to host [11:22:29]OFD Sender: No OFD packet to send [11:22:34]OFD Sender: No OFD packet to send [11:22:39]OFD Sender: No OFD packet to send [11:22:44]OFD Sender: No OFD packet to send [11:22:49]OFD Sender: No OFD packet to send [11:22:54]OFD Sender: No OFD packet to send [11:22:59]OFD Sender: No OFD packet to send [11:23:04]OFD Sender: No OFD packet to send [11:23:09]OFD Sender: No OFD packet to send [11:23:14]OFD Sender: No OFD packet to send [11:23:19]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:25:39]OFD Sender: No OFD packet to send [11:25:44]OFD Sender: No OFD packet to send [11:25:49]OFD Sender: No OFD packet to send [11:25:54]OFD Sender: No OFD packet to send [11:25:59]OFD Sender: No OFD packet to send [11:26:04]OFD Sender: No OFD packet to send [11:26:09]OFD Sender: No OFD packet to send [11:26:14]OFD Sender: No OFD packet to send [11:26:19]OFD Sender: No OFD packet to send [11:26:24]OFD Sender: No OFD packet to send [11:26:29]OFD Sender: No OFD packet to send [11:26:34]OFD Sender: No OFD packet to send [11:26:39]OFD Sender: No OFD packet to send [11:26:44]OFD Sender: No OFD packet to send [11:26:49]OFD Sender: No OFD packet to send [11:26:54]OFD Sender: No OFD packet to send [11:26:59]OFD Sender: No OFD packet to send [11:27:04]OFD Sender: No OFD packet to send [11:27:09]OFD Sender: No OFD packet to send [11:27:14]OFD Sender: No OFD packet to send [11:27:19]OFD Sender: No OFD packet to send [11:27:24]OFD Sender: No OFD packet to send [11:27:29]OFD Sender: No OFD packet to send [11:27:34]OFD Sender: No OFD packet to send [11:27:39]OFD Sender: No OFD packet to send [11:27:44]OFD Sender: No OFD packet to send [11:27:49]OFD Sender: No OFD packet to send [11:27:54]OFD Sender: No OFD packet to send [11:27:59]OFD Sender: No OFD packet to send [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]/dev/ttyS4 opened [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 73 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:10]*** [00:00:10]Read from MH i2c: A0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:10]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]*** Waiting for read because exit forced [00:00:10]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725CE (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 24952586+1704643919=1729596505 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:11]*** Is cutter blocked? [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 03 00 02 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 74 [00:00:11]Are we in boot? [00:00:11]We are not in boot now [00:00:11]Write to MH i2c: 01 00 00 04 00 04 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:11]Model is 3 [00:00:11]MH firmware is 30620 [00:00:11]MH boot firmware is 3 [00:00:11]MH_SetPrinterDots 448 [00:00:11]HeadWidthInBytes 56 [00:00:11]maxmasksize 7 [00:00:11]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:11]Write to MH i2c: D5 00 00 06 00 DA [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 5A 8C 17 67 4F CD 9A 65 7E [11:28:26]Current date/time: 22.10.2024 11:28 [11:28:26]FM_Init [11:28:26]wFMConnect [11:28:26]MH_SAM_On [11:28:26]Write to MH i2c: E0 00 00 08 00 E7 [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_init finished! [11:28:26]*** atr: [11:28:26]*** 0F 3B D5 18 FF 81 91 FE [11:28:26]*** 1F C3 80 73 C8 21 10 0A [11:28:26]*** 00 00 00 00 00 00 00 00 [11:28:26]*** 00 00 00 00 00 00 00 00 [11:28:26]*** 00 00 00 00 00 00 00 00 [11:28:26]*** 00 00 00 00 00 00 00 00 [11:28:26]*** 00 00 00 00 00 00 00 00 [11:28:26]*** 00 00 00 00 00 00 00 00 [11:28:26]Read from MH i2c: E0 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E0 10 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [11:28:26]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [11:28:26]wFMCommunicate request_size=10 [11:28:26]MH_SAM_APDU [11:28:26]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [11:28:26]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [11:28:26]Read from MH i2c: E2 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [11:28:26]RAPDU: 90 00 [11:28:26]wFMCommunicate OK [11:28:26]wFMCommunicate request_size=4 [11:28:26]MH_SAM_APDU [11:28:26]CAPDU: 80 11 00 00 [11:28:26]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:26]Read from MH i2c: E2 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 17 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DB [11:28:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:28:26]wFMCommunicate OK [11:28:26]Detected FM SN is 0000000000965376 [11:28:26]Stored FM SN is 0000000000965376 [11:28:26]wFMCommunicate request_size=9 [11:28:26]MH_SAM_APDU [11:28:26]CAPDU: 80 16 00 00 04 9B 09 01 00 [11:28:26]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 9B 09 01 00 00 00 37 [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [11:28:26]Read from MH i2c: E2 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [11:28:26]RAPDU: 90 00 [11:28:26]wFMCommunicate OK [11:28:26]FM PIN OK [11:28:26]wFMCommunicate request_size=8 [11:28:26]MH_SAM_APDU [11:28:26]CAPDU: 80 14 04 00 03 02 00 01 [11:28:26]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [11:28:26]Read from MH i2c: E2 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [11:28:26]RAPDU: 90 00 [11:28:26]wFMCommunicate OK [11:28:26]wFMCommunicate request_size=13 [11:28:26]MH_SAM_APDU [11:28:26]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [11:28:26]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [11:28:26]Read from MH i2c: E2 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [11:28:26]RAPDU: 90 00 [11:28:26]wFMCommunicate OK [11:28:26]wFMCommunicate request_size=4 [11:28:26]MH_SAM_APDU [11:28:26]CAPDU: 80 11 00 00 [11:28:26]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:26]Read from MH i2c: E2 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 17 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [11:28:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:28:26]wFMCommunicate OK [11:28:26]DocumentArchiveInit [11:28:26]Start Httpd... [11:28:26]Httpd thread 3067899236 created [11:28:26]Write to MH i2c: 01 00 00 0F 00 0F [11:28:26]Write i2c OK [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: 01 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: 01 07 00 [11:28:26]MH_I2C_Read... [11:28:26]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [11:28:26]MH Int Process started [11:28:26]Allocated Socket 7 [11:28:26]Bind OK [11:28:26]Listen OK [11:28:26]httpd running on port 8080 [11:28:26]Waiting for new connection... [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:35]accept exits with 9 [11:28:35]New connection [11:28:35]New thread 3067612516 created [11:28:35]Waiting for new connection... [11:28:35] Sock 9.Parse request [11:28:35]Sock 9.Check first char [11:28:35]Sock 9.First char is OK [11:28:35]request: POST /json_proto HTTP/1.0 [11:28:35]Method: POST [11:28:35]URL: /json_proto [11:28:35]Method is POST - this is cgi request [11:28:35]url: /json_proto [11:28:35]query_string will be loaded in cgi processing [11:28:35]execute_cgi json_proto POST (null) [11:28:35]execute_cgi path=json_proto method=POST [11:28:35]POST find Content-Length [11:28:35]Host: 172.17.53.196:8080 [11:28:35]Content-Length: 215 [11:28:35]Content-Type: application/json [11:28:35] [11:28:35]POST finish read [11:28:35]Found Content-Length = 215 [11:28:35]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" ] } } [11:28:35]execute_script... [11:28:35]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" ] } } [11:28:35]POST & json_proto [11:28:35]process_json_proto [11:28:35]json parsed OK: [11:28:35]protocol is kg_v1.0 [11:28:35]action value=get_value [11:28:35]process_action get_value [11:28:35]cmd_get_value [11:28:35]process_action get_value done [11:28:35]requested_data is exist [11:28:35]produce_requested_data [11:28:35]requested_item kkm.sn is exist - process it [11:28:35]requested_item kkm.ver is exist - process it [11:28:35]requested_item fm.sn is exist - process it [11:28:35]wFMCommunicate request_size=4 [11:28:35]MH_SAM_APDU [11:28:35]CAPDU: 80 11 00 00 [11:28:35]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [11:28:35]Write i2c OK [11:28:35]MH_I2C_Read... [11:28:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:35]Read from MH i2c: E2 [11:28:35]MH_I2C_Read... [11:28:35]Read from MH i2c: E2 17 00 [11:28:35]MH_I2C_Read... [11:28:35]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E1 [11:28:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:28:35]wFMCommunicate OK [11:28:35]requested_item fd.num is exist - process it [11:28:35]SAM_PROTO_GetFieldsCounters [11:28:35]wFMCommunicate request_size=4 [11:28:35]MH_SAM_APDU [11:28:35]CAPDU: 80 13 00 00 [11:28:35]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [11:28:35]Write i2c OK [11:28:35]MH_I2C_Read... [11:28:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:28:36]Read from MH i2c: E2 [11:28:36]MH_I2C_Read... [11:28:36]Read from MH i2c: E2 62 00 [11:28:36]MH_I2C_Read... [11:28:36]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A2 61 00 00 0E 04 04 00 C9 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 B0 [11:28:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A2 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:28:36]wFMCommunicate OK [11:28:36]SAM_PROTO_GetFieldsCounters done [11:28:36]requested_item shift.num is exist - process it [11:28:36]requested_item shift.opened is exist - process it [11:28:36]req_shift_opened [11:28:36]FM_GetShiftState [11:28:36]SAM_PROTO_GetShiftState [11:28:36]wFMCommunicate request_size=4 [11:28:36]MH_SAM_APDU [11:28:36]CAPDU: 80 13 01 00 [11:28:36]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [11:28:36]Write i2c OK [11:28:36]MH_I2C_Read... [11:28:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:36]Read from MH i2c: E2 [11:28:36]MH_I2C_Read... [11:28:36]Read from MH i2c: E2 0E 00 [11:28:36]MH_I2C_Read... [11:28:36]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E0 [11:28:36]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [11:28:36]wFMCommunicate OK [11:28:36]SAM_PROTO_GetShiftState done [11:28:36]FM_GetShiftState done [11:28:36]req_shift_opened done [11:28:36]requested_item shift.open_date is exist - process it [11:28:36]req_shift_open_date [11:28:36]req_shift_open_date done [11:28:36]produce_requested_data done [11:28:36]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24994,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [11:28:36]process_action_free get_value [11:28:36]json_value_free [11:28:36]json_value_free done [11:28:36]process_json_proto returns [11:28:36]Send response to host [11:28:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":24994,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [11:28:36]free response buf [11:28:36]execute_script done [11:28:36]execute_script returns [11:28:36]free content buf [11:28:36]Sock 9.Close socket [11:28:36]Sock 9.Thread stoped [11:28:36]accept exits with 8 [11:28:36]New connection [11:28:36]New thread 3067469156 created [11:28:36]Thread 3067612516 joined [11:28:36]Waiting for new connection... [11:28:36] Sock 8.Parse request [11:28:36]Sock 8.Check first char [11:28:36]Sock 8.First char is OK [11:28:36]request: POST /json_proto HTTP/1.0 [11:28:36]Method: POST [11:28:36]URL: /json_proto [11:28:36]Method is POST - this is cgi request [11:28:36]url: /json_proto [11:28:36]query_string will be loaded in cgi processing [11:28:36]execute_cgi json_proto POST (null) [11:28:36]execute_cgi path=json_proto method=POST [11:28:36]POST find Content-Length [11:28:36]Host: 172.17.53.196:8080 [11:28:36]Content-Length: 331 [11:28:36]Content-Type: application/json [11:28:36] [11:28:36]POST finish read [11:28:36]Found Content-Length = 331 [11:28:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:28:36]execute_script... [11:28:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [11:28:36]POST & json_proto [11:28:36]process_json_proto [11:28:36]json parsed OK: [11:28:36]protocol is kg_v1.0 [11:28:36]action value=get_value [11:28:36]process_action get_value [11:28:36]cmd_get_value [11:28:36]process_action get_value done [11:28:36]requested_data is exist [11:28:36]produce_requested_data [11:28:36]requested_item fm.sale.total is exist - process it [11:28:36]SAM_PROTO_GetFMData [11:28:36]wFMCommunicate request_size=4 [11:28:36]MH_SAM_APDU [11:28:36]CAPDU: 80 13 03 00 [11:28:36]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [11:28:36]OFD Sender: No OFD packet to send [11:28:36]Write i2c OK [11:28:36]MH_I2C_Read... [11:28:36]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [11:28:36]Read from MH i2c: E2 [11:28:36]MH_I2C_Read... [11:28:36]Read from MH i2c: E2 FD 00 [11:28:36]MH_I2C_Read... [11:28:36]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 10 5E 00 00 69 04 A0 00 6F 04 04 00 02 5E 00 00 B1 04 04 00 50 90 C9 14 70 04 04 00 94 C3 9A 12 72 04 04 00 BC CC 2E 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DB 16 35 02 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 BC 0C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 74 [11:28:36]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 10 5E 00 00 69 04 A0 00 6F 04 04 00 02 5E 00 00 B1 04 04 00 50 90 C9 14 70 04 04 00 94 C3 9A 12 72 04 04 00 BC CC 2E 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 DB 16 35 02 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 BC 0C 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [11:28:36]wFMCommunicate OK [11:28:36]wFMCommunicate request_size=4 [11:28:36]MH_SAM_APDU [11:28:36]CAPDU: 80 17 00 00 [11:28:36]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [11:28:36]Write i2c OK [11:28:36]MH_I2C_Read... [11:28:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:28:37]Read from MH i2c: E2 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 FD 00 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 FD 00 14 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 86 [11:28:37]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [11:28:37]wFMCommunicate OK [11:28:37]wFMCommunicate request_size=4 [11:28:37]MH_SAM_APDU [11:28:37]CAPDU: 80 17 00 00 [11:28:37]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [11:28:37]Write i2c OK [11:28:37]MH_I2C_Read... [11:28:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:28:37]Read from MH i2c: E2 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 FD 00 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [11:28:37]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [11:28:37]wFMCommunicate OK [11:28:37]wFMCommunicate request_size=4 [11:28:37]MH_SAM_APDU [11:28:37]CAPDU: 80 17 00 00 [11:28:37]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [11:28:37]Write i2c OK [11:28:37]MH_I2C_Read... [11:28:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:28:37]Read from MH i2c: E2 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 FD 00 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [11:28:37]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [11:28:37]wFMCommunicate OK [11:28:37]wFMCommunicate request_size=4 [11:28:37]MH_SAM_APDU [11:28:37]CAPDU: 80 17 00 00 [11:28:37]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [11:28:37]Write i2c OK [11:28:37]MH_I2C_Read... [11:28:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [11:28:37]Read from MH i2c: E2 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 DC 00 [11:28:37]MH_I2C_Read... [11:28:37]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [11:28:37]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:28:37]wFMCommunicate OK [11:28:37]SAM_PROTO_GetFMData done [11:28:37]requested_item fm.sale_refund.total is exist - process it [11:28:37]requested_item fm.buy.total is exist - process it [11:28:37]requested_item shift.sale.total is exist - process it [11:28:37]SAM_PROTO_GetShiftData [11:28:37]wFMCommunicate request_size=4 [11:28:37]MH_SAM_APDU [11:28:37]CAPDU: 80 13 02 00 [11:28:37]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [11:28:37]Write i2c OK [11:28:37]MH_I2C_Read... [11:28:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:28:38]Read from MH i2c: E2 [11:28:38]MH_I2C_Read... [11:28:38]Read from MH i2c: E2 FD 00 [11:28:38]MH_I2C_Read... [11:28:38]Read from MH i2c: E2 FD 00 18 00 00 AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 34 86 04 70 04 03 00 FC 3B 04 72 04 02 00 38 4A 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 FE 7A 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 3D 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 A8 [11:28:38]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 0F 00 00 00 69 04 99 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 34 86 04 70 04 03 00 FC 3B 04 72 04 02 00 38 4A 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 FE 7A 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 3D 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [11:28:38]wFMCommunicate OK [11:28:38]wFMCommunicate request_size=4 [11:28:38]MH_SAM_APDU [11:28:38]CAPDU: 80 17 00 00 [11:28:38]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [11:28:38]Write i2c OK [11:28:38]MH_I2C_Read... [11:28:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:28:38]Read from MH i2c: E2 [11:28:38]MH_I2C_Read... [11:28:38]Read from MH i2c: E2 FD 00 [11:28:38]MH_I2C_Read... [11:28:38]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 AE [11:28:38]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [11:28:38]wFMCommunicate OK [11:28:38]wFMCommunicate request_size=4 [11:28:38]MH_SAM_APDU [11:28:38]CAPDU: 80 17 00 00 [11:28:38]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [11:28:38]Write i2c OK [11:28:38]MH_I2C_Read... [11:28:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:28:38]Read from MH i2c: E2 [11:28:38]MH_I2C_Read... [11:28:38]Read from MH i2c: E2 FD 00 [11:28:38]MH_I2C_Read... [11:28:38]Read from MH i2c: E2 FD 00 1A 00 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 5B [11:28:39]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [11:28:39]wFMCommunicate OK [11:28:39]wFMCommunicate request_size=4 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 17 00 00 [11:28:39]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 FD 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 FD 00 1B 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 10 [11:28:39]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [11:28:39]wFMCommunicate OK [11:28:39]wFMCommunicate request_size=4 [11:28:39]MH_SAM_APDU [11:28:39]CAPDU: 80 17 00 00 [11:28:39]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [11:28:39]Write i2c OK [11:28:39]MH_I2C_Read... [11:28:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [11:28:39]Read from MH i2c: E2 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 C9 00 [11:28:39]MH_I2C_Read... [11:28:39]Read from MH i2c: E2 C9 00 1C 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 80 [11:28:39]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:28:39]wFMCommunicate OK [11:28:39]SAM_PROTO_GetShiftData done [11:28:39]requested_item shift.sale.total_cash is exist - process it [11:28:39]requested_item shift.sale_refund.total is exist - process it [11:28:39]requested_item shift.sale_refund.total_cash is exist - process it [11:28:39]requested_item shift.buy.total is exist - process it [11:28:39]requested_item shift.buy.total_cash is exist - process it [11:28:39]produce_requested_data done [11:28:39]produce_requested_data return {"fm.sale.total":3487540.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":2965.00,"shift.sale.total_cash":2775.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} [11:28:39]process_action_free get_value [11:28:39]json_value_free [11:28:39]json_value_free done [11:28:39]process_json_proto returns [11:28:39]Send response to host [11:28:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3487540.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":2965.00,"shift.sale.total_cash":2775.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}}} [11:28:39]free response buf [11:28:39]execute_script done [11:28:39]execute_script returns [11:28:39]free content buf [11:28:39]Sock 8.Close socket [11:28:39]Sock 8.Thread stoped [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:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [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:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]accept exits with 9 [11:46:32]New connection [11:46:32]New thread 3067612516 created [11:46:32]Thread 3067469156 joined [11:46:32]Waiting for new connection... [11:46:32] Sock 9.Parse request [11:46:32]Sock 9.Check first char [11:46:32]Sock 9.First char is OK [11:46:32]request: POST /json_proto HTTP/1.0 [11:46:32]Method: POST [11:46:32]URL: /json_proto [11:46:32]Method is POST - this is cgi request [11:46:32]url: /json_proto [11:46:32]query_string will be loaded in cgi processing [11:46:32]execute_cgi json_proto POST (null) [11:46:32]execute_cgi path=json_proto method=POST [11:46:32]POST find Content-Length [11:46:32]Host: 172.17.53.196:8080 [11:46:32]Content-Length: 757 [11:46:32]Content-Type: application/json [11:46:32] [11:46:32]POST finish read [11:46:32]Found Content-Length = 757 [11:46:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34753", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:46:32]execute_script... [11:46:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34753", "tax_sys" : 0, "items" : [ { "code": "50173822", "name": "\u0420/\u0436 Orbit \u0431/\u0441\u0430\u0445 \u043C\u044F\u0442\u0430 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:46:32]POST & json_proto [11:46:32]process_json_proto [11:46:32]json parsed OK: [11:46:32]protocol is kg_v1.0 [11:46:32]action value=close_receipt [11:46:32]process_action close_receipt [11:46:32]cmd_close_receipt [11:46:32]MH_GetDate [11:46:32]Write to MH i2c: F0 00 00 1D 00 0C [11:46:32]Write i2c OK [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: F0 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: F0 09 00 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: F0 09 00 1D 00 00 98 90 17 67 4F CD 9A 65 D6 [11:46:32]GetLastDocTimeStamp 1729594190 [11:46:32]current date 1729597592 [11:46:32]FM_GetShiftState [11:46:32]SAM_PROTO_GetShiftState [11:46:32]wFMCommunicate request_size=4 [11:46:32]MH_SAM_APDU [11:46:32]CAPDU: 80 13 01 00 [11:46:32]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [11:46:32]Write i2c OK [11:46:32]MH_I2C_Read... [11:46:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:32]Read from MH i2c: E2 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: E2 0E 00 [11:46:32]MH_I2C_Read... [11:46:32]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 EC [11:46:32]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [11:46:32]wFMCommunicate OK [11:46:32]SAM_PROTO_GetShiftState done [11:46:32]FM_GetShiftState done [11:46:32]opened in 1729556951 [11:46:32]opened+sec_in_day 1729643351 [11:46:32]quantity*price = 4500 [11:46:32]sum+1 = 4501 [11:46:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 16 22.10.2024 11:46 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 24995 ФПД: 265382235534852 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114632&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24995&fm=265382235534852&tin=02508201610067®Number=0000000000098147&sum=4500 0 [11:46:33]StoreToDocumentArchive [11:46:33]shift 457 fd 24995 [11:46:33]save to /storage/0457/doc_00024995 [11:46:33]save last doc name /storage/0457/doc_00024995 to /storage/kkm_last_doc_name [11:46:33]save OK [11:46:33]Clear old archive folders... [11:46:33]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:46:33]tlvbuf is B6FF6540 [11:46:33]SAM_PROTO_ClearQueue [11:46:33]wFMCommunicate request_size=4 [11:46:33]MH_SAM_APDU [11:46:33]CAPDU: 80 09 00 00 [11:46:33]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:46:33]Read from MH i2c: E2 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [11:46:33]RAPDU: 90 00 [11:46:33]wFMCommunicate OK [11:46:33]SAM_PROTO_ClearQueue done [11:46:33]KKMCreateOFDPacket [11:46:33]OFDProtocolAddRootSTLVToBuf [11:46:33]FM_MakeSignedData [11:46:33]FM_MakeSignedData [11:46:33]SAM_PROTO_SignData [11:46:33]wFMCommunicate request_size=4 [11:46:33]MH_SAM_APDU [11:46:33]CAPDU: 80 0D 01 02 [11:46:33]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:46:33]Read from MH i2c: E2 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [11:46:33]RAPDU: 90 00 [11:46:33]wFMCommunicate OK [11:46:33]wFMCommunicate request_size=255 [11:46:33]MH_SAM_APDU [11:46:33]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 98 90 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [11:46:33]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 98 90 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 5B [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:33]Read from MH i2c: E2 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [11:46:33]RAPDU: 90 00 [11:46:33]wFMCommunicate OK [11:46:33]wFMCommunicate request_size=33 [11:46:33]MH_SAM_APDU [11:46:33]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A3 61 00 00 35 04 06 00 F1 5D 1D E0 F6 04 [11:46:33]Write to MH i2c: E2 24 00 2E 00 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A3 61 00 00 35 04 06 00 F1 5D 1D E0 F6 04 00 00 84 [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:33]Read from MH i2c: E2 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [11:46:33]RAPDU: 90 00 [11:46:33]wFMCommunicate OK [11:46:33]wFMCommunicate request_size=4 [11:46:33]MH_SAM_APDU [11:46:33]CAPDU: 80 0D 03 02 [11:46:33]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:46:33]Read from MH i2c: E2 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 0B 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 0B 00 2F 00 00 77 08 11 2B 0A 56 6C 0C 90 00 3E [11:46:33]RAPDU: 77 08 11 2B 0A 56 6C 0C 90 00 [11:46:33]wFMCommunicate OK [11:46:33]SAM_PROTO_SignData done [11:46:33]FM_MakeSignedData done [11:46:33]CreateOFDProtocolMessage [11:46:33]wFMCommunicate request_size=4 [11:46:33]MH_SAM_APDU [11:46:33]CAPDU: 80 11 00 00 [11:46:33]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:33]Read from MH i2c: E2 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 17 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 01 [11:46:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:46:33]wFMCommunicate OK [11:46:33]CreateOFDProtocolMessage done [11:46:33]OFDSenderStorePacket 24995 [11:46:33]StoreOFDPacket docnum=24995 [11:46:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 73 25 1E 01 D3 DC 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 98 90 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A3 61 00 00 35 04 06 00 F1 5D 1D E0 F6 04 77 08 11 2B 0A 56 6C 0C [11:46:33]CheckFolder [11:46:33]dirname=/storage/ofd_packets [11:46:33]CheckFolder done [11:46:33]ProducePacketName [11:46:33]name=ofd_packets/00024995 [11:46:33]NVStorageSaveData ofd_packets/00024995 [11:46:33]File name is /storage/ofd_packets/00024995 [11:46:33]Write 324 bytes [11:46:33]NVStorageSaveData done [11:46:33]OFDSenderStorePacket done [11:46:33]KKMCreateOFDPacket done [11:46:33]NVStorageSaveData kkm_last_timestamp [11:46:33]File name is /storage/kkm_last_timestamp [11:46:33]Write 4 bytes [11:46:33]NVStorageSaveData done [11:46:33]ExternCall_PrintAddStr [11:46:33]wPrintStart [11:46:33]Write to MH i2c: 01 00 00 31 00 31 [11:46:33]Write i2c OK [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: 01 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: 01 07 00 [11:46:33]MH_I2C_Read... [11:46:33]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [11:46:33]RasterBufferAndPrint [11:46:33]line Счет N : (3)34753 [11:46:33]line ИНН: 02508201610067 [11:46:33]line Контрольно-Кассовый Чек [11:46:33]line ПРОДАЖА [11:46:33]line Товар: 50173822 [11:46:33]line Р/ж Orbit б/сах мята 13,6г [11:46:33]line 1.000 * 45.00 [11:46:33]line = 45.00 [11:46:33]line НДС 12% НСП 1% [11:46:33]line > о реализуемом товаре [11:46:33]line ИТОГО: 45.00 [11:46:33]line НСП 1% : 0.40 [11:46:33]line НДС 12% : 4.78 [11:46:33]line Наличными: 0.00 [11:46:33]line Безнал.: 45.00 [11:46:33]line Место: АЗС № 161 "Партнер Нефть" [11:46:33]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [11:46:33]line СНО: Общий режим [11:46:33]line Чек 16 22.10.2024 11:46 [11:46:33]line Смена: 457 ФФД: 1.0 [11:46:33]line ЗНМ: 0300000240 [11:46:33]line РНМ: 0000000000098147 [11:46:33]line Версия ККМ: 001 [11:46:33]line Платежная система: Mbank [11:46:33]line ФМ: 0000000000965376 [11:46:33]line ФД: 24995 [11:46:33]line ФПД: 265382235534852 [11:46:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114632&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24995&fm=265382235534852&tin=02508201610067®Number=0000000000098147&sum=4500 [11:46:34]OFD Sender: Processing packet 24995 [packets to send 5, broken 4] [11:46:34]ProducePacketName [11:46:34]name=ofd_packets/00024995 [11:46:34]OFD Sender: To server: pG, [11:46:34]CommunicateWithHost lk.salyk.kg:30040 [11:46:34]ConnectInit lk.salyk.kg [11:46:34]line 0 [11:46:34]written 0, free lines is 4095 [11:46:34]Connected sock=10 [11:46:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 73 25 1E 01 D3 DC 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 35 30 31 37 33 38 32 32 06 04 25 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 D0 B1 2F D1 81 D0 B0 D1 85 20 D0 BC D1 8F D1 82 D0 B0 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 98 90 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A3 61 00 00 35 04 06 00 F1 5D 1D E0 F6 04 77 08 11 2B 0A 56 6C 0C [11:46:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 9D 27 47 00 8A 4F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A3 61 00 00 F4 03 04 00 13 39 17 67 B6 04 01 00 00 4B 69 BC 11 FF 0D 91 E5 [11:46:34]CommunicateWithHost err = 0 [11:46:34]CheckOFDResponse [11:46:34]1017 (14) - 77093643461234 [11:46:34]1041 (16) - 0000000000965376 [11:46:34]1040 (4) - 24995 [11:46:34]1012 (4) - 22.10.2024 05:33 [11:46:34]1206 (1) - 0 [11:46:34]OFD Sender: Remove packet 24995 [11:46:34]ProducePacketName [11:46:34]name=ofd_packets/00024995 [11:46:34]NVStorageDeleteData [11:46:34]Write to MH i2c: 01 00 00 5A 00 5A [11:46:34]Write i2c OK [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: 01 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: 01 07 00 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 E8 0C 55 [11:46:34]RasterBufferAndPrint [11:46:34]line [11:46:34]line [11:46:34]line [11:46:34]line [11:46:34]line [11:46:34]written 0, free lines is 3310 [11:46:34]process_action close_receipt done [11:46:34]requested_data is exist [11:46:34]produce_requested_data [11:46:34]requested_item fm.sn is exist - process it [11:46:34]wFMCommunicate request_size=4 [11:46:34]MH_SAM_APDU [11:46:34]CAPDU: 80 11 00 00 [11:46:34]Write to MH i2c: E2 08 00 61 00 80 11 00 00 00 00 00 00 DB [11:46:34]Write i2c OK [11:46:34]MH_I2C_Read... [11:46:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:34]Read from MH i2c: E2 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: E2 17 00 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: E2 17 00 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 32 [11:46:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:46:34]wFMCommunicate OK [11:46:34]requested_item fd.num is exist - process it [11:46:34]SAM_PROTO_GetFieldsCounters [11:46:34]wFMCommunicate request_size=4 [11:46:34]MH_SAM_APDU [11:46:34]CAPDU: 80 13 00 00 [11:46:34]Write to MH i2c: E2 08 00 62 00 80 13 00 00 00 00 00 00 DE [11:46:34]Write i2c OK [11:46:34]MH_I2C_Read... [11:46:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:46:34]Read from MH i2c: E2 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: E2 62 00 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: E2 62 00 62 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A3 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [11:46:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A3 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:46:34]wFMCommunicate OK [11:46:34]SAM_PROTO_GetFieldsCounters done [11:46:34]requested_item shift.num is exist - process it [11:46:34]requested_item shift.opened is exist - process it [11:46:34]req_shift_opened [11:46:34]FM_GetShiftState [11:46:34]SAM_PROTO_GetShiftState [11:46:34]wFMCommunicate request_size=4 [11:46:34]MH_SAM_APDU [11:46:34]CAPDU: 80 13 01 00 [11:46:34]Write to MH i2c: E2 08 00 63 00 80 13 01 00 00 00 00 00 E0 [11:46:34]Write i2c OK [11:46:34]MH_I2C_Read... [11:46:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:34]Read from MH i2c: E2 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: E2 0E 00 [11:46:34]MH_I2C_Read... [11:46:34]Read from MH i2c: E2 0E 00 63 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 31 [11:46:34]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [11:46:34]wFMCommunicate OK [11:46:34]SAM_PROTO_GetShiftState done [11:46:34]FM_GetShiftState done [11:46:34]req_shift_opened done [11:46:34]requested_item shift.open_date is exist - process it [11:46:34]req_shift_open_date [11:46:34]req_shift_open_date done [11:46:34]produce_requested_data done [11:46:34]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24995,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [11:46:34]process_action_free close_receipt [11:46:34]json_value_free [11:46:34]json_value_free done [11:46:34]process_json_proto returns [11:46:34]Send response to host [11:46:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24995,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [11:46:34]free response buf [11:46:34]execute_script done [11:46:34]execute_script returns [11:46:34]free content buf [11:46:34]Sock 9.Close socket [11:46:34]Sock 9.Thread stoped [11:46:34]OFD Sender: No OFD packet to send [11:46:39]OFD Sender: No OFD packet to send [11:46:44]OFD Sender: No OFD packet to send [11:46:49]OFD Sender: No OFD packet to send [11:46:54]OFD Sender: No OFD packet to send [11:46:59]OFD Sender: No OFD packet to send [11:47:04]OFD Sender: No OFD packet to send [11:47:09]OFD Sender: No OFD packet to send [11:47:14]OFD Sender: No OFD packet to send [11:47:19]OFD Sender: No OFD packet to send [11:47:24]OFD Sender: No OFD packet to send [11:47:29]OFD Sender: No OFD packet to send [11:47:34]OFD Sender: No OFD packet to send [11:47:39]OFD Sender: No OFD packet to send [11:47:44]OFD Sender: No OFD packet to send [11:47:49]OFD Sender: No OFD packet to send [11:47:54]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:45]OFD Sender: No OFD packet to send [11:51:50]OFD Sender: No OFD packet to send [11:51:55]OFD Sender: No OFD packet to send [11:52:00]OFD Sender: No OFD packet to send [11:52:05]OFD Sender: No OFD packet to send [11:52:10]OFD Sender: No OFD packet to send [11:52:15]OFD Sender: No OFD packet to send [11:52:20]OFD Sender: No OFD packet to send [11:52:25]OFD Sender: No OFD packet to send [11:52:30]OFD Sender: No OFD packet to send [11:52:35]OFD Sender: No OFD packet to send [11:52:40]OFD Sender: No OFD packet to send [11:52:45]OFD Sender: No OFD packet to send [11:52:50]OFD Sender: No OFD packet to send [11:52:55]OFD Sender: No OFD packet to send [11:53:00]OFD Sender: No OFD packet to send [11:53:05]OFD Sender: No OFD packet to send [11:53:10]OFD Sender: No OFD packet to send [11:53:15]OFD Sender: No OFD packet to send [11:53:20]OFD Sender: No OFD packet to send [11:53:25]OFD Sender: No OFD packet to send [11:53:30]OFD Sender: No OFD packet to send [11:53:35]OFD Sender: No OFD packet to send [11:53:40]OFD Sender: No OFD packet to send [11:53:45]OFD Sender: No OFD packet to send [11:53:50]OFD Sender: No OFD packet to send [11:53:55]OFD Sender: No OFD packet to send [11:54:00]OFD Sender: No OFD packet to send [11:54:05]OFD Sender: No OFD packet to send [11:54:10]OFD Sender: No OFD packet to send [11:54:15]OFD Sender: No OFD packet to send [11:54:20]OFD Sender: No OFD packet to send [11:54:25]OFD Sender: No OFD packet to send [11:54:30]OFD Sender: No OFD packet to send [11:54:35]OFD Sender: No OFD packet to send [11:54:40]OFD Sender: No OFD packet to send [11:54:45]OFD Sender: No OFD packet to send [11:54:50]OFD Sender: No OFD packet to send [11:54:55]OFD Sender: No OFD packet to send [11:55:00]OFD Sender: No OFD packet to send [11:55:05]OFD Sender: No OFD packet to send [11:55:10]OFD Sender: No OFD packet to send [11:55:15]OFD Sender: No OFD packet to send [11:55:20]OFD Sender: No OFD packet to send [11:55:25]OFD Sender: No OFD packet to send [11:55:30]OFD Sender: No OFD packet to send [11:55:35]OFD Sender: No OFD packet to send [11:55:40]OFD Sender: No OFD packet to send [11:55:45]OFD Sender: No OFD packet to send [11:55:50]OFD Sender: No OFD packet to send [11:55:55]OFD Sender: No OFD packet to send [11:56:00]OFD Sender: No OFD packet to send [11:56:05]OFD Sender: No OFD packet to send [11:56:10]OFD Sender: No OFD packet to send [11:56:15]OFD Sender: No OFD packet to send [11:56:20]OFD Sender: No OFD packet to send [11:56:25]OFD Sender: No OFD packet to send [11:56:30]OFD Sender: No OFD packet to send [11:56:35]OFD Sender: No OFD packet to send [11:56:40]OFD Sender: No OFD packet to send [11:56:45]OFD Sender: No OFD packet to send [11:56:50]OFD Sender: No OFD packet to send [11:56:55]OFD Sender: No OFD packet to send [11:57:00]OFD Sender: No OFD packet to send [11:57:05]OFD Sender: No OFD packet to send [11:57:10]OFD Sender: No OFD packet to send [11:57:15]OFD Sender: No OFD packet to send [11:57:20]OFD Sender: No OFD packet to send [11:57:25]OFD Sender: No OFD packet to send [11:57:26]accept exits with 8 [11:57:26]New connection [11:57:26]New thread 3067469156 created [11:57:26]Thread 3067612516 joined [11:57:26]Waiting for new connection... [11:57:26] Sock 8.Parse request [11:57:26]Sock 8.Check first char [11:57:26]Sock 8.First char is OK [11:57:26]request: POST /json_proto HTTP/1.0 [11:57:26]Method: POST [11:57:26]URL: /json_proto [11:57:26]Method is POST - this is cgi request [11:57:26]url: /json_proto [11:57:26]query_string will be loaded in cgi processing [11:57:26]execute_cgi json_proto POST (null) [11:57:26]execute_cgi path=json_proto method=POST [11:57:26]POST find Content-Length [11:57:26]Host: 172.17.53.196:8080 [11:57:26]Content-Length: 654 [11:57:26]Content-Type: application/json [11:57:26] [11:57:26]POST finish read [11:57:26]Found Content-Length = 654 [11:57:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34754", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:57:26]execute_script... [11:57:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34754", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 1.000, "sum" : 69.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 69.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:57:26]POST & json_proto [11:57:26]process_json_proto [11:57:26]json parsed OK: [11:57:26]protocol is kg_v1.0 [11:57:26]action value=close_receipt [11:57:26]process_action close_receipt [11:57:26]cmd_close_receipt [11:57:26]MH_GetDate [11:57:26]Write to MH i2c: F0 00 00 64 00 53 [11:57:26]Write i2c OK [11:57:26]MH_I2C_Read... [11:57:26]Read from MH i2c: F0 [11:57:26]MH_I2C_Read... [11:57:26]Read from MH i2c: F0 09 00 [11:57:26]MH_I2C_Read... [11:57:26]Read from MH i2c: F0 09 00 64 00 00 27 93 17 67 4F CD 9A 65 AF [11:57:26]GetLastDocTimeStamp 1729597592 [11:57:26]current date 1729598247 [11:57:26]FM_GetShiftState [11:57:26]SAM_PROTO_GetShiftState [11:57:26]wFMCommunicate request_size=4 [11:57:26]MH_SAM_APDU [11:57:26]CAPDU: 80 13 01 00 [11:57:26]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [11:57:26]Write i2c OK [11:57:26]MH_I2C_Read... [11:57:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:27]Read from MH i2c: E2 [11:57:27]MH_I2C_Read... [11:57:27]Read from MH i2c: E2 0E 00 [11:57:27]MH_I2C_Read... [11:57:27]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 33 [11:57:27]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [11:57:27]wFMCommunicate OK [11:57:27]SAM_PROTO_GetShiftState done [11:57:27]FM_GetShiftState done [11:57:27]opened in 1729556951 [11:57:27]opened+sec_in_day 1729643351 [11:57:27]quantity*price = 6900 [11:57:27]sum+1 = 6901 [11:57:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 69.00 НСП 1% : 0.61 НДС 12% : 7.33 Наличными: 69.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 17 22.10.2024 11:57 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24996 ФПД: 98266453927028 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T115727&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24996&fm=98266453927028&tin=02508201610067®Number=0000000000098147&sum=6900 0 [11:57:28]StoreToDocumentArchive [11:57:28]shift 457 fd 24996 [11:57:28]save to /storage/0457/doc_00024996 [11:57:28]save last doc name /storage/0457/doc_00024996 to /storage/kkm_last_doc_name [11:57:28]save OK [11:57:28]Clear old archive folders... [11:57:28]ProcessDocumentItem done err = 0, tmpTLVsize=294 [11:57:28]tlvbuf is B6FF9C80 [11:57:28]SAM_PROTO_ClearQueue [11:57:28]wFMCommunicate request_size=4 [11:57:28]MH_SAM_APDU [11:57:28]CAPDU: 80 09 00 00 [11:57:28]Write to MH i2c: E2 08 00 72 00 80 09 00 00 00 00 00 00 E4 [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:57:28]Read from MH i2c: E2 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 72 00 00 90 00 E6 [11:57:28]RAPDU: 90 00 [11:57:28]wFMCommunicate OK [11:57:28]SAM_PROTO_ClearQueue done [11:57:28]KKMCreateOFDPacket [11:57:28]OFDProtocolAddRootSTLVToBuf [11:57:28]FM_MakeSignedData [11:57:28]FM_MakeSignedData [11:57:28]SAM_PROTO_SignData [11:57:28]wFMCommunicate request_size=4 [11:57:28]MH_SAM_APDU [11:57:28]CAPDU: 80 0D 01 02 [11:57:28]Write to MH i2c: E2 08 00 73 00 80 0D 01 02 00 00 00 00 EC [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:57:28]Read from MH i2c: E2 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [11:57:28]RAPDU: 90 00 [11:57:28]wFMCommunicate OK [11:57:28]wFMCommunicate request_size=255 [11:57:28]MH_SAM_APDU [11:57:28]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 27 93 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [11:57:28]Write to MH i2c: E2 02 01 74 00 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 27 93 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 0E [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:28]Read from MH i2c: E2 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [11:57:28]RAPDU: 90 00 [11:57:28]wFMCommunicate OK [11:57:28]wFMCommunicate request_size=53 [11:57:28]MH_SAM_APDU [11:57:28]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A4 61 00 00 35 04 06 00 59 5F 71 14 64 74 [11:57:28]Write to MH i2c: E2 38 00 75 00 80 0D 02 02 30 00 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A4 61 00 00 35 04 06 00 59 5F 71 14 64 74 00 00 06 [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:57:28]Read from MH i2c: E2 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [11:57:28]RAPDU: 90 00 [11:57:28]wFMCommunicate OK [11:57:28]wFMCommunicate request_size=4 [11:57:28]MH_SAM_APDU [11:57:28]CAPDU: 80 0D 03 02 [11:57:28]Write to MH i2c: E2 08 00 76 00 80 0D 03 02 00 00 00 00 F1 [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:57:28]Read from MH i2c: E2 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 0B 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 0B 00 76 00 00 86 18 F8 32 87 AB 85 2F 90 00 A0 [11:57:28]RAPDU: 86 18 F8 32 87 AB 85 2F 90 00 [11:57:28]wFMCommunicate OK [11:57:28]SAM_PROTO_SignData done [11:57:28]FM_MakeSignedData done [11:57:28]CreateOFDProtocolMessage [11:57:28]wFMCommunicate request_size=4 [11:57:28]MH_SAM_APDU [11:57:28]CAPDU: 80 11 00 00 [11:57:28]Write to MH i2c: E2 08 00 77 00 80 11 00 00 00 00 00 00 F1 [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:28]Read from MH i2c: E2 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 17 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: E2 17 00 77 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 48 [11:57:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:57:28]wFMCommunicate OK [11:57:28]CreateOFDProtocolMessage done [11:57:28]OFDSenderStorePacket 24996 [11:57:28]StoreOFDPacket docnum=24996 [11:57:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3A 01 00 00 64 47 32 01 98 A9 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 27 93 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A4 61 00 00 35 04 06 00 59 5F 71 14 64 74 86 18 F8 32 87 AB 85 2F [11:57:28]CheckFolder [11:57:28]dirname=/storage/ofd_packets [11:57:28]CheckFolder done [11:57:28]ProducePacketName [11:57:28]name=ofd_packets/00024996 [11:57:28]NVStorageSaveData ofd_packets/00024996 [11:57:28]File name is /storage/ofd_packets/00024996 [11:57:28]Write 344 bytes [11:57:28]NVStorageSaveData done [11:57:28]OFDSenderStorePacket done [11:57:28]KKMCreateOFDPacket done [11:57:28]NVStorageSaveData kkm_last_timestamp [11:57:28]File name is /storage/kkm_last_timestamp [11:57:28]Write 4 bytes [11:57:28]NVStorageSaveData done [11:57:28]ExternCall_PrintAddStr [11:57:28]wPrintStart [11:57:28]Write to MH i2c: 01 00 00 78 00 78 [11:57:28]Write i2c OK [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: 01 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: 01 07 00 [11:57:28]MH_I2C_Read... [11:57:28]Read from MH i2c: 01 07 00 78 00 00 00 00 00 00 FF 0F 8D [11:57:28]RasterBufferAndPrint [11:57:28]line Счет N : (3)34754 [11:57:28]line ИНН: 02508201610067 [11:57:28]line Контрольно-Кассовый Чек [11:57:28]line ПРОДАЖА [11:57:28]line Товар: 4600682557456 [11:57:28]line Напиток FLash up energy эн ж/б 0,5/0,45л [11:57:28]line 1.000 * 69.00 [11:57:28]line = 69.00 [11:57:28]line НДС 12% НСП 1% [11:57:28]line > о реализуемом товаре [11:57:28]line ИТОГО: 69.00 [11:57:28]line НСП 1% : 0.61 [11:57:28]line НДС 12% : 7.33 [11:57:28]line Наличными: 69.00 [11:57:28]line Безнал.: 0.00 [11:57:28]line Место: АЗС № 161 "Партнер Нефть" [11:57:28]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [11:57:28]line СНО: Общий режим [11:57:28]line Чек 17 22.10.2024 11:57 [11:57:28]line Смена: 457 ФФД: 1.0 [11:57:29]line ЗНМ: 0300000240 [11:57:29]line РНМ: 0000000000098147 [11:57:29]line Версия ККМ: 001 [11:57:29]line ФМ: 0000000000965376 [11:57:29]line ФД: 24996 [11:57:29]line ФПД: 98266453927028 [11:57:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T115727&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24996&fm=98266453927028&tin=02508201610067®Number=0000000000098147&sum=6900 [11:57:29]line 0 [11:57:29]OFD Sender: Processing packet 24996 [packets to send 5, broken 4] [11:57:29]ProducePacketName [11:57:29]name=ofd_packets/00024996 [11:57:29]OFD Sender: To server: pG, [11:57:29]CommunicateWithHost lk.salyk.kg:30040 [11:57:29]ConnectInit lk.salyk.kg [11:57:29]written 0, free lines is 4095 [11:57:29]Connected sock=10 [11:57:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3A 01 00 00 64 47 32 01 98 A9 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 F4 1A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 1A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DD 02 00 00 00 00 07 04 06 00 F4 1A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 11 00 00 00 F4 03 04 00 27 93 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A4 61 00 00 35 04 06 00 59 5F 71 14 64 74 86 18 F8 32 87 AB 85 2F [11:57:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 63 FB 47 00 76 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A4 61 00 00 F4 03 04 00 A2 3B 17 67 B6 04 01 00 00 46 EA 22 F2 70 A3 B7 F8 [11:57:29]CommunicateWithHost err = 0 [11:57:29]CheckOFDResponse [11:57:29]1017 (14) - 77093643461234 [11:57:29]1041 (16) - 0000000000965376 [11:57:29]1040 (4) - 24996 [11:57:29]1012 (4) - 22.10.2024 05:44 [11:57:29]1206 (1) - 0 [11:57:29]OFD Sender: Remove packet 24996 [11:57:29]ProducePacketName [11:57:29]name=ofd_packets/00024996 [11:57:29]NVStorageDeleteData [11:57:29]Write to MH i2c: 01 00 00 A1 00 A1 [11:57:29]Write i2c OK [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: 01 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: 01 07 00 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 C8 0C 7C [11:57:29]RasterBufferAndPrint [11:57:29]line [11:57:29]line [11:57:29]line [11:57:29]line [11:57:29]line [11:57:29]written 0, free lines is 3277 [11:57:29]process_action close_receipt done [11:57:29]requested_data is exist [11:57:29]produce_requested_data [11:57:29]requested_item fm.sn is exist - process it [11:57:29]wFMCommunicate request_size=4 [11:57:29]MH_SAM_APDU [11:57:29]CAPDU: 80 11 00 00 [11:57:29]Write to MH i2c: E2 08 00 A8 00 80 11 00 00 00 00 00 00 22 [11:57:29]Write i2c OK [11:57:29]MH_I2C_Read... [11:57:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:57:29]Read from MH i2c: E2 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: E2 17 00 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: E2 17 00 A8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 79 [11:57:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [11:57:29]wFMCommunicate OK [11:57:29]requested_item fd.num is exist - process it [11:57:29]SAM_PROTO_GetFieldsCounters [11:57:29]wFMCommunicate request_size=4 [11:57:29]MH_SAM_APDU [11:57:29]CAPDU: 80 13 00 00 [11:57:29]Write to MH i2c: E2 08 00 A9 00 80 13 00 00 00 00 00 00 25 [11:57:29]Write i2c OK [11:57:29]MH_I2C_Read... [11:57:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:57:29]Read from MH i2c: E2 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: E2 62 00 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: E2 62 00 A9 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A4 61 00 00 0E 04 04 00 C9 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 50 [11:57:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A4 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:57:29]wFMCommunicate OK [11:57:29]SAM_PROTO_GetFieldsCounters done [11:57:29]requested_item shift.num is exist - process it [11:57:29]requested_item shift.opened is exist - process it [11:57:29]req_shift_opened [11:57:29]FM_GetShiftState [11:57:29]SAM_PROTO_GetShiftState [11:57:29]wFMCommunicate request_size=4 [11:57:29]MH_SAM_APDU [11:57:29]CAPDU: 80 13 01 00 [11:57:29]Write to MH i2c: E2 08 00 AA 00 80 13 01 00 00 00 00 00 27 [11:57:29]Write i2c OK [11:57:29]MH_I2C_Read... [11:57:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:29]Read from MH i2c: E2 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: E2 0E 00 [11:57:29]MH_I2C_Read... [11:57:29]Read from MH i2c: E2 0E 00 AA 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 78 [11:57:29]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [11:57:29]wFMCommunicate OK [11:57:29]SAM_PROTO_GetShiftState done [11:57:29]FM_GetShiftState done [11:57:29]req_shift_opened done [11:57:29]requested_item shift.open_date is exist - process it [11:57:29]req_shift_open_date [11:57:29]req_shift_open_date done [11:57:29]produce_requested_data done [11:57:29]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24996,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [11:57:29]process_action_free close_receipt [11:57:29]json_value_free [11:57:29]json_value_free done [11:57:29]process_json_proto returns [11:57:29]Send response to host [11:57:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24996,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [11:57:29]free response buf [11:57:29]execute_script done [11:57:29]execute_script returns [11:57:29]free content buf [11:57:29]Sock 8.Close socket [11:57:29]Sock 8.Thread stoped [11:57:29]OFD Sender: No OFD packet to send [11:57:34]OFD Sender: No OFD packet to send [11:57:39]OFD Sender: No OFD packet to send [11:57:44]OFD Sender: No OFD packet to send [11:57:49]OFD Sender: No OFD packet to send [11:57:54]OFD Sender: No OFD packet to send [11:57:59]OFD Sender: No OFD packet to send [11:58:04]OFD Sender: No OFD packet to send [11:58:09]OFD Sender: No OFD packet to send [11:58:14]OFD Sender: No OFD packet to send [11:58:19]OFD Sender: No OFD packet to send [11:58:24]OFD Sender: No OFD packet to send [11:58:29]OFD Sender: No OFD packet to send [11:58:34]OFD Sender: No OFD packet to send [11:58:39]OFD Sender: No OFD packet to send [11:58:44]OFD Sender: No OFD packet to send [11:58:49]OFD Sender: No OFD packet to send [11:58:54]OFD Sender: No OFD packet to send [11:58:59]OFD Sender: No OFD packet to send [11:59:04]OFD Sender: No OFD packet to send [11:59:09]OFD Sender: No OFD packet to send [11:59:14]OFD Sender: No OFD packet to send [11:59:19]OFD Sender: No OFD packet to send [11:59:24]OFD Sender: No OFD packet to send [11:59:29]OFD Sender: No OFD packet to send [11:59:34]OFD Sender: No OFD packet to send [11:59:39]OFD Sender: No OFD packet to send [11:59:44]OFD Sender: No OFD packet to send [11:59:49]OFD Sender: No OFD packet to send [11:59:54]OFD Sender: No OFD packet to send [11:59:59]OFD Sender: No OFD packet to send [12:00:04]OFD Sender: No OFD packet to send [12:00:09]OFD Sender: No OFD packet to send [12:00:14]OFD Sender: No OFD packet to send [12:00:19]OFD Sender: No OFD packet to send [12:00:24]OFD Sender: No OFD packet to send [12:00:29]OFD Sender: No OFD packet to send [12:00:34]OFD Sender: No OFD packet to send [12:00:39]OFD Sender: No OFD packet to send [12:00:44]OFD Sender: No OFD packet to send [12:00:49]OFD Sender: No OFD packet to send [12:00:54]OFD Sender: No OFD packet to send [12:00:59]OFD Sender: No OFD packet to send [12:01:04]OFD Sender: No OFD packet to send [12:01:09]OFD Sender: No OFD packet to send [12:01:14]OFD Sender: No OFD packet to send [12:01:20]OFD Sender: No OFD packet to send [12:01:25]OFD Sender: No OFD packet to send [12:01:30]OFD Sender: No OFD packet to send [12:01:35]OFD Sender: No OFD packet to send [12:01:40]OFD Sender: No OFD packet to send [12:01:45]OFD Sender: No OFD packet to send [12:01:50]OFD Sender: No OFD packet to send [12:01:55]OFD Sender: No OFD packet to send [12:02:00]OFD Sender: No OFD packet to send [12:02:05]OFD Sender: No OFD packet to send [12:02:10]OFD Sender: No OFD packet to send [12:02:15]OFD Sender: No OFD packet to send [12:02:20]OFD Sender: No OFD packet to send [12:02:25]OFD Sender: No OFD packet to send [12:02:30]OFD Sender: No OFD packet to send [12:02:35]OFD Sender: No OFD packet to send [12:02:40]OFD Sender: No OFD packet to send [12:02:45]OFD Sender: No OFD packet to send [12:02:50]OFD Sender: No OFD packet to send [12:02:55]OFD Sender: No OFD packet to send [12:03:00]OFD Sender: No OFD packet to send [12:03:05]OFD Sender: No OFD packet to send [12:03:10]OFD Sender: No OFD packet to send [12:03:15]OFD Sender: No OFD packet to send [12:03:20]OFD Sender: No OFD packet to send [12:03:25]OFD Sender: No OFD packet to send [12:03:30]OFD Sender: No OFD packet to send [12:03:35]OFD Sender: No OFD packet to send [12:03:40]OFD Sender: No OFD packet to send [12:03:45]OFD Sender: No OFD packet to send [12:03:50]OFD Sender: No OFD packet to send [12:03:55]OFD Sender: No OFD packet to send [12:04:00]OFD Sender: No OFD packet to send [12:04:05]OFD Sender: No OFD packet to send [12:04:10]OFD Sender: No OFD packet to send [12:04:15]OFD Sender: No OFD packet to send [12:04:20]OFD Sender: No OFD packet to send [12:04:25]OFD Sender: No OFD packet to send [12:04:30]OFD Sender: No OFD packet to send [12:04:35]OFD Sender: No OFD packet to send [12:04:40]OFD Sender: No OFD packet to send [12:04:45]OFD Sender: No OFD packet to send [12:04:50]OFD Sender: No OFD packet to send [12:04:55]OFD Sender: No OFD packet to send [12:05:00]OFD Sender: No OFD packet to send [12:05:05]OFD Sender: No OFD packet to send [12:05:10]OFD Sender: No OFD packet to send [12:05:15]OFD Sender: No OFD packet to send [12:05:20]OFD Sender: No OFD packet to send [12:05:25]OFD Sender: No OFD packet to send [12:05:30]OFD Sender: No OFD packet to send [12:05:35]OFD Sender: No OFD packet to send [12:05:40]OFD Sender: No OFD packet to send [12:05:45]OFD Sender: No OFD packet to send [12:05:50]OFD Sender: No OFD packet to send [12:05:55]OFD Sender: No OFD packet to send [12:06:00]OFD Sender: No OFD packet to send [12:06:05]OFD Sender: No OFD packet to send [12:06:10]OFD Sender: No OFD packet to send [12:06:15]OFD Sender: No OFD packet to send [12:06:20]OFD Sender: No OFD packet to send [12:06:25]OFD Sender: No OFD packet to send [12:06:30]OFD Sender: No OFD packet to send [12:06:35]OFD Sender: No OFD packet to send [12:06:40]OFD Sender: No OFD packet to send [12:06:45]OFD Sender: No OFD packet to send [12:06:50]OFD Sender: No OFD packet to send [12:06:55]OFD Sender: No OFD packet to send [12:07:00]OFD Sender: No OFD packet to send [12:07:05]OFD Sender: No OFD packet to send [12:07:10]OFD Sender: No OFD packet to send [12:07:15]OFD Sender: No OFD packet to send [12:07:20]OFD Sender: No OFD packet to send [12:07:25]OFD Sender: No OFD packet to send [12:07:30]OFD Sender: No OFD packet to send [12:07:35]OFD Sender: No OFD packet to send [12:07:40]OFD Sender: No OFD packet to send [12:07:45]OFD Sender: No OFD packet to send [12:07:50]OFD Sender: No OFD packet to send [12:07:55]OFD Sender: No OFD packet to send [12:08:00]OFD Sender: No OFD packet to send [12:08:05]OFD Sender: No OFD packet to send [12:08:10]OFD Sender: No OFD packet to send [12:08:15]OFD Sender: No OFD packet to send [12:08:20]OFD Sender: No OFD packet to send [12:08:25]OFD Sender: No OFD packet to send [12:08:30]OFD Sender: No OFD packet to send [12:08:35]OFD Sender: No OFD packet to send [12:08:40]OFD Sender: No OFD packet to send [12:08:45]OFD Sender: No OFD packet to send [12:08:50]OFD Sender: No OFD packet to send [12:08:55]OFD Sender: No OFD packet to send [12:09:00]OFD Sender: No OFD packet to send [12:09:05]OFD Sender: No OFD packet to send [12:09:10]OFD Sender: No OFD packet to send [12:09:15]OFD Sender: No OFD packet to send [12:09:20]OFD Sender: No OFD packet to send [12:09:25]OFD Sender: No OFD packet to send [12:09:30]OFD Sender: No OFD packet to send [12:09:35]OFD Sender: No OFD packet to send [12:09:40]OFD Sender: No OFD packet to send [12:09:45]OFD Sender: No OFD packet to send [12:09:50]OFD Sender: No OFD packet to send [12:09:55]OFD Sender: No OFD packet to send [12:10:00]OFD Sender: No OFD packet to send [12:10:05]OFD Sender: No OFD packet to send [12:10:10]OFD Sender: No OFD packet to send [12:10:15]OFD Sender: No OFD packet to send [12:10:20]OFD Sender: No OFD packet to send [12:10:25]OFD Sender: No OFD packet to send [12:10:30]OFD Sender: No OFD packet to send [12:10:35]OFD Sender: No OFD packet to send [12:10:40]OFD Sender: No OFD packet to send [12:10:45]OFD Sender: No OFD packet to send [12:10:50]OFD Sender: No OFD packet to send [12:10:55]OFD Sender: No OFD packet to send [12:11:00]OFD Sender: No OFD packet to send [12:11:05]OFD Sender: No OFD packet to send [12:11:10]OFD Sender: No OFD packet to send [12:11:15]OFD Sender: No OFD packet to send [12:11:20]OFD Sender: No OFD packet to send [12:11:25]OFD Sender: No OFD packet to send [12:11:30]OFD Sender: No OFD packet to send [12:11:35]OFD Sender: No OFD packet to send [12:11:40]OFD Sender: No OFD packet to send [12:11:45]OFD Sender: No OFD packet to send [12:11:50]OFD Sender: No OFD packet to send [12:11:55]OFD Sender: No OFD packet to send [12:12:00]OFD Sender: No OFD packet to send [12:12:05]OFD Sender: No OFD packet to send [12:12:10]OFD Sender: No OFD packet to send [12:12:15]OFD Sender: No OFD packet to send [12:12:20]OFD Sender: No OFD packet to send [12:12:25]OFD Sender: No OFD packet to send [12:12:30]OFD Sender: No OFD packet to send [12:12:35]OFD Sender: No OFD packet to send [12:12:40]OFD Sender: No OFD packet to send [12:12:45]OFD Sender: No OFD packet to send [12:12:50]OFD Sender: No OFD packet to send [12:12:55]OFD Sender: No OFD packet to send [12:13:00]OFD Sender: No OFD packet to send [12:13:05]OFD Sender: No OFD packet to send [12:13:10]OFD Sender: No OFD packet to send [12:13:15]OFD Sender: No OFD packet to send [12:13:20]OFD Sender: No OFD packet to send [12:13:25]OFD Sender: No OFD packet to send [12:13:30]OFD Sender: No OFD packet to send [12:13:35]OFD Sender: No OFD packet to send [12:13:40]OFD Sender: No OFD packet to send [12:13:45]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:50]OFD Sender: No OFD packet to send [12:17:55]OFD Sender: No OFD packet to send [12:18:00]OFD Sender: No OFD packet to send [12:18:05]OFD Sender: No OFD packet to send [12:18:10]OFD Sender: No OFD packet to send [12:18:15]OFD Sender: No OFD packet to send [12:18:20]OFD Sender: No OFD packet to send [12:18:25]OFD Sender: No OFD packet to send [12:18:30]OFD Sender: No OFD packet to send [12:18:35]OFD Sender: No OFD packet to send [12:18:40]OFD Sender: No OFD packet to send [12:18:45]OFD Sender: No OFD packet to send [12:18:50]OFD Sender: No OFD packet to send [12:18:55]OFD Sender: No OFD packet to send [12:19:00]OFD Sender: No OFD packet to send [12:19:05]OFD Sender: No OFD packet to send [12:19:10]OFD Sender: No OFD packet to send [12:19:15]OFD Sender: No OFD packet to send [12:19:20]OFD Sender: No OFD packet to send [12:19:25]OFD Sender: No OFD packet to send [12:19:30]OFD Sender: No OFD packet to send [12:19:35]OFD Sender: No OFD packet to send [12:19:40]OFD Sender: No OFD packet to send [12:19:45]OFD Sender: No OFD packet to send [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:05]OFD Sender: No OFD packet to send [12:21:10]OFD Sender: No OFD packet to send [12:21:15]OFD Sender: No OFD packet to send [12:21:20]OFD Sender: No OFD packet to send [12:21:25]OFD Sender: No OFD packet to send [12:21:30]OFD Sender: No OFD packet to send [12:21:35]OFD Sender: No OFD packet to send [12:21:40]OFD Sender: No OFD packet to send [12:21:45]OFD Sender: No OFD packet to send [12:21:50]OFD Sender: No OFD packet to send [12:21:55]OFD Sender: No OFD packet to send [12:22:00]OFD Sender: No OFD packet to send [12:22:05]OFD Sender: No OFD packet to send [12:22:10]OFD Sender: No OFD packet to send [12:22:15]OFD Sender: No OFD packet to send [12:22:20]OFD Sender: No OFD packet to send [12:22:25]OFD Sender: No OFD packet to send [12:22:30]OFD Sender: No OFD packet to send [12:22:35]OFD Sender: No OFD packet to send [12:22:40]OFD Sender: No OFD packet to send [12:22:45]OFD Sender: No OFD packet to send [12:22:50]OFD Sender: No OFD packet to send [12:22:55]OFD Sender: No OFD packet to send [12:23: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:34]int [12:27:34]Write to MH i2c: 01 00 00 AB 00 AB [12:27:34]*** FLAG_PRN_KEY set [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 07 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 07 00 AB 00 00 08 00 00 00 FF 0F C8 [12:27:34]state=0 [12:27:34]Key pressed [12:27:34]Feed [12:27:34]Write to MH i2c: D8 00 00 AC 00 83 [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: D8 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: D8 01 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: D8 01 00 AC 00 00 84 [12:27:34]int [12:27:34]Write to MH i2c: 01 00 00 AD 00 AD [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 07 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 07 00 AD 00 00 48 00 00 00 3D 00 39 [12:27:34]state=2 [12:27:34]Key pressed [12:27:34]int [12:27:34]Write to MH i2c: 01 00 00 AE 00 AE [12:27:34]*** FLAG_PRN_KEY reset [12:27:34]Write i2c OK [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 07 00 [12:27:34]MH_I2C_Read... [12:27:34]Read from MH i2c: 01 07 00 AE 00 00 00 00 00 00 F6 0F BA [12:27:34]state=2 [12:27:34]Stop feed [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:49]int [12:35:49]Write to MH i2c: 01 00 00 AF 00 AF [12:35:49]*** FLAG_PRN_KEY set [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 07 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 07 00 AF 00 00 08 00 00 00 FF 0F CC [12:35:49]state=0 [12:35:49]Key pressed [12:35:49]Feed [12:35:49]Write to MH i2c: D8 00 00 B0 00 87 [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: D8 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: D8 01 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: D8 01 00 B0 00 00 88 [12:35:49]int [12:35:49]Write to MH i2c: 01 00 00 B1 00 B1 [12:35:49]Write i2c OK [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 07 00 [12:35:49]MH_I2C_Read... [12:35:49]Read from MH i2c: 01 07 00 B1 00 00 48 00 00 00 3D 00 3D [12:35:49]state=2 [12:35:49]Key pressed [12:35:50]int [12:35:50]Write to MH i2c: 01 00 00 B2 00 B2 [12:35:50]*** FLAG_PRN_KEY reset [12:35:50]Write i2c OK [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: 01 [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: 01 07 00 [12:35:50]MH_I2C_Read... [12:35:50]Read from MH i2c: 01 07 00 B2 00 00 00 00 00 00 F6 0F BE [12:35:50]state=2 [12:35:50]Stop feed [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:00]accept exits with 9 [12:38:00]New connection [12:38:00]New thread 3067612516 created [12:38:00]Thread 3067469156 joined [12:38:00]Waiting for new connection... [12:38:00] Sock 9.Parse request [12:38:00]Sock 9.Check first char [12:38:00]Sock 9.First char is OK [12:38:00]request: POST /json_proto HTTP/1.0 [12:38:00]Method: POST [12:38:00]URL: /json_proto [12:38:00]Method is POST - this is cgi request [12:38:00]url: /json_proto [12:38:00]query_string will be loaded in cgi processing [12:38:00]execute_cgi json_proto POST (null) [12:38:00]execute_cgi path=json_proto method=POST [12:38:00]POST find Content-Length [12:38:00]Host: 172.17.53.196:8080 [12:38:00]Content-Length: 625 [12:38:00]Content-Type: application/json [12:38:00] [12:38:00]POST finish read [12:38:00]Found Content-Length = 625 [12:38:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34755", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:00]execute_script... [12:38:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34755", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:38:00]POST & json_proto [12:38:00]process_json_proto [12:38:00]json parsed OK: [12:38:00]protocol is kg_v1.0 [12:38:00]action value=close_receipt [12:38:00]process_action close_receipt [12:38:00]cmd_close_receipt [12:38:00]MH_GetDate [12:38:00]Write to MH i2c: F0 00 00 B3 00 A2 [12:38:00]Write i2c OK [12:38:00]MH_I2C_Read... [12:38:00]Read from MH i2c: F0 [12:38:00]MH_I2C_Read... [12:38:00]Read from MH i2c: F0 09 00 [12:38:00]MH_I2C_Read... [12:38:00]Read from MH i2c: F0 09 00 B3 00 00 A9 9C 17 67 4F CD 9A 65 89 [12:38:00]GetLastDocTimeStamp 1729598247 [12:38:00]current date 1729600681 [12:38:00]FM_GetShiftState [12:38:00]SAM_PROTO_GetShiftState [12:38:00]wFMCommunicate request_size=4 [12:38:00]MH_SAM_APDU [12:38:00]CAPDU: 80 13 01 00 [12:38:00]Write to MH i2c: E2 08 00 B4 00 80 13 01 00 00 00 00 00 31 [12:38:00]Write i2c OK [12:38:00]MH_I2C_Read... [12:38:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:00]Read from MH i2c: E2 [12:38:00]MH_I2C_Read... [12:38:00]Read from MH i2c: E2 0E 00 [12:38:00]MH_I2C_Read... [12:38:00]Read from MH i2c: E2 0E 00 B4 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 82 [12:38:00]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [12:38:00]wFMCommunicate OK [12:38:00]SAM_PROTO_GetShiftState done [12:38:00]FM_GetShiftState done [12:38:00]opened in 1729556951 [12:38:00]opened+sec_in_day 1729643351 [12:38:00]quantity*price = 1000 [12:38:00]sum+1 = 1001 [12:38:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 18 22.10.2024 12:38 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24997 ФПД: 212612401752264 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T123801&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24997&fm=212612401752264&tin=02508201610067®Number=0000000000098147&sum=1000 0 [12:38:02]StoreToDocumentArchive [12:38:02]shift 457 fd 24997 [12:38:02]save to /storage/0457/doc_00024997 [12:38:02]save last doc name /storage/0457/doc_00024997 to /storage/kkm_last_doc_name [12:38:02]save OK [12:38:02]Clear old archive folders... [12:38:02]ProcessDocumentItem done err = 0, tmpTLVsize=273 [12:38:02]tlvbuf is 00AEC250 [12:38:02]SAM_PROTO_ClearQueue [12:38:02]wFMCommunicate request_size=4 [12:38:02]MH_SAM_APDU [12:38:02]CAPDU: 80 09 00 00 [12:38:02]Write to MH i2c: E2 08 00 C1 00 80 09 00 00 00 00 00 00 33 [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:38:02]Read from MH i2c: E2 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 C1 00 00 90 00 35 [12:38:02]RAPDU: 90 00 [12:38:02]wFMCommunicate OK [12:38:02]SAM_PROTO_ClearQueue done [12:38:02]KKMCreateOFDPacket [12:38:02]OFDProtocolAddRootSTLVToBuf [12:38:02]FM_MakeSignedData [12:38:02]FM_MakeSignedData [12:38:02]SAM_PROTO_SignData [12:38:02]wFMCommunicate request_size=4 [12:38:02]MH_SAM_APDU [12:38:02]CAPDU: 80 0D 01 02 [12:38:02]Write to MH i2c: E2 08 00 C2 00 80 0D 01 02 00 00 00 00 3B [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:38:02]Read from MH i2c: E2 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 C2 00 00 90 00 36 [12:38:02]RAPDU: 90 00 [12:38:02]wFMCommunicate OK [12:38:02]wFMCommunicate request_size=255 [12:38:02]MH_SAM_APDU [12:38:02]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A9 9C 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [12:38:02]Write to MH i2c: E2 02 01 C3 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A9 9C 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 1D [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:02]Read from MH i2c: E2 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 C3 00 00 90 00 37 [12:38:02]RAPDU: 90 00 [12:38:02]wFMCommunicate OK [12:38:02]wFMCommunicate request_size=32 [12:38:02]MH_SAM_APDU [12:38:02]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 A5 61 00 00 35 04 06 00 C1 5E AE AE 68 C8 [12:38:02]Write to MH i2c: E2 23 00 C4 00 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 A5 61 00 00 35 04 06 00 C1 5E AE AE 68 C8 00 00 50 [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:02]Read from MH i2c: E2 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 03 00 C4 00 00 90 00 38 [12:38:02]RAPDU: 90 00 [12:38:02]wFMCommunicate OK [12:38:02]wFMCommunicate request_size=4 [12:38:02]MH_SAM_APDU [12:38:02]CAPDU: 80 0D 03 02 [12:38:02]Write to MH i2c: E2 08 00 C5 00 80 0D 03 02 00 00 00 00 40 [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:38:02]Read from MH i2c: E2 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 0B 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 0B 00 C5 00 00 AF 91 27 FE 65 DE CB 58 90 00 0C [12:38:02]RAPDU: AF 91 27 FE 65 DE CB 58 90 00 [12:38:02]wFMCommunicate OK [12:38:02]SAM_PROTO_SignData done [12:38:02]FM_MakeSignedData done [12:38:02]CreateOFDProtocolMessage [12:38:02]wFMCommunicate request_size=4 [12:38:02]MH_SAM_APDU [12:38:02]CAPDU: 80 11 00 00 [12:38:02]Write to MH i2c: E2 08 00 C6 00 80 11 00 00 00 00 00 00 40 [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:02]Read from MH i2c: E2 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 17 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: E2 17 00 C6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 97 [12:38:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:38:02]wFMCommunicate OK [12:38:02]CreateOFDProtocolMessage done [12:38:02]OFDSenderStorePacket 24997 [12:38:02]StoreOFDPacket docnum=24997 [12:38:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 85 A2 1D 01 40 B0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A9 9C 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A5 61 00 00 35 04 06 00 C1 5E AE AE 68 C8 AF 91 27 FE 65 DE CB 58 [12:38:02]CheckFolder [12:38:02]dirname=/storage/ofd_packets [12:38:02]CheckFolder done [12:38:02]ProducePacketName [12:38:02]name=ofd_packets/00024997 [12:38:02]NVStorageSaveData ofd_packets/00024997 [12:38:02]File name is /storage/ofd_packets/00024997 [12:38:02]Write 323 bytes [12:38:02]NVStorageSaveData done [12:38:02]OFDSenderStorePacket done [12:38:02]KKMCreateOFDPacket done [12:38:02]NVStorageSaveData kkm_last_timestamp [12:38:02]File name is /storage/kkm_last_timestamp [12:38:02]Write 4 bytes [12:38:02]NVStorageSaveData done [12:38:02]ExternCall_PrintAddStr [12:38:02]wPrintStart [12:38:02]Write to MH i2c: 01 00 00 C7 00 C7 [12:38:02]Write i2c OK [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: 01 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: 01 07 00 [12:38:02]MH_I2C_Read... [12:38:02]Read from MH i2c: 01 07 00 C7 00 00 00 00 00 00 FF 0F DC [12:38:02]RasterBufferAndPrint [12:38:02]line Счет N : (3)34755 [12:38:02]line ИНН: 02508201610067 [12:38:02]line Контрольно-Кассовый Чек [12:38:02]line ПРОДАЖА [12:38:02]line Товар: 46226624 [12:38:02]line Mentos ПВ Клубника 6*100*2 [12:38:02]line 1.000 * 10.00 [12:38:02]line = 10.00 [12:38:02]line НДС 12% НСП 1% [12:38:02]line > о реализуемом товаре [12:38:02]line ИТОГО: 10.00 [12:38:02]line НСП 1% : 0.09 [12:38:02]line НДС 12% : 1.06 [12:38:02]line Наличными: 10.00 [12:38:02]line Безнал.: 0.00 [12:38:02]line Место: АЗС № 161 "Партнер Нефть" [12:38:02]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [12:38:02]line СНО: Общий режим [12:38:02]line Чек 18 22.10.2024 12:38 [12:38:02]line Смена: 457 ФФД: 1.0 [12:38:02]line ЗНМ: 0300000240 [12:38:02]line РНМ: 0000000000098147 [12:38:02]line Версия ККМ: 001 [12:38:02]line ФМ: 0000000000965376 [12:38:02]line ФД: 24997 [12:38:02]line ФПД: 212612401752264 [12:38:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T123801&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24997&fm=212612401752264&tin=02508201610067®Number=0000000000098147&sum=1000 [12:38:02]OFD Sender: Processing packet 24997 [packets to send 5, broken 4] [12:38:02]ProducePacketName [12:38:02]name=ofd_packets/00024997 [12:38:02]OFD Sender: To server: pG, [12:38:02]CommunicateWithHost lk.salyk.kg:30040 [12:38:02]ConnectInit lk.salyk.kg [12:38:02]line 0 [12:38:02]written 0, free lines is 4095 [12:38:03]Connected sock=11 [12:38:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 85 A2 1D 01 40 B0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 A9 9C 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A5 61 00 00 35 04 06 00 C1 5E AE AE 68 C8 AF 91 27 FE 65 DE CB 58 [12:38:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 83 05 47 00 C4 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 39 36 35 33 37 36 10 04 04 00 A5 61 00 00 F4 03 04 00 24 45 17 67 B6 04 01 00 00 2E AF E5 33 0C 70 6F CD [12:38:03]CommunicateWithHost err = 0 [12:38:03]CheckOFDResponse [12:38:03]1017 (14) - 77093643461234 [12:38:03]1041 (16) - 0000000000965376 [12:38:03]1040 (4) - 24997 [12:38:03]1012 (4) - 22.10.2024 06:24 [12:38:03]1206 (1) - 0 [12:38:03]OFD Sender: Remove packet 24997 [12:38:03]ProducePacketName [12:38:03]name=ofd_packets/00024997 [12:38:03]NVStorageDeleteData [12:38:03]Write to MH i2c: 01 00 00 EF 00 EF [12:38:03]Write i2c OK [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: 01 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: 01 07 00 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: 01 07 00 EF 00 00 00 00 00 00 DF 0C E1 [12:38:03]RasterBufferAndPrint [12:38:03]line [12:38:03]line [12:38:03]line [12:38:03]line [12:38:03]line [12:38:03]written 0, free lines is 3301 [12:38:03]process_action close_receipt done [12:38:03]requested_data is exist [12:38:03]produce_requested_data [12:38:03]requested_item fm.sn is exist - process it [12:38:03]wFMCommunicate request_size=4 [12:38:03]MH_SAM_APDU [12:38:03]CAPDU: 80 11 00 00 [12:38:03]Write to MH i2c: E2 08 00 F6 00 80 11 00 00 00 00 00 00 70 [12:38:03]Write i2c OK [12:38:03]MH_I2C_Read... [12:38:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:03]Read from MH i2c: E2 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: E2 17 00 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: E2 17 00 F6 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C7 [12:38:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [12:38:03]wFMCommunicate OK [12:38:03]requested_item fd.num is exist - process it [12:38:03]SAM_PROTO_GetFieldsCounters [12:38:03]wFMCommunicate request_size=4 [12:38:03]MH_SAM_APDU [12:38:03]CAPDU: 80 13 00 00 [12:38:03]Write to MH i2c: E2 08 00 F7 00 80 13 00 00 00 00 00 00 73 [12:38:03]Write i2c OK [12:38:03]MH_I2C_Read... [12:38:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:38:03]Read from MH i2c: E2 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: E2 62 00 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: E2 62 00 F7 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A5 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [12:38:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A5 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:38:03]wFMCommunicate OK [12:38:03]SAM_PROTO_GetFieldsCounters done [12:38:03]requested_item shift.num is exist - process it [12:38:03]requested_item shift.opened is exist - process it [12:38:03]req_shift_opened [12:38:03]FM_GetShiftState [12:38:03]SAM_PROTO_GetShiftState [12:38:03]wFMCommunicate request_size=4 [12:38:03]MH_SAM_APDU [12:38:03]CAPDU: 80 13 01 00 [12:38:03]Write to MH i2c: E2 08 00 F8 00 80 13 01 00 00 00 00 00 75 [12:38:03]Write i2c OK [12:38:03]MH_I2C_Read... [12:38:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:03]Read from MH i2c: E2 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: E2 0E 00 [12:38:03]MH_I2C_Read... [12:38:03]Read from MH i2c: E2 0E 00 F8 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 C6 [12:38:03]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [12:38:03]wFMCommunicate OK [12:38:03]SAM_PROTO_GetShiftState done [12:38:03]FM_GetShiftState done [12:38:03]req_shift_opened done [12:38:03]requested_item shift.open_date is exist - process it [12:38:03]req_shift_open_date [12:38:03]req_shift_open_date done [12:38:03]produce_requested_data done [12:38:03]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24997,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [12:38:03]process_action_free close_receipt [12:38:03]json_value_free [12:38:03]json_value_free done [12:38:03]process_json_proto returns [12:38:03]Send response to host [12:38:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24997,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [12:38:03]free response buf [12:38:03]execute_script done [12:38:03]execute_script returns [12:38:03]free content buf [12:38:03]Sock 9.Close socket [12:38:03]Sock 9.Thread stoped [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:13]OFD Sender: No OFD packet to send [12:38:18]OFD Sender: No OFD packet to send [12:38:23]OFD Sender: No OFD packet to send [12:38:28]OFD Sender: No OFD packet to send [12:38:33]OFD Sender: No OFD packet to send [12:38:38]OFD Sender: No OFD packet to send [12:38:43]OFD Sender: No OFD packet to send [12:38:48]OFD Sender: No OFD packet to send [12:38:53]OFD Sender: No OFD packet to send [12:38:58]OFD Sender: No OFD packet to send [12:39:03]OFD Sender: No OFD packet to send [12:39:08]OFD Sender: No OFD packet to send [12:39:13]OFD Sender: No OFD packet to send [12:39:18]OFD Sender: No OFD packet to send [12:39:23]OFD Sender: No OFD packet to send [12:39:28]OFD Sender: No OFD packet to send [12:39:33]OFD Sender: No OFD packet to send [12:39:38]OFD Sender: No OFD packet to send [12:39:43]OFD Sender: No OFD packet to send [12:39:48]OFD Sender: No OFD packet to send [12:39:53]OFD Sender: No OFD packet to send [12:39:58]OFD Sender: No OFD packet to send [12:40:03]OFD Sender: No OFD packet to send [12:40:08]OFD Sender: No OFD packet to send [12:40:13]OFD Sender: No OFD packet to send [12:40:18]OFD Sender: No OFD packet to send [12:40:23]OFD Sender: No OFD packet to send [12:40:28]OFD Sender: No OFD packet to send [12:40:33]OFD Sender: No OFD packet to send [12:40:38]OFD Sender: No OFD packet to send [12:40:43]OFD Sender: No OFD packet to send [12:40:48]OFD Sender: No OFD packet to send [12:40:53]OFD Sender: No OFD packet to send [12:40:58]OFD Sender: No OFD packet to send [12:41:03]OFD Sender: No OFD packet to send [12:41:08]OFD Sender: No OFD packet to send [12:41:13]OFD Sender: No OFD packet to send [12:41:18]OFD Sender: No OFD packet to send [12:41:23]OFD Sender: No OFD packet to send [12:41:28]OFD Sender: No OFD packet to send [12:41:33]OFD Sender: No OFD packet to send [12:41:38]OFD Sender: No OFD packet to send [12:41:43]OFD Sender: No OFD packet to send [12:41:48]OFD Sender: No OFD packet to send [12:41:53]OFD Sender: No OFD packet to send [12:41:58]OFD Sender: No OFD packet to send [12:42:03]OFD Sender: No OFD packet to send [12:42:08]OFD Sender: No OFD packet to send [12:42:13]OFD Sender: No OFD packet to send [12:42:18]OFD Sender: No OFD packet to send [12:42:23]OFD Sender: No OFD packet to send [12:42:28]OFD Sender: No OFD packet to send [12:42:33]OFD Sender: No OFD packet to send [12:42:38]OFD Sender: No OFD packet to send [12:42:43]OFD Sender: No OFD packet to send [12:42:48]OFD Sender: No OFD packet to send [12:42:53]OFD Sender: No OFD packet to send [12:42:58]OFD Sender: No OFD packet to send [12:43:03]OFD Sender: No OFD packet to send [12:43:08]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:09]OFD Sender: No OFD packet to send [12:52:14]OFD Sender: No OFD packet to send [12:52:19]OFD Sender: No OFD packet to send [12:52:24]OFD Sender: No OFD packet to send [12:52:29]OFD Sender: No OFD packet to send [12:52:34]OFD Sender: No OFD packet to send [12:52:39]OFD Sender: No OFD packet to send [12:52:44]OFD Sender: No OFD packet to send [12:52:49]OFD Sender: No OFD packet to send [12:52:54]OFD Sender: No OFD packet to send [12:52:59]OFD Sender: No OFD packet to send [12:53:04]OFD Sender: No OFD packet to send [12:53:09]OFD Sender: No OFD packet to send [12:53:14]OFD Sender: No OFD packet to send [12:53:19]OFD Sender: No OFD packet to send [12:53:24]OFD Sender: No OFD packet to send [12:53:29]OFD Sender: No OFD packet to send [12:53:34]OFD Sender: No OFD packet to send [12:53:39]OFD Sender: No OFD packet to send [12:53:44]OFD Sender: No OFD packet to send [12:53:49]OFD Sender: No OFD packet to send [12:53:54]OFD Sender: No OFD packet to send [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:29]OFD Sender: No OFD packet to send [13:00:34]OFD Sender: No OFD packet to send [13:00:39]OFD Sender: No OFD packet to send [13:00:44]OFD Sender: No OFD packet to send [13:00:49]OFD Sender: No OFD packet to send [13:00:54]OFD Sender: No OFD packet to send [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:09]OFD Sender: No OFD packet to send [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [13:01:29]OFD Sender: No OFD packet to send [13:01:34]OFD Sender: No OFD packet to send [13:01:39]OFD Sender: No OFD packet to send [13:01:44]OFD Sender: No OFD packet to send [13:01:49]OFD Sender: No OFD packet to send [13:01:54]OFD Sender: No OFD packet to send [13:01:59]OFD Sender: No OFD packet to send [13:02:04]OFD Sender: No OFD packet to send [13:02:09]OFD Sender: No OFD packet to send [13:02:14]OFD Sender: No OFD packet to send [13:02:19]OFD Sender: No OFD packet to send [13:02:24]OFD Sender: No OFD packet to send [13:02:29]OFD Sender: No OFD packet to send [13:02:34]OFD Sender: No OFD packet to send [13:02:39]OFD Sender: No OFD packet to send [13:02:44]OFD Sender: No OFD packet to send [13:02:49]OFD Sender: No OFD packet to send [13:02:54]OFD Sender: No OFD packet to send [13:02:59]OFD Sender: No OFD packet to send [13:03:04]OFD Sender: No OFD packet to send [13:03:09]OFD Sender: No OFD packet to send [13:03:14]OFD Sender: No OFD packet to send [13:03:19]OFD Sender: No OFD packet to send [13:03:24]OFD Sender: No OFD packet to send [13:03:29]OFD Sender: No OFD packet to send [13:03:34]OFD Sender: No OFD packet to send [13:03:39]OFD Sender: No OFD packet to send [13:03:44]OFD Sender: No OFD packet to send [13:03:49]OFD Sender: No OFD packet to send [13:03:54]OFD Sender: No OFD packet to send [13:03:59]OFD Sender: No OFD packet to send [13:04:04]OFD Sender: No OFD packet to send [13:04:09]OFD Sender: No OFD packet to send [13:04:14]OFD Sender: No OFD packet to send [13:04:19]OFD Sender: No OFD packet to send [13:04:24]OFD Sender: No OFD packet to send [13:04:29]OFD Sender: No OFD packet to send [13:04:34]OFD Sender: No OFD packet to send [13:04:39]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:15]OFD Sender: No OFD packet to send [13:05:20]OFD Sender: No OFD packet to send [13:05:25]OFD Sender: No OFD packet to send [13:05:30]OFD Sender: No OFD packet to send [13:05:35]OFD Sender: No OFD packet to send [13:05:40]OFD Sender: No OFD packet to send [13:05:45]OFD Sender: No OFD packet to send [13:05:50]OFD Sender: No OFD packet to send [13:05:55]OFD Sender: No OFD packet to send [13:06:00]OFD Sender: No OFD packet to send [13:06:05]OFD Sender: No OFD packet to send [13:06:10]OFD Sender: No OFD packet to send [13:06:15]OFD Sender: No OFD packet to send [13:06:20]OFD Sender: No OFD packet to send [13:06:25]OFD Sender: No OFD packet to send [13:06:30]OFD Sender: No OFD packet to send [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]OFD Sender: No OFD packet to send [13:09:25]OFD Sender: No OFD packet to send [13:09:30]OFD Sender: No OFD packet to send [13:09:35]OFD Sender: No OFD packet to send [13:09:40]OFD Sender: No OFD packet to send [13:09:45]OFD Sender: No OFD packet to send [13:09:50]OFD Sender: No OFD packet to send [13:09:55]OFD Sender: No OFD packet to send [13:10:00]OFD Sender: No OFD packet to send [13:10:05]OFD Sender: No OFD packet to send [13:10:10]OFD Sender: No OFD packet to send [13:10:15]OFD Sender: No OFD packet to send [13:10:20]OFD Sender: No OFD packet to send [13:10:25]OFD Sender: No OFD packet to send [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:32]accept exits with 8 [13:11:32]New connection [13:11:32]New thread 3067469156 created [13:11:32]Thread 3067612516 joined [13:11:32]Waiting for new connection... [13:11:32] Sock 8.Parse request [13:11:32]Sock 8.Check first char [13:11:32]Sock 8.First char is OK [13:11:32]request: POST /json_proto HTTP/1.0 [13:11:32]Method: POST [13:11:32]URL: /json_proto [13:11:32]Method is POST - this is cgi request [13:11:32]url: /json_proto [13:11:32]query_string will be loaded in cgi processing [13:11:32]execute_cgi json_proto POST (null) [13:11:32]execute_cgi path=json_proto method=POST [13:11:32]POST find Content-Length [13:11:32]Host: 172.17.53.196:8080 [13:11:32]Content-Length: 622 [13:11:32]Content-Type: application/json [13:11:32] [13:11:32]POST finish read [13:11:32]Found Content-Length = 622 [13:11:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34756", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:32]execute_script... [13:11:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34756", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:11:32]POST & json_proto [13:11:32]process_json_proto [13:11:32]json parsed OK: [13:11:32]protocol is kg_v1.0 [13:11:32]action value=close_receipt [13:11:32]process_action close_receipt [13:11:32]cmd_close_receipt [13:11:32]MH_GetDate [13:11:32]Write to MH i2c: F0 00 00 F9 00 E8 [13:11:32]Write i2c OK [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: F0 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: F0 09 00 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: F0 09 00 F9 00 00 85 A4 17 67 4F CD 9A 65 B3 [13:11:32]GetLastDocTimeStamp 1729600681 [13:11:32]current date 1729602693 [13:11:32]FM_GetShiftState [13:11:32]SAM_PROTO_GetShiftState [13:11:32]wFMCommunicate request_size=4 [13:11:32]MH_SAM_APDU [13:11:32]CAPDU: 80 13 01 00 [13:11:32]Write to MH i2c: E2 08 00 FA 00 80 13 01 00 00 00 00 00 77 [13:11:32]Write i2c OK [13:11:32]MH_I2C_Read... [13:11:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:32]Read from MH i2c: E2 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: E2 0E 00 [13:11:32]MH_I2C_Read... [13:11:32]Read from MH i2c: E2 0E 00 FA 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 C8 [13:11:32]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [13:11:32]wFMCommunicate OK [13:11:32]SAM_PROTO_GetShiftState done [13:11:32]FM_GetShiftState done [13:11:32]opened in 1729556951 [13:11:32]opened+sec_in_day 1729643351 [13:11:32]quantity*price = 14400 [13:11:32]sum+1 = 14401 [13:11:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 19 22.10.2024 13:11 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24998 ФПД: 65595914318386 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T131133&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24998&fm=65595914318386&tin=02508201610067®Number=0000000000098147&sum=14400 0 [13:11:33]StoreToDocumentArchive [13:11:33]shift 457 fd 24998 [13:11:33]save to /storage/0457/doc_00024998 [13:11:33]save last doc name /storage/0457/doc_00024998 to /storage/kkm_last_doc_name [13:11:33]save OK [13:11:33]Clear old archive folders... [13:11:33]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:11:33]tlvbuf is B6E49940 [13:11:33]SAM_PROTO_ClearQueue [13:11:33]wFMCommunicate request_size=4 [13:11:33]MH_SAM_APDU [13:11:33]CAPDU: 80 09 00 00 [13:11:33]Write to MH i2c: E2 08 00 07 01 80 09 00 00 00 00 00 00 7A [13:11:33]Write i2c OK [13:11:33]MH_I2C_Read... [13:11:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:11:33]Read from MH i2c: E2 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 03 00 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 03 00 07 01 00 90 00 7C [13:11:33]RAPDU: 90 00 [13:11:33]wFMCommunicate OK [13:11:33]SAM_PROTO_ClearQueue done [13:11:33]KKMCreateOFDPacket [13:11:33]OFDProtocolAddRootSTLVToBuf [13:11:33]FM_MakeSignedData [13:11:33]FM_MakeSignedData [13:11:33]SAM_PROTO_SignData [13:11:33]wFMCommunicate request_size=4 [13:11:33]MH_SAM_APDU [13:11:33]CAPDU: 80 0D 01 02 [13:11:33]Write to MH i2c: E2 08 00 08 01 80 0D 01 02 00 00 00 00 82 [13:11:33]Write i2c OK [13:11:33]MH_I2C_Read... [13:11:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:11:33]Read from MH i2c: E2 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 03 00 [13:11:33]MH_I2C_Read... [13:11:33]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [13:11:33]RAPDU: 90 00 [13:11:33]wFMCommunicate OK [13:11:33]wFMCommunicate request_size=255 [13:11:33]MH_SAM_APDU [13:11:33]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 A4 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [13:11:33]Write to MH i2c: E2 02 01 09 01 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 A4 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 0F [13:11:33]Write i2c OK [13:11:33]MH_I2C_Read... [13:11:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:34]Read from MH i2c: E2 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 03 00 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [13:11:34]RAPDU: 90 00 [13:11:34]wFMCommunicate OK [13:11:34]wFMCommunicate request_size=34 [13:11:34]MH_SAM_APDU [13:11:34]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A6 61 00 00 35 04 06 00 3B A8 BD 2B F2 32 [13:11:34]Write to MH i2c: E2 25 00 0A 01 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A6 61 00 00 35 04 06 00 3B A8 BD 2B F2 32 00 00 40 [13:11:34]Write i2c OK [13:11:34]MH_I2C_Read... [13:11:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:11:34]Read from MH i2c: E2 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 03 00 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 03 00 0A 01 00 90 00 7F [13:11:34]RAPDU: 90 00 [13:11:34]wFMCommunicate OK [13:11:34]wFMCommunicate request_size=4 [13:11:34]MH_SAM_APDU [13:11:34]CAPDU: 80 0D 03 02 [13:11:34]Write to MH i2c: E2 08 00 0B 01 80 0D 03 02 00 00 00 00 87 [13:11:34]Write i2c OK [13:11:34]MH_I2C_Read... [13:11:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:11:34]Read from MH i2c: E2 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 0B 00 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 0B 00 0B 01 00 30 8D 4B 33 A6 00 EF FF 90 00 57 [13:11:34]RAPDU: 30 8D 4B 33 A6 00 EF FF 90 00 [13:11:34]wFMCommunicate OK [13:11:34]SAM_PROTO_SignData done [13:11:34]FM_MakeSignedData done [13:11:34]CreateOFDProtocolMessage [13:11:34]wFMCommunicate request_size=4 [13:11:34]MH_SAM_APDU [13:11:34]CAPDU: 80 11 00 00 [13:11:34]Write to MH i2c: E2 08 00 0C 01 80 11 00 00 00 00 00 00 87 [13:11:34]Write i2c OK [13:11:34]MH_I2C_Read... [13:11:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:34]Read from MH i2c: E2 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 17 00 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: E2 17 00 0C 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DE [13:11:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:11:34]wFMCommunicate OK [13:11:34]CreateOFDProtocolMessage done [13:11:34]OFDSenderStorePacket 24998 [13:11:34]StoreOFDPacket docnum=24998 [13:11:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 2C 7D 1F 01 DB FD 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 A4 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A6 61 00 00 35 04 06 00 3B A8 BD 2B F2 32 30 8D 4B 33 A6 00 EF FF [13:11:34]CheckFolder [13:11:34]dirname=/storage/ofd_packets [13:11:34]CheckFolder done [13:11:34]ProducePacketName [13:11:34]name=ofd_packets/00024998 [13:11:34]NVStorageSaveData ofd_packets/00024998 [13:11:34]File name is /storage/ofd_packets/00024998 [13:11:34]Write 325 bytes [13:11:34]NVStorageSaveData done [13:11:34]OFDSenderStorePacket done [13:11:34]KKMCreateOFDPacket done [13:11:34]NVStorageSaveData kkm_last_timestamp [13:11:34]File name is /storage/kkm_last_timestamp [13:11:34]Write 4 bytes [13:11:34]NVStorageSaveData done [13:11:34]ExternCall_PrintAddStr [13:11:34]wPrintStart [13:11:34]Write to MH i2c: 01 00 00 0D 01 0E [13:11:34]Write i2c OK [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: 01 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: 01 07 00 [13:11:34]MH_I2C_Read... [13:11:34]Read from MH i2c: 01 07 00 0D 01 00 00 00 00 00 FF 0F 23 [13:11:34]RasterBufferAndPrint [13:11:34]line Счет N : (3)34756 [13:11:34]line ИНН: 02508201610067 [13:11:34]line Контрольно-Кассовый Чек [13:11:34]line ПРОДАЖА [13:11:34]line Товар: 48743587 [13:11:34]line Сигареты Winston XStyle Silver [13:11:34]line 1.000 * 144.00 [13:11:34]line = 144.00 [13:11:34]line НДС 12% НСП 1% [13:11:34]line > о реализуемом товаре [13:11:34]line ИТОГО: 144.00 [13:11:34]line НСП 1% : 1.27 [13:11:34]line НДС 12% : 15.29 [13:11:34]line Наличными: 144.00 [13:11:34]line Безнал.: 0.00 [13:11:34]line Место: АЗС № 161 "Партнер Нефть" [13:11:34]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:11:34]line СНО: Общий режим [13:11:34]line Чек 19 22.10.2024 13:11 [13:11:34]line Смена: 457 ФФД: 1.0 [13:11:34]line ЗНМ: 0300000240 [13:11:34]line РНМ: 0000000000098147 [13:11:34]line Версия ККМ: 001 [13:11:34]line ФМ: 0000000000965376 [13:11:34]line ФД: 24998 [13:11:34]line ФПД: 65595914318386 [13:11:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T131133&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24998&fm=65595914318386&tin=02508201610067®Number=0000000000098147&sum=14400 [13:11:34]OFD Sender: Processing packet 24998 [packets to send 5, broken 4] [13:11:34]ProducePacketName [13:11:34]name=ofd_packets/00024998 [13:11:34]OFD Sender: To server: pG, [13:11:34]CommunicateWithHost lk.salyk.kg:30040 [13:11:34]ConnectInit lk.salyk.kg [13:11:34]line 0 [13:11:34]written 0, free lines is 4095 [13:11:34]Connected sock=10 [13:11:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 2C 7D 1F 01 DB FD 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 85 A4 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A6 61 00 00 35 04 06 00 3B A8 BD 2B F2 32 30 8D 4B 33 A6 00 EF FF [13:11:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 96 75 47 00 00 5F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A6 61 00 00 F4 03 04 00 00 4D 17 67 B6 04 01 00 00 CE D9 D2 D1 77 1D 35 49 [13:11:35]CommunicateWithHost err = 0 [13:11:35]CheckOFDResponse [13:11:35]1017 (14) - 77093643461234 [13:11:35]1041 (16) - 0000000000965376 [13:11:35]1040 (4) - 24998 [13:11:35]1012 (4) - 22.10.2024 06:58 [13:11:35]1206 (1) - 0 [13:11:35]OFD Sender: Remove packet 24998 [13:11:35]ProducePacketName [13:11:35]name=ofd_packets/00024998 [13:11:35]NVStorageDeleteData [13:11:35]Write to MH i2c: 01 00 00 36 01 37 [13:11:35]Write i2c OK [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: 01 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: 01 07 00 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: 01 07 00 36 01 00 00 00 00 00 C7 0C 11 [13:11:35]RasterBufferAndPrint [13:11:35]line [13:11:35]line [13:11:35]line [13:11:35]line [13:11:35]line [13:11:35]written 0, free lines is 3276 [13:11:35]process_action close_receipt done [13:11:35]requested_data is exist [13:11:35]produce_requested_data [13:11:35]requested_item fm.sn is exist - process it [13:11:35]wFMCommunicate request_size=4 [13:11:35]MH_SAM_APDU [13:11:35]CAPDU: 80 11 00 00 [13:11:35]Write to MH i2c: E2 08 00 3D 01 80 11 00 00 00 00 00 00 B8 [13:11:35]Write i2c OK [13:11:35]MH_I2C_Read... [13:11:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:11:35]Read from MH i2c: E2 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: E2 17 00 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: E2 17 00 3D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 0F [13:11:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:11:35]wFMCommunicate OK [13:11:35]requested_item fd.num is exist - process it [13:11:35]SAM_PROTO_GetFieldsCounters [13:11:35]wFMCommunicate request_size=4 [13:11:35]MH_SAM_APDU [13:11:35]CAPDU: 80 13 00 00 [13:11:35]Write to MH i2c: E2 08 00 3E 01 80 13 00 00 00 00 00 00 BB [13:11:35]Write i2c OK [13:11:35]MH_I2C_Read... [13:11:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:11:35]Read from MH i2c: E2 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: E2 62 00 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: E2 62 00 3E 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A6 61 00 00 0E 04 04 00 C9 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 EE [13:11:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A6 61 00 00 0E 04 04 00 C9 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 [13:11:35]wFMCommunicate OK [13:11:35]SAM_PROTO_GetFieldsCounters done [13:11:35]requested_item shift.num is exist - process it [13:11:35]requested_item shift.opened is exist - process it [13:11:35]req_shift_opened [13:11:35]FM_GetShiftState [13:11:35]SAM_PROTO_GetShiftState [13:11:35]wFMCommunicate request_size=4 [13:11:35]MH_SAM_APDU [13:11:35]CAPDU: 80 13 01 00 [13:11:35]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [13:11:35]Write i2c OK [13:11:35]MH_I2C_Read... [13:11:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:11:35]Read from MH i2c: E2 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: E2 0E 00 [13:11:35]MH_I2C_Read... [13:11:35]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 0E [13:11:35]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [13:11:35]wFMCommunicate OK [13:11:35]SAM_PROTO_GetShiftState done [13:11:35]FM_GetShiftState done [13:11:35]req_shift_opened done [13:11:35]requested_item shift.open_date is exist - process it [13:11:35]req_shift_open_date [13:11:35]req_shift_open_date done [13:11:35]produce_requested_data done [13:11:35]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24998,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [13:11:35]process_action_free close_receipt [13:11:35]json_value_free [13:11:35]json_value_free done [13:11:35]process_json_proto returns [13:11:35]Send response to host [13:11:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24998,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [13:11:35]free response buf [13:11:35]execute_script done [13:11:35]execute_script returns [13:11:35]free content buf [13:11:35]Sock 8.Close socket [13:11:35]Sock 8.Thread stoped [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:05]OFD Sender: No OFD packet to send [13:14:10]OFD Sender: No OFD packet to send [13:14:15]OFD Sender: No OFD packet to send [13:14:20]OFD Sender: No OFD packet to send [13:14:25]OFD Sender: No OFD packet to send [13:14:30]OFD Sender: No OFD packet to send [13:14:35]OFD Sender: No OFD packet to send [13:14:40]OFD Sender: No OFD packet to send [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:18:00]OFD Sender: No OFD packet to send [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:25]OFD Sender: No OFD packet to send [13:18:30]OFD Sender: No OFD packet to send [13:18:35]OFD Sender: No OFD packet to send [13:18:40]OFD Sender: No OFD packet to send [13:18:45]OFD Sender: No OFD packet to send [13:18:50]OFD Sender: No OFD packet to send [13:18:55]OFD Sender: No OFD packet to send [13:19:00]OFD Sender: No OFD packet to send [13:19:05]OFD Sender: No OFD packet to send [13:19:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:25]OFD Sender: No OFD packet to send [13:19:30]OFD Sender: No OFD packet to send [13:19:35]OFD Sender: No OFD packet to send [13:19:40]OFD Sender: No OFD packet to send [13:19:45]OFD Sender: No OFD packet to send [13:19:50]OFD Sender: No OFD packet to send [13:19:55]OFD Sender: No OFD packet to send [13:20:00]OFD Sender: No OFD packet to send [13:20:05]OFD Sender: No OFD packet to send [13:20:10]OFD Sender: No OFD packet to send [13:20:15]OFD Sender: No OFD packet to send [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:45]OFD Sender: No OFD packet to send [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:21]OFD Sender: No OFD packet to send [13:22:26]OFD Sender: No OFD packet to send [13:22:31]OFD Sender: No OFD packet to send [13:22:36]OFD Sender: No OFD packet to send [13:22:41]OFD Sender: No OFD packet to send [13:22:46]OFD Sender: No OFD packet to send [13:22:51]OFD Sender: No OFD packet to send [13:22:56]OFD Sender: No OFD packet to send [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:46]OFD Sender: No OFD packet to send [13:24:51]OFD Sender: No OFD packet to send [13:24:56]OFD Sender: No OFD packet to send [13:25:01]OFD Sender: No OFD packet to send [13:25:06]OFD Sender: No OFD packet to send [13:25:11]OFD Sender: No OFD packet to send [13:25:16]OFD Sender: No OFD packet to send [13:25:21]OFD Sender: No OFD packet to send [13:25:26]OFD Sender: No OFD packet to send [13:25:31]OFD Sender: No OFD packet to send [13:25:36]OFD Sender: No OFD packet to send [13:25:41]OFD Sender: No OFD packet to send [13:25:46]OFD Sender: No OFD packet to send [13:25:51]OFD Sender: No OFD packet to send [13:25:56]OFD Sender: No OFD packet to send [13:26:01]OFD Sender: No OFD packet to send [13:26:06]OFD Sender: No OFD packet to send [13:26:11]OFD Sender: No OFD packet to send [13:26:16]OFD Sender: No OFD packet to send [13:26:21]OFD Sender: No OFD packet to send [13:26:26]OFD Sender: No OFD packet to send [13:26:31]OFD Sender: No OFD packet to send [13:26:36]OFD Sender: No OFD packet to send [13:26:41]OFD Sender: No OFD packet to send [13:26:46]OFD Sender: No OFD packet to send [13:26:51]OFD Sender: No OFD packet to send [13:26:56]OFD Sender: No OFD packet to send [13:27:01]OFD Sender: No OFD packet to send [13:27:06]OFD Sender: No OFD packet to send [13:27:11]OFD Sender: No OFD packet to send [13:27:16]OFD Sender: No OFD packet to send [13:27:21]OFD Sender: No OFD packet to send [13:27:26]OFD Sender: No OFD packet to send [13:27:31]OFD Sender: No OFD packet to send [13:27:36]OFD Sender: No OFD packet to send [13:27:41]OFD Sender: No OFD packet to send [13:27:46]OFD Sender: No OFD packet to send [13:27:51]OFD Sender: No OFD packet to send [13:27:56]OFD Sender: No OFD packet to send [13:28:01]OFD Sender: No OFD packet to send [13:28:06]OFD Sender: No OFD packet to send [13:28:11]OFD Sender: No OFD packet to send [13:28:16]OFD Sender: No OFD packet to send [13:28:21]OFD Sender: No OFD packet to send [13:28:26]OFD Sender: No OFD packet to send [13:28:31]OFD Sender: No OFD packet to send [13:28:36]OFD Sender: No OFD packet to send [13:28:41]OFD Sender: No OFD packet to send [13:28:46]OFD Sender: No OFD packet to send [13:28:51]OFD Sender: No OFD packet to send [13:28:56]OFD Sender: No OFD packet to send [13:29:01]OFD Sender: No OFD packet to send [13:29:06]OFD Sender: No OFD packet to send [13:29:11]OFD Sender: No OFD packet to send [13:29:16]OFD Sender: No OFD packet to send [13:29:21]OFD Sender: No OFD packet to send [13:29:26]OFD Sender: No OFD packet to send [13:29:31]OFD Sender: No OFD packet to send [13:29:36]OFD Sender: No OFD packet to send [13:29:41]OFD Sender: No OFD packet to send [13:29:46]OFD Sender: No OFD packet to send [13:29:51]OFD Sender: No OFD packet to send [13:29:56]OFD Sender: No OFD packet to send [13:30:01]OFD Sender: No OFD packet to send [13:30:06]OFD Sender: No OFD packet to send [13:30:11]OFD Sender: No OFD packet to send [13:30:16]OFD Sender: No OFD packet to send [13:30:21]OFD Sender: No OFD packet to send [13:30:26]OFD Sender: No OFD packet to send [13:30:31]OFD Sender: No OFD packet to send [13:30:36]OFD Sender: No OFD packet to send [13:30:41]OFD Sender: No OFD packet to send [13:30:46]OFD Sender: No OFD packet to send [13:30:51]OFD Sender: No OFD packet to send [13:30:56]OFD Sender: No OFD packet to send [13:31:01]OFD Sender: No OFD packet to send [13:31:06]OFD Sender: No OFD packet to send [13:31:11]OFD Sender: No OFD packet to send [13:31:16]OFD Sender: No OFD packet to send [13:31:21]OFD Sender: No OFD packet to send [13:31:26]OFD Sender: No OFD packet to send [13:31:31]OFD Sender: No OFD packet to send [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:03]accept exits with 9 [13:36:03]New connection [13:36:03]New thread 3067612516 created [13:36:03]Thread 3067469156 joined [13:36:03]Waiting for new connection... [13:36:03] Sock 9.Parse request [13:36:03]Sock 9.Check first char [13:36:03]Sock 9.First char is OK [13:36:03]request: POST /json_proto HTTP/1.0 [13:36:03]Method: POST [13:36:03]URL: /json_proto [13:36:03]Method is POST - this is cgi request [13:36:03]url: /json_proto [13:36:03]query_string will be loaded in cgi processing [13:36:03]execute_cgi json_proto POST (null) [13:36:03]execute_cgi path=json_proto method=POST [13:36:03]POST find Content-Length [13:36:03]Host: 172.17.53.196:8080 [13:36:03]Content-Length: 625 [13:36:03]Content-Type: application/json [13:36:03] [13:36:03]POST finish read [13:36:03]Found Content-Length = 625 [13:36:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34757", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:36:03]execute_script... [13:36:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34757", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:36:03]POST & json_proto [13:36:03]process_json_proto [13:36:03]json parsed OK: [13:36:03]protocol is kg_v1.0 [13:36:03]action value=close_receipt [13:36:03]process_action close_receipt [13:36:03]cmd_close_receipt [13:36:03]MH_GetDate [13:36:03]Write to MH i2c: F0 00 00 40 01 30 [13:36:03]Write i2c OK [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: F0 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: F0 09 00 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: F0 09 00 40 01 00 44 AA 17 67 4F CD 9A 65 C0 [13:36:03]GetLastDocTimeStamp 1729602693 [13:36:03]current date 1729604164 [13:36:03]FM_GetShiftState [13:36:03]SAM_PROTO_GetShiftState [13:36:03]wFMCommunicate request_size=4 [13:36:03]MH_SAM_APDU [13:36:03]CAPDU: 80 13 01 00 [13:36:03]Write to MH i2c: E2 08 00 41 01 80 13 01 00 00 00 00 00 BF [13:36:03]Write i2c OK [13:36:03]MH_I2C_Read... [13:36:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:03]Read from MH i2c: E2 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 0E 00 [13:36:03]MH_I2C_Read... [13:36:03]Read from MH i2c: E2 0E 00 41 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 10 [13:36:03]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [13:36:03]wFMCommunicate OK [13:36:03]SAM_PROTO_GetShiftState done [13:36:03]FM_GetShiftState done [13:36:03]opened in 1729556951 [13:36:03]opened+sec_in_day 1729643351 [13:36:03]quantity*price = 2000 [13:36:03]sum+1 = 2001 [13:36:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 20 22.10.2024 13:36 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 24999 ФПД: 74708665364051 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T133604&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24999&fm=74708665364051&tin=02508201610067®Number=0000000000098147&sum=2000 0 [13:36:04]StoreToDocumentArchive [13:36:04]shift 457 fd 24999 [13:36:04]save to /storage/0457/doc_00024999 [13:36:04]save last doc name /storage/0457/doc_00024999 to /storage/kkm_last_doc_name [13:36:04]save OK [13:36:04]Clear old archive folders... [13:36:04]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:36:04]tlvbuf is 00AC2F40 [13:36:04]SAM_PROTO_ClearQueue [13:36:04]wFMCommunicate request_size=4 [13:36:04]MH_SAM_APDU [13:36:04]CAPDU: 80 09 00 00 [13:36:04]Write to MH i2c: E2 08 00 4E 01 80 09 00 00 00 00 00 00 C1 [13:36:04]Write i2c OK [13:36:04]MH_I2C_Read... [13:36:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:36:04]Read from MH i2c: E2 [13:36:04]MH_I2C_Read... [13:36:04]Read from MH i2c: E2 03 00 [13:36:04]MH_I2C_Read... [13:36:04]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [13:36:04]RAPDU: 90 00 [13:36:04]wFMCommunicate OK [13:36:04]SAM_PROTO_ClearQueue done [13:36:04]KKMCreateOFDPacket [13:36:04]OFDProtocolAddRootSTLVToBuf [13:36:04]FM_MakeSignedData [13:36:04]FM_MakeSignedData [13:36:04]SAM_PROTO_SignData [13:36:04]wFMCommunicate request_size=4 [13:36:04]MH_SAM_APDU [13:36:04]CAPDU: 80 0D 01 02 [13:36:04]Write to MH i2c: E2 08 00 4F 01 80 0D 01 02 00 00 00 00 C9 [13:36:04]Write i2c OK [13:36:04]MH_I2C_Read... [13:36:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:36:04]Read from MH i2c: E2 [13:36:04]MH_I2C_Read... [13:36:04]Read from MH i2c: E2 03 00 [13:36:04]MH_I2C_Read... [13:36:04]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [13:36:04]RAPDU: 90 00 [13:36:04]wFMCommunicate OK [13:36:04]wFMCommunicate request_size=255 [13:36:04]MH_SAM_APDU [13:36:04]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 44 AA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [13:36:04]Write to MH i2c: E2 02 01 50 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 44 AA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 79 [13:36:04]Write i2c OK [13:36:04]MH_I2C_Read... [13:36:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:05]Read from MH i2c: E2 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 03 00 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 03 00 50 01 00 90 00 C5 [13:36:05]RAPDU: 90 00 [13:36:05]wFMCommunicate OK [13:36:05]wFMCommunicate request_size=32 [13:36:05]MH_SAM_APDU [13:36:05]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 A7 61 00 00 35 04 06 00 43 F2 77 75 EE 53 [13:36:05]Write to MH i2c: E2 23 00 51 01 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 A7 61 00 00 35 04 06 00 43 F2 77 75 EE 53 00 00 97 [13:36:05]Write i2c OK [13:36:05]MH_I2C_Read... [13:36:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:36:05]Read from MH i2c: E2 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 03 00 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 03 00 51 01 00 90 00 C6 [13:36:05]RAPDU: 90 00 [13:36:05]wFMCommunicate OK [13:36:05]wFMCommunicate request_size=4 [13:36:05]MH_SAM_APDU [13:36:05]CAPDU: 80 0D 03 02 [13:36:05]Write to MH i2c: E2 08 00 52 01 80 0D 03 02 00 00 00 00 CE [13:36:05]Write i2c OK [13:36:05]MH_I2C_Read... [13:36:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:36:05]Read from MH i2c: E2 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 0B 00 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 0B 00 52 01 00 30 7F 61 96 3B 81 96 CA 90 00 91 [13:36:05]RAPDU: 30 7F 61 96 3B 81 96 CA 90 00 [13:36:05]wFMCommunicate OK [13:36:05]SAM_PROTO_SignData done [13:36:05]FM_MakeSignedData done [13:36:05]CreateOFDProtocolMessage [13:36:05]wFMCommunicate request_size=4 [13:36:05]MH_SAM_APDU [13:36:05]CAPDU: 80 11 00 00 [13:36:05]Write to MH i2c: E2 08 00 53 01 80 11 00 00 00 00 00 00 CE [13:36:05]Write i2c OK [13:36:05]MH_I2C_Read... [13:36:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:05]Read from MH i2c: E2 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 17 00 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: E2 17 00 53 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 25 [13:36:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:36:05]wFMCommunicate OK [13:36:05]CreateOFDProtocolMessage done [13:36:05]OFDSenderStorePacket 24999 [13:36:05]StoreOFDPacket docnum=24999 [13:36:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 F5 D8 1D 01 13 D2 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 44 AA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A7 61 00 00 35 04 06 00 43 F2 77 75 EE 53 30 7F 61 96 3B 81 96 CA [13:36:05]CheckFolder [13:36:05]dirname=/storage/ofd_packets [13:36:05]CheckFolder done [13:36:05]ProducePacketName [13:36:05]name=ofd_packets/00024999 [13:36:05]NVStorageSaveData ofd_packets/00024999 [13:36:05]File name is /storage/ofd_packets/00024999 [13:36:05]Write 323 bytes [13:36:05]NVStorageSaveData done [13:36:05]OFDSenderStorePacket done [13:36:05]KKMCreateOFDPacket done [13:36:05]NVStorageSaveData kkm_last_timestamp [13:36:05]File name is /storage/kkm_last_timestamp [13:36:05]Write 4 bytes [13:36:05]NVStorageSaveData done [13:36:05]ExternCall_PrintAddStr [13:36:05]wPrintStart [13:36:05]Write to MH i2c: 01 00 00 54 01 55 [13:36:05]Write i2c OK [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: 01 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: 01 07 00 [13:36:05]MH_I2C_Read... [13:36:05]Read from MH i2c: 01 07 00 54 01 00 00 00 00 00 FF 0F 6A [13:36:05]RasterBufferAndPrint [13:36:05]line Счет N : (3)34757 [13:36:05]line ИНН: 02508201610067 [13:36:05]line Контрольно-Кассовый Чек [13:36:05]line ПРОДАЖА [13:36:05]line Товар: 46226624 [13:36:05]line Mentos ПВ Клубника 6*100*2 [13:36:05]line 2.000 * 10.00 [13:36:05]line = 20.00 [13:36:05]line НДС 12% НСП 1% [13:36:05]line > о реализуемом товаре [13:36:05]line ИТОГО: 20.00 [13:36:05]line НСП 1% : 0.18 [13:36:05]line НДС 12% : 2.12 [13:36:05]line Наличными: 20.00 [13:36:05]line Безнал.: 0.00 [13:36:05]line Место: АЗС № 161 "Партнер Нефть" [13:36:05]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:36:05]line СНО: Общий режим [13:36:05]line Чек 20 22.10.2024 13:36 [13:36:05]line Смена: 457 ФФД: 1.0 [13:36:05]line ЗНМ: 0300000240 [13:36:05]line РНМ: 0000000000098147 [13:36:05]line Версия ККМ: 001 [13:36:05]line ФМ: 0000000000965376 [13:36:05]line ФД: 24999 [13:36:05]line ФПД: 74708665364051 [13:36:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T133604&type=1&operation_type=1&fn_number=0000000000965376&fd_number=24999&fm=74708665364051&tin=02508201610067®Number=0000000000098147&sum=2000 [13:36:05]OFD Sender: Processing packet 24999 [packets to send 5, broken 4] [13:36:05]ProducePacketName [13:36:05]name=ofd_packets/00024999 [13:36:05]OFD Sender: To server: pG, [13:36:05]CommunicateWithHost lk.salyk.kg:30040 [13:36:05]ConnectInit lk.salyk.kg [13:36:05]line 0 [13:36:05]written 0, free lines is 4095 [13:36:05]Connected sock=10 [13:36:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 F5 D8 1D 01 13 D2 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 44 AA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A7 61 00 00 35 04 06 00 43 F2 77 75 EE 53 30 7F 61 96 3B 81 96 CA [13:36:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 96 CB 47 00 95 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A7 61 00 00 F4 03 04 00 BF 52 17 67 B6 04 01 00 00 F3 7C FF 71 BD 62 D9 5A [13:36:05]CommunicateWithHost err = 0 [13:36:05]CheckOFDResponse [13:36:05]1017 (14) - 77093643461234 [13:36:05]1041 (16) - 0000000000965376 [13:36:05]1040 (4) - 24999 [13:36:05]1012 (4) - 22.10.2024 07:22 [13:36:05]1206 (1) - 0 [13:36:05]OFD Sender: Remove packet 24999 [13:36:05]ProducePacketName [13:36:05]name=ofd_packets/00024999 [13:36:05]NVStorageDeleteData [13:36:06]Write to MH i2c: 01 00 00 7C 01 7D [13:36:06]Write i2c OK [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: 01 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: 01 07 00 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: 01 07 00 7C 01 00 00 00 00 00 D8 0C 68 [13:36:06]RasterBufferAndPrint [13:36:06]line [13:36:06]line [13:36:06]line [13:36:06]line [13:36:06]line [13:36:06]written 0, free lines is 3294 [13:36:06]process_action close_receipt done [13:36:06]requested_data is exist [13:36:06]produce_requested_data [13:36:06]requested_item fm.sn is exist - process it [13:36:06]wFMCommunicate request_size=4 [13:36:06]MH_SAM_APDU [13:36:06]CAPDU: 80 11 00 00 [13:36:06]Write to MH i2c: E2 08 00 83 01 80 11 00 00 00 00 00 00 FE [13:36:06]Write i2c OK [13:36:06]MH_I2C_Read... [13:36:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:36:06]Read from MH i2c: E2 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: E2 17 00 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: E2 17 00 83 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 55 [13:36:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:36:06]wFMCommunicate OK [13:36:06]requested_item fd.num is exist - process it [13:36:06]SAM_PROTO_GetFieldsCounters [13:36:06]wFMCommunicate request_size=4 [13:36:06]MH_SAM_APDU [13:36:06]CAPDU: 80 13 00 00 [13:36:06]Write to MH i2c: E2 08 00 84 01 80 13 00 00 00 00 00 00 01 [13:36:06]Write i2c OK [13:36:06]MH_I2C_Read... [13:36:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:36:06]Read from MH i2c: E2 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: E2 62 00 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: E2 62 00 84 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A7 61 00 00 0E 04 04 00 C9 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 38 [13:36:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A7 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:36:06]wFMCommunicate OK [13:36:06]SAM_PROTO_GetFieldsCounters done [13:36:06]requested_item shift.num is exist - process it [13:36:06]requested_item shift.opened is exist - process it [13:36:06]req_shift_opened [13:36:06]FM_GetShiftState [13:36:06]SAM_PROTO_GetShiftState [13:36:06]wFMCommunicate request_size=4 [13:36:06]MH_SAM_APDU [13:36:06]CAPDU: 80 13 01 00 [13:36:06]Write to MH i2c: E2 08 00 85 01 80 13 01 00 00 00 00 00 03 [13:36:06]Write i2c OK [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: E2 [13:36:06]MH_I2C_Read... [13:36:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:36:06]Read from MH i2c: E2 0E 00 [13:36:06]MH_I2C_Read... [13:36:06]Read from MH i2c: E2 0E 00 85 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 54 [13:36:06]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [13:36:06]wFMCommunicate OK [13:36:06]SAM_PROTO_GetShiftState done [13:36:06]FM_GetShiftState done [13:36:06]req_shift_opened done [13:36:06]requested_item shift.open_date is exist - process it [13:36:06]req_shift_open_date [13:36:06]req_shift_open_date done [13:36:06]produce_requested_data done [13:36:06]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":24999,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [13:36:06]process_action_free close_receipt [13:36:06]json_value_free [13:36:06]json_value_free done [13:36:06]process_json_proto returns [13:36:06]Send response to host [13:36:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":24999,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [13:36:06]free response buf [13:36:06]execute_script done [13:36:06]execute_script returns [13:36:06]free content buf [13:36:06]Sock 9.Close socket [13:36:06]Sock 9.Thread stoped [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:51]OFD Sender: No OFD packet to send [13:45:56]OFD Sender: No OFD packet to send [13:46:01]OFD Sender: No OFD packet to send [13:46:06]OFD Sender: No OFD packet to send [13:46:11]OFD Sender: No OFD packet to send [13:46:16]OFD Sender: No OFD packet to send [13:46:21]OFD Sender: No OFD packet to send [13:46:26]OFD Sender: No OFD packet to send [13:46:31]OFD Sender: No OFD packet to send [13:46:36]OFD Sender: No OFD packet to send [13:46:41]OFD Sender: No OFD packet to send [13:46:46]OFD Sender: No OFD packet to send [13:46:51]OFD Sender: No OFD packet to send [13:46:56]OFD Sender: No OFD packet to send [13:47:01]OFD Sender: No OFD packet to send [13:47:06]OFD Sender: No OFD packet to send [13:47:11]OFD Sender: No OFD packet to send [13:47:16]OFD Sender: No OFD packet to send [13:47:21]OFD Sender: No OFD packet to send [13:47:26]OFD Sender: No OFD packet to send [13:47:31]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:57]OFD Sender: No OFD packet to send [13:50:02]OFD Sender: No OFD packet to send [13:50:07]OFD Sender: No OFD packet to send [13:50:12]OFD Sender: No OFD packet to send [13:50:17]OFD Sender: No OFD packet to send [13:50:22]OFD Sender: No OFD packet to send [13:50:27]OFD Sender: No OFD packet to send [13:50:32]OFD Sender: No OFD packet to send [13:50:37]OFD Sender: No OFD packet to send [13:50:42]OFD Sender: No OFD packet to send [13:50:47]OFD Sender: No OFD packet to send [13:50:52]OFD Sender: No OFD packet to send [13:50:57]OFD Sender: No OFD packet to send [13:51:02]OFD Sender: No OFD packet to send [13:51:07]OFD Sender: No OFD packet to send [13:51:12]OFD Sender: No OFD packet to send [13:51:17]OFD Sender: No OFD packet to send [13:51:22]OFD Sender: No OFD packet to send [13:51:27]OFD Sender: No OFD packet to send [13:51:32]OFD Sender: No OFD packet to send [13:51:37]OFD Sender: No OFD packet to send [13:51:42]OFD Sender: No OFD packet to send [13:51:47]OFD Sender: No OFD packet to send [13:51:52]OFD Sender: No OFD packet to send [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:12]OFD Sender: No OFD packet to send [13:57:17]OFD Sender: No OFD packet to send [13:57:22]OFD Sender: No OFD packet to send [13:57:27]OFD Sender: No OFD packet to send [13:57:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send [13:58:42]OFD Sender: No OFD packet to send [13:58:47]OFD Sender: No OFD packet to send [13:58:52]OFD Sender: No OFD packet to send [13:58:57]OFD Sender: No OFD packet to send [13:59:02]OFD Sender: No OFD packet to send [13:59:07]OFD Sender: No OFD packet to send [13:59:09]accept exits with 8 [13:59:09]New connection [13:59:09]New thread 3067469156 created [13:59:09]Thread 3067612516 joined [13:59:09]Waiting for new connection... [13:59:09] Sock 8.Parse request [13:59:09]Sock 8.Check first char [13:59:09]Sock 8.First char is OK [13:59:09]request: POST /json_proto HTTP/1.0 [13:59:09]Method: POST [13:59:09]URL: /json_proto [13:59:09]Method is POST - this is cgi request [13:59:09]url: /json_proto [13:59:09]query_string will be loaded in cgi processing [13:59:09]execute_cgi json_proto POST (null) [13:59:09]execute_cgi path=json_proto method=POST [13:59:09]POST find Content-Length [13:59:09]Host: 172.17.53.196:8080 [13:59:09]Content-Length: 1081 [13:59:09]Content-Type: application/json [13:59:09] [13:59:09]POST finish read [13:59:09]Found Content-Length = 1081 [13:59:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34758", "tax_sys" : 0, "items" : [ { "code": "54492509", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:59:09]execute_script... [13:59:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34758", "tax_sys" : 0, "items" : [ { "code": "54492509", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:59:09]POST & json_proto [13:59:09]process_json_proto [13:59:09]json parsed OK: [13:59:09]protocol is kg_v1.0 [13:59:09]action value=close_receipt [13:59:09]process_action close_receipt [13:59:09]cmd_close_receipt [13:59:09]MH_GetDate [13:59:09]Write to MH i2c: F0 00 00 86 01 76 [13:59:09]Write i2c OK [13:59:09]MH_I2C_Read... [13:59:09]Read from MH i2c: F0 [13:59:09]MH_I2C_Read... [13:59:09]Read from MH i2c: F0 09 00 [13:59:09]MH_I2C_Read... [13:59:09]Read from MH i2c: F0 09 00 86 01 00 AE AF 17 67 4F CD 9A 65 75 [13:59:09]GetLastDocTimeStamp 1729604164 [13:59:09]current date 1729605550 [13:59:09]FM_GetShiftState [13:59:09]SAM_PROTO_GetShiftState [13:59:09]wFMCommunicate request_size=4 [13:59:09]MH_SAM_APDU [13:59:09]CAPDU: 80 13 01 00 [13:59:09]Write to MH i2c: E2 08 00 87 01 80 13 01 00 00 00 00 00 05 [13:59:09]Write i2c OK [13:59:09]MH_I2C_Read... [13:59:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:59:09]Read from MH i2c: E2 [13:59:09]MH_I2C_Read... [13:59:09]Read from MH i2c: E2 0E 00 [13:59:09]MH_I2C_Read... [13:59:09]Read from MH i2c: E2 0E 00 87 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 56 [13:59:09]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [13:59:09]wFMCommunicate OK [13:59:09]SAM_PROTO_GetShiftState done [13:59:09]FM_GetShiftState done [13:59:09]opened in 1729556951 [13:59:09]opened+sec_in_day 1729643351 [13:59:09]quantity*price = 9000 [13:59:09]sum+1 = 9001 [13:59:09]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027450 Напиток FuzeTea чай манго,ром 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 0.00 Безнал.: 165.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 21 22.10.2024 13:59 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 25000 ФПД: 153571880358502 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T135910&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25000&fm=153571880358502&tin=02508201610067®Number=0000000000098147&sum=16500 0 [13:59:10]StoreToDocumentArchive [13:59:10]shift 457 fd 25000 [13:59:10]save to /storage/0457/doc_00025000 [13:59:10]save last doc name /storage/0457/doc_00025000 to /storage/kkm_last_doc_name [13:59:10]save OK [13:59:10]Clear old archive folders... [13:59:10]ProcessDocumentItem done err = 0, tmpTLVsize=401 [13:59:10]tlvbuf is 00B003D0 [13:59:10]SAM_PROTO_ClearQueue [13:59:10]wFMCommunicate request_size=4 [13:59:10]MH_SAM_APDU [13:59:10]CAPDU: 80 09 00 00 [13:59:10]Write to MH i2c: E2 08 00 94 01 80 09 00 00 00 00 00 00 07 [13:59:10]Write i2c OK [13:59:10]MH_I2C_Read... [13:59:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:59:11]Read from MH i2c: E2 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 94 01 00 90 00 09 [13:59:11]RAPDU: 90 00 [13:59:11]wFMCommunicate OK [13:59:11]SAM_PROTO_ClearQueue done [13:59:11]KKMCreateOFDPacket [13:59:11]OFDProtocolAddRootSTLVToBuf [13:59:11]FM_MakeSignedData [13:59:11]FM_MakeSignedData [13:59:11]SAM_PROTO_SignData [13:59:11]wFMCommunicate request_size=4 [13:59:11]MH_SAM_APDU [13:59:11]CAPDU: 80 0D 01 02 [13:59:11]Write to MH i2c: E2 08 00 95 01 80 0D 01 02 00 00 00 00 0F [13:59:11]Write i2c OK [13:59:11]MH_I2C_Read... [13:59:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:59:11]Read from MH i2c: E2 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [13:59:11]RAPDU: 90 00 [13:59:11]wFMCommunicate OK [13:59:11]wFMCommunicate request_size=255 [13:59:11]MH_SAM_APDU [13:59:11]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 [13:59:11]Write to MH i2c: E2 02 01 96 01 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 00 00 90 [13:59:11]Write i2c OK [13:59:11]MH_I2C_Read... [13:59:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:59:11]Read from MH i2c: E2 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [13:59:11]RAPDU: 90 00 [13:59:11]wFMCommunicate OK [13:59:11]wFMCommunicate request_size=160 [13:59:11]MH_SAM_APDU [13:59:11]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AE AF 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A8 61 00 00 35 04 06 00 8B AC 3D 60 52 66 [13:59:11]Write to MH i2c: E2 A3 00 97 01 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AE AF 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A8 61 00 00 35 04 06 00 8B AC 3D 60 52 66 00 00 00 [13:59:11]Write i2c OK [13:59:11]MH_I2C_Read... [13:59:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:59:11]Read from MH i2c: E2 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [13:59:11]RAPDU: 90 00 [13:59:11]wFMCommunicate OK [13:59:11]wFMCommunicate request_size=4 [13:59:11]MH_SAM_APDU [13:59:11]CAPDU: 80 0D 03 02 [13:59:11]Write to MH i2c: E2 08 00 98 01 80 0D 03 02 00 00 00 00 14 [13:59:11]Write i2c OK [13:59:11]MH_I2C_Read... [13:59:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:59:11]Read from MH i2c: E2 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 0B 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 0B 00 98 01 00 1C 39 9C B9 2A D6 EB A1 90 00 4B [13:59:11]RAPDU: 1C 39 9C B9 2A D6 EB A1 90 00 [13:59:11]wFMCommunicate OK [13:59:11]SAM_PROTO_SignData done [13:59:11]FM_MakeSignedData done [13:59:11]CreateOFDProtocolMessage [13:59:11]wFMCommunicate request_size=4 [13:59:11]MH_SAM_APDU [13:59:11]CAPDU: 80 11 00 00 [13:59:11]Write to MH i2c: E2 08 00 99 01 80 11 00 00 00 00 00 00 14 [13:59:11]Write i2c OK [13:59:11]MH_I2C_Read... [13:59:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:59:11]Read from MH i2c: E2 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 17 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: E2 17 00 99 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6B [13:59:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:59:11]wFMCommunicate OK [13:59:11]CreateOFDProtocolMessage done [13:59:11]OFDSenderStorePacket 25000 [13:59:11]StoreOFDPacket docnum=25000 [13:59:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 A5 01 00 00 B0 00 9D 01 24 B0 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AE AF 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A8 61 00 00 35 04 06 00 8B AC 3D 60 52 66 1C 39 9C B9 2A D6 EB A1 [13:59:11]CheckFolder [13:59:11]dirname=/storage/ofd_packets [13:59:11]CheckFolder done [13:59:11]ProducePacketName [13:59:11]name=ofd_packets/00025000 [13:59:11]NVStorageSaveData ofd_packets/00025000 [13:59:11]File name is /storage/ofd_packets/00025000 [13:59:11]Write 451 bytes [13:59:11]NVStorageSaveData done [13:59:11]OFDSenderStorePacket done [13:59:11]KKMCreateOFDPacket done [13:59:11]NVStorageSaveData kkm_last_timestamp [13:59:11]File name is /storage/kkm_last_timestamp [13:59:11]Write 4 bytes [13:59:11]NVStorageSaveData done [13:59:11]ExternCall_PrintAddStr [13:59:11]wPrintStart [13:59:11]Write to MH i2c: 01 00 00 9A 01 9B [13:59:11]OFD Sender: Processing packet 25000 [packets to send 5, broken 4] [13:59:11]ProducePacketName [13:59:11]name=ofd_packets/00025000 [13:59:11]OFD Sender: To server: pG, [13:59:11]CommunicateWithHost lk.salyk.kg:30040 [13:59:11]ConnectInit lk.salyk.kg [13:59:11]Write i2c OK [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: 01 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: 01 07 00 [13:59:11]MH_I2C_Read... [13:59:11]Read from MH i2c: 01 07 00 9A 01 00 00 00 00 00 FF 0F B0 [13:59:11]RasterBufferAndPrint [13:59:11]line Счет N : (3)34758 [13:59:11]line ИНН: 02508201610067 [13:59:11]line Контрольно-Кассовый Чек [13:59:11]line ПРОДАЖА [13:59:11]line Товар: 54492509 [13:59:11]line Напиток Кока-Кола 0,25л [13:59:11]line 1.000 * 90.00 [13:59:11]line = 90.00 [13:59:11]line НДС 12% НСП 1% [13:59:11]line > о реализуемом товаре [13:59:11]line Товар: 5449000027450 [13:59:11]line Напиток FuzeTea чай манго,ром 0,5л [13:59:11]line 1.000 * 75.00 [13:59:11]line = 75.00 [13:59:11]line НДС 12% НСП 1% [13:59:11]line > о реализуемом товаре [13:59:11]line ИТОГО: 165.00 [13:59:11]line НСП 1% : 1.46 [13:59:11]line НДС 12% : 17.52 [13:59:11]line Наличными: 0.00 [13:59:11]line Безнал.: 165.00 [13:59:11]line Место: АЗС № 161 "Партнер Нефть" [13:59:11]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [13:59:11]line СНО: Общий режим [13:59:11]line Чек 21 22.10.2024 13:59 [13:59:11]line Смена: 457 ФФД: 1.0 [13:59:11]line ЗНМ: 0300000240 [13:59:11]line РНМ: 0000000000098147 [13:59:11]line Версия ККМ: 001 [13:59:11]line Платежная система: Mbank [13:59:11]line ФМ: 0000000000965376 [13:59:11]line ФД: 25000 [13:59:11]line ФПД: 153571880358502 [13:59:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T135910&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25000&fm=153571880358502&tin=02508201610067®Number=0000000000098147&sum=16500 [13:59:11]line 0 [13:59:11]written 0, free lines is 4095 [13:59:12]Connected sock=10 [13:59:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 A5 01 00 00 B0 00 9D 01 24 B0 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 35 34 34 39 32 35 30 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 40 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 92 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D8 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 AE AF 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A8 61 00 00 35 04 06 00 8B AC 3D 60 52 66 1C 39 9C B9 2A D6 EB A1 [13:59:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 2B E0 47 00 F8 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A8 61 00 00 F4 03 04 00 29 58 17 67 B6 04 01 00 00 CD 1A 1C F9 ED C6 76 C8 [13:59:12]CommunicateWithHost err = 0 [13:59:12]CheckOFDResponse [13:59:12]1017 (14) - 77093643461234 [13:59:12]1041 (16) - 0000000000965376 [13:59:12]1040 (4) - 25000 [13:59:12]1012 (4) - 22.10.2024 07:45 [13:59:12]1206 (1) - 0 [13:59:12]OFD Sender: Remove packet 25000 [13:59:12]ProducePacketName [13:59:12]name=ofd_packets/00025000 [13:59:12]NVStorageDeleteData [13:59:12]Write to MH i2c: 01 00 00 CA 01 CB [13:59:12]Write i2c OK [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: 01 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: 01 07 00 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: 01 07 00 CA 01 00 00 00 00 00 77 0C 55 [13:59:12]RasterBufferAndPrint [13:59:12]line [13:59:12]line [13:59:12]line [13:59:12]line [13:59:12]line [13:59:12]written 0, free lines is 3197 [13:59:12]process_action close_receipt done [13:59:12]requested_data is exist [13:59:12]produce_requested_data [13:59:12]requested_item fm.sn is exist - process it [13:59:12]wFMCommunicate request_size=4 [13:59:12]MH_SAM_APDU [13:59:12]CAPDU: 80 11 00 00 [13:59:12]Write to MH i2c: E2 08 00 D1 01 80 11 00 00 00 00 00 00 4C [13:59:12]Write i2c OK [13:59:12]MH_I2C_Read... [13:59:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:59:12]Read from MH i2c: E2 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: E2 17 00 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: E2 17 00 D1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A3 [13:59:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [13:59:12]wFMCommunicate OK [13:59:12]requested_item fd.num is exist - process it [13:59:12]SAM_PROTO_GetFieldsCounters [13:59:12]wFMCommunicate request_size=4 [13:59:12]MH_SAM_APDU [13:59:12]CAPDU: 80 13 00 00 [13:59:12]Write to MH i2c: E2 08 00 D2 01 80 13 00 00 00 00 00 00 4F [13:59:12]Write i2c OK [13:59:12]MH_I2C_Read... [13:59:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:59:12]Read from MH i2c: E2 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: E2 62 00 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: E2 62 00 D2 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A8 61 00 00 0E 04 04 00 C9 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 8A [13:59:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A8 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:59:12]wFMCommunicate OK [13:59:12]SAM_PROTO_GetFieldsCounters done [13:59:12]requested_item shift.num is exist - process it [13:59:12]requested_item shift.opened is exist - process it [13:59:12]req_shift_opened [13:59:12]FM_GetShiftState [13:59:12]SAM_PROTO_GetShiftState [13:59:12]wFMCommunicate request_size=4 [13:59:12]MH_SAM_APDU [13:59:12]CAPDU: 80 13 01 00 [13:59:12]Write to MH i2c: E2 08 00 D3 01 80 13 01 00 00 00 00 00 51 [13:59:12]Write i2c OK [13:59:12]MH_I2C_Read... [13:59:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:59:12]Read from MH i2c: E2 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: E2 0E 00 [13:59:12]MH_I2C_Read... [13:59:12]Read from MH i2c: E2 0E 00 D3 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 A2 [13:59:12]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [13:59:12]wFMCommunicate OK [13:59:12]SAM_PROTO_GetShiftState done [13:59:12]FM_GetShiftState done [13:59:12]req_shift_opened done [13:59:12]requested_item shift.open_date is exist - process it [13:59:12]req_shift_open_date [13:59:12]req_shift_open_date done [13:59:12]produce_requested_data done [13:59:12]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25000,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [13:59:12]process_action_free close_receipt [13:59:12]json_value_free [13:59:12]json_value_free done [13:59:12]process_json_proto returns [13:59:12]Send response to host [13:59:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25000,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [13:59:12]free response buf [13:59:12]execute_script done [13:59:12]execute_script returns [13:59:12]free content buf [13:59:12]Sock 8.Close socket [13:59:12]Sock 8.Thread stoped [13:59:12]OFD Sender: No OFD packet to send [13:59:17]OFD Sender: No OFD packet to send [13:59:22]OFD Sender: No OFD packet to send [13:59:27]OFD Sender: No OFD packet to send [13:59:32]OFD Sender: No OFD packet to send [13:59:37]OFD Sender: No OFD packet to send [13:59:42]OFD Sender: No OFD packet to send [13:59:47]OFD Sender: No OFD packet to send [13:59:52]OFD Sender: No OFD packet to send [13:59:57]OFD Sender: No OFD packet to send [14:00:02]OFD Sender: No OFD packet to send [14:00:07]OFD Sender: No OFD packet to send [14:00:12]OFD Sender: No OFD packet to send [14:00:17]OFD Sender: No OFD packet to send [14:00:22]OFD Sender: No OFD packet to send [14:00:27]OFD Sender: No OFD packet to send [14:00:32]OFD Sender: No OFD packet to send [14:00:37]OFD Sender: No OFD packet to send [14:00:42]OFD Sender: No OFD packet to send [14:00:47]OFD Sender: No OFD packet to send [14:00:52]OFD Sender: No OFD packet to send [14:00:57]OFD Sender: No OFD packet to send [14:01:02]OFD Sender: No OFD packet to send [14:01:07]OFD Sender: No OFD packet to send [14:01:12]OFD Sender: No OFD packet to send [14:01:17]OFD Sender: No OFD packet to send [14:01:22]OFD Sender: No OFD packet to send [14:01:27]OFD Sender: No OFD packet to send [14:01:32]OFD Sender: No OFD packet to send [14:01:37]OFD Sender: No OFD packet to send [14:01:42]OFD Sender: No OFD packet to send [14:01:47]OFD Sender: No OFD packet to send [14:01:52]OFD Sender: No OFD packet to send [14:01:57]OFD Sender: No OFD packet to send [14:02:02]OFD Sender: No OFD packet to send [14:02:07]OFD Sender: No OFD packet to send [14:02:12]OFD Sender: No OFD packet to send [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:32]OFD Sender: No OFD packet to send [14:03:37]OFD Sender: No OFD packet to send [14:03:42]OFD Sender: No OFD packet to send [14:03:47]OFD Sender: No OFD packet to send [14:03:52]OFD Sender: No OFD packet to send [14:03:57]OFD Sender: No OFD packet to send [14:04:02]OFD Sender: No OFD packet to send [14:04:07]OFD Sender: No OFD packet to send [14:04:13]OFD Sender: No OFD packet to send [14:04:18]OFD Sender: No OFD packet to send [14:04:23]OFD Sender: No OFD packet to send [14:04:28]OFD Sender: No OFD packet to send [14:04:33]OFD Sender: No OFD packet to send [14:04:38]OFD Sender: No OFD packet to send [14:04:43]OFD Sender: No OFD packet to send [14:04:48]OFD Sender: No OFD packet to send [14:04:53]OFD Sender: No OFD packet to send [14:04:58]OFD Sender: No OFD packet to send [14:05:03]OFD Sender: No OFD packet to send [14:05:08]OFD Sender: No OFD packet to send [14:05:13]OFD Sender: No OFD packet to send [14:05:18]OFD Sender: No OFD packet to send [14:05:23]OFD Sender: No OFD packet to send [14:05:28]OFD Sender: No OFD packet to send [14:05:33]OFD Sender: No OFD packet to send [14:05:38]OFD Sender: No OFD packet to send [14:05:43]OFD Sender: No OFD packet to send [14:05:48]OFD Sender: No OFD packet to send [14:05:53]OFD Sender: No OFD packet to send [14:05:58]OFD Sender: No OFD packet to send [14:06:03]OFD Sender: No OFD packet to send [14:06:08]OFD Sender: No OFD packet to send [14:06:13]OFD Sender: No OFD packet to send [14:06:18]OFD Sender: No OFD packet to send [14:06:23]OFD Sender: No OFD packet to send [14:06:28]OFD Sender: No OFD packet to send [14:06:33]OFD Sender: No OFD packet to send [14:06:38]OFD Sender: No OFD packet to send [14:06:43]OFD Sender: No OFD packet to send [14:06:48]OFD Sender: No OFD packet to send [14:06:53]OFD Sender: No OFD packet to send [14:06:58]OFD Sender: No OFD packet to send [14:07:03]OFD Sender: No OFD packet to send [14:07:08]OFD Sender: No OFD packet to send [14:07:13]OFD Sender: No OFD packet to send [14:07:18]OFD Sender: No OFD packet to send [14:07:23]OFD Sender: No OFD packet to send [14:07:28]OFD Sender: No OFD packet to send [14:07:33]OFD Sender: No OFD packet to send [14:07:38]OFD Sender: No OFD packet to send [14:07:43]OFD Sender: No OFD packet to send [14:07:48]OFD Sender: No OFD packet to send [14:07:53]OFD Sender: No OFD packet to send [14:07:58]OFD Sender: No OFD packet to send [14:08:03]OFD Sender: No OFD packet to send [14:08:08]OFD Sender: No OFD packet to send [14:08:13]OFD Sender: No OFD packet to send [14:08:18]OFD Sender: No OFD packet to send [14:08:23]OFD Sender: No OFD packet to send [14:08:28]OFD Sender: No OFD packet to send [14:08:33]OFD Sender: No OFD packet to send [14:08:38]OFD Sender: No OFD packet to send [14:08:43]OFD Sender: No OFD packet to send [14:08:48]OFD Sender: No OFD packet to send [14:08:53]OFD Sender: No OFD packet to send [14:08:58]OFD Sender: No OFD packet to send [14:09:03]OFD Sender: No OFD packet to send [14:09:08]OFD Sender: No OFD packet to send [14:09:13]OFD Sender: No OFD packet to send [14:09:18]OFD Sender: No OFD packet to send [14:09:23]OFD Sender: No OFD packet to send [14:09:28]OFD Sender: No OFD packet to send [14:09:33]OFD Sender: No OFD packet to send [14:09:38]OFD Sender: No OFD packet to send [14:09:43]OFD Sender: No OFD packet to send [14:09:48]OFD Sender: No OFD packet to send [14:09:53]OFD Sender: No OFD packet to send [14:09:58]OFD Sender: No OFD packet to send [14:10:03]OFD Sender: No OFD packet to send [14:10:08]OFD Sender: No OFD packet to send [14:10:13]OFD Sender: No OFD packet to send [14:10:18]OFD Sender: No OFD packet to send [14:10:23]OFD Sender: No OFD packet to send [14:10:28]OFD Sender: No OFD packet to send [14:10:33]OFD Sender: No OFD packet to send [14:10:38]OFD Sender: No OFD packet to send [14:10:43]OFD Sender: No OFD packet to send [14:10:48]OFD Sender: No OFD packet to send [14:10:53]OFD Sender: No OFD packet to send [14:10:58]OFD Sender: No OFD packet to send [14:11:03]OFD Sender: No OFD packet to send [14:11:08]OFD Sender: No OFD packet to send [14:11:13]OFD Sender: No OFD packet to send [14:11:18]OFD Sender: No OFD packet to send [14:11:23]OFD Sender: No OFD packet to send [14:11:28]OFD Sender: No OFD packet to send [14:11:33]OFD Sender: No OFD packet to send [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:58]OFD Sender: No OFD packet to send [14:12:03]OFD Sender: No OFD packet to send [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:53]OFD Sender: No OFD packet to send [14:12:58]OFD Sender: No OFD packet to send [14:13:03]OFD Sender: No OFD packet to send [14:13:08]OFD Sender: No OFD packet to send [14:13:13]OFD Sender: No OFD packet to send [14:13:18]OFD Sender: No OFD packet to send [14:13:23]OFD Sender: No OFD packet to send [14:13:28]OFD Sender: No OFD packet to send [14:13:33]OFD Sender: No OFD packet to send [14:13:38]OFD Sender: No OFD packet to send [14:13:43]OFD Sender: No OFD packet to send [14:13:48]OFD Sender: No OFD packet to send [14:13:53]OFD Sender: No OFD packet to send [14:13:58]OFD Sender: No OFD packet to send [14:14:03]OFD Sender: No OFD packet to send [14:14:08]OFD Sender: No OFD packet to send [14:14:13]OFD Sender: No OFD packet to send [14:14:18]OFD Sender: No OFD packet to send [14:14:23]OFD Sender: No OFD packet to send [14:14:28]OFD Sender: No OFD packet to send [14:14:33]OFD Sender: No OFD packet to send [14:14:38]OFD Sender: No OFD packet to send [14:14:43]OFD Sender: No OFD packet to send [14:14:48]OFD Sender: No OFD packet to send [14:14:53]OFD Sender: No OFD packet to send [14:14:58]OFD Sender: No OFD packet to send [14:15:03]OFD Sender: No OFD packet to send [14:15:08]OFD Sender: No OFD packet to send [14:15:13]OFD Sender: No OFD packet to send [14:15:18]OFD Sender: No OFD packet to send [14:15:23]OFD Sender: No OFD packet to send [14:15:28]OFD Sender: No OFD packet to send [14:15:33]OFD Sender: No OFD packet to send [14:15:38]OFD Sender: No OFD packet to send [14:15:43]OFD Sender: No OFD packet to send [14:15:48]OFD Sender: No OFD packet to send [14:15:53]OFD Sender: No OFD packet to send [14:15:58]OFD Sender: No OFD packet to send [14:16:03]OFD Sender: No OFD packet to send [14:16:08]OFD Sender: No OFD packet to send [14:16:13]OFD Sender: No OFD packet to send [14:16:18]OFD Sender: No OFD packet to send [14:16:23]OFD Sender: No OFD packet to send [14:16:28]OFD Sender: No OFD packet to send [14:16:33]OFD Sender: No OFD packet to send [14:16:38]OFD Sender: No OFD packet to send [14:16:43]OFD Sender: No OFD packet to send [14:16:48]OFD Sender: No OFD packet to send [14:16:53]OFD Sender: No OFD packet to send [14:16:58]OFD Sender: No OFD packet to send [14:17:03]OFD Sender: No OFD packet to send [14:17:08]OFD Sender: No OFD packet to send [14:17:13]OFD Sender: No OFD packet to send [14:17:18]OFD Sender: No OFD packet to send [14:17:23]OFD Sender: No OFD packet to send [14:17:28]OFD Sender: No OFD packet to send [14:17:33]OFD Sender: No OFD packet to send [14:17:38]OFD Sender: No OFD packet to send [14:17:43]OFD Sender: No OFD packet to send [14:17:48]OFD Sender: No OFD packet to send [14:17:53]OFD Sender: No OFD packet to send [14:17:58]OFD Sender: No OFD packet to send [14:18:03]OFD Sender: No OFD packet to send [14:18:08]OFD Sender: No OFD packet to send [14:18:13]OFD Sender: No OFD packet to send [14:18:18]OFD Sender: No OFD packet to send [14:18:23]OFD Sender: No OFD packet to send [14:18:28]OFD Sender: No OFD packet to send [14:18:33]OFD Sender: No OFD packet to send [14:18:38]OFD Sender: No OFD packet to send [14:18:43]OFD Sender: No OFD packet to send [14:18:48]OFD Sender: No OFD packet to send [14:18:53]OFD Sender: No OFD packet to send [14:18:58]OFD Sender: No OFD packet to send [14:19:03]OFD Sender: No OFD packet to send [14:19:08]OFD Sender: No OFD packet to send [14:19:13]OFD Sender: No OFD packet to send [14:19:18]OFD Sender: No OFD packet to send [14:19:23]OFD Sender: No OFD packet to send [14:19:28]OFD Sender: No OFD packet to send [14:19:33]OFD Sender: No OFD packet to send [14:19:38]OFD Sender: No OFD packet to send [14:19:43]OFD Sender: No OFD packet to send [14:19:48]OFD Sender: No OFD packet to send [14:19:53]OFD Sender: No OFD packet to send [14:19:58]OFD Sender: No OFD packet to send [14:20:03]OFD Sender: No OFD packet to send [14:20:08]OFD Sender: No OFD packet to send [14:20:13]OFD Sender: No OFD packet to send [14:20:18]OFD Sender: No OFD packet to send [14:20:23]OFD Sender: No OFD packet to send [14:20:28]OFD Sender: No OFD packet to send [14:20:33]OFD Sender: No OFD packet to send [14:20:38]OFD Sender: No OFD packet to send [14:20:43]OFD Sender: No OFD packet to send [14:20:48]OFD Sender: No OFD packet to send [14:20:53]OFD Sender: No OFD packet to send [14:20:58]OFD Sender: No OFD packet to send [14:21:03]OFD Sender: No OFD packet to send [14:21:08]OFD Sender: No OFD packet to send [14:21:13]OFD Sender: No OFD packet to send [14:21:18]OFD Sender: No OFD packet to send [14:21:23]OFD Sender: No OFD packet to send [14:21:28]OFD Sender: No OFD packet to send [14:21:33]OFD Sender: No OFD packet to send [14:21:38]OFD Sender: No OFD packet to send [14:21:43]OFD Sender: No OFD packet to send [14:21:48]OFD Sender: No OFD packet to send [14:21:53]OFD Sender: No OFD packet to send [14:21:58]OFD Sender: No OFD packet to send [14:22:03]OFD Sender: No OFD packet to send [14:22:08]OFD Sender: No OFD packet to send [14:22:13]OFD Sender: No OFD packet to send [14:22:18]OFD Sender: No OFD packet to send [14:22:23]OFD Sender: No OFD packet to send [14:22:28]OFD Sender: No OFD packet to send [14:22:33]OFD Sender: No OFD packet to send [14:22:38]OFD Sender: No OFD packet to send [14:22:43]OFD Sender: No OFD packet to send [14:22:48]OFD Sender: No OFD packet to send [14:22:53]OFD Sender: No OFD packet to send [14:22:58]OFD Sender: No OFD packet to send [14:23:03]OFD Sender: No OFD packet to send [14:23:08]OFD Sender: No OFD packet to send [14:23:13]OFD Sender: No OFD packet to send [14:23:18]OFD Sender: No OFD packet to send [14:23:23]OFD Sender: No OFD packet to send [14:23:28]OFD Sender: No OFD packet to send [14:23:33]OFD Sender: No OFD packet to send [14:23:38]OFD Sender: No OFD packet to send [14:23:43]OFD Sender: No OFD packet to send [14:23:48]OFD Sender: No OFD packet to send [14:23:53]OFD Sender: No OFD packet to send [14:23:58]OFD Sender: No OFD packet to send [14:24:03]OFD Sender: No OFD packet to send [14:24:08]OFD Sender: No OFD packet to send [14:24:13]OFD Sender: No OFD packet to send [14:24:18]OFD Sender: No OFD packet to send [14:24:23]OFD Sender: No OFD packet to send [14:24:28]OFD Sender: No OFD packet to send [14:24:33]OFD Sender: No OFD packet to send [14:24:38]OFD Sender: No OFD packet to send [14:24:43]OFD Sender: No OFD packet to send [14:24:48]OFD Sender: No OFD packet to send [14:24:53]OFD Sender: No OFD packet to send [14:24:58]OFD Sender: No OFD packet to send [14:25:03]OFD Sender: No OFD packet to send [14:25:08]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]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:29]OFD Sender: No OFD packet to send [14:37:34]OFD Sender: No OFD packet to send [14:37:39]OFD Sender: No OFD packet to send [14:37:44]OFD Sender: No OFD packet to send [14:37:49]OFD Sender: No OFD packet to send [14:37:54]OFD Sender: No OFD packet to send [14:37:59]OFD Sender: No OFD packet to send [14:38:04]OFD Sender: No OFD packet to send [14:38:09]OFD Sender: No OFD packet to send [14:38:14]OFD Sender: No OFD packet to send [14:38:19]OFD Sender: No OFD packet to send [14:38:24]OFD Sender: No OFD packet to send [14:38:29]OFD Sender: No OFD packet to send [14:38:34]OFD Sender: No OFD packet to send [14:38:39]OFD Sender: No OFD packet to send [14:38:44]OFD Sender: No OFD packet to send [14:38:49]OFD Sender: No OFD packet to send [14:38:54]OFD Sender: No OFD packet to send [14:38:59]OFD Sender: No OFD packet to send [14:39:04]OFD Sender: No OFD packet to send [14:39:09]OFD Sender: No OFD packet to send [14:39:14]OFD Sender: No OFD packet to send [14:39:19]OFD Sender: No OFD packet to send [14:39:24]OFD Sender: No OFD packet to send [14:39:29]OFD Sender: No OFD packet to send [14:39:34]OFD Sender: No OFD packet to send [14:39:39]OFD Sender: No OFD packet to send [14:39:44]OFD Sender: No OFD packet to send [14:39:49]OFD Sender: No OFD packet to send [14:39:54]OFD Sender: No OFD packet to send [14:39:59]OFD Sender: No OFD packet to send [14:40:04]OFD Sender: No OFD packet to send [14:40:09]OFD Sender: No OFD packet to send [14:40:14]OFD Sender: No OFD packet to send [14:40:19]OFD Sender: No OFD packet to send [14:40:24]OFD Sender: No OFD packet to send [14:40:29]OFD Sender: No OFD packet to send [14:40:34]OFD Sender: No OFD packet to send [14:40:39]OFD Sender: No OFD packet to send [14:40:44]OFD Sender: No OFD packet to send [14:40:49]OFD Sender: No OFD packet to send [14:40:54]OFD Sender: No OFD packet to send [14:40:59]OFD Sender: No OFD packet to send [14:41:04]OFD Sender: No OFD packet to send [14:41:09]OFD Sender: No OFD packet to send [14:41:14]OFD Sender: No OFD packet to send [14:41:19]OFD Sender: No OFD packet to send [14:41:24]OFD Sender: No OFD packet to send [14:41:29]OFD Sender: No OFD packet to send [14:41:34]OFD Sender: No OFD packet to send [14:41:39]OFD Sender: No OFD packet to send [14:41:44]OFD Sender: No OFD packet to send [14:41:49]OFD Sender: No OFD packet to send [14:41:54]OFD Sender: No OFD packet to send [14:41:59]OFD Sender: No OFD packet to send [14:42:04]OFD Sender: No OFD packet to send [14:42:09]OFD Sender: No OFD packet to send [14:42:14]OFD Sender: No OFD packet to send [14:42:19]OFD Sender: No OFD packet to send [14:42:24]OFD Sender: No OFD packet to send [14:42:29]OFD Sender: No OFD packet to send [14:42:34]OFD Sender: No OFD packet to send [14:42:39]OFD Sender: No OFD packet to send [14:42:44]OFD Sender: No OFD packet to send [14:42:49]OFD Sender: No OFD packet to send [14:42:54]OFD Sender: No OFD packet to send [14:42:59]OFD Sender: No OFD packet to send [14:43:04]OFD Sender: No OFD packet to send [14:43:09]OFD Sender: No OFD packet to send [14:43:14]OFD Sender: No OFD packet to send [14:43:19]OFD Sender: No OFD packet to send [14:43:24]OFD Sender: No OFD packet to send [14:43:29]OFD Sender: No OFD packet to send [14:43:34]OFD Sender: No OFD packet to send [14:43:39]OFD Sender: No OFD packet to send [14:43:44]OFD Sender: No OFD packet to send [14:43:49]OFD Sender: No OFD packet to send [14:43:54]OFD Sender: No OFD packet to send [14:43:59]OFD Sender: No OFD packet to send [14:44:04]OFD Sender: No OFD packet to send [14:44:09]OFD Sender: No OFD packet to send [14:44:14]OFD Sender: No OFD packet to send [14:44:19]OFD Sender: No OFD packet to send [14:44:24]OFD Sender: No OFD packet to send [14:44:29]OFD Sender: No OFD packet to send [14:44:34]OFD Sender: No OFD packet to send [14:44:39]OFD Sender: No OFD packet to send [14:44:44]OFD Sender: No OFD packet to send [14:44:49]OFD Sender: No OFD packet to send [14:44:54]OFD Sender: No OFD packet to send [14:44:59]OFD Sender: No OFD packet to send [14:45:04]OFD Sender: No OFD packet to send [14:45:09]OFD Sender: No OFD packet to send [14:45:14]OFD Sender: No OFD packet to send [14:45:19]OFD Sender: No OFD packet to send [14:45:24]OFD Sender: No OFD packet to send [14:45:29]OFD Sender: No OFD packet to send [14:45:34]OFD Sender: No OFD packet to send [14:45:39]OFD Sender: No OFD packet to send [14:45:44]OFD Sender: No OFD packet to send [14:45:49]OFD Sender: No OFD packet to send [14:45:54]OFD Sender: No OFD packet to send [14:45:59]OFD Sender: No OFD packet to send [14:46:04]OFD Sender: No OFD packet to send [14:46:09]OFD Sender: No OFD packet to send [14:46:14]OFD Sender: No OFD packet to send [14:46:19]OFD Sender: No OFD packet to send [14:46:24]OFD Sender: No OFD packet to send [14:46:29]OFD Sender: No OFD packet to send [14:46:34]OFD Sender: No OFD packet to send [14:46:39]OFD Sender: No OFD packet to send [14:46:44]OFD Sender: No OFD packet to send [14:46:49]OFD Sender: No OFD packet to send [14:46:54]OFD Sender: No OFD packet to send [14:46:59]OFD Sender: No OFD packet to send [14:47:04]OFD Sender: No OFD packet to send [14:47:09]OFD Sender: No OFD packet to send [14:47:14]OFD Sender: No OFD packet to send [14:47:19]OFD Sender: No OFD packet to send [14:47:24]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:23]accept exits with 9 [14:52:23]New connection [14:52:23]New thread 3067612516 created [14:52:23]Thread 3067469156 joined [14:52:23]Waiting for new connection... [14:52:23] Sock 9.Parse request [14:52:23]Sock 9.Check first char [14:52:23]Sock 9.First char is OK [14:52:23]request: POST /json_proto HTTP/1.0 [14:52:23]Method: POST [14:52:23]URL: /json_proto [14:52:23]Method is POST - this is cgi request [14:52:23]url: /json_proto [14:52:23]query_string will be loaded in cgi processing [14:52:23]execute_cgi json_proto POST (null) [14:52:23]execute_cgi path=json_proto method=POST [14:52:23]POST find Content-Length [14:52:23]Host: 172.17.53.196:8080 [14:52:23]Content-Length: 567 [14:52:23]Content-Type: application/json [14:52:23] [14:52:23]POST finish read [14:52:23]Found Content-Length = 567 [14:52:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34759", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:52:23]execute_script... [14:52:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34759", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:52:23]POST & json_proto [14:52:23]process_json_proto [14:52:23]json parsed OK: [14:52:23]protocol is kg_v1.0 [14:52:23]action value=close_receipt [14:52:23]process_action close_receipt [14:52:23]cmd_close_receipt [14:52:23]MH_GetDate [14:52:23]Write to MH i2c: F0 00 00 D4 01 C4 [14:52:23]Write i2c OK [14:52:23]MH_I2C_Read... [14:52:23]Read from MH i2c: F0 [14:52:23]MH_I2C_Read... [14:52:23]Read from MH i2c: F0 09 00 [14:52:23]MH_I2C_Read... [14:52:23]Read from MH i2c: F0 09 00 D4 01 00 28 BC 17 67 4F CD 9A 65 4A [14:52:23]GetLastDocTimeStamp 1729605550 [14:52:23]current date 1729608744 [14:52:23]FM_GetShiftState [14:52:23]SAM_PROTO_GetShiftState [14:52:23]wFMCommunicate request_size=4 [14:52:23]MH_SAM_APDU [14:52:23]CAPDU: 80 13 01 00 [14:52:23]Write to MH i2c: E2 08 00 D5 01 80 13 01 00 00 00 00 00 53 [14:52:23]Write i2c OK [14:52:23]MH_I2C_Read... [14:52:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:52:23]Read from MH i2c: E2 [14:52:23]MH_I2C_Read... [14:52:23]Read from MH i2c: E2 0E 00 [14:52:23]MH_I2C_Read... [14:52:23]Read from MH i2c: E2 0E 00 D5 01 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 A4 [14:52:23]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [14:52:23]wFMCommunicate OK [14:52:23]SAM_PROTO_GetShiftState done [14:52:23]FM_GetShiftState done [14:52:23]opened in 1729556951 [14:52:23]opened+sec_in_day 1729643351 [14:52:23]quantity*price = 13400 [14:52:23]sum+1 = 13401 [14:52:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 22 22.10.2024 14:52 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25001 ФПД: 225881200952547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T145224&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25001&fm=225881200952547&tin=02508201610067®Number=0000000000098147&sum=13400 0 [14:52:24]StoreToDocumentArchive [14:52:24]shift 457 fd 25001 [14:52:24]save to /storage/0457/doc_00025001 [14:52:24]save last doc name /storage/0457/doc_00025001 to /storage/kkm_last_doc_name [14:52:24]save OK [14:52:24]Clear old archive folders... [14:52:24]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:52:24]tlvbuf is 00AD25C0 [14:52:24]SAM_PROTO_ClearQueue [14:52:24]wFMCommunicate request_size=4 [14:52:24]MH_SAM_APDU [14:52:24]CAPDU: 80 09 00 00 [14:52:24]Write to MH i2c: E2 08 00 E2 01 80 09 00 00 00 00 00 00 55 [14:52:24]Write i2c OK [14:52:24]MH_I2C_Read... [14:52:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:52:24]Read from MH i2c: E2 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 E2 01 00 90 00 57 [14:52:24]RAPDU: 90 00 [14:52:24]wFMCommunicate OK [14:52:24]SAM_PROTO_ClearQueue done [14:52:24]KKMCreateOFDPacket [14:52:24]OFDProtocolAddRootSTLVToBuf [14:52:24]FM_MakeSignedData [14:52:24]FM_MakeSignedData [14:52:24]SAM_PROTO_SignData [14:52:24]wFMCommunicate request_size=4 [14:52:24]MH_SAM_APDU [14:52:24]CAPDU: 80 0D 01 02 [14:52:24]Write to MH i2c: E2 08 00 E3 01 80 0D 01 02 00 00 00 00 5D [14:52:24]Write i2c OK [14:52:24]MH_I2C_Read... [14:52:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:52:24]Read from MH i2c: E2 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 E3 01 00 90 00 58 [14:52:24]RAPDU: 90 00 [14:52:24]wFMCommunicate OK [14:52:24]wFMCommunicate request_size=255 [14:52:24]MH_SAM_APDU [14:52:24]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 28 BC 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A9 61 00 00 35 04 06 00 [14:52:24]Write to MH i2c: E2 02 01 E4 01 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 28 BC 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A9 61 00 00 35 04 06 00 00 00 41 [14:52:24]Write i2c OK [14:52:24]MH_I2C_Read... [14:52:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:52:24]Read from MH i2c: E2 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 E4 01 00 90 00 59 [14:52:24]RAPDU: 90 00 [14:52:24]wFMCommunicate OK [14:52:24]wFMCommunicate request_size=11 [14:52:24]MH_SAM_APDU [14:52:24]CAPDU: 80 0D 02 02 06 CD 70 10 BE 84 E3 [14:52:24]Write to MH i2c: E2 0E 00 E5 01 80 0D 02 02 06 00 CD 70 10 BE 84 E3 00 00 DE [14:52:24]Write i2c OK [14:52:24]MH_I2C_Read... [14:52:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:52:24]Read from MH i2c: E2 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 03 00 E5 01 00 90 00 5A [14:52:24]RAPDU: 90 00 [14:52:24]wFMCommunicate OK [14:52:24]wFMCommunicate request_size=4 [14:52:24]MH_SAM_APDU [14:52:24]CAPDU: 80 0D 03 02 [14:52:24]Write to MH i2c: E2 08 00 E6 01 80 0D 03 02 00 00 00 00 62 [14:52:24]Write i2c OK [14:52:24]MH_I2C_Read... [14:52:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:52:24]Read from MH i2c: E2 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 0B 00 [14:52:24]MH_I2C_Read... [14:52:24]Read from MH i2c: E2 0B 00 E6 01 00 25 71 AD A0 D3 7A 2F 33 90 00 F5 [14:52:24]RAPDU: 25 71 AD A0 D3 7A 2F 33 90 00 [14:52:24]wFMCommunicate OK [14:52:24]SAM_PROTO_SignData done [14:52:24]FM_MakeSignedData done [14:52:24]CreateOFDProtocolMessage [14:52:24]wFMCommunicate request_size=4 [14:52:24]MH_SAM_APDU [14:52:24]CAPDU: 80 11 00 00 [14:52:24]Write to MH i2c: E2 08 00 E7 01 80 11 00 00 00 00 00 00 62 [14:52:24]Write i2c OK [14:52:24]MH_I2C_Read... [14:52:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:52:25]Read from MH i2c: E2 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 17 00 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 17 00 E7 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B9 [14:52:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:52:25]wFMCommunicate OK [14:52:25]CreateOFDProtocolMessage done [14:52:25]OFDSenderStorePacket 25001 [14:52:25]StoreOFDPacket docnum=25001 [14:52:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 01 00 00 2A A2 08 01 5C 3F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 28 BC 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A9 61 00 00 35 04 06 00 CD 70 10 BE 84 E3 25 71 AD A0 D3 7A 2F 33 [14:52:25]CheckFolder [14:52:25]dirname=/storage/ofd_packets [14:52:25]CheckFolder done [14:52:25]ProducePacketName [14:52:25]name=ofd_packets/00025001 [14:52:25]NVStorageSaveData ofd_packets/00025001 [14:52:25]File name is /storage/ofd_packets/00025001 [14:52:25]Write 302 bytes [14:52:25]NVStorageSaveData done [14:52:25]OFDSenderStorePacket done [14:52:25]KKMCreateOFDPacket done [14:52:25]NVStorageSaveData kkm_last_timestamp [14:52:25]File name is /storage/kkm_last_timestamp [14:52:25]Write 4 bytes [14:52:25]NVStorageSaveData done [14:52:25]ExternCall_PrintAddStr [14:52:25]wPrintStart [14:52:25]Write to MH i2c: 01 00 00 E8 01 E9 [14:52:25]Write i2c OK [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: 01 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: 01 07 00 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: 01 07 00 E8 01 00 00 00 00 00 FF 0F FE [14:52:25]RasterBufferAndPrint [14:52:25]line Счет N : (3)34759 [14:52:25]line ИНН: 02508201610067 [14:52:25]line Контрольно-Кассовый Чек [14:52:25]line ПРОДАЖА [14:52:25]line Товар: 48744539 [14:52:25]line LD Compact Blue [14:52:25]line 1.000 * 134.00 [14:52:25]line = 134.00 [14:52:25]line НДС 12% НСП 1% [14:52:25]line > о реализуемом товаре [14:52:25]line ИТОГО: 134.00 [14:52:25]line НСП 1% : 1.19 [14:52:25]line НДС 12% : 14.23 [14:52:25]line Наличными: 134.00 [14:52:25]line Безнал.: 0.00 [14:52:25]line Место: АЗС № 161 "Партнер Нефть" [14:52:25]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [14:52:25]line СНО: Общий режим [14:52:25]line Чек 22 22.10.2024 14:52 [14:52:25]line Смена: 457 ФФД: 1.0 [14:52:25]line ЗНМ: 0300000240 [14:52:25]line РНМ: 0000000000098147 [14:52:25]line Версия ККМ: 001 [14:52:25]line ФМ: 0000000000965376 [14:52:25]line ФД: 25001 [14:52:25]line ФПД: 225881200952547 [14:52:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T145224&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25001&fm=225881200952547&tin=02508201610067®Number=0000000000098147&sum=13400 [14:52:25]line 0 [14:52:25]written 0, free lines is 4095 [14:52:25]OFD Sender: Processing packet 25001 [packets to send 5, broken 4] [14:52:25]ProducePacketName [14:52:25]name=ofd_packets/00025001 [14:52:25]OFD Sender: To server: pG, [14:52:25]CommunicateWithHost lk.salyk.kg:30040 [14:52:25]ConnectInit lk.salyk.kg [14:52:25]Connected sock=10 [14:52:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 01 00 00 2A A2 08 01 5C 3F 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 28 BC 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 A9 61 00 00 35 04 06 00 CD 70 10 BE 84 E3 25 71 AD A0 D3 7A 2F 33 [14:52:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 AA D3 47 00 09 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 39 36 35 33 37 36 10 04 04 00 A9 61 00 00 F4 03 04 00 A2 64 17 67 B6 04 01 00 00 AB 97 C5 0D 73 A2 62 09 [14:52:25]CommunicateWithHost err = 0 [14:52:25]CheckOFDResponse [14:52:25]1017 (14) - 77093643461234 [14:52:25]1041 (16) - 0000000000965376 [14:52:25]1040 (4) - 25001 [14:52:25]1012 (4) - 22.10.2024 08:38 [14:52:25]1206 (1) - 0 [14:52:25]OFD Sender: Remove packet 25001 [14:52:25]ProducePacketName [14:52:25]name=ofd_packets/00025001 [14:52:25]NVStorageDeleteData [14:52:25]Write to MH i2c: 01 00 00 10 02 12 [14:52:25]Write i2c OK [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: 01 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: 01 07 00 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: 01 07 00 10 02 00 00 00 00 00 ED 0C 12 [14:52:25]RasterBufferAndPrint [14:52:25]line [14:52:25]line [14:52:25]line [14:52:25]line [14:52:25]line [14:52:25]written 0, free lines is 3315 [14:52:25]process_action close_receipt done [14:52:25]requested_data is exist [14:52:25]produce_requested_data [14:52:25]requested_item fm.sn is exist - process it [14:52:25]wFMCommunicate request_size=4 [14:52:25]MH_SAM_APDU [14:52:25]CAPDU: 80 11 00 00 [14:52:25]Write to MH i2c: E2 08 00 17 02 80 11 00 00 00 00 00 00 93 [14:52:25]Write i2c OK [14:52:25]MH_I2C_Read... [14:52:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:52:25]Read from MH i2c: E2 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 17 00 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 17 00 17 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EA [14:52:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:52:25]wFMCommunicate OK [14:52:25]requested_item fd.num is exist - process it [14:52:25]SAM_PROTO_GetFieldsCounters [14:52:25]wFMCommunicate request_size=4 [14:52:25]MH_SAM_APDU [14:52:25]CAPDU: 80 13 00 00 [14:52:25]Write to MH i2c: E2 08 00 18 02 80 13 00 00 00 00 00 00 96 [14:52:25]Write i2c OK [14:52:25]MH_I2C_Read... [14:52:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:52:25]Read from MH i2c: E2 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 62 00 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 62 00 18 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A9 61 00 00 0E 04 04 00 C9 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 D5 [14:52:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 A9 61 00 00 0E 04 04 00 C9 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 [14:52:25]wFMCommunicate OK [14:52:25]SAM_PROTO_GetFieldsCounters done [14:52:25]requested_item shift.num is exist - process it [14:52:25]requested_item shift.opened is exist - process it [14:52:25]req_shift_opened [14:52:25]FM_GetShiftState [14:52:25]SAM_PROTO_GetShiftState [14:52:25]wFMCommunicate request_size=4 [14:52:25]MH_SAM_APDU [14:52:25]CAPDU: 80 13 01 00 [14:52:25]Write to MH i2c: E2 08 00 19 02 80 13 01 00 00 00 00 00 98 [14:52:25]Write i2c OK [14:52:25]MH_I2C_Read... [14:52:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:52:25]Read from MH i2c: E2 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 0E 00 [14:52:25]MH_I2C_Read... [14:52:25]Read from MH i2c: E2 0E 00 19 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E9 [14:52:25]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [14:52:25]wFMCommunicate OK [14:52:25]SAM_PROTO_GetShiftState done [14:52:25]FM_GetShiftState done [14:52:25]req_shift_opened done [14:52:25]requested_item shift.open_date is exist - process it [14:52:25]req_shift_open_date [14:52:25]req_shift_open_date done [14:52:25]produce_requested_data done [14:52:25]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25001,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [14:52:25]process_action_free close_receipt [14:52:25]json_value_free [14:52:25]json_value_free done [14:52:25]process_json_proto returns [14:52:25]Send response to host [14:52:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25001,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [14:52:25]free response buf [14:52:25]execute_script done [14:52:25]execute_script returns [14:52:25]free content buf [14:52:25]Sock 9.Close socket [14:52:25]Sock 9.Thread stoped [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [14:53:46]OFD Sender: No OFD packet to send [14:53:51]OFD Sender: No OFD packet to send [14:53:56]OFD Sender: No OFD packet to send [14:54:01]OFD Sender: No OFD packet to send [14:54:06]OFD Sender: No OFD packet to send [14:54:11]OFD Sender: No OFD packet to send [14:54:16]OFD Sender: No OFD packet to send [14:54:21]OFD Sender: No OFD packet to send [14:54:26]OFD Sender: No OFD packet to send [14:54:31]OFD Sender: No OFD packet to send [14:54:36]OFD Sender: No OFD packet to send [14:54:41]OFD Sender: No OFD packet to send [14:54:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]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:49]accept exits with 8 [14:57:49]New connection [14:57:49]New thread 3067469156 created [14:57:49]Thread 3067612516 joined [14:57:49]Waiting for new connection... [14:57:49] Sock 8.Parse request [14:57:49]Sock 8.Check first char [14:57:49]Sock 8.First char is OK [14:57:49]request: POST /json_proto HTTP/1.0 [14:57:49]Method: POST [14:57:49]URL: /json_proto [14:57:49]Method is POST - this is cgi request [14:57:49]url: /json_proto [14:57:49]query_string will be loaded in cgi processing [14:57:49]execute_cgi json_proto POST (null) [14:57:49]execute_cgi path=json_proto method=POST [14:57:49]POST find Content-Length [14:57:49]Host: 172.17.53.196:8080 [14:57:49]Content-Length: 910 [14:57:49]Content-Type: application/json [14:57:49] [14:57:49]POST finish read [14:57:49]Found Content-Length = 910 [14:57:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34760", "tax_sys" : 0, "items" : [ { "code": "4602441000609", "name": "\u041D\u0430\u043F\u0438\u0442 \u0414\u044E\u0448\u0435\u0441 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:49]execute_script... [14:57:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34760", "tax_sys" : 0, "items" : [ { "code": "4602441000609", "name": "\u041D\u0430\u043F\u0438\u0442 \u0414\u044E\u0448\u0435\u0441 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 255.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:57:49]POST & json_proto [14:57:49]process_json_proto [14:57:49]json parsed OK: [14:57:49]protocol is kg_v1.0 [14:57:49]action value=close_receipt [14:57:49]process_action close_receipt [14:57:49]cmd_close_receipt [14:57:49]MH_GetDate [14:57:49]Write to MH i2c: F0 00 00 1A 02 0B [14:57:49]Write i2c OK [14:57:49]MH_I2C_Read... [14:57:49]Read from MH i2c: F0 [14:57:49]MH_I2C_Read... [14:57:49]Read from MH i2c: F0 09 00 [14:57:49]MH_I2C_Read... [14:57:49]Read from MH i2c: F0 09 00 1A 02 00 6E BD 17 67 4F CD 9A 65 D8 [14:57:49]GetLastDocTimeStamp 1729608744 [14:57:49]current date 1729609070 [14:57:49]FM_GetShiftState [14:57:49]SAM_PROTO_GetShiftState [14:57:49]wFMCommunicate request_size=4 [14:57:49]MH_SAM_APDU [14:57:49]CAPDU: 80 13 01 00 [14:57:49]Write to MH i2c: E2 08 00 1B 02 80 13 01 00 00 00 00 00 9A [14:57:49]Write i2c OK [14:57:49]MH_I2C_Read... [14:57:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:49]Read from MH i2c: E2 [14:57:49]MH_I2C_Read... [14:57:49]Read from MH i2c: E2 0E 00 [14:57:49]MH_I2C_Read... [14:57:49]Read from MH i2c: E2 0E 00 1B 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 EB [14:57:49]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [14:57:49]wFMCommunicate OK [14:57:49]SAM_PROTO_GetShiftState done [14:57:49]FM_GetShiftState done [14:57:49]opened in 1729556951 [14:57:49]opened+sec_in_day 1729643351 [14:57:49]quantity*price = 20500 [14:57:49]sum+1 = 20501 [14:57:49]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 255.00 НСП 1% : 2.25 НДС 12% : 27.08 Наличными: 255.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 23 22.10.2024 14:57 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25002 ФПД: 211828824496838 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T145750&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25002&fm=211828824496838&tin=02508201610067®Number=0000000000098147&sum=25500 0 [14:57:50]StoreToDocumentArchive [14:57:50]shift 457 fd 25002 [14:57:50]save to /storage/0457/doc_00025002 [14:57:50]save last doc name /storage/0457/doc_00025002 to /storage/kkm_last_doc_name [14:57:50]save OK [14:57:50]Clear old archive folders... [14:57:50]ProcessDocumentItem done err = 0, tmpTLVsize=379 [14:57:50]tlvbuf is 00AE7910 [14:57:50]SAM_PROTO_ClearQueue [14:57:50]wFMCommunicate request_size=4 [14:57:50]MH_SAM_APDU [14:57:50]CAPDU: 80 09 00 00 [14:57:50]Write to MH i2c: E2 08 00 28 02 80 09 00 00 00 00 00 00 9C [14:57:50]Write i2c OK [14:57:50]MH_I2C_Read... [14:57:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:57:50]Read from MH i2c: E2 [14:57:50]MH_I2C_Read... [14:57:50]Read from MH i2c: E2 03 00 [14:57:50]MH_I2C_Read... [14:57:50]Read from MH i2c: E2 03 00 28 02 00 90 00 9E [14:57:50]RAPDU: 90 00 [14:57:50]wFMCommunicate OK [14:57:50]SAM_PROTO_ClearQueue done [14:57:50]KKMCreateOFDPacket [14:57:50]OFDProtocolAddRootSTLVToBuf [14:57:50]FM_MakeSignedData [14:57:50]FM_MakeSignedData [14:57:50]SAM_PROTO_SignData [14:57:50]wFMCommunicate request_size=4 [14:57:50]MH_SAM_APDU [14:57:50]CAPDU: 80 0D 01 02 [14:57:50]Write to MH i2c: E2 08 00 29 02 80 0D 01 02 00 00 00 00 A4 [14:57:50]Write i2c OK [14:57:50]MH_I2C_Read... [14:57:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:57:50]Read from MH i2c: E2 [14:57:50]MH_I2C_Read... [14:57:50]Read from MH i2c: E2 03 00 [14:57:50]MH_I2C_Read... [14:57:50]Read from MH i2c: E2 03 00 29 02 00 90 00 9F [14:57:50]RAPDU: 90 00 [14:57:50]wFMCommunicate OK [14:57:50]wFMCommunicate request_size=255 [14:57:50]MH_SAM_APDU [14:57:50]CAPDU: 80 0D 02 02 FA 03 00 7B 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 [14:57:50]Write to MH i2c: E2 02 01 2A 02 80 0D 02 02 FA 00 03 00 7B 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 00 B9 [14:57:50]Write i2c OK [14:57:50]MH_I2C_Read... [14:57:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:51]Read from MH i2c: E2 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 03 00 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 03 00 2A 02 00 90 00 A0 [14:57:51]RAPDU: 90 00 [14:57:51]wFMCommunicate OK [14:57:51]wFMCommunicate request_size=138 [14:57:51]MH_SAM_APDU [14:57:51]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 6E BD 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AA 61 00 00 35 04 06 00 C0 A8 3D D6 5A C6 [14:57:51]Write to MH i2c: E2 8D 00 2B 02 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 6E BD 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AA 61 00 00 35 04 06 00 C0 A8 3D D6 5A C6 00 00 B3 [14:57:51]Write i2c OK [14:57:51]MH_I2C_Read... [14:57:51]OFD Sender: No OFD packet to send [14:57:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:57:51]Read from MH i2c: E2 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 03 00 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 03 00 2B 02 00 90 00 A1 [14:57:51]RAPDU: 90 00 [14:57:51]wFMCommunicate OK [14:57:51]wFMCommunicate request_size=4 [14:57:51]MH_SAM_APDU [14:57:51]CAPDU: 80 0D 03 02 [14:57:51]Write to MH i2c: E2 08 00 2C 02 80 0D 03 02 00 00 00 00 A9 [14:57:51]Write i2c OK [14:57:51]MH_I2C_Read... [14:57:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:57:51]Read from MH i2c: E2 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 0B 00 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 0B 00 2C 02 00 C4 6B 99 CC 24 32 C6 5D 90 00 B7 [14:57:51]RAPDU: C4 6B 99 CC 24 32 C6 5D 90 00 [14:57:51]wFMCommunicate OK [14:57:51]SAM_PROTO_SignData done [14:57:51]FM_MakeSignedData done [14:57:51]CreateOFDProtocolMessage [14:57:51]wFMCommunicate request_size=4 [14:57:51]MH_SAM_APDU [14:57:51]CAPDU: 80 11 00 00 [14:57:51]Write to MH i2c: E2 08 00 2D 02 80 11 00 00 00 00 00 00 A9 [14:57:51]Write i2c OK [14:57:51]MH_I2C_Read... [14:57:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:51]Read from MH i2c: E2 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 17 00 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: E2 17 00 2D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 00 [14:57:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:57:51]wFMCommunicate OK [14:57:51]CreateOFDProtocolMessage done [14:57:51]OFDSenderStorePacket 25002 [14:57:51]StoreOFDPacket docnum=25002 [14:57:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8F 01 00 00 68 0B 87 01 98 A8 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 6E BD 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AA 61 00 00 35 04 06 00 C0 A8 3D D6 5A C6 C4 6B 99 CC 24 32 C6 5D [14:57:51]CheckFolder [14:57:51]dirname=/storage/ofd_packets [14:57:51]CheckFolder done [14:57:51]ProducePacketName [14:57:51]name=ofd_packets/00025002 [14:57:51]NVStorageSaveData ofd_packets/00025002 [14:57:51]File name is /storage/ofd_packets/00025002 [14:57:51]Write 429 bytes [14:57:51]NVStorageSaveData done [14:57:51]OFDSenderStorePacket done [14:57:51]KKMCreateOFDPacket done [14:57:51]NVStorageSaveData kkm_last_timestamp [14:57:51]File name is /storage/kkm_last_timestamp [14:57:51]Write 4 bytes [14:57:51]NVStorageSaveData done [14:57:51]ExternCall_PrintAddStr [14:57:51]wPrintStart [14:57:51]Write to MH i2c: 01 00 00 2E 02 30 [14:57:51]Write i2c OK [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: 01 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: 01 07 00 [14:57:51]MH_I2C_Read... [14:57:51]Read from MH i2c: 01 07 00 2E 02 00 00 00 00 00 FF 0F 45 [14:57:51]RasterBufferAndPrint [14:57:51]line Счет N : (3)34760 [14:57:51]line ИНН: 02508201610067 [14:57:51]line Контрольно-Кассовый Чек [14:57:51]line ПРОДАЖА [14:57:51]line Товар: 4602441000609 [14:57:51]line Напит Дюшес 1л стекло [14:57:51]line 1.000 * 205.00 [14:57:51]line = 205.00 [14:57:51]line НДС 12% НСП 1% [14:57:51]line > о реализуемом товаре [14:57:51]line Товар: 4700000160358 [14:57:51]line Вода Легенда 1л [14:57:51]line 1.000 * 50.00 [14:57:51]line = 50.00 [14:57:51]line НДС 12% НСП 1% [14:57:51]line > о реализуемом товаре [14:57:51]line ИТОГО: 255.00 [14:57:51]line НСП 1% : 2.25 [14:57:51]line НДС 12% : 27.08 [14:57:51]line Наличными: 255.00 [14:57:51]line Безнал.: 0.00 [14:57:51]line Место: АЗС № 161 "Партнер Нефть" [14:57:51]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [14:57:51]line СНО: Общий режим [14:57:51]line Чек 23 22.10.2024 14:57 [14:57:51]line Смена: 457 ФФД: 1.0 [14:57:51]line ЗНМ: 0300000240 [14:57:51]line РНМ: 0000000000098147 [14:57:51]line Версия ККМ: 001 [14:57:51]line ФМ: 0000000000965376 [14:57:51]line ФД: 25002 [14:57:51]line ФПД: 211828824496838 [14:57:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T145750&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25002&fm=211828824496838&tin=02508201610067®Number=0000000000098147&sum=25500 [14:57:51]line 0 [14:57:51]OFD Sender: Processing packet 25002 [packets to send 5, broken 4] [14:57:51]ProducePacketName [14:57:51]name=ofd_packets/00025002 [14:57:51]OFD Sender: To server: pG, [14:57:51]CommunicateWithHost lk.salyk.kg:30040 [14:57:51]ConnectInit lk.salyk.kg [14:57:51]written 0, free lines is 4095 [14:57:51]Connected sock=10 [14:57:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8F 01 00 00 68 0B 87 01 98 A8 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 9C 63 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 94 0A 00 00 00 00 07 04 06 00 9C 63 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 6E BD 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AA 61 00 00 35 04 06 00 C0 A8 3D D6 5A C6 C4 6B 99 CC 24 32 C6 5D [14:57:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 78 EF 47 00 50 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 39 36 35 33 37 36 10 04 04 00 AA 61 00 00 F4 03 04 00 E9 65 17 67 B6 04 01 00 00 42 3C 4D 08 32 04 A5 4C [14:57:52]CommunicateWithHost err = 0 [14:57:52]CheckOFDResponse [14:57:52]1017 (14) - 77093643461234 [14:57:52]1041 (16) - 0000000000965376 [14:57:52]1040 (4) - 25002 [14:57:52]1012 (4) - 22.10.2024 08:44 [14:57:52]1206 (1) - 0 [14:57:52]OFD Sender: Remove packet 25002 [14:57:52]ProducePacketName [14:57:52]name=ofd_packets/00025002 [14:57:52]NVStorageDeleteData [14:57:52]Write to MH i2c: 01 00 00 5C 02 5E [14:57:52]Write i2c OK [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: 01 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: 01 07 00 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: 01 07 00 5C 02 00 00 00 00 00 94 0C 05 [14:57:52]RasterBufferAndPrint [14:57:52]line [14:57:52]line [14:57:52]line [14:57:52]line [14:57:52]line [14:57:52]written 0, free lines is 3226 [14:57:52]process_action close_receipt done [14:57:52]requested_data is exist [14:57:52]produce_requested_data [14:57:52]requested_item fm.sn is exist - process it [14:57:52]wFMCommunicate request_size=4 [14:57:52]MH_SAM_APDU [14:57:52]CAPDU: 80 11 00 00 [14:57:52]Write to MH i2c: E2 08 00 63 02 80 11 00 00 00 00 00 00 DF [14:57:52]Write i2c OK [14:57:52]MH_I2C_Read... [14:57:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:57:52]Read from MH i2c: E2 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: E2 17 00 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: E2 17 00 63 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 36 [14:57:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [14:57:52]wFMCommunicate OK [14:57:52]requested_item fd.num is exist - process it [14:57:52]SAM_PROTO_GetFieldsCounters [14:57:52]wFMCommunicate request_size=4 [14:57:52]MH_SAM_APDU [14:57:52]CAPDU: 80 13 00 00 [14:57:52]Write to MH i2c: E2 08 00 64 02 80 13 00 00 00 00 00 00 E2 [14:57:52]Write i2c OK [14:57:52]MH_I2C_Read... [14:57:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:57:52]Read from MH i2c: E2 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: E2 62 00 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: E2 62 00 64 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AA 61 00 00 0E 04 04 00 C9 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 25 [14:57:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AA 61 00 00 0E 04 04 00 C9 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 [14:57:52]wFMCommunicate OK [14:57:52]SAM_PROTO_GetFieldsCounters done [14:57:52]requested_item shift.num is exist - process it [14:57:52]requested_item shift.opened is exist - process it [14:57:52]req_shift_opened [14:57:52]FM_GetShiftState [14:57:52]SAM_PROTO_GetShiftState [14:57:52]wFMCommunicate request_size=4 [14:57:52]MH_SAM_APDU [14:57:52]CAPDU: 80 13 01 00 [14:57:52]Write to MH i2c: E2 08 00 65 02 80 13 01 00 00 00 00 00 E4 [14:57:52]Write i2c OK [14:57:52]MH_I2C_Read... [14:57:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:57:52]Read from MH i2c: E2 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: E2 0E 00 [14:57:52]MH_I2C_Read... [14:57:52]Read from MH i2c: E2 0E 00 65 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 35 [14:57:52]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [14:57:52]wFMCommunicate OK [14:57:52]SAM_PROTO_GetShiftState done [14:57:52]FM_GetShiftState done [14:57:52]req_shift_opened done [14:57:52]requested_item shift.open_date is exist - process it [14:57:52]req_shift_open_date [14:57:52]req_shift_open_date done [14:57:52]produce_requested_data done [14:57:52]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25002,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [14:57:52]process_action_free close_receipt [14:57:52]json_value_free [14:57:52]json_value_free done [14:57:52]process_json_proto returns [14:57:52]Send response to host [14:57:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25002,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [14:57:52]free response buf [14:57:52]execute_script done [14:57:52]execute_script returns [14:57:52]free content buf [14:57:52]Sock 8.Close socket [14:57:52]Sock 8.Thread stoped [14:57:52]OFD Sender: No OFD packet to send [14:57:57]OFD Sender: No OFD packet to send [14:58:02]OFD Sender: No OFD packet to send [14:58:07]OFD Sender: No OFD packet to send [14:58:12]OFD Sender: No OFD packet to send [14:58:17]OFD Sender: No OFD packet to send [14:58:22]OFD Sender: No OFD packet to send [14:58:27]OFD Sender: No OFD packet to send [14:58:32]OFD Sender: No OFD packet to send [14:58:37]OFD Sender: No OFD packet to send [14:58:42]OFD Sender: No OFD packet to send [14:58:47]OFD Sender: No OFD packet to send [14:58:52]OFD Sender: No OFD packet to send [14:58:57]OFD Sender: No OFD packet to send [14:59:02]OFD Sender: No OFD packet to send [14:59:07]OFD Sender: No OFD packet to send [14:59:12]OFD Sender: No OFD packet to send [14:59:17]OFD Sender: No OFD packet to send [14:59:22]OFD Sender: No OFD packet to send [14:59:27]OFD Sender: No OFD packet to send [14:59:32]OFD Sender: No OFD packet to send [14:59:37]OFD Sender: No OFD packet to send [14:59:42]OFD Sender: No OFD packet to send [14:59:47]OFD Sender: No OFD packet to send [14:59:52]OFD Sender: No OFD packet to send [14:59:57]OFD Sender: No OFD packet to send [15:00:02]OFD Sender: No OFD packet to send [15:00:07]OFD Sender: No OFD packet to send [15:00:12]OFD Sender: No OFD packet to send [15:00:17]OFD Sender: No OFD packet to send [15:00:22]OFD Sender: No OFD packet to send [15:00:27]OFD Sender: No OFD packet to send [15:00:32]OFD Sender: No OFD packet to send [15:00:37]OFD Sender: No OFD packet to send [15:00:42]OFD Sender: No OFD packet to send [15:00:47]OFD Sender: No OFD packet to send [15:00:52]OFD Sender: No OFD packet to send [15:00:57]OFD Sender: No OFD packet to send [15:01:02]OFD Sender: No OFD packet to send [15:01:07]OFD Sender: No OFD packet to send [15:01:12]OFD Sender: No OFD packet to send [15:01:17]OFD Sender: No OFD packet to send [15:01:22]OFD Sender: No OFD packet to send [15:01:27]OFD Sender: No OFD packet to send [15:01:32]OFD Sender: No OFD packet to send [15:01:37]OFD Sender: No OFD packet to send [15:01:42]OFD Sender: No OFD packet to send [15:01:47]OFD Sender: No OFD packet to send [15:01:52]OFD Sender: No OFD packet to send [15:01:57]OFD Sender: No OFD packet to send [15:02:02]OFD Sender: No OFD packet to send [15:02:07]OFD Sender: No OFD packet to send [15:02:12]OFD Sender: No OFD packet to send [15:02:17]OFD Sender: No OFD packet to send [15:02:22]OFD Sender: No OFD packet to send [15:02:27]OFD Sender: No OFD packet to send [15:02:32]OFD Sender: No OFD packet to send [15:02:37]OFD Sender: No OFD packet to send [15:02:42]OFD Sender: No OFD packet to send [15:02:47]OFD Sender: No OFD packet to send [15:02:52]OFD Sender: No OFD packet to send [15:02:57]OFD Sender: No OFD packet to send [15:03:02]OFD Sender: No OFD packet to send [15:03:07]OFD Sender: No OFD packet to send [15:03:12]OFD Sender: No OFD packet to send [15:03:17]OFD Sender: No OFD packet to send [15:03:22]OFD Sender: No OFD packet to send [15:03:27]OFD Sender: No OFD packet to send [15:03:32]OFD Sender: No OFD packet to send [15:03:37]OFD Sender: No OFD packet to send [15:03:42]OFD Sender: No OFD packet to send [15:03:47]OFD Sender: No OFD packet to send [15:03:52]OFD Sender: No OFD packet to send [15:03:57]OFD Sender: No OFD packet to send [15:04:02]OFD Sender: No OFD packet to send [15:04:07]OFD Sender: No OFD packet to send [15:04:12]OFD Sender: No OFD packet to send [15:04:17]OFD Sender: No OFD packet to send [15:04:22]OFD Sender: No OFD packet to send [15:04:27]OFD Sender: No OFD packet to send [15:04:32]OFD Sender: No OFD packet to send [15:04:37]OFD Sender: No OFD packet to send [15:04:42]OFD Sender: No OFD packet to send [15:04:47]OFD Sender: No OFD packet to send [15:04:52]OFD Sender: No OFD packet to send [15:04:57]OFD Sender: No OFD packet to send [15:05:03]OFD Sender: No OFD packet to send [15:05:08]OFD Sender: No OFD packet to send [15:05:13]OFD Sender: No OFD packet to send [15:05:18]OFD Sender: No OFD packet to send [15:05:23]OFD Sender: No OFD packet to send [15:05:28]OFD Sender: No OFD packet to send [15:05:33]OFD Sender: No OFD packet to send [15:05:38]OFD Sender: No OFD packet to send [15:05:43]OFD Sender: No OFD packet to send [15:05:48]OFD Sender: No OFD packet to send [15:05:53]OFD Sender: No OFD packet to send [15:05:58]OFD Sender: No OFD packet to send [15:06:03]OFD Sender: No OFD packet to send [15:06:08]OFD Sender: No OFD packet to send [15:06:13]OFD Sender: No OFD packet to send [15:06:18]OFD Sender: No OFD packet to send [15:06:23]OFD Sender: No OFD packet to send [15:06:28]OFD Sender: No OFD packet to send [15:06:33]OFD Sender: No OFD packet to send [15:06:38]OFD Sender: No OFD packet to send [15:06:43]OFD Sender: No OFD packet to send [15:06:48]OFD Sender: No OFD packet to send [15:06:53]OFD Sender: No OFD packet to send [15:06:58]OFD Sender: No OFD packet to send [15:07:03]OFD Sender: No OFD packet to send [15:07:08]OFD Sender: No OFD packet to send [15:07:13]OFD Sender: No OFD packet to send [15:07:18]OFD Sender: No OFD packet to send [15:07:23]OFD Sender: No OFD packet to send [15:07:28]OFD Sender: No OFD packet to send [15:07:33]OFD Sender: No OFD packet to send [15:07:38]OFD Sender: No OFD packet to send [15:07:43]OFD Sender: No OFD packet to send [15:07:48]OFD Sender: No OFD packet to send [15:07:53]OFD Sender: No OFD packet to send [15:07:58]OFD Sender: No OFD packet to send [15:08:03]OFD Sender: No OFD packet to send [15:08:08]OFD Sender: No OFD packet to send [15:08:13]OFD Sender: No OFD packet to send [15:08:18]OFD Sender: No OFD packet to send [15:08:23]OFD Sender: No OFD packet to send [15:08:28]OFD Sender: No OFD packet to send [15:08:33]OFD Sender: No OFD packet to send [15:08:38]OFD Sender: No OFD packet to send [15:08:43]OFD Sender: No OFD packet to send [15:08:48]OFD Sender: No OFD packet to send [15:08:53]OFD Sender: No OFD packet to send [15:08:58]OFD Sender: No OFD packet to send [15:09:03]OFD Sender: No OFD packet to send [15:09:08]OFD Sender: No OFD packet to send [15:09:13]OFD Sender: No OFD packet to send [15:09:18]OFD Sender: No OFD packet to send [15:09:23]OFD Sender: No OFD packet to send [15:09:28]OFD Sender: No OFD packet to send [15:09:33]OFD Sender: No OFD packet to send [15:09:38]OFD Sender: No OFD packet to send [15:09:43]OFD Sender: No OFD packet to send [15:09:48]OFD Sender: No OFD packet to send [15:09:53]OFD Sender: No OFD packet to send [15:09:58]OFD Sender: No OFD packet to send [15:10:03]OFD Sender: No OFD packet to send [15:10:08]OFD Sender: No OFD packet to send [15:10:13]OFD Sender: No OFD packet to send [15:10:18]OFD Sender: No OFD packet to send [15:10:23]OFD Sender: No OFD packet to send [15:10:28]OFD Sender: No OFD packet to send [15:10:33]OFD Sender: No OFD packet to send [15:10:38]OFD Sender: No OFD packet to send [15:10:43]OFD Sender: No OFD packet to send [15:10:48]OFD Sender: No OFD packet to send [15:10:53]OFD Sender: No OFD packet to send [15:10:58]OFD Sender: No OFD packet to send [15:11:03]OFD Sender: No OFD packet to send [15:11:08]OFD Sender: No OFD packet to send [15:11:13]OFD Sender: No OFD packet to send [15:11:18]OFD Sender: No OFD packet to send [15:11:23]OFD Sender: No OFD packet to send [15:11:28]OFD Sender: No OFD packet to send [15:11:33]OFD Sender: No OFD packet to send [15:11:38]OFD Sender: No OFD packet to send [15:11:43]OFD Sender: No OFD packet to send [15:11:48]OFD Sender: No OFD packet to send [15:11:53]OFD Sender: No OFD packet to send [15:11:58]OFD Sender: No OFD packet to send [15:12:03]OFD Sender: No OFD packet to send [15:12:08]OFD Sender: No OFD packet to send [15:12:13]OFD Sender: No OFD packet to send [15:12:18]OFD Sender: No OFD packet to send [15:12:23]OFD Sender: No OFD packet to send [15:12:28]OFD Sender: No OFD packet to send [15:12:33]OFD Sender: No OFD packet to send [15:12:38]OFD Sender: No OFD packet to send [15:12:43]OFD Sender: No OFD packet to send [15:12:48]OFD Sender: No OFD packet to send [15:12:53]OFD Sender: No OFD packet to send [15:12:58]OFD Sender: No OFD packet to send [15:13:03]OFD Sender: No OFD packet to send [15:13:08]OFD Sender: No OFD packet to send [15:13:13]OFD Sender: No OFD packet to send [15:13:18]OFD Sender: No OFD packet to send [15:13:23]OFD Sender: No OFD packet to send [15:13:28]OFD Sender: No OFD packet to send [15:13:33]OFD Sender: No OFD packet to send [15:13:38]OFD Sender: No OFD packet to send [15:13:43]OFD Sender: No OFD packet to send [15:13:48]OFD Sender: No OFD packet to send [15:13:53]OFD Sender: No OFD packet to send [15:13:58]OFD Sender: No OFD packet to send [15:14:03]OFD Sender: No OFD packet to send [15:14:08]OFD Sender: No OFD packet to send [15:14:13]OFD Sender: No OFD packet to send [15:14:18]OFD Sender: No OFD packet to send [15:14:23]OFD Sender: No OFD packet to send [15:14:28]OFD Sender: No OFD packet to send [15:14:33]OFD Sender: No OFD packet to send [15:14:38]OFD Sender: No OFD packet to send [15:14:43]OFD Sender: No OFD packet to send [15:14:48]OFD Sender: No OFD packet to send [15:14:53]OFD Sender: No OFD packet to send [15:14:58]OFD Sender: No OFD packet to send [15:15:03]OFD Sender: No OFD packet to send [15:15:08]OFD Sender: No OFD packet to send [15:15:13]OFD Sender: No OFD packet to send [15:15:18]OFD Sender: No OFD packet to send [15:15:23]OFD Sender: No OFD packet to send [15:15:28]OFD Sender: No OFD packet to send [15:15:33]OFD Sender: No OFD packet to send [15:15:38]OFD Sender: No OFD packet to send [15:15:43]OFD Sender: No OFD packet to send [15:15:48]OFD Sender: No OFD packet to send [15:15:53]OFD Sender: No OFD packet to send [15:15:58]OFD Sender: No OFD packet to send [15:16:03]OFD Sender: No OFD packet to send [15:16:08]OFD Sender: No OFD packet to send [15:16:13]OFD Sender: No OFD packet to send [15:16:18]OFD Sender: No OFD packet to send [15:16:23]OFD Sender: No OFD packet to send [15:16:28]OFD Sender: No OFD packet to send [15:16:33]OFD Sender: No OFD packet to send [15:16:38]OFD Sender: No OFD packet to send [15:16:43]OFD Sender: No OFD packet to send [15:16:48]OFD Sender: No OFD packet to send [15:16:53]OFD Sender: No OFD packet to send [15:16:58]OFD Sender: No OFD packet to send [15:17:03]OFD Sender: No OFD packet to send [15:17:08]OFD Sender: No OFD packet to send [15:17:13]OFD Sender: No OFD packet to send [15:17:18]OFD Sender: No OFD packet to send [15:17:23]OFD Sender: No OFD packet to send [15:17:28]OFD Sender: No OFD packet to send [15:17:33]OFD Sender: No OFD packet to send [15:17:38]OFD Sender: No OFD packet to send [15:17:43]OFD Sender: No OFD packet to send [15:17:48]OFD Sender: No OFD packet to send [15:17:53]OFD Sender: No OFD packet to send [15:17:58]OFD Sender: No OFD packet to send [15:18:03]OFD Sender: No OFD packet to send [15:18:08]OFD Sender: No OFD packet to send [15:18:13]OFD Sender: No OFD packet to send [15:18:18]OFD Sender: No OFD packet to send [15:18:23]OFD Sender: No OFD packet to send [15:18:28]OFD Sender: No OFD packet to send [15:18:33]OFD Sender: No OFD packet to send [15:18:38]OFD Sender: No OFD packet to send [15:18:43]OFD Sender: No OFD packet to send [15:18:48]OFD Sender: No OFD packet to send [15:18:53]OFD Sender: No OFD packet to send [15:18:58]OFD Sender: No OFD packet to send [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:28]OFD Sender: No OFD packet to send [15:22:33]OFD Sender: No OFD packet to send [15:22:38]OFD Sender: No OFD packet to send [15:22:43]OFD Sender: No OFD packet to send [15:22:48]OFD Sender: No OFD packet to send [15:22:53]OFD Sender: No OFD packet to send [15:22:58]OFD Sender: No OFD packet to send [15:23:03]OFD Sender: No OFD packet to send [15:23:08]OFD Sender: No OFD packet to send [15:23:13]OFD Sender: No OFD packet to send [15:23:18]OFD Sender: No OFD packet to send [15:23:23]OFD Sender: No OFD packet to send [15:23:28]OFD Sender: No OFD packet to send [15:23:33]OFD Sender: No OFD packet to send [15:23:38]OFD Sender: No OFD packet to send [15:23:43]OFD Sender: No OFD packet to send [15:23:48]OFD Sender: No OFD packet to send [15:23:53]OFD Sender: No OFD packet to send [15:23:58]OFD Sender: No OFD packet to send [15:24:03]OFD Sender: No OFD packet to send [15:24:08]OFD Sender: No OFD packet to send [15:24:13]OFD Sender: No OFD packet to send [15:24:18]OFD Sender: No OFD packet to send [15:24:23]OFD Sender: No OFD packet to send [15:24:28]OFD Sender: No OFD packet to send [15:24:33]OFD Sender: No OFD packet to send [15:24:38]OFD Sender: No OFD packet to send [15:24:43]OFD Sender: No OFD packet to send [15:24:48]OFD Sender: No OFD packet to send [15:24:53]OFD Sender: No OFD packet to send [15:24:58]OFD Sender: No OFD packet to send [15:25:03]OFD Sender: No OFD packet to send [15:25:08]OFD Sender: No OFD packet to send [15:25:13]OFD Sender: No OFD packet to send [15:25:18]OFD Sender: No OFD packet to send [15:25:23]OFD Sender: No OFD packet to send [15:25:28]OFD Sender: No OFD packet to send [15:25:33]OFD Sender: No OFD packet to send [15:25:38]OFD Sender: No OFD packet to send [15:25:43]OFD Sender: No OFD packet to send [15:25:48]OFD Sender: No OFD packet to send [15:25:53]OFD Sender: No OFD packet to send [15:25:58]OFD Sender: No OFD packet to send [15:26:03]OFD Sender: No OFD packet to send [15:26:08]OFD Sender: No OFD packet to send [15:26:13]OFD Sender: No OFD packet to send [15:26:18]OFD Sender: No OFD packet to send [15:26:23]OFD Sender: No OFD packet to send [15:26:28]OFD Sender: No OFD packet to send [15:26:33]OFD Sender: No OFD packet to send [15:26:38]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:54]OFD Sender: No OFD packet to send [15:28:59]OFD Sender: No OFD packet to send [15:29:04]OFD Sender: No OFD packet to send [15:29:09]OFD Sender: No OFD packet to send [15:29:14]OFD Sender: No OFD packet to send [15:29:19]OFD Sender: No OFD packet to send [15:29:24]OFD Sender: No OFD packet to send [15:29:29]OFD Sender: No OFD packet to send [15:29:34]OFD Sender: No OFD packet to send [15:29:39]OFD Sender: No OFD packet to send [15:29:44]OFD Sender: No OFD packet to send [15:29:49]OFD Sender: No OFD packet to send [15:29:54]OFD Sender: No OFD packet to send [15:29:59]OFD Sender: No OFD packet to send [15:30:04]OFD Sender: No OFD packet to send [15:30:09]OFD Sender: No OFD packet to send [15:30:14]OFD Sender: No OFD packet to send [15:30:19]OFD Sender: No OFD packet to send [15:30:24]OFD Sender: No OFD packet to send [15:30:29]OFD Sender: No OFD packet to send [15:30:34]OFD Sender: No OFD packet to send [15:30:39]OFD Sender: No OFD packet to send [15:30:44]OFD Sender: No OFD packet to send [15:30:49]OFD Sender: No OFD packet to send [15:30:54]OFD Sender: No OFD packet to send [15:30:59]OFD Sender: No OFD packet to send [15:31:04]OFD Sender: No OFD packet to send [15:31:09]OFD Sender: No OFD packet to send [15:31:14]OFD Sender: No OFD packet to send [15:31:19]OFD Sender: No OFD packet to send [15:31:24]OFD Sender: No OFD packet to send [15:31:29]OFD Sender: No OFD packet to send [15:31:34]OFD Sender: No OFD packet to send [15:31:39]OFD Sender: No OFD packet to send [15:31:44]OFD Sender: No OFD packet to send [15:31:49]OFD Sender: No OFD packet to send [15:31:54]OFD Sender: No OFD packet to send [15:31:59]OFD Sender: No OFD packet to send [15:32:04]OFD Sender: No OFD packet to send [15:32:09]OFD Sender: No OFD packet to send [15:32:14]OFD Sender: No OFD packet to send [15:32:19]OFD Sender: No OFD packet to send [15:32:24]OFD Sender: No OFD packet to send [15:32:29]OFD Sender: No OFD packet to send [15:32:34]OFD Sender: No OFD packet to send [15:32:39]OFD Sender: No OFD packet to send [15:32:44]OFD Sender: No OFD packet to send [15:32:49]OFD Sender: No OFD packet to send [15:32:54]OFD Sender: No OFD packet to send [15:32:59]OFD Sender: No OFD packet to send [15:33:04]OFD Sender: No OFD packet to send [15:33:09]OFD Sender: No OFD packet to send [15:33:14]OFD Sender: No OFD packet to send [15:33:19]OFD Sender: No OFD packet to send [15:33:24]OFD Sender: No OFD packet to send [15:33:29]OFD Sender: No OFD packet to send [15:33:34]OFD Sender: No OFD packet to send [15:33:39]OFD Sender: No OFD packet to send [15:33:44]OFD Sender: No OFD packet to send [15:33:49]OFD Sender: No OFD packet to send [15:33:54]OFD Sender: No OFD packet to send [15:33:59]OFD Sender: No OFD packet to send [15:34:04]OFD Sender: No OFD packet to send [15:34:09]OFD Sender: No OFD packet to send [15:34:14]OFD Sender: No OFD packet to send [15:34:19]OFD Sender: No OFD packet to send [15:34:24]OFD Sender: No OFD packet to send [15:34:29]OFD Sender: No OFD packet to send [15:34:34]OFD Sender: No OFD packet to send [15:34:39]OFD Sender: No OFD packet to send [15:34:44]OFD Sender: No OFD packet to send [15:34:49]OFD Sender: No OFD packet to send [15:34:54]OFD Sender: No OFD packet to send [15:34:59]OFD Sender: No OFD packet to send [15:35:04]OFD Sender: No OFD packet to send [15:35:09]OFD Sender: No OFD packet to send [15:35:14]OFD Sender: No OFD packet to send [15:35:19]OFD Sender: No OFD packet to send [15:35:20]accept exits with 9 [15:35:20]New connection [15:35:20]New thread 3067612516 created [15:35:20]Thread 3067469156 joined [15:35:20]Waiting for new connection... [15:35:20] Sock 9.Parse request [15:35:20]Sock 9.Check first char [15:35:20]Sock 9.First char is OK [15:35:20]request: POST /json_proto HTTP/1.0 [15:35:20]Method: POST [15:35:20]URL: /json_proto [15:35:20]Method is POST - this is cgi request [15:35:20]url: /json_proto [15:35:20]query_string will be loaded in cgi processing [15:35:20]execute_cgi json_proto POST (null) [15:35:20]execute_cgi path=json_proto method=POST [15:35:20]POST find Content-Length [15:35:20]Host: 172.17.53.196:8080 [15:35:20]Content-Length: 621 [15:35:20]Content-Type: application/json [15:35:20] [15:35:20]POST finish read [15:35:20]Found Content-Length = 621 [15:35:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34761", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:20]execute_script... [15:35:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34761", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:35:20]POST & json_proto [15:35:20]process_json_proto [15:35:20]json parsed OK: [15:35:20]protocol is kg_v1.0 [15:35:20]action value=close_receipt [15:35:20]process_action close_receipt [15:35:20]cmd_close_receipt [15:35:20]MH_GetDate [15:35:20]Write to MH i2c: F0 00 00 66 02 57 [15:35:20]Write i2c OK [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: F0 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: F0 09 00 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: F0 09 00 66 02 00 39 C6 17 67 4F CD 9A 65 F8 [15:35:20]GetLastDocTimeStamp 1729609070 [15:35:20]current date 1729611321 [15:35:20]FM_GetShiftState [15:35:20]SAM_PROTO_GetShiftState [15:35:20]wFMCommunicate request_size=4 [15:35:20]MH_SAM_APDU [15:35:20]CAPDU: 80 13 01 00 [15:35:20]Write to MH i2c: E2 08 00 67 02 80 13 01 00 00 00 00 00 E6 [15:35:20]Write i2c OK [15:35:20]MH_I2C_Read... [15:35:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:20]Read from MH i2c: E2 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: E2 0E 00 [15:35:20]MH_I2C_Read... [15:35:20]Read from MH i2c: E2 0E 00 67 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 37 [15:35:20]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:35:20]wFMCommunicate OK [15:35:20]SAM_PROTO_GetShiftState done [15:35:20]FM_GetShiftState done [15:35:20]opened in 1729556951 [15:35:20]opened+sec_in_day 1729643351 [15:35:20]quantity*price = 16000 [15:35:20]sum+1 = 16001 [15:35:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 24 22.10.2024 15:35 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25003 ФПД: 44036192256237 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153521&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25003&fm=44036192256237&tin=02508201610067®Number=0000000000098147&sum=16000 0 [15:35:21]StoreToDocumentArchive [15:35:21]shift 457 fd 25003 [15:35:21]save to /storage/0457/doc_00025003 [15:35:21]save last doc name /storage/0457/doc_00025003 to /storage/kkm_last_doc_name [15:35:21]save OK [15:35:21]Clear old archive folders... [15:35:21]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:35:21]tlvbuf is 00AB5600 [15:35:21]SAM_PROTO_ClearQueue [15:35:21]wFMCommunicate request_size=4 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 09 00 00 [15:35:21]Write to MH i2c: E2 08 00 74 02 80 09 00 00 00 00 00 00 E8 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 74 02 00 90 00 EA [15:35:21]RAPDU: 90 00 [15:35:21]wFMCommunicate OK [15:35:21]SAM_PROTO_ClearQueue done [15:35:21]KKMCreateOFDPacket [15:35:21]OFDProtocolAddRootSTLVToBuf [15:35:21]FM_MakeSignedData [15:35:21]FM_MakeSignedData [15:35:21]SAM_PROTO_SignData [15:35:21]wFMCommunicate request_size=4 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 0D 01 02 [15:35:21]Write to MH i2c: E2 08 00 75 02 80 0D 01 02 00 00 00 00 F0 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 75 02 00 90 00 EB [15:35:21]RAPDU: 90 00 [15:35:21]wFMCommunicate OK [15:35:21]wFMCommunicate request_size=255 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 39 C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [15:35:21]Write to MH i2c: E2 02 01 76 02 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 39 C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 A4 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 76 02 00 90 00 EC [15:35:21]RAPDU: 90 00 [15:35:21]wFMCommunicate OK [15:35:21]wFMCommunicate request_size=33 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AB 61 00 00 35 04 06 00 28 0C F9 98 C0 ED [15:35:21]Write to MH i2c: E2 24 00 77 02 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AB 61 00 00 35 04 06 00 28 0C F9 98 C0 ED 00 00 04 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 03 00 77 02 00 90 00 ED [15:35:21]RAPDU: 90 00 [15:35:21]wFMCommunicate OK [15:35:21]wFMCommunicate request_size=4 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 0D 03 02 [15:35:21]Write to MH i2c: E2 08 00 78 02 80 0D 03 02 00 00 00 00 F5 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 0B 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 0B 00 78 02 00 78 57 21 8D 72 2E EF 20 90 00 22 [15:35:21]RAPDU: 78 57 21 8D 72 2E EF 20 90 00 [15:35:21]wFMCommunicate OK [15:35:21]SAM_PROTO_SignData done [15:35:21]FM_MakeSignedData done [15:35:21]CreateOFDProtocolMessage [15:35:21]wFMCommunicate request_size=4 [15:35:21]MH_SAM_APDU [15:35:21]CAPDU: 80 11 00 00 [15:35:21]Write to MH i2c: E2 08 00 79 02 80 11 00 00 00 00 00 00 F5 [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:21]Read from MH i2c: E2 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 17 00 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: E2 17 00 79 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 4C [15:35:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:35:21]wFMCommunicate OK [15:35:21]CreateOFDProtocolMessage done [15:35:21]OFDSenderStorePacket 25003 [15:35:21]StoreOFDPacket docnum=25003 [15:35:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 62 7A 1E 01 20 FE 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 39 C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AB 61 00 00 35 04 06 00 28 0C F9 98 C0 ED 78 57 21 8D 72 2E EF 20 [15:35:21]CheckFolder [15:35:21]dirname=/storage/ofd_packets [15:35:21]CheckFolder done [15:35:21]ProducePacketName [15:35:21]name=ofd_packets/00025003 [15:35:21]NVStorageSaveData ofd_packets/00025003 [15:35:21]File name is /storage/ofd_packets/00025003 [15:35:21]Write 324 bytes [15:35:21]NVStorageSaveData done [15:35:21]OFDSenderStorePacket done [15:35:21]KKMCreateOFDPacket done [15:35:21]NVStorageSaveData kkm_last_timestamp [15:35:21]File name is /storage/kkm_last_timestamp [15:35:21]Write 4 bytes [15:35:21]NVStorageSaveData done [15:35:21]ExternCall_PrintAddStr [15:35:21]wPrintStart [15:35:21]Write to MH i2c: 01 00 00 7A 02 7C [15:35:21]Write i2c OK [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: 01 [15:35:21]MH_I2C_Read... [15:35:21]Read from MH i2c: 01 07 00 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: 01 07 00 7A 02 00 00 00 00 00 FF 0F 91 [15:35:22]RasterBufferAndPrint [15:35:22]line Счет N : (3)34761 [15:35:22]line ИНН: 02508201610067 [15:35:22]line Контрольно-Кассовый Чек [15:35:22]line ПРОДАЖА [15:35:22]line Товар: 48741958 [15:35:22]line Сигареты Parliament Aqua Blue [15:35:22]line 1.000 * 160.00 [15:35:22]line = 160.00 [15:35:22]line НДС 12% НСП 1% [15:35:22]line > о реализуемом товаре [15:35:22]line ИТОГО: 160.00 [15:35:22]line НСП 1% : 1.42 [15:35:22]line НДС 12% : 16.99 [15:35:22]line Наличными: 160.00 [15:35:22]line Безнал.: 0.00 [15:35:22]line Место: АЗС № 161 "Партнер Нефть" [15:35:22]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:35:22]line СНО: Общий режим [15:35:22]line Чек 24 22.10.2024 15:35 [15:35:22]line Смена: 457 ФФД: 1.0 [15:35:22]line ЗНМ: 0300000240 [15:35:22]line РНМ: 0000000000098147 [15:35:22]line Версия ККМ: 001 [15:35:22]line ФМ: 0000000000965376 [15:35:22]line ФД: 25003 [15:35:22]line ФПД: 44036192256237 [15:35:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153521&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25003&fm=44036192256237&tin=02508201610067®Number=0000000000098147&sum=16000 [15:35:22]line 0 [15:35:22]written 0, free lines is 4095 [15:35:22]OFD Sender: Processing packet 25003 [packets to send 5, broken 4] [15:35:22]ProducePacketName [15:35:22]name=ofd_packets/00025003 [15:35:22]OFD Sender: To server: pG, [15:35:22]CommunicateWithHost lk.salyk.kg:30040 [15:35:22]ConnectInit lk.salyk.kg [15:35:22]Connected sock=10 [15:35:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 62 7A 1E 01 20 FE 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 39 C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AB 61 00 00 35 04 06 00 28 0C F9 98 C0 ED 78 57 21 8D 72 2E EF 20 [15:35:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 8F 5F 47 00 12 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AB 61 00 00 F4 03 04 00 B3 6E 17 67 B6 04 01 00 00 C9 D3 45 47 81 A4 F5 B5 [15:35:22]CommunicateWithHost err = 0 [15:35:22]CheckOFDResponse [15:35:22]1017 (14) - 77093643461234 [15:35:22]1041 (16) - 0000000000965376 [15:35:22]1040 (4) - 25003 [15:35:22]1012 (4) - 22.10.2024 09:21 [15:35:22]1206 (1) - 0 [15:35:22]OFD Sender: Remove packet 25003 [15:35:22]ProducePacketName [15:35:22]name=ofd_packets/00025003 [15:35:22]NVStorageDeleteData [15:35:22]Write to MH i2c: 01 00 00 A3 02 A5 [15:35:22]Write i2c OK [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: 01 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: 01 07 00 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: 01 07 00 A3 02 00 00 00 00 00 D0 0C 88 [15:35:22]RasterBufferAndPrint [15:35:22]line [15:35:22]line [15:35:22]line [15:35:22]line [15:35:22]line [15:35:22]written 0, free lines is 3285 [15:35:22]process_action close_receipt done [15:35:22]requested_data is exist [15:35:22]produce_requested_data [15:35:22]requested_item fm.sn is exist - process it [15:35:22]wFMCommunicate request_size=4 [15:35:22]MH_SAM_APDU [15:35:22]CAPDU: 80 11 00 00 [15:35:22]Write to MH i2c: E2 08 00 AA 02 80 11 00 00 00 00 00 00 26 [15:35:22]Write i2c OK [15:35:22]MH_I2C_Read... [15:35:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:35:22]Read from MH i2c: E2 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: E2 17 00 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: E2 17 00 AA 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7D [15:35:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:35:22]wFMCommunicate OK [15:35:22]requested_item fd.num is exist - process it [15:35:22]SAM_PROTO_GetFieldsCounters [15:35:22]wFMCommunicate request_size=4 [15:35:22]MH_SAM_APDU [15:35:22]CAPDU: 80 13 00 00 [15:35:22]Write to MH i2c: E2 08 00 AB 02 80 13 00 00 00 00 00 00 29 [15:35:22]Write i2c OK [15:35:22]MH_I2C_Read... [15:35:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:35:22]Read from MH i2c: E2 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: E2 62 00 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: E2 62 00 AB 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AB 61 00 00 0E 04 04 00 C9 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 70 [15:35:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AB 61 00 00 0E 04 04 00 C9 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 [15:35:22]wFMCommunicate OK [15:35:22]SAM_PROTO_GetFieldsCounters done [15:35:22]requested_item shift.num is exist - process it [15:35:22]requested_item shift.opened is exist - process it [15:35:22]req_shift_opened [15:35:22]FM_GetShiftState [15:35:22]SAM_PROTO_GetShiftState [15:35:22]wFMCommunicate request_size=4 [15:35:22]MH_SAM_APDU [15:35:22]CAPDU: 80 13 01 00 [15:35:22]Write to MH i2c: E2 08 00 AC 02 80 13 01 00 00 00 00 00 2B [15:35:22]Write i2c OK [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: E2 [15:35:22]MH_I2C_Read... [15:35:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:35:22]Read from MH i2c: E2 0E 00 [15:35:22]MH_I2C_Read... [15:35:22]Read from MH i2c: E2 0E 00 AC 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 7C [15:35:22]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:35:22]wFMCommunicate OK [15:35:22]SAM_PROTO_GetShiftState done [15:35:22]FM_GetShiftState done [15:35:22]req_shift_opened done [15:35:22]requested_item shift.open_date is exist - process it [15:35:22]req_shift_open_date [15:35:22]req_shift_open_date done [15:35:22]produce_requested_data done [15:35:22]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25003,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [15:35:22]process_action_free close_receipt [15:35:22]json_value_free [15:35:22]json_value_free done [15:35:22]process_json_proto returns [15:35:22]Send response to host [15:35:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25003,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [15:35:22]free response buf [15:35:22]execute_script done [15:35:22]execute_script returns [15:35:22]free content buf [15:35:22]Sock 9.Close socket [15:35:22]Sock 9.Thread stoped [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:16]accept exits with 8 [15:37:16]New connection [15:37:16]New thread 3067469156 created [15:37:16]Thread 3067612516 joined [15:37:16]Waiting for new connection... [15:37:16] Sock 8.Parse request [15:37:16]Sock 8.Check first char [15:37:16]Sock 8.First char is OK [15:37:16]request: POST /json_proto HTTP/1.0 [15:37:16]Method: POST [15:37:16]URL: /json_proto [15:37:16]Method is POST - this is cgi request [15:37:16]url: /json_proto [15:37:16]query_string will be loaded in cgi processing [15:37:16]execute_cgi json_proto POST (null) [15:37:16]execute_cgi path=json_proto method=POST [15:37:16]POST find Content-Length [15:37:16]Host: 172.17.53.196:8080 [15:37:16]Content-Length: 614 [15:37:16]Content-Type: application/json [15:37:16] [15:37:16]POST finish read [15:37:16]Found Content-Length = 614 [15:37:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34762", "tax_sys" : 0, "items" : [ { "code": "5904917031261", "name": "\u0414\u0440\u0430\u0436\u0435 TURBO VENTILATOR Johny Bee", "price" : 243.00, "quantity" : 1.000, "sum" : 243.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:16]execute_script... [15:37:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34762", "tax_sys" : 0, "items" : [ { "code": "5904917031261", "name": "\u0414\u0440\u0430\u0436\u0435 TURBO VENTILATOR Johny Bee", "price" : 243.00, "quantity" : 1.000, "sum" : 243.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 243.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:16]POST & json_proto [15:37:16]process_json_proto [15:37:16]json parsed OK: [15:37:16]protocol is kg_v1.0 [15:37:16]action value=close_receipt [15:37:16]process_action close_receipt [15:37:16]cmd_close_receipt [15:37:16]MH_GetDate [15:37:16]Write to MH i2c: F0 00 00 AD 02 9E [15:37:16]Write i2c OK [15:37:16]MH_I2C_Read... [15:37:16]Read from MH i2c: F0 [15:37:16]MH_I2C_Read... [15:37:16]Read from MH i2c: F0 09 00 [15:37:16]MH_I2C_Read... [15:37:16]Read from MH i2c: F0 09 00 AD 02 00 AD C6 17 67 4F CD 9A 65 B3 [15:37:16]GetLastDocTimeStamp 1729611321 [15:37:16]current date 1729611437 [15:37:16]FM_GetShiftState [15:37:16]SAM_PROTO_GetShiftState [15:37:16]wFMCommunicate request_size=4 [15:37:16]MH_SAM_APDU [15:37:16]CAPDU: 80 13 01 00 [15:37:16]Write to MH i2c: E2 08 00 AE 02 80 13 01 00 00 00 00 00 2D [15:37:16]Write i2c OK [15:37:16]MH_I2C_Read... [15:37:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:16]Read from MH i2c: E2 [15:37:16]MH_I2C_Read... [15:37:16]Read from MH i2c: E2 0E 00 [15:37:16]MH_I2C_Read... [15:37:16]Read from MH i2c: E2 0E 00 AE 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 7E [15:37:16]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:37:16]wFMCommunicate OK [15:37:16]SAM_PROTO_GetShiftState done [15:37:16]FM_GetShiftState done [15:37:16]opened in 1729556951 [15:37:16]opened+sec_in_day 1729643351 [15:37:16]quantity*price = 24300 [15:37:16]sum+1 = 24301 [15:37:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 243.00 НСП 1% : 2.15 НДС 12% : 25.80 Наличными: 243.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 25 22.10.2024 15:37 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25004 ФПД: 137214411366040 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153717&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25004&fm=137214411366040&tin=02508201610067®Number=0000000000098147&sum=24300 0 [15:37:17]StoreToDocumentArchive [15:37:17]shift 457 fd 25004 [15:37:17]save to /storage/0457/doc_00025004 [15:37:17]save last doc name /storage/0457/doc_00025004 to /storage/kkm_last_doc_name [15:37:17]save OK [15:37:17]Clear old archive folders... [15:37:17]ProcessDocumentItem done err = 0, tmpTLVsize=279 [15:37:17]tlvbuf is 00AB0FA0 [15:37:17]SAM_PROTO_ClearQueue [15:37:17]wFMCommunicate request_size=4 [15:37:17]MH_SAM_APDU [15:37:17]CAPDU: 80 09 00 00 [15:37:17]Write to MH i2c: E2 08 00 BB 02 80 09 00 00 00 00 00 00 2F [15:37:17]Write i2c OK [15:37:17]MH_I2C_Read... [15:37:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:37:17]Read from MH i2c: E2 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 BB 02 00 90 00 31 [15:37:17]RAPDU: 90 00 [15:37:17]wFMCommunicate OK [15:37:17]SAM_PROTO_ClearQueue done [15:37:17]KKMCreateOFDPacket [15:37:17]OFDProtocolAddRootSTLVToBuf [15:37:17]FM_MakeSignedData [15:37:17]FM_MakeSignedData [15:37:17]SAM_PROTO_SignData [15:37:17]wFMCommunicate request_size=4 [15:37:17]MH_SAM_APDU [15:37:17]CAPDU: 80 0D 01 02 [15:37:17]Write to MH i2c: E2 08 00 BC 02 80 0D 01 02 00 00 00 00 37 [15:37:17]Write i2c OK [15:37:17]MH_I2C_Read... [15:37:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:37:17]Read from MH i2c: E2 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 BC 02 00 90 00 32 [15:37:17]RAPDU: 90 00 [15:37:17]wFMCommunicate OK [15:37:17]wFMCommunicate request_size=255 [15:37:17]MH_SAM_APDU [15:37:17]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 35 39 30 34 39 31 37 30 33 31 32 36 31 06 04 25 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 54 55 52 42 4F 20 56 45 4E 54 49 4C 41 54 4F 52 20 4A 6F 68 6E 79 20 42 65 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 5E 00 00 00 00 13 04 06 00 EC 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AD C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 [15:37:17]Write to MH i2c: E2 02 01 BD 02 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 35 39 30 34 39 31 37 30 33 31 32 36 31 06 04 25 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 54 55 52 42 4F 20 56 45 4E 54 49 4C 41 54 4F 52 20 4A 6F 68 6E 79 20 42 65 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 5E 00 00 00 00 13 04 06 00 EC 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AD C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 00 00 C9 [15:37:17]Write i2c OK [15:37:17]MH_I2C_Read... [15:37:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:17]Read from MH i2c: E2 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 BD 02 00 90 00 33 [15:37:17]RAPDU: 90 00 [15:37:17]wFMCommunicate OK [15:37:17]wFMCommunicate request_size=38 [15:37:17]MH_SAM_APDU [15:37:17]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AC 61 00 00 35 04 06 00 7C CB B8 3F 5E 98 [15:37:17]Write to MH i2c: E2 29 00 BE 02 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AC 61 00 00 35 04 06 00 7C CB B8 3F 5E 98 00 00 08 [15:37:17]Write i2c OK [15:37:17]MH_I2C_Read... [15:37:17]OFD Sender: No OFD packet to send [15:37:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:17]Read from MH i2c: E2 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 [15:37:17]MH_I2C_Read... [15:37:17]Read from MH i2c: E2 03 00 BE 02 00 90 00 34 [15:37:17]RAPDU: 90 00 [15:37:17]wFMCommunicate OK [15:37:17]wFMCommunicate request_size=4 [15:37:17]MH_SAM_APDU [15:37:17]CAPDU: 80 0D 03 02 [15:37:17]Write to MH i2c: E2 08 00 BF 02 80 0D 03 02 00 00 00 00 3C [15:37:17]Write i2c OK [15:37:17]MH_I2C_Read... [15:37:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:37:18]Read from MH i2c: E2 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: E2 0B 00 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: E2 0B 00 BF 02 00 38 F5 45 25 2B 5B 8E 49 90 00 31 [15:37:18]RAPDU: 38 F5 45 25 2B 5B 8E 49 90 00 [15:37:18]wFMCommunicate OK [15:37:18]SAM_PROTO_SignData done [15:37:18]FM_MakeSignedData done [15:37:18]CreateOFDProtocolMessage [15:37:18]wFMCommunicate request_size=4 [15:37:18]MH_SAM_APDU [15:37:18]CAPDU: 80 11 00 00 [15:37:18]Write to MH i2c: E2 08 00 C0 02 80 11 00 00 00 00 00 00 3C [15:37:18]Write i2c OK [15:37:18]MH_I2C_Read... [15:37:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:18]Read from MH i2c: E2 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: E2 17 00 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: E2 17 00 C0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 93 [15:37:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:37:18]wFMCommunicate OK [15:37:18]CreateOFDProtocolMessage done [15:37:18]OFDSenderStorePacket 25004 [15:37:18]StoreOFDPacket docnum=25004 [15:37:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2B 01 00 00 E3 FF 23 01 98 11 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 35 39 30 34 39 31 37 30 33 31 32 36 31 06 04 25 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 54 55 52 42 4F 20 56 45 4E 54 49 4C 41 54 4F 52 20 4A 6F 68 6E 79 20 42 65 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 5E 00 00 00 00 13 04 06 00 EC 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AD C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AC 61 00 00 35 04 06 00 7C CB B8 3F 5E 98 38 F5 45 25 2B 5B 8E 49 [15:37:18]CheckFolder [15:37:18]dirname=/storage/ofd_packets [15:37:18]CheckFolder done [15:37:18]ProducePacketName [15:37:18]name=ofd_packets/00025004 [15:37:18]NVStorageSaveData ofd_packets/00025004 [15:37:18]File name is /storage/ofd_packets/00025004 [15:37:18]Write 329 bytes [15:37:18]NVStorageSaveData done [15:37:18]OFDSenderStorePacket done [15:37:18]KKMCreateOFDPacket done [15:37:18]NVStorageSaveData kkm_last_timestamp [15:37:18]File name is /storage/kkm_last_timestamp [15:37:18]Write 4 bytes [15:37:18]NVStorageSaveData done [15:37:18]ExternCall_PrintAddStr [15:37:18]wPrintStart [15:37:18]Write to MH i2c: 01 00 00 C1 02 C3 [15:37:18]Write i2c OK [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: 01 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: 01 07 00 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: 01 07 00 C1 02 00 00 00 00 00 FF 0F D8 [15:37:18]RasterBufferAndPrint [15:37:18]line Счет N : (3)34762 [15:37:18]line ИНН: 02508201610067 [15:37:18]line Контрольно-Кассовый Чек [15:37:18]line ПРОДАЖА [15:37:18]line Товар: 5904917031261 [15:37:18]line Драже TURBO VENTILATOR Johny Bee [15:37:18]line 1.000 * 243.00 [15:37:18]line = 243.00 [15:37:18]line НДС 12% НСП 1% [15:37:18]line > о реализуемом товаре [15:37:18]line ИТОГО: 243.00 [15:37:18]line НСП 1% : 2.15 [15:37:18]line НДС 12% : 25.80 [15:37:18]line Наличными: 243.00 [15:37:18]line Безнал.: 0.00 [15:37:18]line Место: АЗС № 161 "Партнер Нефть" [15:37:18]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:37:18]line СНО: Общий режим [15:37:18]line Чек 25 22.10.2024 15:37 [15:37:18]line Смена: 457 ФФД: 1.0 [15:37:18]line ЗНМ: 0300000240 [15:37:18]line РНМ: 0000000000098147 [15:37:18]line Версия ККМ: 001 [15:37:18]line ФМ: 0000000000965376 [15:37:18]line ФД: 25004 [15:37:18]line ФПД: 137214411366040 [15:37:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153717&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25004&fm=137214411366040&tin=02508201610067®Number=0000000000098147&sum=24300 [15:37:18]OFD Sender: Processing packet 25004 [packets to send 5, broken 4] [15:37:18]ProducePacketName [15:37:18]name=ofd_packets/00025004 [15:37:18]OFD Sender: To server: pG, [15:37:18]CommunicateWithHost lk.salyk.kg:30040 [15:37:18]ConnectInit lk.salyk.kg [15:37:18]line 0 [15:37:18]written 0, free lines is 4095 [15:37:18]Connected sock=10 [15:37:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2B 01 00 00 E3 FF 23 01 98 11 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 35 39 30 34 39 31 37 30 33 31 32 36 31 06 04 25 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 54 55 52 42 4F 20 56 45 4E 54 49 4C 41 54 4F 52 20 4A 6F 68 6E 79 20 42 65 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 5E 00 00 00 00 13 04 06 00 EC 5E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 5E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 14 0A 00 00 00 00 07 04 06 00 EC 5E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 AD C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AC 61 00 00 35 04 06 00 7C CB B8 3F 5E 98 38 F5 45 25 2B 5B 8E 49 [15:37:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 47 16 47 00 E0 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AC 61 00 00 F4 03 04 00 27 6F 17 67 B6 04 01 00 00 DF DA B2 9B FD 84 E0 04 [15:37:18]CommunicateWithHost err = 0 [15:37:18]CheckOFDResponse [15:37:18]1017 (14) - 77093643461234 [15:37:18]1041 (16) - 0000000000965376 [15:37:18]1040 (4) - 25004 [15:37:18]1012 (4) - 22.10.2024 09:23 [15:37:18]1206 (1) - 0 [15:37:18]OFD Sender: Remove packet 25004 [15:37:18]ProducePacketName [15:37:18]name=ofd_packets/00025004 [15:37:18]NVStorageDeleteData [15:37:18]Write to MH i2c: 01 00 00 EA 02 EC [15:37:18]Write i2c OK [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: 01 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: 01 07 00 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: 01 07 00 EA 02 00 00 00 00 00 D8 0C D7 [15:37:18]RasterBufferAndPrint [15:37:18]line [15:37:18]line [15:37:18]line [15:37:18]line [15:37:18]line [15:37:18]written 0, free lines is 3297 [15:37:18]process_action close_receipt done [15:37:18]requested_data is exist [15:37:18]produce_requested_data [15:37:18]requested_item fm.sn is exist - process it [15:37:18]wFMCommunicate request_size=4 [15:37:18]MH_SAM_APDU [15:37:18]CAPDU: 80 11 00 00 [15:37:18]Write to MH i2c: E2 08 00 F1 02 80 11 00 00 00 00 00 00 6D [15:37:18]Write i2c OK [15:37:18]MH_I2C_Read... [15:37:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:18]Read from MH i2c: E2 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: E2 17 00 [15:37:18]MH_I2C_Read... [15:37:18]Read from MH i2c: E2 17 00 F1 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C4 [15:37:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:37:18]wFMCommunicate OK [15:37:18]requested_item fd.num is exist - process it [15:37:18]SAM_PROTO_GetFieldsCounters [15:37:18]wFMCommunicate request_size=4 [15:37:18]MH_SAM_APDU [15:37:18]CAPDU: 80 13 00 00 [15:37:18]Write to MH i2c: E2 08 00 F2 02 80 13 00 00 00 00 00 00 70 [15:37:18]Write i2c OK [15:37:18]MH_I2C_Read... [15:37:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:37:19]Read from MH i2c: E2 [15:37:19]MH_I2C_Read... [15:37:19]Read from MH i2c: E2 62 00 [15:37:19]MH_I2C_Read... [15:37:19]Read from MH i2c: E2 62 00 F2 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AC 61 00 00 0E 04 04 00 C9 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 BB [15:37:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AC 61 00 00 0E 04 04 00 C9 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 [15:37:19]wFMCommunicate OK [15:37:19]SAM_PROTO_GetFieldsCounters done [15:37:19]requested_item shift.num is exist - process it [15:37:19]requested_item shift.opened is exist - process it [15:37:19]req_shift_opened [15:37:19]FM_GetShiftState [15:37:19]SAM_PROTO_GetShiftState [15:37:19]wFMCommunicate request_size=4 [15:37:19]MH_SAM_APDU [15:37:19]CAPDU: 80 13 01 00 [15:37:19]Write to MH i2c: E2 08 00 F3 02 80 13 01 00 00 00 00 00 72 [15:37:19]Write i2c OK [15:37:19]MH_I2C_Read... [15:37:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:19]Read from MH i2c: E2 [15:37:19]MH_I2C_Read... [15:37:19]Read from MH i2c: E2 0E 00 [15:37:19]MH_I2C_Read... [15:37:19]Read from MH i2c: E2 0E 00 F3 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 C3 [15:37:19]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:37:19]wFMCommunicate OK [15:37:19]SAM_PROTO_GetShiftState done [15:37:19]FM_GetShiftState done [15:37:19]req_shift_opened done [15:37:19]requested_item shift.open_date is exist - process it [15:37:19]req_shift_open_date [15:37:19]req_shift_open_date done [15:37:19]produce_requested_data done [15:37:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25004,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [15:37:19]process_action_free close_receipt [15:37:19]json_value_free [15:37:19]json_value_free done [15:37:19]process_json_proto returns [15:37:19]Send response to host [15:37:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25004,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [15:37:19]free response buf [15:37:19]execute_script done [15:37:19]execute_script returns [15:37:19]free content buf [15:37:19]Sock 8.Close socket [15:37:19]Sock 8.Thread stoped [15:37:19]OFD Sender: No OFD packet to send [15:37:24]OFD Sender: No OFD packet to send [15:37:29]accept exits with 9 [15:37:29]New connection [15:37:29]New thread 3067612516 created [15:37:29]Thread 3067469156 joined [15:37:29]Waiting for new connection... [15:37:29] Sock 9.Parse request [15:37:29]Sock 9.Check first char [15:37:29]Sock 9.First char is OK [15:37:29]request: POST /json_proto HTTP/1.0 [15:37:29]Method: POST [15:37:29]URL: /json_proto [15:37:29]Method is POST - this is cgi request [15:37:29]url: /json_proto [15:37:29]query_string will be loaded in cgi processing [15:37:29]execute_cgi json_proto POST (null) [15:37:29]execute_cgi path=json_proto method=POST [15:37:29]POST find Content-Length [15:37:29]Host: 172.17.53.196:8080 [15:37:29]Content-Length: 648 [15:37:29]Content-Type: application/json [15:37:29] [15:37:29]POST finish read [15:37:29]Found Content-Length = 648 [15:37:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34763", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:29]execute_script... [15:37:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34763", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:37:29]POST & json_proto [15:37:29]process_json_proto [15:37:29]json parsed OK: [15:37:29]protocol is kg_v1.0 [15:37:29]action value=close_receipt [15:37:29]process_action close_receipt [15:37:29]cmd_close_receipt [15:37:29]MH_GetDate [15:37:29]Write to MH i2c: F0 00 00 F4 02 E5 [15:37:29]Write i2c OK [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: F0 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: F0 09 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: F0 09 00 F4 02 00 BA C6 17 67 4F CD 9A 65 07 [15:37:29]GetLastDocTimeStamp 1729611437 [15:37:29]current date 1729611450 [15:37:29]FM_GetShiftState [15:37:29]SAM_PROTO_GetShiftState [15:37:29]wFMCommunicate request_size=4 [15:37:29]MH_SAM_APDU [15:37:29]CAPDU: 80 13 01 00 [15:37:29]Write to MH i2c: E2 08 00 F5 02 80 13 01 00 00 00 00 00 74 [15:37:29]Write i2c OK [15:37:29]MH_I2C_Read... [15:37:29]OFD Sender: No OFD packet to send [15:37:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:29]Read from MH i2c: E2 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 0E 00 [15:37:29]MH_I2C_Read... [15:37:29]Read from MH i2c: E2 0E 00 F5 02 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 C5 [15:37:29]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:37:29]wFMCommunicate OK [15:37:29]SAM_PROTO_GetShiftState done [15:37:29]FM_GetShiftState done [15:37:29]opened in 1729556951 [15:37:29]opened+sec_in_day 1729643351 [15:37:29]quantity*price = 7000 [15:37:29]sum+1 = 7001 [15:37:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 26 22.10.2024 15:37 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25005 ФПД: 192519680341900 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153730&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25005&fm=192519680341900&tin=02508201610067®Number=0000000000098147&sum=7000 0 [15:37:30]StoreToDocumentArchive [15:37:30]shift 457 fd 25005 [15:37:30]save to /storage/0457/doc_00025005 [15:37:30]save last doc name /storage/0457/doc_00025005 to /storage/kkm_last_doc_name [15:37:30]save OK [15:37:30]Clear old archive folders... [15:37:30]ProcessDocumentItem done err = 0, tmpTLVsize=279 [15:37:30]tlvbuf is 00AB0E80 [15:37:30]SAM_PROTO_ClearQueue [15:37:30]wFMCommunicate request_size=4 [15:37:30]MH_SAM_APDU [15:37:30]CAPDU: 80 09 00 00 [15:37:30]Write to MH i2c: E2 08 00 02 03 80 09 00 00 00 00 00 00 77 [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:37:30]Read from MH i2c: E2 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 02 03 00 90 00 79 [15:37:30]RAPDU: 90 00 [15:37:30]wFMCommunicate OK [15:37:30]SAM_PROTO_ClearQueue done [15:37:30]KKMCreateOFDPacket [15:37:30]OFDProtocolAddRootSTLVToBuf [15:37:30]FM_MakeSignedData [15:37:30]FM_MakeSignedData [15:37:30]SAM_PROTO_SignData [15:37:30]wFMCommunicate request_size=4 [15:37:30]MH_SAM_APDU [15:37:30]CAPDU: 80 0D 01 02 [15:37:30]Write to MH i2c: E2 08 00 03 03 80 0D 01 02 00 00 00 00 7F [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:37:30]Read from MH i2c: E2 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 03 03 00 90 00 7A [15:37:30]RAPDU: 90 00 [15:37:30]wFMCommunicate OK [15:37:30]wFMCommunicate request_size=255 [15:37:30]MH_SAM_APDU [15:37:30]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 BA C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 [15:37:30]Write to MH i2c: E2 02 01 04 03 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 BA C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 00 00 05 [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:30]Read from MH i2c: E2 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 04 03 00 90 00 7B [15:37:30]RAPDU: 90 00 [15:37:30]wFMCommunicate OK [15:37:30]wFMCommunicate request_size=38 [15:37:30]MH_SAM_APDU [15:37:30]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AD 61 00 00 35 04 06 00 AF 18 7B 28 B7 8C [15:37:30]Write to MH i2c: E2 29 00 05 03 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AD 61 00 00 35 04 06 00 AF 18 7B 28 B7 8C 00 00 CA [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:37:30]Read from MH i2c: E2 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 03 00 05 03 00 90 00 7C [15:37:30]RAPDU: 90 00 [15:37:30]wFMCommunicate OK [15:37:30]wFMCommunicate request_size=4 [15:37:30]MH_SAM_APDU [15:37:30]CAPDU: 80 0D 03 02 [15:37:30]Write to MH i2c: E2 08 00 06 03 80 0D 03 02 00 00 00 00 84 [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:37:30]Read from MH i2c: E2 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 0B 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 0B 00 06 03 00 81 F0 AF 2C CE 6A EB 14 90 00 08 [15:37:30]RAPDU: 81 F0 AF 2C CE 6A EB 14 90 00 [15:37:30]wFMCommunicate OK [15:37:30]SAM_PROTO_SignData done [15:37:30]FM_MakeSignedData done [15:37:30]CreateOFDProtocolMessage [15:37:30]wFMCommunicate request_size=4 [15:37:30]MH_SAM_APDU [15:37:30]CAPDU: 80 11 00 00 [15:37:30]Write to MH i2c: E2 08 00 07 03 80 11 00 00 00 00 00 00 84 [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:30]Read from MH i2c: E2 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 17 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: E2 17 00 07 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DB [15:37:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:37:30]wFMCommunicate OK [15:37:30]CreateOFDProtocolMessage done [15:37:30]OFDSenderStorePacket 25005 [15:37:30]StoreOFDPacket docnum=25005 [15:37:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2B 01 00 00 8E BC 23 01 BD CC 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 BA C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AD 61 00 00 35 04 06 00 AF 18 7B 28 B7 8C 81 F0 AF 2C CE 6A EB 14 [15:37:30]CheckFolder [15:37:30]dirname=/storage/ofd_packets [15:37:30]CheckFolder done [15:37:30]ProducePacketName [15:37:30]name=ofd_packets/00025005 [15:37:30]NVStorageSaveData ofd_packets/00025005 [15:37:30]File name is /storage/ofd_packets/00025005 [15:37:30]Write 329 bytes [15:37:30]NVStorageSaveData done [15:37:30]OFDSenderStorePacket done [15:37:30]KKMCreateOFDPacket done [15:37:30]NVStorageSaveData kkm_last_timestamp [15:37:30]File name is /storage/kkm_last_timestamp [15:37:30]Write 4 bytes [15:37:30]NVStorageSaveData done [15:37:30]ExternCall_PrintAddStr [15:37:30]wPrintStart [15:37:30]Write to MH i2c: 01 00 00 08 03 0B [15:37:30]Write i2c OK [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: 01 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: 01 07 00 [15:37:30]MH_I2C_Read... [15:37:30]Read from MH i2c: 01 07 00 08 03 00 00 00 00 00 FF 0F 20 [15:37:30]RasterBufferAndPrint [15:37:30]line Счет N : (3)34763 [15:37:30]line ИНН: 02508201610067 [15:37:30]line Контрольно-Кассовый Чек [15:37:30]line ПРОДАЖА [15:37:30]line Товар: 4607065000790 [15:37:30]line Шок M&M`s с арахисом 45г [15:37:30]line 1.000 * 70.00 [15:37:30]line = 70.00 [15:37:30]line НДС 12% НСП 1% [15:37:30]line > о реализуемом товаре [15:37:30]line ИТОГО: 70.00 [15:37:30]line НСП 1% : 0.62 [15:37:30]line НДС 12% : 7.43 [15:37:30]line Наличными: 70.00 [15:37:30]line Безнал.: 0.00 [15:37:30]line Место: АЗС № 161 "Партнер Нефть" [15:37:30]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:37:30]line СНО: Общий режим [15:37:30]line Чек 26 22.10.2024 15:37 [15:37:30]line Смена: 457 ФФД: 1.0 [15:37:30]line ЗНМ: 0300000240 [15:37:30]line РНМ: 0000000000098147 [15:37:30]line Версия ККМ: 001 [15:37:30]line ФМ: 0000000000965376 [15:37:30]line ФД: 25005 [15:37:30]line ФПД: 192519680341900 [15:37:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153730&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25005&fm=192519680341900&tin=02508201610067®Number=0000000000098147&sum=7000 [15:37:30]line 0 [15:37:30]written 0, free lines is 4095 [15:37:30]OFD Sender: Processing packet 25005 [packets to send 5, broken 4] [15:37:30]ProducePacketName [15:37:30]name=ofd_packets/00025005 [15:37:30]OFD Sender: To server: pG, [15:37:30]CommunicateWithHost lk.salyk.kg:30040 [15:37:30]ConnectInit lk.salyk.kg [15:37:31]Connected sock=11 [15:37:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2B 01 00 00 8E BC 23 01 BD CC 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 BA C6 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AD 61 00 00 35 04 06 00 AF 18 7B 28 B7 8C 81 F0 AF 2C CE 6A EB 14 [15:37:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 AB D1 47 00 CD 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 39 36 35 33 37 36 10 04 04 00 AD 61 00 00 F4 03 04 00 34 6F 17 67 B6 04 01 00 00 52 94 06 CB 79 E6 ED 5F [15:37:31]CommunicateWithHost err = 0 [15:37:31]CheckOFDResponse [15:37:31]1017 (14) - 77093643461234 [15:37:31]1041 (16) - 0000000000965376 [15:37:31]1040 (4) - 25005 [15:37:31]1012 (4) - 22.10.2024 09:24 [15:37:31]1206 (1) - 0 [15:37:31]OFD Sender: Remove packet 25005 [15:37:31]ProducePacketName [15:37:31]name=ofd_packets/00025005 [15:37:31]NVStorageDeleteData [15:37:31]Write to MH i2c: 01 00 00 30 03 33 [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: 01 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: 01 07 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: 01 07 00 30 03 00 00 00 00 00 DE 0C 24 [15:37:31]RasterBufferAndPrint [15:37:31]line [15:37:31]line [15:37:31]line [15:37:31]line [15:37:31]line [15:37:31]written 0, free lines is 3300 [15:37:31]process_action close_receipt done [15:37:31]requested_data is exist [15:37:31]produce_requested_data [15:37:31]requested_item fm.sn is exist - process it [15:37:31]wFMCommunicate request_size=4 [15:37:31]MH_SAM_APDU [15:37:31]CAPDU: 80 11 00 00 [15:37:31]Write to MH i2c: E2 08 00 37 03 80 11 00 00 00 00 00 00 B4 [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:37:31]Read from MH i2c: E2 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 17 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 17 00 37 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 0B [15:37:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:37:31]wFMCommunicate OK [15:37:31]requested_item fd.num is exist - process it [15:37:31]SAM_PROTO_GetFieldsCounters [15:37:31]wFMCommunicate request_size=4 [15:37:31]MH_SAM_APDU [15:37:31]CAPDU: 80 13 00 00 [15:37:31]Write to MH i2c: E2 08 00 38 03 80 13 00 00 00 00 00 00 B7 [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:37:31]Read from MH i2c: E2 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 62 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 62 00 38 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AD 61 00 00 0E 04 04 00 C9 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 06 [15:37:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AD 61 00 00 0E 04 04 00 C9 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 [15:37:31]wFMCommunicate OK [15:37:31]SAM_PROTO_GetFieldsCounters done [15:37:31]requested_item shift.num is exist - process it [15:37:31]requested_item shift.opened is exist - process it [15:37:31]req_shift_opened [15:37:31]FM_GetShiftState [15:37:31]SAM_PROTO_GetShiftState [15:37:31]wFMCommunicate request_size=4 [15:37:31]MH_SAM_APDU [15:37:31]CAPDU: 80 13 01 00 [15:37:31]Write to MH i2c: E2 08 00 39 03 80 13 01 00 00 00 00 00 B9 [15:37:31]Write i2c OK [15:37:31]MH_I2C_Read... [15:37:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:37:31]Read from MH i2c: E2 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 0E 00 [15:37:31]MH_I2C_Read... [15:37:31]Read from MH i2c: E2 0E 00 39 03 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 0A [15:37:31]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:37:31]wFMCommunicate OK [15:37:31]SAM_PROTO_GetShiftState done [15:37:31]FM_GetShiftState done [15:37:31]req_shift_opened done [15:37:31]requested_item shift.open_date is exist - process it [15:37:31]req_shift_open_date [15:37:31]req_shift_open_date done [15:37:31]produce_requested_data done [15:37:31]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25005,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [15:37:31]process_action_free close_receipt [15:37:31]json_value_free [15:37:31]json_value_free done [15:37:31]process_json_proto returns [15:37:31]Send response to host [15:37:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25005,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [15:37:31]free response buf [15:37:31]execute_script done [15:37:31]execute_script returns [15:37:31]free content buf [15:37:31]Sock 9.Close socket [15:37:31]Sock 9.Thread stoped [15:37:31]OFD Sender: No OFD packet to send [15:37:36]OFD Sender: No OFD packet to send [15:37:41]OFD Sender: No OFD packet to send [15:37:46]OFD Sender: No OFD packet to send [15:37:51]OFD Sender: No OFD packet to send [15:37:56]OFD Sender: No OFD packet to send [15:38:01]OFD Sender: No OFD packet to send [15:38:06]OFD Sender: No OFD packet to send [15:38:11]OFD Sender: No OFD packet to send [15:38:16]OFD Sender: No OFD packet to send [15:38:21]OFD Sender: No OFD packet to send [15:38:26]OFD Sender: No OFD packet to send [15:38:31]OFD Sender: No OFD packet to send [15:38:36]OFD Sender: No OFD packet to send [15:38:41]OFD Sender: No OFD packet to send [15:38:46]OFD Sender: No OFD packet to send [15:38:51]OFD Sender: No OFD packet to send [15:38:56]OFD Sender: No OFD packet to send [15:38:57]accept exits with 8 [15:38:57]New connection [15:38:57]New thread 3067469156 created [15:38:57]Thread 3067612516 joined [15:38:57]Waiting for new connection... [15:38:57] Sock 8.Parse request [15:38:57]Sock 8.Check first char [15:38:57]Sock 8.First char is OK [15:38:57]request: POST /json_proto HTTP/1.0 [15:38:57]Method: POST [15:38:57]URL: /json_proto [15:38:57]Method is POST - this is cgi request [15:38:57]url: /json_proto [15:38:57]query_string will be loaded in cgi processing [15:38:57]execute_cgi json_proto POST (null) [15:38:57]execute_cgi path=json_proto method=POST [15:38:57]POST find Content-Length [15:38:57]Host: 172.17.53.196:8080 [15:38:57]Content-Length: 707 [15:38:57]Content-Type: application/json [15:38:57] [15:38:57]POST finish read [15:38:57]Found Content-Length = 707 [15:38:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34764", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:57]execute_script... [15:38:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34764", "tax_sys" : 0, "items" : [ { "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:38:57]POST & json_proto [15:38:57]process_json_proto [15:38:57]json parsed OK: [15:38:57]protocol is kg_v1.0 [15:38:57]action value=close_receipt [15:38:57]process_action close_receipt [15:38:57]cmd_close_receipt [15:38:57]MH_GetDate [15:38:57]Write to MH i2c: F0 00 00 3A 03 2C [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: F0 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: F0 09 00 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: F0 09 00 3A 03 00 12 C7 17 67 4F CD 9A 65 A7 [15:38:57]GetLastDocTimeStamp 1729611450 [15:38:57]current date 1729611538 [15:38:57]FM_GetShiftState [15:38:57]SAM_PROTO_GetShiftState [15:38:57]wFMCommunicate request_size=4 [15:38:57]MH_SAM_APDU [15:38:57]CAPDU: 80 13 01 00 [15:38:57]Write to MH i2c: E2 08 00 3B 03 80 13 01 00 00 00 00 00 BB [15:38:57]Write i2c OK [15:38:57]MH_I2C_Read... [15:38:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:38:57]Read from MH i2c: E2 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: E2 0E 00 [15:38:57]MH_I2C_Read... [15:38:57]Read from MH i2c: E2 0E 00 3B 03 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 0C [15:38:57]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:38:57]wFMCommunicate OK [15:38:57]SAM_PROTO_GetShiftState done [15:38:57]FM_GetShiftState done [15:38:57]opened in 1729556951 [15:38:57]opened+sec_in_day 1729643351 [15:38:57]quantity*price = 9000 [15:38:57]sum+1 = 9001 [15:38:57]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 27 22.10.2024 15:38 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25006 ФПД: 17080755109513 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153858&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25006&fm=17080755109513&tin=02508201610067®Number=0000000000098147&sum=9000 0 [15:38:58]StoreToDocumentArchive [15:38:58]shift 457 fd 25006 [15:38:58]save to /storage/0457/doc_00025006 [15:38:58]save last doc name /storage/0457/doc_00025006 to /storage/kkm_last_doc_name [15:38:58]save OK [15:38:58]Clear old archive folders... [15:38:58]ProcessDocumentItem done err = 0, tmpTLVsize=299 [15:38:58]tlvbuf is 00AC18E0 [15:38:58]SAM_PROTO_ClearQueue [15:38:58]wFMCommunicate request_size=4 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 09 00 00 [15:38:58]Write to MH i2c: E2 08 00 48 03 80 09 00 00 00 00 00 00 BD [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 48 03 00 90 00 BF [15:38:58]RAPDU: 90 00 [15:38:58]wFMCommunicate OK [15:38:58]SAM_PROTO_ClearQueue done [15:38:58]KKMCreateOFDPacket [15:38:58]OFDProtocolAddRootSTLVToBuf [15:38:58]FM_MakeSignedData [15:38:58]FM_MakeSignedData [15:38:58]SAM_PROTO_SignData [15:38:58]wFMCommunicate request_size=4 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 0D 01 02 [15:38:58]Write to MH i2c: E2 08 00 49 03 80 0D 01 02 00 00 00 00 C5 [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 49 03 00 90 00 C0 [15:38:58]RAPDU: 90 00 [15:38:58]wFMCommunicate OK [15:38:58]wFMCommunicate request_size=255 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 C7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [15:38:58]Write to MH i2c: E2 02 01 4A 03 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 C7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 05 [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:58]Read from MH i2c: E2 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 [15:38:58]MH_I2C_Read... [15:38:58]Read from MH i2c: E2 03 00 4A 03 00 90 00 C1 [15:38:58]RAPDU: 90 00 [15:38:58]wFMCommunicate OK [15:38:58]wFMCommunicate request_size=58 [15:38:58]MH_SAM_APDU [15:38:58]CAPDU: 80 0D 02 02 35 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AE 61 00 00 35 04 06 00 0F 88 EC 57 3E 89 [15:38:58]Write to MH i2c: E2 3D 00 4B 03 80 0D 02 02 35 00 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AE 61 00 00 35 04 06 00 0F 88 EC 57 3E 89 00 00 6F [15:38:58]Write i2c OK [15:38:58]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 03 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 03 00 4B 03 00 90 00 C2 [15:38:59]RAPDU: 90 00 [15:38:59]wFMCommunicate OK [15:38:59]wFMCommunicate request_size=4 [15:38:59]MH_SAM_APDU [15:38:59]CAPDU: 80 0D 03 02 [15:38:59]Write to MH i2c: E2 08 00 4C 03 80 0D 03 02 00 00 00 00 CA [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 0B 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 0B 00 4C 03 00 7E D9 70 6B 53 D1 2F 28 90 00 78 [15:38:59]RAPDU: 7E D9 70 6B 53 D1 2F 28 90 00 [15:38:59]wFMCommunicate OK [15:38:59]SAM_PROTO_SignData done [15:38:59]FM_MakeSignedData done [15:38:59]CreateOFDProtocolMessage [15:38:59]wFMCommunicate request_size=4 [15:38:59]MH_SAM_APDU [15:38:59]CAPDU: 80 11 00 00 [15:38:59]Write to MH i2c: E2 08 00 4D 03 80 11 00 00 00 00 00 00 CA [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 17 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 17 00 4D 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 21 [15:38:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:38:59]wFMCommunicate OK [15:38:59]CreateOFDProtocolMessage done [15:38:59]OFDSenderStorePacket 25006 [15:38:59]StoreOFDPacket docnum=25006 [15:38:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3F 01 00 00 46 EB 37 01 EF 0E 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 C7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AE 61 00 00 35 04 06 00 0F 88 EC 57 3E 89 7E D9 70 6B 53 D1 2F 28 [15:38:59]CheckFolder [15:38:59]dirname=/storage/ofd_packets [15:38:59]CheckFolder done [15:38:59]ProducePacketName [15:38:59]name=ofd_packets/00025006 [15:38:59]NVStorageSaveData ofd_packets/00025006 [15:38:59]File name is /storage/ofd_packets/00025006 [15:38:59]Write 349 bytes [15:38:59]NVStorageSaveData done [15:38:59]OFDSenderStorePacket done [15:38:59]KKMCreateOFDPacket done [15:38:59]NVStorageSaveData kkm_last_timestamp [15:38:59]File name is /storage/kkm_last_timestamp [15:38:59]Write 4 bytes [15:38:59]NVStorageSaveData done [15:38:59]ExternCall_PrintAddStr [15:38:59]wPrintStart [15:38:59]Write to MH i2c: 01 00 00 4E 03 51 [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 4E 03 00 00 00 00 00 FF 0F 66 [15:38:59]RasterBufferAndPrint [15:38:59]line Счет N : (3)34764 [15:38:59]line ИНН: 02508201610067 [15:38:59]line Контрольно-Кассовый Чек [15:38:59]line ПРОДАЖА [15:38:59]line Товар: 4660085515163 [15:38:59]line Шок Батончик Сникерс супер 95/80г [15:38:59]line 1.000 * 90.00 [15:38:59]line = 90.00 [15:38:59]line НДС 12% НСП 1% [15:38:59]line > о реализуемом товаре [15:38:59]line ИТОГО: 90.00 [15:38:59]line НСП 1% : 0.80 [15:38:59]line НДС 12% : 9.56 [15:38:59]line Наличными: 90.00 [15:38:59]line Безнал.: 0.00 [15:38:59]line Место: АЗС № 161 "Партнер Нефть" [15:38:59]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:38:59]line СНО: Общий режим [15:38:59]line Чек 27 22.10.2024 15:38 [15:38:59]line Смена: 457 ФФД: 1.0 [15:38:59]line ЗНМ: 0300000240 [15:38:59]line РНМ: 0000000000098147 [15:38:59]line Версия ККМ: 001 [15:38:59]line ФМ: 0000000000965376 [15:38:59]line ФД: 25006 [15:38:59]line ФПД: 17080755109513 [15:38:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T153858&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25006&fm=17080755109513&tin=02508201610067®Number=0000000000098147&sum=9000 [15:38:59]line 0 [15:38:59]OFD Sender: Processing packet 25006 [packets to send 5, broken 4] [15:38:59]ProducePacketName [15:38:59]name=ofd_packets/00025006 [15:38:59]OFD Sender: To server: pG, [15:38:59]CommunicateWithHost lk.salyk.kg:30040 [15:38:59]ConnectInit lk.salyk.kg [15:38:59]written 0, free lines is 4095 [15:38:59]Connected sock=10 [15:38:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3F 01 00 00 46 EB 37 01 EF 0E 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1B 00 00 00 F4 03 04 00 12 C7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AE 61 00 00 35 04 06 00 0F 88 EC 57 3E 89 7E D9 70 6B 53 D1 2F 28 [15:38:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C1 22 47 00 C7 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AE 61 00 00 F4 03 04 00 8D 6F 17 67 B6 04 01 00 00 CE D3 5D BB 1A 16 CF 9E [15:38:59]CommunicateWithHost err = 0 [15:38:59]CheckOFDResponse [15:38:59]1017 (14) - 77093643461234 [15:38:59]1041 (16) - 0000000000965376 [15:38:59]1040 (4) - 25006 [15:38:59]1012 (4) - 22.10.2024 09:25 [15:38:59]1206 (1) - 0 [15:38:59]OFD Sender: Remove packet 25006 [15:38:59]ProducePacketName [15:38:59]name=ofd_packets/00025006 [15:38:59]NVStorageDeleteData [15:38:59]Write to MH i2c: 01 00 00 77 03 7A [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: 01 07 00 77 03 00 00 00 00 00 C5 0C 52 [15:38:59]RasterBufferAndPrint [15:38:59]line [15:38:59]line [15:38:59]line [15:38:59]line [15:38:59]line [15:38:59]written 0, free lines is 3273 [15:38:59]process_action close_receipt done [15:38:59]requested_data is exist [15:38:59]produce_requested_data [15:38:59]requested_item fm.sn is exist - process it [15:38:59]wFMCommunicate request_size=4 [15:38:59]MH_SAM_APDU [15:38:59]CAPDU: 80 11 00 00 [15:38:59]Write to MH i2c: E2 08 00 7E 03 80 11 00 00 00 00 00 00 FB [15:38:59]Write i2c OK [15:38:59]MH_I2C_Read... [15:38:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:38:59]Read from MH i2c: E2 [15:38:59]MH_I2C_Read... [15:38:59]Read from MH i2c: E2 17 00 [15:38:59]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 17 00 7E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 52 [15:39:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:39:00]wFMCommunicate OK [15:39:00]requested_item fd.num is exist - process it [15:39:00]SAM_PROTO_GetFieldsCounters [15:39:00]wFMCommunicate request_size=4 [15:39:00]MH_SAM_APDU [15:39:00]CAPDU: 80 13 00 00 [15:39:00]Write to MH i2c: E2 08 00 7F 03 80 13 00 00 00 00 00 00 FE [15:39:00]Write i2c OK [15:39:00]MH_I2C_Read... [15:39:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:39:00]Read from MH i2c: E2 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 62 00 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 62 00 7F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AE 61 00 00 0E 04 04 00 C9 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 51 [15:39:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AE 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:39:00]wFMCommunicate OK [15:39:00]SAM_PROTO_GetFieldsCounters done [15:39:00]requested_item shift.num is exist - process it [15:39:00]requested_item shift.opened is exist - process it [15:39:00]req_shift_opened [15:39:00]FM_GetShiftState [15:39:00]SAM_PROTO_GetShiftState [15:39:00]wFMCommunicate request_size=4 [15:39:00]MH_SAM_APDU [15:39:00]CAPDU: 80 13 01 00 [15:39:00]Write to MH i2c: E2 08 00 80 03 80 13 01 00 00 00 00 00 00 [15:39:00]Write i2c OK [15:39:00]MH_I2C_Read... [15:39:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:39:00]Read from MH i2c: E2 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 0E 00 [15:39:00]MH_I2C_Read... [15:39:00]Read from MH i2c: E2 0E 00 80 03 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 51 [15:39:00]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:39:00]wFMCommunicate OK [15:39:00]SAM_PROTO_GetShiftState done [15:39:00]FM_GetShiftState done [15:39:00]req_shift_opened done [15:39:00]requested_item shift.open_date is exist - process it [15:39:00]req_shift_open_date [15:39:00]req_shift_open_date done [15:39:00]produce_requested_data done [15:39:00]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25006,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [15:39:00]process_action_free close_receipt [15:39:00]json_value_free [15:39:00]json_value_free done [15:39:00]process_json_proto returns [15:39:00]Send response to host [15:39:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25006,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [15:39:00]free response buf [15:39:00]execute_script done [15:39:00]execute_script returns [15:39:00]free content buf [15:39:00]Sock 8.Close socket [15:39:00]Sock 8.Thread stoped [15:39:00]OFD Sender: No OFD packet to send [15:39:05]OFD Sender: No OFD packet to send [15:39:10]OFD Sender: No OFD packet to send [15:39:15]OFD Sender: No OFD packet to send [15:39:20]OFD Sender: No OFD packet to send [15:39:25]OFD Sender: No OFD packet to send [15:39:30]OFD Sender: No OFD packet to send [15:39:35]OFD Sender: No OFD packet to send [15:39:40]OFD Sender: No OFD packet to send [15:39:45]OFD Sender: No OFD packet to send [15:39:50]OFD Sender: No OFD packet to send [15:39:55]OFD Sender: No OFD packet to send [15:40:00]OFD Sender: No OFD packet to send [15:40:05]OFD Sender: No OFD packet to send [15:40:10]OFD Sender: No OFD packet to send [15:40:15]OFD Sender: No OFD packet to send [15:40:20]OFD Sender: No OFD packet to send [15:40:25]OFD Sender: No OFD packet to send [15:40:30]OFD Sender: No OFD packet to send [15:40:35]OFD Sender: No OFD packet to send [15:40:40]OFD Sender: No OFD packet to send [15:40:45]OFD Sender: No OFD packet to send [15:40:50]OFD Sender: No OFD packet to send [15:40:55]OFD Sender: No OFD packet to send [15:41:00]OFD Sender: No OFD packet to send [15:41:05]OFD Sender: No OFD packet to send [15:41:10]OFD Sender: No OFD packet to send [15:41:15]OFD Sender: No OFD packet to send [15:41:20]OFD Sender: No OFD packet to send [15:41:25]OFD Sender: No OFD packet to send [15:41:30]OFD Sender: No OFD packet to send [15:41:35]OFD Sender: No OFD packet to send [15:41:40]OFD Sender: No OFD packet to send [15:41:45]OFD Sender: No OFD packet to send [15:41:50]OFD Sender: No OFD packet to send [15:41:55]OFD Sender: No OFD packet to send [15:42:00]OFD Sender: No OFD packet to send [15:42:05]OFD Sender: No OFD packet to send [15:42:10]OFD Sender: No OFD packet to send [15:42:15]OFD Sender: No OFD packet to send [15:42:20]OFD Sender: No OFD packet to send [15:42:25]OFD Sender: No OFD packet to send [15:42:30]OFD Sender: No OFD packet to send [15:42:35]OFD Sender: No OFD packet to send [15:42:40]OFD Sender: No OFD packet to send [15:42:45]OFD Sender: No OFD packet to send [15:42:50]OFD Sender: No OFD packet to send [15:42:55]OFD Sender: No OFD packet to send [15:43:00]OFD Sender: No OFD packet to send [15:43:05]OFD Sender: No OFD packet to send [15:43:10]OFD Sender: No OFD packet to send [15:43:15]OFD Sender: No OFD packet to send [15:43:20]OFD Sender: No OFD packet to send [15:43:25]OFD Sender: No OFD packet to send [15:43:30]OFD Sender: No OFD packet to send [15:43:35]OFD Sender: No OFD packet to send [15:43:40]OFD Sender: No OFD packet to send [15:43:45]OFD Sender: No OFD packet to send [15:43:50]OFD Sender: No OFD packet to send [15:43:55]OFD Sender: No OFD packet to send [15:44:00]OFD Sender: No OFD packet to send [15:44:05]OFD Sender: No OFD packet to send [15:44:10]OFD Sender: No OFD packet to send [15:44:15]OFD Sender: No OFD packet to send [15:44:20]OFD Sender: No OFD packet to send [15:44:25]OFD Sender: No OFD packet to send [15:44:30]OFD Sender: No OFD packet to send [15:44:35]OFD Sender: No OFD packet to send [15:44:40]OFD Sender: No OFD packet to send [15:44:45]OFD Sender: No OFD packet to send [15:44:50]OFD Sender: No OFD packet to send [15:44:55]OFD Sender: No OFD packet to send [15:45:00]OFD Sender: No OFD packet to send [15:45:05]OFD Sender: No OFD packet to send [15:45:10]OFD Sender: No OFD packet to send [15:45:15]OFD Sender: No OFD packet to send [15:45:20]OFD Sender: No OFD packet to send [15:45:25]OFD Sender: No OFD packet to send [15:45:30]OFD Sender: No OFD packet to send [15:45:35]OFD Sender: No OFD packet to send [15:45:40]OFD Sender: No OFD packet to send [15:45:45]OFD Sender: No OFD packet to send [15:45:50]OFD Sender: No OFD packet to send [15:45:55]OFD Sender: No OFD packet to send [15:46:00]OFD Sender: No OFD packet to send [15:46:05]OFD Sender: No OFD packet to send [15:46:10]OFD Sender: No OFD packet to send [15:46:15]OFD Sender: No OFD packet to send [15:46:20]OFD Sender: No OFD packet to send [15:46:25]OFD Sender: No OFD packet to send [15:46:30]OFD Sender: No OFD packet to send [15:46:35]OFD Sender: No OFD packet to send [15:46:40]OFD Sender: No OFD packet to send [15:46:45]OFD Sender: No OFD packet to send [15:46:50]OFD Sender: No OFD packet to send [15:46:55]OFD Sender: No OFD packet to send [15:47:00]OFD Sender: No OFD packet to send [15:47:05]OFD Sender: No OFD packet to send [15:47:10]OFD Sender: No OFD packet to send [15:47:15]OFD Sender: No OFD packet to send [15:47:20]OFD Sender: No OFD packet to send [15:47:25]OFD Sender: No OFD packet to send [15:47:30]OFD Sender: No OFD packet to send [15:47:35]OFD Sender: No OFD packet to send [15:47:40]OFD Sender: No OFD packet to send [15:47:45]OFD Sender: No OFD packet to send [15:47:50]OFD Sender: No OFD packet to send [15:47:55]OFD Sender: No OFD packet to send [15:48:00]OFD Sender: No OFD packet to send [15:48:05]OFD Sender: No OFD packet to send [15:48:10]OFD Sender: No OFD packet to send [15:48:15]OFD Sender: No OFD packet to send [15:48:20]OFD Sender: No OFD packet to send [15:48:25]OFD Sender: No OFD packet to send [15:48:30]OFD Sender: No OFD packet to send [15:48:35]OFD Sender: No OFD packet to send [15:48:40]OFD Sender: No OFD packet to send [15:48:45]OFD Sender: No OFD packet to send [15:48:50]OFD Sender: No OFD packet to send [15:48:55]OFD Sender: No OFD packet to send [15:49:00]OFD Sender: No OFD packet to send [15:49:05]OFD Sender: No OFD packet to send [15:49:10]OFD Sender: No OFD packet to send [15:49:15]OFD Sender: No OFD packet to send [15:49:20]OFD Sender: No OFD packet to send [15:49:25]OFD Sender: No OFD packet to send [15:49:30]OFD Sender: No OFD packet to send [15:49:35]OFD Sender: No OFD packet to send [15:49:40]OFD Sender: No OFD packet to send [15:49:45]OFD Sender: No OFD packet to send [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:21]OFD Sender: No OFD packet to send [15:52:26]OFD Sender: No OFD packet to send [15:52:31]OFD Sender: No OFD packet to send [15:52:36]OFD Sender: No OFD packet to send [15:52:41]OFD Sender: No OFD packet to send [15:52:46]OFD Sender: No OFD packet to send [15:52:51]OFD Sender: No OFD packet to send [15:52:56]OFD Sender: No OFD packet to send [15:53:01]OFD Sender: No OFD packet to send [15:53:06]OFD Sender: No OFD packet to send [15:53:11]OFD Sender: No OFD packet to send [15:53:16]OFD Sender: No OFD packet to send [15:53:21]OFD Sender: No OFD packet to send [15:53:26]OFD Sender: No OFD packet to send [15:53:31]OFD Sender: No OFD packet to send [15:53:36]OFD Sender: No OFD packet to send [15:53:41]OFD Sender: No OFD packet to send [15:53:46]OFD Sender: No OFD packet to send [15:53:51]OFD Sender: No OFD packet to send [15:53:56]OFD Sender: No OFD packet to send [15:54:01]OFD Sender: No OFD packet to send [15:54:06]OFD Sender: No OFD packet to send [15:54:11]OFD Sender: No OFD packet to send [15:54:16]OFD Sender: No OFD packet to send [15:54:21]OFD Sender: No OFD packet to send [15:54:26]OFD Sender: No OFD packet to send [15:54:31]OFD Sender: No OFD packet to send [15:54:36]OFD Sender: No OFD packet to send [15:54:41]OFD Sender: No OFD packet to send [15:54:46]OFD Sender: No OFD packet to send [15:54:51]OFD Sender: No OFD packet to send [15:54:56]OFD Sender: No OFD packet to send [15:55:01]OFD Sender: No OFD packet to send [15:55:06]OFD Sender: No OFD packet to send [15:55:11]OFD Sender: No OFD packet to send [15:55:16]OFD Sender: No OFD packet to send [15:55:21]OFD Sender: No OFD packet to send [15:55:26]OFD Sender: No OFD packet to send [15:55:31]OFD Sender: No OFD packet to send [15:55:36]OFD Sender: No OFD packet to send [15:55:41]OFD Sender: No OFD packet to send [15:55:46]OFD Sender: No OFD packet to send [15:55:51]OFD Sender: No OFD packet to send [15:55:56]OFD Sender: No OFD packet to send [15:56:01]OFD Sender: No OFD packet to send [15:56:06]OFD Sender: No OFD packet to send [15:56:11]OFD Sender: No OFD packet to send [15:56:16]OFD Sender: No OFD packet to send [15:56:21]OFD Sender: No OFD packet to send [15:56:26]OFD Sender: No OFD packet to send [15:56:31]OFD Sender: No OFD packet to send [15:56:36]OFD Sender: No OFD packet to send [15:56:41]OFD Sender: No OFD packet to send [15:56:46]OFD Sender: No OFD packet to send [15:56:51]OFD Sender: No OFD packet to send [15:56:56]OFD Sender: No OFD packet to send [15:57:01]OFD Sender: No OFD packet to send [15:57:06]OFD Sender: No OFD packet to send [15:57:11]OFD Sender: No OFD packet to send [15:57:16]OFD Sender: No OFD packet to send [15:57:21]OFD Sender: No OFD packet to send [15:57:26]OFD Sender: No OFD packet to send [15:57:31]OFD Sender: No OFD packet to send [15:57:36]OFD Sender: No OFD packet to send [15:57:41]OFD Sender: No OFD packet to send [15:57:46]OFD Sender: No OFD packet to send [15:57:51]OFD Sender: No OFD packet to send [15:57:56]OFD Sender: No OFD packet to send [15:58:00]accept exits with 9 [15:58:00]New connection [15:58:00]New thread 3067612516 created [15:58:00]Thread 3067469156 joined [15:58:00]Waiting for new connection... [15:58:00] Sock 9.Parse request [15:58:00]Sock 9.Check first char [15:58:00]Sock 9.First char is OK [15:58:00]request: POST /json_proto HTTP/1.0 [15:58:00]Method: POST [15:58:00]URL: /json_proto [15:58:00]Method is POST - this is cgi request [15:58:00]url: /json_proto [15:58:00]query_string will be loaded in cgi processing [15:58:00]execute_cgi json_proto POST (null) [15:58:00]execute_cgi path=json_proto method=POST [15:58:00]POST find Content-Length [15:58:00]Host: 172.17.53.196:8080 [15:58:00]Content-Length: 632 [15:58:00]Content-Type: application/json [15:58:00] [15:58:00]POST finish read [15:58:00]Found Content-Length = 632 [15:58:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34765", "tax_sys" : 0, "items" : [ { "code": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:00]execute_script... [15:58:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34765", "tax_sys" : 0, "items" : [ { "code": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:00]POST & json_proto [15:58:00]process_json_proto [15:58:00]json parsed OK: [15:58:00]protocol is kg_v1.0 [15:58:00]action value=close_receipt [15:58:00]process_action close_receipt [15:58:00]cmd_close_receipt [15:58:00]MH_GetDate [15:58:00]Write to MH i2c: F0 00 00 81 03 73 [15:58:00]Write i2c OK [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: F0 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: F0 09 00 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: F0 09 00 81 03 00 89 CB 17 67 4F CD 9A 65 69 [15:58:00]GetLastDocTimeStamp 1729611538 [15:58:00]current date 1729612681 [15:58:00]FM_GetShiftState [15:58:00]SAM_PROTO_GetShiftState [15:58:00]wFMCommunicate request_size=4 [15:58:00]MH_SAM_APDU [15:58:00]CAPDU: 80 13 01 00 [15:58:00]Write to MH i2c: E2 08 00 82 03 80 13 01 00 00 00 00 00 02 [15:58:00]Write i2c OK [15:58:00]MH_I2C_Read... [15:58:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:00]Read from MH i2c: E2 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: E2 0E 00 [15:58:00]MH_I2C_Read... [15:58:00]Read from MH i2c: E2 0E 00 82 03 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 53 [15:58:00]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:58:00]wFMCommunicate OK [15:58:00]SAM_PROTO_GetShiftState done [15:58:00]FM_GetShiftState done [15:58:00]opened in 1729556951 [15:58:00]opened+sec_in_day 1729643351 [15:58:00]quantity*price = 14700 [15:58:00]sum+1 = 14701 [15:58:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 28 22.10.2024 15:58 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25007 ФПД: 261993980894508 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155801&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25007&fm=261993980894508&tin=02508201610067®Number=0000000000098147&sum=14700 0 [15:58:01]StoreToDocumentArchive [15:58:01]shift 457 fd 25007 [15:58:01]save to /storage/0457/doc_00025007 [15:58:01]save last doc name /storage/0457/doc_00025007 to /storage/kkm_last_doc_name [15:58:01]save OK [15:58:01]Clear old archive folders... [15:58:01]ProcessDocumentItem done err = 0, tmpTLVsize=285 [15:58:01]tlvbuf is B6E492B0 [15:58:01]SAM_PROTO_ClearQueue [15:58:01]wFMCommunicate request_size=4 [15:58:01]MH_SAM_APDU [15:58:01]CAPDU: 80 09 00 00 [15:58:01]Write to MH i2c: E2 08 00 8F 03 80 09 00 00 00 00 00 00 04 [15:58:01]Write i2c OK [15:58:01]MH_I2C_Read... [15:58:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:58:01]Read from MH i2c: E2 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 8F 03 00 90 00 06 [15:58:01]RAPDU: 90 00 [15:58:01]wFMCommunicate OK [15:58:01]SAM_PROTO_ClearQueue done [15:58:01]KKMCreateOFDPacket [15:58:01]OFDProtocolAddRootSTLVToBuf [15:58:01]FM_MakeSignedData [15:58:01]FM_MakeSignedData [15:58:01]SAM_PROTO_SignData [15:58:01]wFMCommunicate request_size=4 [15:58:01]MH_SAM_APDU [15:58:01]CAPDU: 80 0D 01 02 [15:58:01]Write to MH i2c: E2 08 00 90 03 80 0D 01 02 00 00 00 00 0C [15:58:01]Write i2c OK [15:58:01]MH_I2C_Read... [15:58:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:58:01]Read from MH i2c: E2 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 90 03 00 90 00 07 [15:58:01]RAPDU: 90 00 [15:58:01]wFMCommunicate OK [15:58:01]wFMCommunicate request_size=255 [15:58:01]MH_SAM_APDU [15:58:01]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 89 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 [15:58:01]Write to MH i2c: E2 02 01 91 03 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 89 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 00 00 23 [15:58:01]Write i2c OK [15:58:01]MH_I2C_Read... [15:58:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:01]Read from MH i2c: E2 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 91 03 00 90 00 08 [15:58:01]RAPDU: 90 00 [15:58:01]wFMCommunicate OK [15:58:01]wFMCommunicate request_size=44 [15:58:01]MH_SAM_APDU [15:58:01]CAPDU: 80 0D 02 02 27 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AF 61 00 00 35 04 06 00 EE 48 3A 2A 1D 2C [15:58:01]Write to MH i2c: E2 2F 00 92 03 80 0D 02 02 27 00 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AF 61 00 00 35 04 06 00 EE 48 3A 2A 1D 2C 00 00 27 [15:58:01]Write i2c OK [15:58:01]MH_I2C_Read... [15:58:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:01]Read from MH i2c: E2 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 03 00 92 03 00 90 00 09 [15:58:01]RAPDU: 90 00 [15:58:01]wFMCommunicate OK [15:58:01]wFMCommunicate request_size=4 [15:58:01]MH_SAM_APDU [15:58:01]CAPDU: 80 0D 03 02 [15:58:01]Write to MH i2c: E2 08 00 93 03 80 0D 03 02 00 00 00 00 11 [15:58:01]Write i2c OK [15:58:01]MH_I2C_Read... [15:58:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:58:01]Read from MH i2c: E2 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 0B 00 [15:58:01]MH_I2C_Read... [15:58:01]Read from MH i2c: E2 0B 00 93 03 00 B5 06 36 16 8D D4 E4 30 90 00 8E [15:58:01]RAPDU: B5 06 36 16 8D D4 E4 30 90 00 [15:58:01]wFMCommunicate OK [15:58:01]SAM_PROTO_SignData done [15:58:01]FM_MakeSignedData done [15:58:01]CreateOFDProtocolMessage [15:58:01]wFMCommunicate request_size=4 [15:58:01]MH_SAM_APDU [15:58:01]CAPDU: 80 11 00 00 [15:58:01]Write to MH i2c: E2 08 00 94 03 80 11 00 00 00 00 00 00 11 [15:58:01]Write i2c OK [15:58:01]MH_I2C_Read... [15:58:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:02]Read from MH i2c: E2 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 17 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 17 00 94 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 68 [15:58:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:58:02]wFMCommunicate OK [15:58:02]CreateOFDProtocolMessage done [15:58:02]OFDSenderStorePacket 25007 [15:58:02]StoreOFDPacket docnum=25007 [15:58:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 B7 42 29 01 5B C8 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 89 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AF 61 00 00 35 04 06 00 EE 48 3A 2A 1D 2C B5 06 36 16 8D D4 E4 30 [15:58:02]CheckFolder [15:58:02]dirname=/storage/ofd_packets [15:58:02]CheckFolder done [15:58:02]ProducePacketName [15:58:02]name=ofd_packets/00025007 [15:58:02]NVStorageSaveData ofd_packets/00025007 [15:58:02]File name is /storage/ofd_packets/00025007 [15:58:02]Write 335 bytes [15:58:02]NVStorageSaveData done [15:58:02]OFDSenderStorePacket done [15:58:02]KKMCreateOFDPacket done [15:58:02]NVStorageSaveData kkm_last_timestamp [15:58:02]File name is /storage/kkm_last_timestamp [15:58:02]Write 4 bytes [15:58:02]NVStorageSaveData done [15:58:02]ExternCall_PrintAddStr [15:58:02]wPrintStart [15:58:02]Write to MH i2c: 01 00 00 95 03 98 [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 07 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 07 00 95 03 00 00 00 00 00 FF 0F AD [15:58:02]RasterBufferAndPrint [15:58:02]line Счет N : (3)34765 [15:58:02]line ИНН: 02508201610067 [15:58:02]line Контрольно-Кассовый Чек [15:58:02]line ПРОДАЖА [15:58:02]line Товар: 48746717 [15:58:02]line Сигареты Winston XStyle Caster + Dream M [15:58:02]line 1.000 * 147.00 [15:58:02]line = 147.00 [15:58:02]line НДС 12% НСП 1% [15:58:02]line > о реализуемом товаре [15:58:02]line ИТОГО: 147.00 [15:58:02]line НСП 1% : 1.30 [15:58:02]line НДС 12% : 15.61 [15:58:02]line Наличными: 147.00 [15:58:02]line Безнал.: 0.00 [15:58:02]line Место: АЗС № 161 "Партнер Нефть" [15:58:02]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:58:02]line СНО: Общий режим [15:58:02]line Чек 28 22.10.2024 15:58 [15:58:02]line Смена: 457 ФФД: 1.0 [15:58:02]line ЗНМ: 0300000240 [15:58:02]line РНМ: 0000000000098147 [15:58:02]line Версия ККМ: 001 [15:58:02]line ФМ: 0000000000965376 [15:58:02]line ФД: 25007 [15:58:02]line ФПД: 261993980894508 [15:58:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155801&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25007&fm=261993980894508&tin=02508201610067®Number=0000000000098147&sum=14700 [15:58:02]line 0 [15:58:02]OFD Sender: Processing packet 25007 [packets to send 5, broken 4] [15:58:02]ProducePacketName [15:58:02]name=ofd_packets/00025007 [15:58:02]OFD Sender: To server: pG, [15:58:02]CommunicateWithHost lk.salyk.kg:30040 [15:58:02]ConnectInit lk.salyk.kg [15:58:02]written 0, free lines is 4095 [15:58:02]Connected sock=10 [15:58:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 B7 42 29 01 5B C8 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 89 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AF 61 00 00 35 04 06 00 EE 48 3A 2A 1D 2C B5 06 36 16 8D D4 E4 30 [15:58:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 98 42 47 00 81 9F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 AF 61 00 00 F4 03 04 00 03 74 17 67 B6 04 01 00 00 9A 54 F2 06 EE FD DD 05 [15:58:02]CommunicateWithHost err = 0 [15:58:02]CheckOFDResponse [15:58:02]1017 (14) - 77093643461234 [15:58:02]1041 (16) - 0000000000965376 [15:58:02]1040 (4) - 25007 [15:58:02]1012 (4) - 22.10.2024 09:44 [15:58:02]1206 (1) - 0 [15:58:02]OFD Sender: Remove packet 25007 [15:58:02]ProducePacketName [15:58:02]name=ofd_packets/00025007 [15:58:02]NVStorageDeleteData [15:58:02]Write to MH i2c: 01 00 00 BE 03 C1 [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 07 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: 01 07 00 BE 03 00 00 00 00 00 CE 0C A2 [15:58:02]RasterBufferAndPrint [15:58:02]line [15:58:02]line [15:58:02]line [15:58:02]line [15:58:02]line [15:58:02]written 0, free lines is 3283 [15:58:02]process_action close_receipt done [15:58:02]requested_data is exist [15:58:02]produce_requested_data [15:58:02]requested_item fm.sn is exist - process it [15:58:02]wFMCommunicate request_size=4 [15:58:02]MH_SAM_APDU [15:58:02]CAPDU: 80 11 00 00 [15:58:02]Write to MH i2c: E2 08 00 C5 03 80 11 00 00 00 00 00 00 42 [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:02]Read from MH i2c: E2 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 17 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 17 00 C5 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 99 [15:58:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:58:02]wFMCommunicate OK [15:58:02]requested_item fd.num is exist - process it [15:58:02]SAM_PROTO_GetFieldsCounters [15:58:02]wFMCommunicate request_size=4 [15:58:02]MH_SAM_APDU [15:58:02]CAPDU: 80 13 00 00 [15:58:02]Write to MH i2c: E2 08 00 C6 03 80 13 00 00 00 00 00 00 45 [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:58:02]Read from MH i2c: E2 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 62 00 [15:58:02]MH_I2C_Read... [15:58:02]Read from MH i2c: E2 62 00 C6 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AF 61 00 00 0E 04 04 00 C9 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 9C [15:58:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 AF 61 00 00 0E 04 04 00 C9 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 [15:58:02]wFMCommunicate OK [15:58:02]SAM_PROTO_GetFieldsCounters done [15:58:02]requested_item shift.num is exist - process it [15:58:02]requested_item shift.opened is exist - process it [15:58:02]req_shift_opened [15:58:02]FM_GetShiftState [15:58:02]SAM_PROTO_GetShiftState [15:58:02]wFMCommunicate request_size=4 [15:58:02]MH_SAM_APDU [15:58:02]CAPDU: 80 13 01 00 [15:58:02]Write to MH i2c: E2 08 00 C7 03 80 13 01 00 00 00 00 00 47 [15:58:02]Write i2c OK [15:58:02]MH_I2C_Read... [15:58:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:03]Read from MH i2c: E2 [15:58:03]MH_I2C_Read... [15:58:03]Read from MH i2c: E2 0E 00 [15:58:03]MH_I2C_Read... [15:58:03]Read from MH i2c: E2 0E 00 C7 03 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 98 [15:58:03]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:58:03]wFMCommunicate OK [15:58:03]SAM_PROTO_GetShiftState done [15:58:03]FM_GetShiftState done [15:58:03]req_shift_opened done [15:58:03]requested_item shift.open_date is exist - process it [15:58:03]req_shift_open_date [15:58:03]req_shift_open_date done [15:58:03]produce_requested_data done [15:58:03]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25007,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [15:58:03]process_action_free close_receipt [15:58:03]json_value_free [15:58:03]json_value_free done [15:58:03]process_json_proto returns [15:58:03]Send response to host [15:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25007,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [15:58:03]free response buf [15:58:03]execute_script done [15:58:03]execute_script returns [15:58:03]free content buf [15:58:03]Sock 9.Close socket [15:58:03]Sock 9.Thread stoped [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:47]accept exits with 8 [15:58:47]New connection [15:58:47]New thread 3067469156 created [15:58:47]Thread 3067612516 joined [15:58:47]Waiting for new connection... [15:58:47] Sock 8.Parse request [15:58:47]Sock 8.Check first char [15:58:47]Sock 8.First char is OK [15:58:47]request: POST /json_proto HTTP/1.0 [15:58:47]Method: POST [15:58:47]URL: /json_proto [15:58:47]Method is POST - this is cgi request [15:58:47]url: /json_proto [15:58:47]query_string will be loaded in cgi processing [15:58:47]execute_cgi json_proto POST (null) [15:58:47]execute_cgi path=json_proto method=POST [15:58:47]POST find Content-Length [15:58:47]Host: 172.17.53.196:8080 [15:58:47]Content-Length: 644 [15:58:47]Content-Type: application/json [15:58:47] [15:58:47]POST finish read [15:58:47]Found Content-Length = 644 [15:58:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34766", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:47]execute_script... [15:58:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34766", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:58:47]POST & json_proto [15:58:47]process_json_proto [15:58:47]json parsed OK: [15:58:47]protocol is kg_v1.0 [15:58:47]action value=close_receipt [15:58:47]process_action close_receipt [15:58:47]cmd_close_receipt [15:58:47]MH_GetDate [15:58:47]Write to MH i2c: F0 00 00 C8 03 BA [15:58:47]Write i2c OK [15:58:47]MH_I2C_Read... [15:58:47]Read from MH i2c: F0 [15:58:47]MH_I2C_Read... [15:58:47]Read from MH i2c: F0 09 00 [15:58:47]MH_I2C_Read... [15:58:47]Read from MH i2c: F0 09 00 C8 03 00 B8 CB 17 67 4F CD 9A 65 DF [15:58:47]GetLastDocTimeStamp 1729612681 [15:58:47]current date 1729612728 [15:58:47]FM_GetShiftState [15:58:47]SAM_PROTO_GetShiftState [15:58:47]wFMCommunicate request_size=4 [15:58:47]MH_SAM_APDU [15:58:47]CAPDU: 80 13 01 00 [15:58:47]Write to MH i2c: E2 08 00 C9 03 80 13 01 00 00 00 00 00 49 [15:58:47]Write i2c OK [15:58:47]MH_I2C_Read... [15:58:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:47]Read from MH i2c: E2 [15:58:47]MH_I2C_Read... [15:58:47]Read from MH i2c: E2 0E 00 [15:58:47]MH_I2C_Read... [15:58:47]Read from MH i2c: E2 0E 00 C9 03 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 9A [15:58:47]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:58:47]wFMCommunicate OK [15:58:47]SAM_PROTO_GetShiftState done [15:58:47]FM_GetShiftState done [15:58:47]opened in 1729556951 [15:58:47]opened+sec_in_day 1729643351 [15:58:47]quantity*price = 7900 [15:58:47]sum+1 = 7901 [15:58:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 79.00 НСП 1% : 0.70 НДС 12% : 8.39 Наличными: 79.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 29 22.10.2024 15:58 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25008 ФПД: 212357436409923 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155848&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25008&fm=212357436409923&tin=02508201610067®Number=0000000000098147&sum=7900 0 [15:58:48]StoreToDocumentArchive [15:58:48]shift 457 fd 25008 [15:58:48]save to /storage/0457/doc_00025008 [15:58:48]save last doc name /storage/0457/doc_00025008 to /storage/kkm_last_doc_name [15:58:48]save OK [15:58:48]Clear old archive folders... [15:58:48]ProcessDocumentItem done err = 0, tmpTLVsize=276 [15:58:48]tlvbuf is 00AB9150 [15:58:48]SAM_PROTO_ClearQueue [15:58:48]wFMCommunicate request_size=4 [15:58:48]MH_SAM_APDU [15:58:48]CAPDU: 80 09 00 00 [15:58:48]Write to MH i2c: E2 08 00 D6 03 80 09 00 00 00 00 00 00 4B [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:58:48]Read from MH i2c: E2 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 D6 03 00 90 00 4D [15:58:48]RAPDU: 90 00 [15:58:48]wFMCommunicate OK [15:58:48]SAM_PROTO_ClearQueue done [15:58:48]KKMCreateOFDPacket [15:58:48]OFDProtocolAddRootSTLVToBuf [15:58:48]FM_MakeSignedData [15:58:48]FM_MakeSignedData [15:58:48]SAM_PROTO_SignData [15:58:48]wFMCommunicate request_size=4 [15:58:48]MH_SAM_APDU [15:58:48]CAPDU: 80 0D 01 02 [15:58:48]Write to MH i2c: E2 08 00 D7 03 80 0D 01 02 00 00 00 00 53 [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:58:48]Read from MH i2c: E2 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 D7 03 00 90 00 4E [15:58:48]RAPDU: 90 00 [15:58:48]wFMCommunicate OK [15:58:48]wFMCommunicate request_size=255 [15:58:48]MH_SAM_APDU [15:58:48]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 B8 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 [15:58:48]Write to MH i2c: E2 02 01 D8 03 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 B8 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 00 00 22 [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:48]Read from MH i2c: E2 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 D8 03 00 90 00 4F [15:58:48]RAPDU: 90 00 [15:58:48]wFMCommunicate OK [15:58:48]wFMCommunicate request_size=35 [15:58:48]MH_SAM_APDU [15:58:48]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B0 61 00 00 35 04 06 00 C1 23 51 90 08 43 [15:58:48]Write to MH i2c: E2 26 00 D9 03 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B0 61 00 00 35 04 06 00 C1 23 51 90 08 43 00 00 6E [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:58:48]Read from MH i2c: E2 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 03 00 D9 03 00 90 00 50 [15:58:48]RAPDU: 90 00 [15:58:48]wFMCommunicate OK [15:58:48]wFMCommunicate request_size=4 [15:58:48]MH_SAM_APDU [15:58:48]CAPDU: 80 0D 03 02 [15:58:48]Write to MH i2c: E2 08 00 DA 03 80 0D 03 02 00 00 00 00 58 [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:58:48]Read from MH i2c: E2 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 0B 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 0B 00 DA 03 00 BF 56 8D EC 72 F6 89 DA 90 00 B2 [15:58:48]RAPDU: BF 56 8D EC 72 F6 89 DA 90 00 [15:58:48]wFMCommunicate OK [15:58:48]SAM_PROTO_SignData done [15:58:48]FM_MakeSignedData done [15:58:48]CreateOFDProtocolMessage [15:58:48]wFMCommunicate request_size=4 [15:58:48]MH_SAM_APDU [15:58:48]CAPDU: 80 11 00 00 [15:58:48]Write to MH i2c: E2 08 00 DB 03 80 11 00 00 00 00 00 00 58 [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:48]Read from MH i2c: E2 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 17 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: E2 17 00 DB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 AF [15:58:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:58:48]wFMCommunicate OK [15:58:48]CreateOFDProtocolMessage done [15:58:48]OFDSenderStorePacket 25008 [15:58:48]StoreOFDPacket docnum=25008 [15:58:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 28 01 00 00 4C 7D 20 01 A2 9C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 B8 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B0 61 00 00 35 04 06 00 C1 23 51 90 08 43 BF 56 8D EC 72 F6 89 DA [15:58:48]CheckFolder [15:58:48]dirname=/storage/ofd_packets [15:58:48]CheckFolder done [15:58:48]ProducePacketName [15:58:48]name=ofd_packets/00025008 [15:58:48]NVStorageSaveData ofd_packets/00025008 [15:58:48]File name is /storage/ofd_packets/00025008 [15:58:48]Write 326 bytes [15:58:48]NVStorageSaveData done [15:58:48]OFDSenderStorePacket done [15:58:48]KKMCreateOFDPacket done [15:58:48]NVStorageSaveData kkm_last_timestamp [15:58:48]File name is /storage/kkm_last_timestamp [15:58:48]Write 4 bytes [15:58:48]NVStorageSaveData done [15:58:48]OFD Sender: Processing packet 25008 [packets to send 5, broken 4] [15:58:48]ProducePacketName [15:58:48]name=ofd_packets/00025008 [15:58:48]OFD Sender: To server: pG, [15:58:48]CommunicateWithHost lk.salyk.kg:30040 [15:58:48]ConnectInit lk.salyk.kg [15:58:48]ExternCall_PrintAddStr [15:58:48]wPrintStart [15:58:48]Write to MH i2c: 01 00 00 DC 03 DF [15:58:48]Write i2c OK [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: 01 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: 01 07 00 [15:58:48]MH_I2C_Read... [15:58:48]Read from MH i2c: 01 07 00 DC 03 00 00 00 00 00 FF 0F F4 [15:58:48]RasterBufferAndPrint [15:58:48]line Счет N : (3)34766 [15:58:48]line ИНН: 02508201610067 [15:58:48]line Контрольно-Кассовый Чек [15:58:48]line ПРОДАЖА [15:58:48]line Товар: 4700000310043 [15:58:48]line Вода Жалалабат 27 1л [15:58:48]line 1.000 * 79.00 [15:58:48]line = 79.00 [15:58:48]line НДС 12% НСП 1% [15:58:48]line > о реализуемом товаре [15:58:48]line ИТОГО: 79.00 [15:58:48]line НСП 1% : 0.70 [15:58:48]line НДС 12% : 8.39 [15:58:48]line Наличными: 79.00 [15:58:48]line Безнал.: 0.00 [15:58:48]line Место: АЗС № 161 "Партнер Нефть" [15:58:48]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [15:58:48]line СНО: Общий режим [15:58:48]line Чек 29 22.10.2024 15:58 [15:58:48]line Смена: 457 ФФД: 1.0 [15:58:48]line ЗНМ: 0300000240 [15:58:48]line РНМ: 0000000000098147 [15:58:48]line Версия ККМ: 001 [15:58:48]line ФМ: 0000000000965376 [15:58:48]line ФД: 25008 [15:58:48]line ФПД: 212357436409923 [15:58:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155848&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25008&fm=212357436409923&tin=02508201610067®Number=0000000000098147&sum=7900 [15:58:49]line 0 [15:58:49]written 0, free lines is 4095 [15:58:49]Write to MH i2c: 01 00 00 04 04 08 [15:58:49]Write i2c OK [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: 01 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: 01 07 00 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: 01 07 00 04 04 00 00 00 00 00 EC 0C 07 [15:58:49]RasterBufferAndPrint [15:58:49]line [15:58:49]line [15:58:49]line [15:58:49]line [15:58:49]line [15:58:49]written 0, free lines is 3314 [15:58:49]process_action close_receipt done [15:58:49]requested_data is exist [15:58:49]produce_requested_data [15:58:49]requested_item fm.sn is exist - process it [15:58:49]wFMCommunicate request_size=4 [15:58:49]MH_SAM_APDU [15:58:49]CAPDU: 80 11 00 00 [15:58:49]Write to MH i2c: E2 08 00 0B 04 80 11 00 00 00 00 00 00 89 [15:58:49]Write i2c OK [15:58:49]MH_I2C_Read... [15:58:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:58:49]Read from MH i2c: E2 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: E2 17 00 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: E2 17 00 0B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E0 [15:58:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [15:58:49]wFMCommunicate OK [15:58:49]requested_item fd.num is exist - process it [15:58:49]SAM_PROTO_GetFieldsCounters [15:58:49]wFMCommunicate request_size=4 [15:58:49]MH_SAM_APDU [15:58:49]CAPDU: 80 13 00 00 [15:58:49]Write to MH i2c: E2 08 00 0C 04 80 13 00 00 00 00 00 00 8C [15:58:49]Write i2c OK [15:58:49]MH_I2C_Read... [15:58:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:58:49]Read from MH i2c: E2 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: E2 62 00 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: E2 62 00 0C 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B0 61 00 00 0E 04 04 00 C9 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 E7 [15:58:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B0 61 00 00 0E 04 04 00 C9 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 [15:58:49]wFMCommunicate OK [15:58:49]SAM_PROTO_GetFieldsCounters done [15:58:49]requested_item shift.num is exist - process it [15:58:49]requested_item shift.opened is exist - process it [15:58:49]req_shift_opened [15:58:49]FM_GetShiftState [15:58:49]SAM_PROTO_GetShiftState [15:58:49]wFMCommunicate request_size=4 [15:58:49]MH_SAM_APDU [15:58:49]CAPDU: 80 13 01 00 [15:58:49]Write to MH i2c: E2 08 00 0D 04 80 13 01 00 00 00 00 00 8E [15:58:49]Write i2c OK [15:58:49]MH_I2C_Read... [15:58:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:58:49]Read from MH i2c: E2 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: E2 0E 00 [15:58:49]MH_I2C_Read... [15:58:49]Read from MH i2c: E2 0E 00 0D 04 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 DF [15:58:49]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [15:58:49]wFMCommunicate OK [15:58:49]SAM_PROTO_GetShiftState done [15:58:49]FM_GetShiftState done [15:58:49]req_shift_opened done [15:58:49]requested_item shift.open_date is exist - process it [15:58:49]req_shift_open_date [15:58:49]req_shift_open_date done [15:58:49]produce_requested_data done [15:58:49]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25008,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [15:58:49]process_action_free close_receipt [15:58:49]json_value_free [15:58:49]json_value_free done [15:58:49]process_json_proto returns [15:58:49]Send response to host [15:58:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25008,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [15:58:49]free response buf [15:58:49]execute_script done [15:58:49]execute_script returns [15:58:49]free content buf [15:58:49]Sock 8.Close socket [15:58:49]Sock 8.Thread stoped [16:00:58]ConnectInit Can't connect to host [16:00:58]CommunicateWithHost connect error [16:00:58]CommunicateWithHost err = -1 [16:00:58]OFD Sender: Server communicate error [16:01:03]OFD Sender: Processing packet 25008 [packets to send 5, broken 4] [16:01:03]ProducePacketName [16:01:03]name=ofd_packets/00025008 [16:01:03]OFD Sender: To server: pG, [16:01:03]CommunicateWithHost lk.salyk.kg:30040 [16:01:03]ConnectInit lk.salyk.kg [16:01:03]Connected sock=8 [16:01:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 28 01 00 00 4C 7D 20 01 A2 9C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 DC 1E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1D 00 00 00 F4 03 04 00 B8 CB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B0 61 00 00 35 04 06 00 C1 23 51 90 08 43 BF 56 8D EC 72 F6 89 DA [16:01:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 98 AF 47 00 12 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B0 61 00 00 F4 03 04 00 B9 74 17 67 B6 04 01 00 00 9E C6 35 65 5C F7 A7 1A [16:01:04]CommunicateWithHost err = 0 [16:01:04]CheckOFDResponse [16:01:04]1017 (14) - 77093643461234 [16:01:04]1041 (16) - 0000000000965376 [16:01:04]1040 (4) - 25008 [16:01:04]1012 (4) - 22.10.2024 09:47 [16:01:04]1206 (1) - 0 [16:01:04]OFD Sender: Remove packet 25008 [16:01:04]ProducePacketName [16:01:04]name=ofd_packets/00025008 [16:01:04]NVStorageDeleteData [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:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:50]OFD Sender: No OFD packet to send [16:11:55]OFD Sender: No OFD packet to send [16:12:00]OFD Sender: No OFD packet to send [16:12:05]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [17:17:02]ConnectInit Can't connect to host [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:24]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [17:23:19]OFD Sender: No OFD packet to send [17:23:24]OFD Sender: No OFD packet to send [17:23:29]OFD Sender: No OFD packet to send [17:23:34]OFD Sender: No OFD packet to send [17:23:39]OFD Sender: No OFD packet to send [17:23:44]OFD Sender: No OFD packet to send [17:23:49]OFD Sender: No OFD packet to send [17:23:54]OFD Sender: No OFD packet to send [17:23:59]OFD Sender: No OFD packet to send [17:24:04]OFD Sender: No OFD packet to send [17:24:09]OFD Sender: No OFD packet to send [17:24:14]OFD Sender: No OFD packet to send [17:24:19]OFD Sender: No OFD packet to send [17:24:24]OFD Sender: No OFD packet to send [17:24:29]OFD Sender: No OFD packet to send [17:24:34]OFD Sender: No OFD packet to send [17:24:39]OFD Sender: No OFD packet to send [17:24:44]OFD Sender: No OFD packet to send [17:24:49]OFD Sender: No OFD packet to send [17:24:54]OFD Sender: No OFD packet to send [17:24:59]OFD Sender: No OFD packet to send [17:25:04]OFD Sender: No OFD packet to send [17:25:09]OFD Sender: No OFD packet to send [17:25:14]OFD Sender: No OFD packet to send [17:25:19]OFD Sender: No OFD packet to send [17:25:24]OFD Sender: No OFD packet to send [17:25:29]OFD Sender: No OFD packet to send [17:25:34]OFD Sender: No OFD packet to send [17:25:39]OFD Sender: No OFD packet to send [17:25:44]OFD Sender: No OFD packet to send [17:25:49]OFD Sender: No OFD packet to send [17:25:54]OFD Sender: No OFD packet to send [17:25:59]OFD Sender: No OFD packet to send [17:26:04]OFD Sender: No OFD packet to send [17:26:09]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:05]OFD Sender: No OFD packet to send [17:28:10]OFD Sender: No OFD packet to send [17:28:15]OFD Sender: No OFD packet to send [17:28:20]OFD Sender: No OFD packet to send [17:28:25]OFD Sender: No OFD packet to send [17:28:30]OFD Sender: No OFD packet to send [17:28:35]OFD Sender: No OFD packet to send [17:28:40]OFD Sender: No OFD packet to send [17:28:45]OFD Sender: No OFD packet to send [17:28:50]OFD Sender: No OFD packet to send [17:28:55]OFD Sender: No OFD packet to send [17:29:00]OFD Sender: No OFD packet to send [17:29:05]OFD Sender: No OFD packet to send [17:29:10]OFD Sender: No OFD packet to send [17:29:15]OFD Sender: No OFD packet to send [17:29:20]OFD Sender: No OFD packet to send [17:29:25]OFD Sender: No OFD packet to send [17:29:30]OFD Sender: No OFD packet to send [17:29:35]OFD Sender: No OFD packet to send [17:29:40]OFD Sender: No OFD packet to send [17:29:45]OFD Sender: No OFD packet to send [17:29:50]OFD Sender: No OFD packet to send [17:29:55]OFD Sender: No OFD packet to send [17:30:00]OFD Sender: No OFD packet to send [17:30:05]OFD Sender: No OFD packet to send [17:30:10]OFD Sender: No OFD packet to send [17:30:15]OFD Sender: No OFD packet to send [17:30:20]OFD Sender: No OFD packet to send [17:30:25]OFD Sender: No OFD packet to send [17:30:30]OFD Sender: No OFD packet to send [17:30:35]OFD Sender: No OFD packet to send [17:30:40]OFD Sender: No OFD packet to send [17:30:45]OFD Sender: No OFD packet to send [17:30:50]OFD Sender: No OFD packet to send [17:30:55]OFD Sender: No OFD packet to send [17:31:00]OFD Sender: No OFD packet to send [17:31:05]OFD Sender: No OFD packet to send [17:31:10]OFD Sender: No OFD packet to send [17:31:15]OFD Sender: No OFD packet to send [17:31:20]OFD Sender: No OFD packet to send [17:31:25]OFD Sender: No OFD packet to send [17:31:30]OFD Sender: No OFD packet to send [17:31:35]OFD Sender: No OFD packet to send [17:31:40]OFD Sender: No OFD packet to send [17:31:45]OFD Sender: No OFD packet to send [17:31:50]OFD Sender: No OFD packet to send [17:31:55]OFD Sender: No OFD packet to send [17:32:00]OFD Sender: No OFD packet to send [17:32:05]OFD Sender: No OFD packet to send [17:32:10]OFD Sender: No OFD packet to send [17:32:15]OFD Sender: No OFD packet to send [17:32:20]OFD Sender: No OFD packet to send [17:32:25]OFD Sender: No OFD packet to send [17:32:30]OFD Sender: No OFD packet to send [17:32:35]OFD Sender: No OFD packet to send [17:32:40]OFD Sender: No OFD packet to send [17:32:45]OFD Sender: No OFD packet to send [17:32:50]OFD Sender: No OFD packet to send [17:32:55]OFD Sender: No OFD packet to send [17:33:00]OFD Sender: No OFD packet to send [17:33:05]OFD Sender: No OFD packet to send [17:33:10]OFD Sender: No OFD packet to send [17:33:15]OFD Sender: No OFD packet to send [17:33:20]OFD Sender: No OFD packet to send [17:33:25]OFD Sender: No OFD packet to send [17:33:30]OFD Sender: No OFD packet to send [17:33:35]OFD Sender: No OFD packet to send [17:33:40]OFD Sender: No OFD packet to send [17:33:45]OFD Sender: No OFD packet to send [17:33:50]OFD Sender: No OFD packet to send [17:33:55]OFD Sender: No OFD packet to send [17:34:00]OFD Sender: No OFD packet to send [17:34:05]OFD Sender: No OFD packet to send [17:34:10]OFD Sender: No OFD packet to send [17:34:15]OFD Sender: No OFD packet to send [17:34:20]OFD Sender: No OFD packet to send [17:34:25]OFD Sender: No OFD packet to send [17:34:30]OFD Sender: No OFD packet to send [17:34:35]OFD Sender: No OFD packet to send [17:34:40]OFD Sender: No OFD packet to send [17:34:45]OFD Sender: No OFD packet to send [17:34:50]OFD Sender: No OFD packet to send [17:34:55]OFD Sender: No OFD packet to send [17:35:00]OFD Sender: No OFD packet to send [17:35:05]OFD Sender: No OFD packet to send [17:35:10]OFD Sender: No OFD packet to send [17:35:15]OFD Sender: No OFD packet to send [17:35:20]OFD Sender: No OFD packet to send [17:35:25]OFD Sender: No OFD packet to send [17:35:30]OFD Sender: No OFD packet to send [17:35:35]OFD Sender: No OFD packet to send [17:35:40]OFD Sender: No OFD packet to send [17:35:45]OFD Sender: No OFD packet to send [17:35:50]OFD Sender: No OFD packet to send [17:35:55]OFD Sender: No OFD packet to send [17:36:00]OFD Sender: No OFD packet to send [17:36:05]OFD Sender: No OFD packet to send [17:36:10]OFD Sender: No OFD packet to send [17:36:15]OFD Sender: No OFD packet to send [17:36:20]OFD Sender: No OFD packet to send [17:36:25]OFD Sender: No OFD packet to send [17:36:30]OFD Sender: No OFD packet to send [17:36:35]OFD Sender: No OFD packet to send [17:36:40]OFD Sender: No OFD packet to send [17:36:45]OFD Sender: No OFD packet to send [17:36:50]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:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]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:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]accept exits with 8 [18:08:16]New connection [18:08:16]New thread 3067469156 created [18:08:16]Thread 3067612516 joined [18:08:16]Waiting for new connection... [18:08:16] Sock 8.Parse request [18:08:16]Sock 8.Check first char [18:08:16]Sock 8.First char is OK [18:08:16]request: POST /json_proto HTTP/1.0 [18:08:16]Method: POST [18:08:16]URL: /json_proto [18:08:16]Method is POST - this is cgi request [18:08:16]url: /json_proto [18:08:16]query_string will be loaded in cgi processing [18:08:16]execute_cgi json_proto POST (null) [18:08:16]execute_cgi path=json_proto method=POST [18:08:16]POST find Content-Length [18:08:16]Host: 172.17.53.196:8080 [18:08:16]Content-Length: 668 [18:08:16]Content-Type: application/json [18:08:16] [18:08:16]POST finish read [18:08:16]Found Content-Length = 668 [18:08:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34772", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:16]execute_script... [18:08:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34772", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:08:16]POST & json_proto [18:08:16]process_json_proto [18:08:16]json parsed OK: [18:08:16]protocol is kg_v1.0 [18:08:16]action value=close_receipt [18:08:16]process_action close_receipt [18:08:16]cmd_close_receipt [18:08:16]MH_GetDate [18:08:16]Write to MH i2c: F0 00 00 7A 05 6E [18:08:16]Write i2c OK [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: F0 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: F0 09 00 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: F0 09 00 7A 05 00 12 EA 17 67 4F CD 9A 65 0C [18:08:16]GetLastDocTimeStamp 1729617388 [18:08:16]current date 1729620498 [18:08:16]FM_GetShiftState [18:08:16]SAM_PROTO_GetShiftState [18:08:16]wFMCommunicate request_size=4 [18:08:16]MH_SAM_APDU [18:08:16]CAPDU: 80 13 01 00 [18:08:16]Write to MH i2c: E2 08 00 7B 05 80 13 01 00 00 00 00 00 FD [18:08:16]Write i2c OK [18:08:16]MH_I2C_Read... [18:08:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:16]Read from MH i2c: E2 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 0E 00 [18:08:16]MH_I2C_Read... [18:08:16]Read from MH i2c: E2 0E 00 7B 05 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 4E [18:08:16]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:08:16]wFMCommunicate OK [18:08:16]SAM_PROTO_GetShiftState done [18:08:16]FM_GetShiftState done [18:08:16]opened in 1729556951 [18:08:16]opened+sec_in_day 1729643351 [18:08:16]quantity*price = 8900 [18:08:16]sum+1 = 8901 [18:08:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.79 НДС 12% : 9.45 Наличными: 89.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 35 22.10.2024 18:08 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25014 ФПД: 55385452814146 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T180818&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25014&fm=55385452814146&tin=02508201610067®Number=0000000000098147&sum=8900 0 [18:08:18]StoreToDocumentArchive [18:08:18]shift 457 fd 25014 [18:08:18]save to /storage/0457/doc_00025014 [18:08:18]save last doc name /storage/0457/doc_00025014 to /storage/kkm_last_doc_name [18:08:18]save OK [18:08:18]Clear old archive folders... [18:08:18]ProcessDocumentItem done err = 0, tmpTLVsize=284 [18:08:18]tlvbuf is 00ADA6A0 [18:08:18]SAM_PROTO_ClearQueue [18:08:18]wFMCommunicate request_size=4 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 09 00 00 [18:08:18]Write to MH i2c: E2 08 00 88 05 80 09 00 00 00 00 00 00 FF [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 88 05 00 90 00 01 [18:08:18]RAPDU: 90 00 [18:08:18]wFMCommunicate OK [18:08:18]SAM_PROTO_ClearQueue done [18:08:18]KKMCreateOFDPacket [18:08:18]OFDProtocolAddRootSTLVToBuf [18:08:18]FM_MakeSignedData [18:08:18]FM_MakeSignedData [18:08:18]SAM_PROTO_SignData [18:08:18]wFMCommunicate request_size=4 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 0D 01 02 [18:08:18]Write to MH i2c: E2 08 00 89 05 80 0D 01 02 00 00 00 00 07 [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 89 05 00 90 00 02 [18:08:18]RAPDU: 90 00 [18:08:18]wFMCommunicate OK [18:08:18]wFMCommunicate request_size=255 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 12 EA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [18:08:18]Write to MH i2c: E2 02 01 8A 05 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 12 EA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 B8 [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 8A 05 00 90 00 03 [18:08:18]RAPDU: 90 00 [18:08:18]wFMCommunicate OK [18:08:18]wFMCommunicate request_size=43 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B6 61 00 00 35 04 06 00 32 5F 6E 3D 9F 42 [18:08:18]Write to MH i2c: E2 2E 00 8B 05 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B6 61 00 00 35 04 06 00 32 5F 6E 3D 9F 42 00 00 2A [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 03 00 8B 05 00 90 00 04 [18:08:18]RAPDU: 90 00 [18:08:18]wFMCommunicate OK [18:08:18]wFMCommunicate request_size=4 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 0D 03 02 [18:08:18]Write to MH i2c: E2 08 00 8C 05 80 0D 03 02 00 00 00 00 0C [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 0B 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 0B 00 8C 05 00 BF 98 6E FB 32 7B D2 B1 90 00 FD [18:08:18]RAPDU: BF 98 6E FB 32 7B D2 B1 90 00 [18:08:18]wFMCommunicate OK [18:08:18]SAM_PROTO_SignData done [18:08:18]FM_MakeSignedData done [18:08:18]CreateOFDProtocolMessage [18:08:18]wFMCommunicate request_size=4 [18:08:18]MH_SAM_APDU [18:08:18]CAPDU: 80 11 00 00 [18:08:18]Write to MH i2c: E2 08 00 8D 05 80 11 00 00 00 00 00 00 0C [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:18]Read from MH i2c: E2 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 17 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: E2 17 00 8D 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 63 [18:08:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:08:18]wFMCommunicate OK [18:08:18]CreateOFDProtocolMessage done [18:08:18]OFDSenderStorePacket 25014 [18:08:18]StoreOFDPacket docnum=25014 [18:08:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 30 01 00 00 32 66 28 01 3C A1 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 12 EA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B6 61 00 00 35 04 06 00 32 5F 6E 3D 9F 42 BF 98 6E FB 32 7B D2 B1 [18:08:18]CheckFolder [18:08:18]dirname=/storage/ofd_packets [18:08:18]CheckFolder done [18:08:18]ProducePacketName [18:08:18]name=ofd_packets/00025014 [18:08:18]NVStorageSaveData ofd_packets/00025014 [18:08:18]File name is /storage/ofd_packets/00025014 [18:08:18]Write 334 bytes [18:08:18]NVStorageSaveData done [18:08:18]OFDSenderStorePacket done [18:08:18]KKMCreateOFDPacket done [18:08:18]NVStorageSaveData kkm_last_timestamp [18:08:18]File name is /storage/kkm_last_timestamp [18:08:18]Write 4 bytes [18:08:18]NVStorageSaveData done [18:08:18]ExternCall_PrintAddStr [18:08:18]wPrintStart [18:08:18]Write to MH i2c: 01 00 00 8E 05 93 [18:08:18]Write i2c OK [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: 01 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: 01 07 00 [18:08:18]MH_I2C_Read... [18:08:18]Read from MH i2c: 01 07 00 8E 05 00 00 00 00 00 FF 0F A8 [18:08:18]RasterBufferAndPrint [18:08:18]line Счет N : (3)34772 [18:08:18]line ИНН: 02508201610067 [18:08:18]line Контрольно-Кассовый Чек [18:08:18]line ПРОДАЖА [18:08:18]line Товар: 4700040114137 [18:08:18]line Султан чай 1л. зел лимон [18:08:18]line 1.000 * 89.00 [18:08:18]line = 89.00 [18:08:18]line НДС 12% НСП 1% [18:08:18]line > о реализуемом товаре [18:08:18]line ИТОГО: 89.00 [18:08:18]line НСП 1% : 0.79 [18:08:18]line НДС 12% : 9.45 [18:08:18]line Наличными: 89.00 [18:08:18]line Безнал.: 0.00 [18:08:18]line Место: АЗС № 161 "Партнер Нефть" [18:08:18]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:08:18]line СНО: Общий режим [18:08:18]line Чек 35 22.10.2024 18:08 [18:08:18]line Смена: 457 ФФД: 1.0 [18:08:18]line ЗНМ: 0300000240 [18:08:18]line РНМ: 0000000000098147 [18:08:18]line Версия ККМ: 001 [18:08:18]line ФМ: 0000000000965376 [18:08:18]line ФД: 25014 [18:08:18]line ФПД: 55385452814146 [18:08:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T180818&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25014&fm=55385452814146&tin=02508201610067®Number=0000000000098147&sum=8900 [18:08:18]line 0 [18:08:18]OFD Sender: Processing packet 25014 [packets to send 5, broken 4] [18:08:18]ProducePacketName [18:08:18]name=ofd_packets/00025014 [18:08:18]OFD Sender: To server: pG, [18:08:18]CommunicateWithHost lk.salyk.kg:30040 [18:08:18]ConnectInit lk.salyk.kg [18:08:18]written 0, free lines is 4095 [18:08:18]Connected sock=10 [18:08:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 30 01 00 00 32 66 28 01 3C A1 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 12 EA 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B6 61 00 00 35 04 06 00 32 5F 6E 3D 9F 42 BF 98 6E FB 32 7B D2 B1 [18:08:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 78 15 47 00 5C 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B6 61 00 00 F4 03 04 00 8C 92 17 67 B6 04 01 00 00 5C 14 BF 03 A8 26 02 89 [18:08:19]CommunicateWithHost err = 0 [18:08:19]CheckOFDResponse [18:08:19]1017 (14) - 77093643461234 [18:08:19]1041 (16) - 0000000000965376 [18:08:19]1040 (4) - 25014 [18:08:19]1012 (4) - 22.10.2024 11:54 [18:08:19]1206 (1) - 0 [18:08:19]OFD Sender: Remove packet 25014 [18:08:19]ProducePacketName [18:08:19]name=ofd_packets/00025014 [18:08:19]NVStorageDeleteData [18:08:19]Write to MH i2c: 01 00 00 B6 05 BB [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: 01 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: 01 07 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: 01 07 00 B6 05 00 00 00 00 00 E6 0C B4 [18:08:19]RasterBufferAndPrint [18:08:19]line [18:08:19]line [18:08:19]line [18:08:19]line [18:08:19]line [18:08:19]written 0, free lines is 3307 [18:08:19]process_action close_receipt done [18:08:19]requested_data is exist [18:08:19]produce_requested_data [18:08:19]requested_item fm.sn is exist - process it [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 11 00 00 [18:08:19]Write to MH i2c: E2 08 00 BD 05 80 11 00 00 00 00 00 00 3C [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 17 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 17 00 BD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 93 [18:08:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:08:19]wFMCommunicate OK [18:08:19]requested_item fd.num is exist - process it [18:08:19]SAM_PROTO_GetFieldsCounters [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 13 00 00 [18:08:19]Write to MH i2c: E2 08 00 BE 05 80 13 00 00 00 00 00 00 3F [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 62 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 62 00 BE 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B6 61 00 00 0E 04 04 00 C9 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 B2 [18:08:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B6 61 00 00 0E 04 04 00 C9 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 [18:08:19]wFMCommunicate OK [18:08:19]SAM_PROTO_GetFieldsCounters done [18:08:19]requested_item shift.num is exist - process it [18:08:19]requested_item shift.opened is exist - process it [18:08:19]req_shift_opened [18:08:19]FM_GetShiftState [18:08:19]SAM_PROTO_GetShiftState [18:08:19]wFMCommunicate request_size=4 [18:08:19]MH_SAM_APDU [18:08:19]CAPDU: 80 13 01 00 [18:08:19]Write to MH i2c: E2 08 00 BF 05 80 13 01 00 00 00 00 00 41 [18:08:19]Write i2c OK [18:08:19]MH_I2C_Read... [18:08:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:08:19]Read from MH i2c: E2 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 0E 00 [18:08:19]MH_I2C_Read... [18:08:19]Read from MH i2c: E2 0E 00 BF 05 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 92 [18:08:19]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:08:19]wFMCommunicate OK [18:08:19]SAM_PROTO_GetShiftState done [18:08:19]FM_GetShiftState done [18:08:19]req_shift_opened done [18:08:19]requested_item shift.open_date is exist - process it [18:08:19]req_shift_open_date [18:08:19]req_shift_open_date done [18:08:19]produce_requested_data done [18:08:19]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25014,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [18:08:19]process_action_free close_receipt [18:08:19]json_value_free [18:08:19]json_value_free done [18:08:19]process_json_proto returns [18:08:19]Send response to host [18:08:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25014,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [18:08:19]free response buf [18:08:19]execute_script done [18:08:19]execute_script returns [18:08:19]free content buf [18:08:19]Sock 8.Close socket [18:08:19]Sock 8.Thread stoped [18:08:19]OFD Sender: No OFD packet to send [18:08:24]OFD Sender: No OFD packet to send [18:08:29]OFD Sender: No OFD packet to send [18:08:34]OFD Sender: No OFD packet to send [18:08:39]OFD Sender: No OFD packet to send [18:08:44]OFD Sender: No OFD packet to send [18:08:49]OFD Sender: No OFD packet to send [18:08:54]OFD Sender: No OFD packet to send [18:08:59]OFD Sender: No OFD packet to send [18:09:04]OFD Sender: No OFD packet to send [18:09:09]OFD Sender: No OFD packet to send [18:09:14]OFD Sender: No OFD packet to send [18:09:19]OFD Sender: No OFD packet to send [18:09:24]OFD Sender: No OFD packet to send [18:09:29]OFD Sender: No OFD packet to send [18:09:34]OFD Sender: No OFD packet to send [18:09:39]OFD Sender: No OFD packet to send [18:09:44]OFD Sender: No OFD packet to send [18:09:49]OFD Sender: No OFD packet to send [18:09:54]OFD Sender: No OFD packet to send [18:09:59]OFD Sender: No OFD packet to send [18:10:04]OFD Sender: No OFD packet to send [18:10:09]OFD Sender: No OFD packet to send [18:10:14]OFD Sender: No OFD packet to send [18:10:19]OFD Sender: No OFD packet to send [18:10:24]OFD Sender: No OFD packet to send [18:10:29]OFD Sender: No OFD packet to send [18:10:34]OFD Sender: No OFD packet to send [18:10:39]OFD Sender: No OFD packet to send [18:10:44]OFD Sender: No OFD packet to send [18:10:49]OFD Sender: No OFD packet to send [18:10:54]OFD Sender: No OFD packet to send [18:10:59]OFD Sender: No OFD packet to send [18:11:04]OFD Sender: No OFD packet to send [18:11:09]OFD Sender: No OFD packet to send [18:11:14]OFD Sender: No OFD packet to send [18:11:19]OFD Sender: No OFD packet to send [18:11:24]OFD Sender: No OFD packet to send [18:11:29]OFD Sender: No OFD packet to send [18:11:34]OFD Sender: No OFD packet to send [18:11:39]OFD Sender: No OFD packet to send [18:11:44]OFD Sender: No OFD packet to send [18:11:49]OFD Sender: No OFD packet to send [18:11:54]OFD Sender: No OFD packet to send [18:11:59]OFD Sender: No OFD packet to send [18:12:04]OFD Sender: No OFD packet to send [18:12:09]OFD Sender: No OFD packet to send [18:12:14]OFD Sender: No OFD packet to send [18:12:19]OFD Sender: No OFD packet to send [18:12:24]OFD Sender: No OFD packet to send [18:12:29]OFD Sender: No OFD packet to send [18:12:34]OFD Sender: No OFD packet to send [18:12:39]OFD Sender: No OFD packet to send [18:12:44]OFD Sender: No OFD packet to send [18:12:49]OFD Sender: No OFD packet to send [18:12:54]OFD Sender: No OFD packet to send [18:12:59]OFD Sender: No OFD packet to send [18:13:04]OFD Sender: No OFD packet to send [18:13:09]OFD Sender: No OFD packet to send [18:13:10]accept exits with 9 [18:13:10]New connection [18:13:10]New thread 3067612516 created [18:13:10]Thread 3067469156 joined [18:13:10]Waiting for new connection... [18:13:10] Sock 9.Parse request [18:13:10]Sock 9.Check first char [18:13:10]Sock 9.First char is OK [18:13:10]request: POST /json_proto HTTP/1.0 [18:13:10]Method: POST [18:13:10]URL: /json_proto [18:13:10]Method is POST - this is cgi request [18:13:10]url: /json_proto [18:13:10]query_string will be loaded in cgi processing [18:13:10]execute_cgi json_proto POST (null) [18:13:10]execute_cgi path=json_proto method=POST [18:13:10]POST find Content-Length [18:13:10]Host: 172.17.53.196:8080 [18:13:10]Content-Length: 983 [18:13:10]Content-Type: application/json [18:13:10] [18:13:10]POST finish read [18:13:10]Found Content-Length = 983 [18:13:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34773", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:13:10]execute_script... [18:13:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34773", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:13:10]POST & json_proto [18:13:10]process_json_proto [18:13:10]json parsed OK: [18:13:10]protocol is kg_v1.0 [18:13:10]action value=close_receipt [18:13:10]process_action close_receipt [18:13:10]cmd_close_receipt [18:13:10]MH_GetDate [18:13:10]Write to MH i2c: F0 00 00 C0 05 B4 [18:13:10]Write i2c OK [18:13:10]MH_I2C_Read... [18:13:10]Read from MH i2c: F0 [18:13:10]MH_I2C_Read... [18:13:10]Read from MH i2c: F0 09 00 [18:13:10]MH_I2C_Read... [18:13:10]Read from MH i2c: F0 09 00 C0 05 00 37 EB 17 67 4F CD 9A 65 78 [18:13:10]GetLastDocTimeStamp 1729620498 [18:13:10]current date 1729620791 [18:13:10]FM_GetShiftState [18:13:10]SAM_PROTO_GetShiftState [18:13:10]wFMCommunicate request_size=4 [18:13:10]MH_SAM_APDU [18:13:10]CAPDU: 80 13 01 00 [18:13:10]Write to MH i2c: E2 08 00 C1 05 80 13 01 00 00 00 00 00 43 [18:13:10]Write i2c OK [18:13:10]MH_I2C_Read... [18:13:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:13:10]Read from MH i2c: E2 [18:13:10]MH_I2C_Read... [18:13:10]Read from MH i2c: E2 0E 00 [18:13:10]MH_I2C_Read... [18:13:10]Read from MH i2c: E2 0E 00 C1 05 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 94 [18:13:10]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:13:10]wFMCommunicate OK [18:13:10]SAM_PROTO_GetShiftState done [18:13:10]FM_GetShiftState done [18:13:10]opened in 1729556951 [18:13:10]opened+sec_in_day 1729643351 [18:13:10]quantity*price = 4400 [18:13:10]sum+1 = 4401 [18:13:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 1.000 * 15.00 = 15.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 36 22.10.2024 18:13 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25015 ФПД: 203399168291268 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T181311&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25015&fm=203399168291268&tin=02508201610067®Number=0000000000098147&sum=5900 0 [18:13:11]StoreToDocumentArchive [18:13:11]shift 457 fd 25015 [18:13:11]save to /storage/0457/doc_00025015 [18:13:11]save last doc name /storage/0457/doc_00025015 to /storage/kkm_last_doc_name [18:13:11]save OK [18:13:11]Clear old archive folders... [18:13:11]ProcessDocumentItem done err = 0, tmpTLVsize=403 [18:13:11]tlvbuf is 00AD9FA0 [18:13:11]SAM_PROTO_ClearQueue [18:13:11]wFMCommunicate request_size=4 [18:13:11]MH_SAM_APDU [18:13:11]CAPDU: 80 09 00 00 [18:13:11]Write to MH i2c: E2 08 00 CE 05 80 09 00 00 00 00 00 00 45 [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:13:11]Read from MH i2c: E2 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 CE 05 00 90 00 47 [18:13:11]RAPDU: 90 00 [18:13:11]wFMCommunicate OK [18:13:11]SAM_PROTO_ClearQueue done [18:13:11]KKMCreateOFDPacket [18:13:11]OFDProtocolAddRootSTLVToBuf [18:13:11]FM_MakeSignedData [18:13:11]FM_MakeSignedData [18:13:11]SAM_PROTO_SignData [18:13:11]wFMCommunicate request_size=4 [18:13:11]MH_SAM_APDU [18:13:11]CAPDU: 80 0D 01 02 [18:13:11]Write to MH i2c: E2 08 00 CF 05 80 0D 01 02 00 00 00 00 4D [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:13:11]Read from MH i2c: E2 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 CF 05 00 90 00 48 [18:13:11]RAPDU: 90 00 [18:13:11]wFMCommunicate OK [18:13:11]wFMCommunicate request_size=255 [18:13:11]MH_SAM_APDU [18:13:11]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 [18:13:11]Write to MH i2c: E2 02 01 D0 05 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 2F [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:13:11]Read from MH i2c: E2 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 D0 05 00 90 00 49 [18:13:11]RAPDU: 90 00 [18:13:11]wFMCommunicate OK [18:13:11]wFMCommunicate request_size=162 [18:13:11]MH_SAM_APDU [18:13:11]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 37 EB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B7 61 00 00 35 04 06 00 B8 FD 8F 2C 71 C4 [18:13:11]Write to MH i2c: E2 A5 00 D1 05 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 37 EB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B7 61 00 00 35 04 06 00 B8 FD 8F 2C 71 C4 00 00 E5 [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:13:11]Read from MH i2c: E2 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 03 00 D1 05 00 90 00 4A [18:13:11]RAPDU: 90 00 [18:13:11]wFMCommunicate OK [18:13:11]wFMCommunicate request_size=4 [18:13:11]MH_SAM_APDU [18:13:11]CAPDU: 80 0D 03 02 [18:13:11]Write to MH i2c: E2 08 00 D2 05 80 0D 03 02 00 00 00 00 52 [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:13:11]Read from MH i2c: E2 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 0B 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 0B 00 D2 05 00 93 26 66 C4 C2 C4 BD 39 90 00 B2 [18:13:11]RAPDU: 93 26 66 C4 C2 C4 BD 39 90 00 [18:13:11]wFMCommunicate OK [18:13:11]SAM_PROTO_SignData done [18:13:11]FM_MakeSignedData done [18:13:11]CreateOFDProtocolMessage [18:13:11]wFMCommunicate request_size=4 [18:13:11]MH_SAM_APDU [18:13:11]CAPDU: 80 11 00 00 [18:13:11]Write to MH i2c: E2 08 00 D3 05 80 11 00 00 00 00 00 00 52 [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:13:11]Read from MH i2c: E2 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 17 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: E2 17 00 D3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A9 [18:13:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:13:11]wFMCommunicate OK [18:13:11]CreateOFDProtocolMessage done [18:13:11]OFDSenderStorePacket 25015 [18:13:11]StoreOFDPacket docnum=25015 [18:13:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 A7 01 00 00 DD C5 9F 01 6C C2 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 37 EB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B7 61 00 00 35 04 06 00 B8 FD 8F 2C 71 C4 93 26 66 C4 C2 C4 BD 39 [18:13:11]CheckFolder [18:13:11]dirname=/storage/ofd_packets [18:13:11]CheckFolder done [18:13:11]ProducePacketName [18:13:11]name=ofd_packets/00025015 [18:13:11]NVStorageSaveData ofd_packets/00025015 [18:13:11]File name is /storage/ofd_packets/00025015 [18:13:11]Write 453 bytes [18:13:11]NVStorageSaveData done [18:13:11]OFDSenderStorePacket done [18:13:11]KKMCreateOFDPacket done [18:13:11]NVStorageSaveData kkm_last_timestamp [18:13:11]File name is /storage/kkm_last_timestamp [18:13:11]Write 4 bytes [18:13:11]NVStorageSaveData done [18:13:11]ExternCall_PrintAddStr [18:13:11]wPrintStart [18:13:11]Write to MH i2c: 01 00 00 D4 05 D9 [18:13:11]Write i2c OK [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: 01 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: 01 07 00 [18:13:11]MH_I2C_Read... [18:13:11]Read from MH i2c: 01 07 00 D4 05 00 00 00 00 00 FF 0F EE [18:13:11]RasterBufferAndPrint [18:13:11]line Счет N : (3)34773 [18:13:11]line ИНН: 02508201610067 [18:13:12]line Контрольно-Кассовый Чек [18:13:12]line ПРОДАЖА [18:13:12]line Товар: 4000512994909 [18:13:12]line рЁьхырф Ёюыыш ЁухЁ шэш [18:13:12]line 1.000 * 44.00 [18:13:12]line = 44.00 [18:13:12]line НДС 12% НСП 1% [18:13:12]line > о реализуемом товаре [18:13:12]line Товар: 4700000160013 [18:13:12]line Снек Курут индивидуальный [18:13:12]line 1.000 * 15.00 [18:13:12]line = 15.00 [18:13:12]line НДС 12% НСП 1% [18:13:12]line > о реализуемом товаре [18:13:12]line ИТОГО: 59.00 [18:13:12]line НСП 1% : 0.52 [18:13:12]line НДС 12% : 6.26 [18:13:12]line Наличными: 59.00 [18:13:12]line Безнал.: 0.00 [18:13:12]line Место: АЗС № 161 "Партнер Нефть" [18:13:12]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:13:12]line СНО: Общий режим [18:13:12]line Чек 36 22.10.2024 18:13 [18:13:12]line Смена: 457 ФФД: 1.0 [18:13:12]line ЗНМ: 0300000240 [18:13:12]line РНМ: 0000000000098147 [18:13:12]line Версия ККМ: 001 [18:13:12]line ФМ: 0000000000965376 [18:13:12]line ФД: 25015 [18:13:12]line ФПД: 203399168291268 [18:13:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T181311&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25015&fm=203399168291268&tin=02508201610067®Number=0000000000098147&sum=5900 [18:13:12]OFD Sender: Processing packet 25015 [packets to send 5, broken 4] [18:13:12]ProducePacketName [18:13:12]name=ofd_packets/00025015 [18:13:12]OFD Sender: To server: pG, [18:13:12]CommunicateWithHost lk.salyk.kg:30040 [18:13:12]ConnectInit lk.salyk.kg [18:13:12]line 0 [18:13:12]written 0, free lines is 4095 [18:13:12]Connected sock=10 [18:13:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 A7 01 00 00 DD C5 9F 01 6C C2 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 37 EB 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B7 61 00 00 35 04 06 00 B8 FD 8F 2C 71 C4 93 26 66 C4 C2 C4 BD 39 [18:13:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 58 93 47 00 1E 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B7 61 00 00 F4 03 04 00 B2 93 17 67 B6 04 01 00 00 D4 73 3C DF 07 99 9D CF [18:13:12]CommunicateWithHost err = 0 [18:13:12]CheckOFDResponse [18:13:12]1017 (14) - 77093643461234 [18:13:12]1041 (16) - 0000000000965376 [18:13:12]1040 (4) - 25015 [18:13:12]1012 (4) - 22.10.2024 11:59 [18:13:12]1206 (1) - 0 [18:13:12]OFD Sender: Remove packet 25015 [18:13:12]ProducePacketName [18:13:12]name=ofd_packets/00025015 [18:13:12]NVStorageDeleteData [18:13:12]Write to MH i2c: 01 00 00 02 06 08 [18:13:12]Write i2c OK [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: 01 [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: 01 07 00 [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: 01 07 00 02 06 00 00 00 00 00 61 0C 7C [18:13:12]RasterBufferAndPrint [18:13:12]line [18:13:12]line [18:13:12]line [18:13:12]line [18:13:12]line [18:13:12]written 0, free lines is 3179 [18:13:12]process_action close_receipt done [18:13:12]requested_data is exist [18:13:12]produce_requested_data [18:13:12]requested_item fm.sn is exist - process it [18:13:12]wFMCommunicate request_size=4 [18:13:12]MH_SAM_APDU [18:13:12]CAPDU: 80 11 00 00 [18:13:12]Write to MH i2c: E2 08 00 09 06 80 11 00 00 00 00 00 00 89 [18:13:12]Write i2c OK [18:13:12]MH_I2C_Read... [18:13:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:13:12]Read from MH i2c: E2 [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: E2 17 00 [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: E2 17 00 09 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E0 [18:13:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:13:12]wFMCommunicate OK [18:13:12]requested_item fd.num is exist - process it [18:13:12]SAM_PROTO_GetFieldsCounters [18:13:12]wFMCommunicate request_size=4 [18:13:12]MH_SAM_APDU [18:13:12]CAPDU: 80 13 00 00 [18:13:12]Write to MH i2c: E2 08 00 0A 06 80 13 00 00 00 00 00 00 8C [18:13:12]Write i2c OK [18:13:12]MH_I2C_Read... [18:13:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:13:12]Read from MH i2c: E2 [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: E2 62 00 [18:13:12]MH_I2C_Read... [18:13:12]Read from MH i2c: E2 62 00 0A 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B7 61 00 00 0E 04 04 00 C9 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 03 [18:13:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B7 61 00 00 0E 04 04 00 C9 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 [18:13:12]wFMCommunicate OK [18:13:12]SAM_PROTO_GetFieldsCounters done [18:13:12]requested_item shift.num is exist - process it [18:13:12]requested_item shift.opened is exist - process it [18:13:12]req_shift_opened [18:13:12]FM_GetShiftState [18:13:12]SAM_PROTO_GetShiftState [18:13:12]wFMCommunicate request_size=4 [18:13:12]MH_SAM_APDU [18:13:12]CAPDU: 80 13 01 00 [18:13:12]Write to MH i2c: E2 08 00 0B 06 80 13 01 00 00 00 00 00 8E [18:13:12]Write i2c OK [18:13:12]MH_I2C_Read... [18:13:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:13:13]Read from MH i2c: E2 [18:13:13]MH_I2C_Read... [18:13:13]Read from MH i2c: E2 0E 00 [18:13:13]MH_I2C_Read... [18:13:13]Read from MH i2c: E2 0E 00 0B 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 DF [18:13:13]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:13:13]wFMCommunicate OK [18:13:13]SAM_PROTO_GetShiftState done [18:13:13]FM_GetShiftState done [18:13:13]req_shift_opened done [18:13:13]requested_item shift.open_date is exist - process it [18:13:13]req_shift_open_date [18:13:13]req_shift_open_date done [18:13:13]produce_requested_data done [18:13:13]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25015,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [18:13:13]process_action_free close_receipt [18:13:13]json_value_free [18:13:13]json_value_free done [18:13:13]process_json_proto returns [18:13:13]Send response to host [18:13:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25015,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [18:13:13]free response buf [18:13:13]execute_script done [18:13:13]execute_script returns [18:13:13]free content buf [18:13:13]Sock 9.Close socket [18:13:13]Sock 9.Thread stoped [18:13:13]OFD Sender: No OFD packet to send [18:13:18]OFD Sender: No OFD packet to send [18:13:23]OFD Sender: No OFD packet to send [18:13:28]OFD Sender: No OFD packet to send [18:13:33]OFD Sender: No OFD packet to send [18:13:38]OFD Sender: No OFD packet to send [18:13:43]OFD Sender: No OFD packet to send [18:13:48]OFD Sender: No OFD packet to send [18:13:53]OFD Sender: No OFD packet to send [18:13:58]OFD Sender: No OFD packet to send [18:14:03]OFD Sender: No OFD packet to send [18:14:08]OFD Sender: No OFD packet to send [18:14:13]OFD Sender: No OFD packet to send [18:14:18]OFD Sender: No OFD packet to send [18:14:23]OFD Sender: No OFD packet to send [18:14:28]OFD Sender: No OFD packet to send [18:14:33]OFD Sender: No OFD packet to send [18:14:38]OFD Sender: No OFD packet to send [18:14:43]OFD Sender: No OFD packet to send [18:14:48]OFD Sender: No OFD packet to send [18:14:53]OFD Sender: No OFD packet to send [18:14:58]OFD Sender: No OFD packet to send [18:15:03]OFD Sender: No OFD packet to send [18:15:08]OFD Sender: No OFD packet to send [18:15:13]OFD Sender: No OFD packet to send [18:15:18]OFD Sender: No OFD packet to send [18:15:23]OFD Sender: No OFD packet to send [18:15:28]OFD Sender: No OFD packet to send [18:15:33]OFD Sender: No OFD packet to send [18:15:38]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:43]OFD Sender: No OFD packet to send [18:16:48]OFD Sender: No OFD packet to send [18:16:53]OFD Sender: No OFD packet to send [18:16:58]OFD Sender: No OFD packet to send [18:17:03]OFD Sender: No OFD packet to send [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:53]OFD Sender: No OFD packet to send [18:17:58]OFD Sender: No OFD packet to send [18:18:03]OFD Sender: No OFD packet to send [18:18:08]OFD Sender: No OFD packet to send [18:18:13]OFD Sender: No OFD packet to send [18:18:18]OFD Sender: No OFD packet to send [18:18:23]OFD Sender: No OFD packet to send [18:18:28]OFD Sender: No OFD packet to send [18:18:33]OFD Sender: No OFD packet to send [18:18:38]OFD Sender: No OFD packet to send [18:18:43]OFD Sender: No OFD packet to send [18:18:48]OFD Sender: No OFD packet to send [18:18:53]OFD Sender: No OFD packet to send [18:18:58]OFD Sender: No OFD packet to send [18:19:03]OFD Sender: No OFD packet to send [18:19:08]OFD Sender: No OFD packet to send [18:19:13]OFD Sender: No OFD packet to send [18:19:18]OFD Sender: No OFD packet to send [18:19:23]OFD Sender: No OFD packet to send [18:19:28]OFD Sender: No OFD packet to send [18:19:33]OFD Sender: No OFD packet to send [18:19:38]OFD Sender: No OFD packet to send [18:19:43]OFD Sender: No OFD packet to send [18:19:48]OFD Sender: No OFD packet to send [18:19:53]OFD Sender: No OFD packet to send [18:19:58]OFD Sender: No OFD packet to send [18:20:03]OFD Sender: No OFD packet to send [18:20:08]OFD Sender: No OFD packet to send [18:20:13]OFD Sender: No OFD packet to send [18:20:18]OFD Sender: No OFD packet to send [18:20:23]OFD Sender: No OFD packet to send [18:20:28]OFD Sender: No OFD packet to send [18:20:33]OFD Sender: No OFD packet to send [18:20:38]OFD Sender: No OFD packet to send [18:20:43]OFD Sender: No OFD packet to send [18:20:48]OFD Sender: No OFD packet to send [18:20:53]OFD Sender: No OFD packet to send [18:20:58]OFD Sender: No OFD packet to send [18:21:03]OFD Sender: No OFD packet to send [18:21:08]OFD Sender: No OFD packet to send [18:21:13]OFD Sender: No OFD packet to send [18:21:18]OFD Sender: No OFD packet to send [18:21:23]OFD Sender: No OFD packet to send [18:21:28]OFD Sender: No OFD packet to send [18:21:33]OFD Sender: No OFD packet to send [18:21:38]OFD Sender: No OFD packet to send [18:21:43]OFD Sender: No OFD packet to send [18:21:48]OFD Sender: No OFD packet to send [18:21:53]OFD Sender: No OFD packet to send [18:21:58]OFD Sender: No OFD packet to send [18:22:03]OFD Sender: No OFD packet to send [18:22:08]OFD Sender: No OFD packet to send [18:22:13]OFD Sender: No OFD packet to send [18:22:18]OFD Sender: No OFD packet to send [18:22:23]OFD Sender: No OFD packet to send [18:22:28]OFD Sender: No OFD packet to send [18:22:33]OFD Sender: No OFD packet to send [18:22:38]OFD Sender: No OFD packet to send [18:22:43]OFD Sender: No OFD packet to send [18:22:48]OFD Sender: No OFD packet to send [18:22:53]OFD Sender: No OFD packet to send [18:22:58]OFD Sender: No OFD packet to send [18:23:03]OFD Sender: No OFD packet to send [18:23:08]OFD Sender: No OFD packet to send [18:23:13]OFD Sender: No OFD packet to send [18:23:18]OFD Sender: No OFD packet to send [18:23:23]OFD Sender: No OFD packet to send [18:23:28]OFD Sender: No OFD packet to send [18:23:33]OFD Sender: No OFD packet to send [18:23:38]OFD Sender: No OFD packet to send [18:23:43]OFD Sender: No OFD packet to send [18:23:48]OFD Sender: No OFD packet to send [18:23:53]OFD Sender: No OFD packet to send [18:23:58]OFD Sender: No OFD packet to send [18:24:03]OFD Sender: No OFD packet to send [18:24:08]OFD Sender: No OFD packet to send [18:24:13]OFD Sender: No OFD packet to send [18:24:18]OFD Sender: No OFD packet to send [18:24:23]OFD Sender: No OFD packet to send [18:24:28]OFD Sender: No OFD packet to send [18:24:33]OFD Sender: No OFD packet to send [18:24:38]OFD Sender: No OFD packet to send [18:24:43]OFD Sender: No OFD packet to send [18:24:48]OFD Sender: No OFD packet to send [18:24:53]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:04]OFD Sender: No OFD packet to send [18:34:09]OFD Sender: No OFD packet to send [18:34:14]OFD Sender: No OFD packet to send [18:34:19]OFD Sender: No OFD packet to send [18:34:24]OFD Sender: No OFD packet to send [18:34:29]OFD Sender: No OFD packet to send [18:34:34]OFD Sender: No OFD packet to send [18:34:39]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [18:35:24]OFD Sender: No OFD packet to send [18:35:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:09]OFD Sender: No OFD packet to send [18:41:14]OFD Sender: No OFD packet to send [18:41:19]OFD Sender: No OFD packet to send [18:41:24]OFD Sender: No OFD packet to send [18:41:29]OFD Sender: No OFD packet to send [18:41:34]OFD Sender: No OFD packet to send [18:41:39]OFD Sender: No OFD packet to send [18:41:44]OFD Sender: No OFD packet to send [18:41:49]OFD Sender: No OFD packet to send [18:41:54]OFD Sender: No OFD packet to send [18:41:59]OFD Sender: No OFD packet to send [18:42:04]OFD Sender: No OFD packet to send [18:42:09]OFD Sender: No OFD packet to send [18:42:14]OFD Sender: No OFD packet to send [18:42:19]OFD Sender: No OFD packet to send [18:42:24]OFD Sender: No OFD packet to send [18:42:29]OFD Sender: No OFD packet to send [18:42:34]OFD Sender: No OFD packet to send [18:42:39]OFD Sender: No OFD packet to send [18:42:44]OFD Sender: No OFD packet to send [18:42:49]OFD Sender: No OFD packet to send [18:42:54]OFD Sender: No OFD packet to send [18:42:59]OFD Sender: No OFD packet to send [18:43:04]OFD Sender: No OFD packet to send [18:43:09]OFD Sender: No OFD packet to send [18:43:14]OFD Sender: No OFD packet to send [18:43:19]OFD Sender: No OFD packet to send [18:43:24]OFD Sender: No OFD packet to send [18:43:29]OFD Sender: No OFD packet to send [18:43:34]OFD Sender: No OFD packet to send [18:43:39]OFD Sender: No OFD packet to send [18:43:44]OFD Sender: No OFD packet to send [18:43:49]OFD Sender: No OFD packet to send [18:43:54]OFD Sender: No OFD packet to send [18:43:59]OFD Sender: No OFD packet to send [18:44:04]OFD Sender: No OFD packet to send [18:44:09]OFD Sender: No OFD packet to send [18:44:14]OFD Sender: No OFD packet to send [18:44:19]OFD Sender: No OFD packet to send [18:44:24]OFD Sender: No OFD packet to send [18:44:29]OFD Sender: No OFD packet to send [18:44:34]OFD Sender: No OFD packet to send [18:44:39]OFD Sender: No OFD packet to send [18:44:44]OFD Sender: No OFD packet to send [18:44:49]OFD Sender: No OFD packet to send [18:44:54]OFD Sender: No OFD packet to send [18:44:59]OFD Sender: No OFD packet to send [18:45:04]OFD Sender: No OFD packet to send [18:45:09]OFD Sender: No OFD packet to send [18:45:14]OFD Sender: No OFD packet to send [18:45:19]OFD Sender: No OFD packet to send [18:45:24]OFD Sender: No OFD packet to send [18:45:29]OFD Sender: No OFD packet to send [18:45:34]OFD Sender: No OFD packet to send [18:45:39]OFD Sender: No OFD packet to send [18:45:44]OFD Sender: No OFD packet to send [18:45:49]OFD Sender: No OFD packet to send [18:45:54]OFD Sender: No OFD packet to send [18:45:59]OFD Sender: No OFD packet to send [18:46:04]OFD Sender: No OFD packet to send [18:46:09]OFD Sender: No OFD packet to send [18:46:14]OFD Sender: No OFD packet to send [18:46:19]OFD Sender: No OFD packet to send [18:46:24]OFD Sender: No OFD packet to send [18:46:29]OFD Sender: No OFD packet to send [18:46:34]OFD Sender: No OFD packet to send [18:46:39]OFD Sender: No OFD packet to send [18:46:44]OFD Sender: No OFD packet to send [18:46:49]OFD Sender: No OFD packet to send [18:46:50]accept exits with 8 [18:46:50]New connection [18:46:50]New thread 3067469156 created [18:46:50]Thread 3067612516 joined [18:46:50]Waiting for new connection... [18:46:50] Sock 8.Parse request [18:46:50]Sock 8.Check first char [18:46:50]Sock 8.First char is OK [18:46:50]request: POST /json_proto HTTP/1.0 [18:46:50]Method: POST [18:46:50]URL: /json_proto [18:46:50]Method is POST - this is cgi request [18:46:50]url: /json_proto [18:46:50]query_string will be loaded in cgi processing [18:46:50]execute_cgi json_proto POST (null) [18:46:50]execute_cgi path=json_proto method=POST [18:46:50]POST find Content-Length [18:46:50]Host: 172.17.53.196:8080 [18:46:50]Content-Length: 987 [18:46:50]Content-Type: application/json [18:46:50] [18:46:50]POST finish read [18:46:50]Found Content-Length = 987 [18:46:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34774", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:46:50]execute_script... [18:46:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34774", "tax_sys" : 0, "items" : [ { "code": "46116482", "name": "\u0416\u0435\u0432 Orbit \u044F\u0433\u043E\u0434\u043D\u044B\u0439 \u043C\u0438\u043A\u0441", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:46:50]POST & json_proto [18:46:50]process_json_proto [18:46:50]json parsed OK: [18:46:50]protocol is kg_v1.0 [18:46:50]action value=close_receipt [18:46:50]process_action close_receipt [18:46:50]cmd_close_receipt [18:46:50]MH_GetDate [18:46:50]Write to MH i2c: F0 00 00 0C 06 01 [18:46:50]Write i2c OK [18:46:50]MH_I2C_Read... [18:46:50]Read from MH i2c: F0 [18:46:50]MH_I2C_Read... [18:46:50]Read from MH i2c: F0 09 00 [18:46:50]MH_I2C_Read... [18:46:50]Read from MH i2c: F0 09 00 0C 06 00 1C F3 17 67 4F CD 9A 65 B2 [18:46:50]GetLastDocTimeStamp 1729620791 [18:46:50]current date 1729622812 [18:46:50]FM_GetShiftState [18:46:50]SAM_PROTO_GetShiftState [18:46:50]wFMCommunicate request_size=4 [18:46:50]MH_SAM_APDU [18:46:50]CAPDU: 80 13 01 00 [18:46:50]Write to MH i2c: E2 08 00 0D 06 80 13 01 00 00 00 00 00 90 [18:46:50]Write i2c OK [18:46:50]MH_I2C_Read... [18:46:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:46:50]Read from MH i2c: E2 [18:46:50]MH_I2C_Read... [18:46:50]Read from MH i2c: E2 0E 00 [18:46:50]MH_I2C_Read... [18:46:50]Read from MH i2c: E2 0E 00 0D 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E1 [18:46:50]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:46:50]wFMCommunicate OK [18:46:50]SAM_PROTO_GetShiftState done [18:46:50]FM_GetShiftState done [18:46:50]opened in 1729556951 [18:46:50]opened+sec_in_day 1729643351 [18:46:50]quantity*price = 4500 [18:46:50]sum+1 = 4501 [18:46:50]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160792 Снек Курут классический (круглый) 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 37 22.10.2024 18:46 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25016 ФПД: 268394163992517 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T184652&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25016&fm=268394163992517&tin=02508201610067®Number=0000000000098147&sum=10500 0 [18:46:51]StoreToDocumentArchive [18:46:51]shift 457 fd 25016 [18:46:51]save to /storage/0457/doc_00025016 [18:46:51]save last doc name /storage/0457/doc_00025016 to /storage/kkm_last_doc_name [18:46:51]save OK [18:46:51]Clear old archive folders... [18:46:51]ProcessDocumentItem done err = 0, tmpTLVsize=406 [18:46:51]tlvbuf is 00AB91A0 [18:46:51]SAM_PROTO_ClearQueue [18:46:51]wFMCommunicate request_size=4 [18:46:51]MH_SAM_APDU [18:46:51]CAPDU: 80 09 00 00 [18:46:51]Write to MH i2c: E2 08 00 1A 06 80 09 00 00 00 00 00 00 92 [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:46:51]Read from MH i2c: E2 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 1A 06 00 90 00 94 [18:46:51]RAPDU: 90 00 [18:46:51]wFMCommunicate OK [18:46:51]SAM_PROTO_ClearQueue done [18:46:51]KKMCreateOFDPacket [18:46:51]OFDProtocolAddRootSTLVToBuf [18:46:51]FM_MakeSignedData [18:46:51]FM_MakeSignedData [18:46:51]SAM_PROTO_SignData [18:46:51]wFMCommunicate request_size=4 [18:46:51]MH_SAM_APDU [18:46:51]CAPDU: 80 0D 01 02 [18:46:51]Write to MH i2c: E2 08 00 1B 06 80 0D 01 02 00 00 00 00 9A [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:46:51]Read from MH i2c: E2 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 1B 06 00 90 00 95 [18:46:51]RAPDU: 90 00 [18:46:51]wFMCommunicate OK [18:46:51]wFMCommunicate request_size=255 [18:46:51]MH_SAM_APDU [18:46:51]CAPDU: 80 0D 02 02 FA 03 00 96 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 [18:46:51]Write to MH i2c: E2 02 01 1C 06 80 0D 02 02 FA 00 03 00 96 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 00 00 15 [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:46:51]Read from MH i2c: E2 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 1C 06 00 90 00 96 [18:46:51]RAPDU: 90 00 [18:46:51]wFMCommunicate OK [18:46:51]wFMCommunicate request_size=165 [18:46:51]MH_SAM_APDU [18:46:51]CAPDU: 80 0D 02 02 A0 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1C F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B8 61 00 00 35 04 06 00 F4 1A 62 CD F7 C5 [18:46:51]Write to MH i2c: E2 A8 00 1D 06 80 0D 02 02 A0 00 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1C F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B8 61 00 00 35 04 06 00 F4 1A 62 CD F7 C5 00 00 C2 [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:46:51]Read from MH i2c: E2 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 03 00 1D 06 00 90 00 97 [18:46:51]RAPDU: 90 00 [18:46:51]wFMCommunicate OK [18:46:51]wFMCommunicate request_size=4 [18:46:51]MH_SAM_APDU [18:46:51]CAPDU: 80 0D 03 02 [18:46:51]Write to MH i2c: E2 08 00 1E 06 80 0D 03 02 00 00 00 00 9F [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:46:51]Read from MH i2c: E2 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 0B 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 0B 00 1E 06 00 47 A3 A2 A2 14 93 35 DF 90 00 89 [18:46:51]RAPDU: 47 A3 A2 A2 14 93 35 DF 90 00 [18:46:51]wFMCommunicate OK [18:46:51]SAM_PROTO_SignData done [18:46:51]FM_MakeSignedData done [18:46:51]CreateOFDProtocolMessage [18:46:51]wFMCommunicate request_size=4 [18:46:51]MH_SAM_APDU [18:46:51]CAPDU: 80 11 00 00 [18:46:51]Write to MH i2c: E2 08 00 1F 06 80 11 00 00 00 00 00 00 9F [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:46:51]Read from MH i2c: E2 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 17 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: E2 17 00 1F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F6 [18:46:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:46:51]wFMCommunicate OK [18:46:51]CreateOFDProtocolMessage done [18:46:51]OFDSenderStorePacket 25016 [18:46:51]StoreOFDPacket docnum=25016 [18:46:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 AA 01 00 00 B5 74 A2 01 D4 AA 5A 03 01 00 03 00 96 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1C F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B8 61 00 00 35 04 06 00 F4 1A 62 CD F7 C5 47 A3 A2 A2 14 93 35 DF [18:46:51]CheckFolder [18:46:51]dirname=/storage/ofd_packets [18:46:51]CheckFolder done [18:46:51]ProducePacketName [18:46:51]name=ofd_packets/00025016 [18:46:51]NVStorageSaveData ofd_packets/00025016 [18:46:51]File name is /storage/ofd_packets/00025016 [18:46:51]Write 456 bytes [18:46:51]NVStorageSaveData done [18:46:51]OFDSenderStorePacket done [18:46:51]KKMCreateOFDPacket done [18:46:51]NVStorageSaveData kkm_last_timestamp [18:46:51]File name is /storage/kkm_last_timestamp [18:46:51]Write 4 bytes [18:46:51]NVStorageSaveData done [18:46:51]ExternCall_PrintAddStr [18:46:51]wPrintStart [18:46:51]Write to MH i2c: 01 00 00 20 06 26 [18:46:51]Write i2c OK [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: 01 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: 01 07 00 [18:46:51]MH_I2C_Read... [18:46:51]Read from MH i2c: 01 07 00 20 06 00 00 00 00 00 FF 0F 3B [18:46:51]RasterBufferAndPrint [18:46:51]line Счет N : (3)34774 [18:46:51]line ИНН: 02508201610067 [18:46:51]line Контрольно-Кассовый Чек [18:46:51]line ПРОДАЖА [18:46:51]line Товар: 46116482 [18:46:51]line Жев Orbit ягодный микс [18:46:51]line 1.000 * 45.00 [18:46:51]line = 45.00 [18:46:51]line НДС 12% НСП 1% [18:46:51]line > о реализуемом товаре [18:46:52]line Товар: 4700000160792 [18:46:52]line Снек Курут классический (круглый) [18:46:52]line 1.000 * 60.00 [18:46:52]line = 60.00 [18:46:52]line НДС 12% НСП 1% [18:46:52]line > о реализуемом товаре [18:46:52]line ИТОГО: 105.00 [18:46:52]line НСП 1% : 0.93 [18:46:52]line НДС 12% : 11.15 [18:46:52]line Наличными: 105.00 [18:46:52]line Безнал.: 0.00 [18:46:52]line Место: АЗС № 161 "Партнер Нефть" [18:46:52]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:46:52]line СНО: Общий режим [18:46:52]line Чек 37 22.10.2024 18:46 [18:46:52]line Смена: 457 ФФД: 1.0 [18:46:52]line ЗНМ: 0300000240 [18:46:52]line РНМ: 0000000000098147 [18:46:52]line Версия ККМ: 001 [18:46:52]line ФМ: 0000000000965376 [18:46:52]line ФД: 25016 [18:46:52]line ФПД: 268394163992517 [18:46:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T184652&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25016&fm=268394163992517&tin=02508201610067®Number=0000000000098147&sum=10500 [18:46:52]OFD Sender: Processing packet 25016 [packets to send 5, broken 4] [18:46:52]ProducePacketName [18:46:52]name=ofd_packets/00025016 [18:46:52]OFD Sender: To server: pG, [18:46:52]CommunicateWithHost lk.salyk.kg:30040 [18:46:52]ConnectInit lk.salyk.kg [18:46:52]line 0 [18:46:52]written 0, free lines is 4095 [18:46:52]Connected sock=10 [18:46:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 AA 01 00 00 B5 74 A2 01 D4 AA 5A 03 01 00 03 00 96 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 31 31 36 34 38 32 06 04 24 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D1 8F D0 B3 D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D0 BC D0 B8 D0 BA D1 81 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 1C F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B8 61 00 00 35 04 06 00 F4 1A 62 CD F7 C5 47 A3 A2 A2 14 93 35 DF [18:46:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 BB 4A 47 00 9E F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B8 61 00 00 F4 03 04 00 96 9B 17 67 B6 04 01 00 00 ED 61 B8 AD 24 42 5D A3 [18:46:52]CommunicateWithHost err = 0 [18:46:52]CheckOFDResponse [18:46:52]1017 (14) - 77093643461234 [18:46:52]1041 (16) - 0000000000965376 [18:46:52]1040 (4) - 25016 [18:46:52]1012 (4) - 22.10.2024 12:33 [18:46:52]1206 (1) - 0 [18:46:52]OFD Sender: Remove packet 25016 [18:46:52]ProducePacketName [18:46:52]name=ofd_packets/00025016 [18:46:52]NVStorageDeleteData [18:46:52]Write to MH i2c: 01 00 00 4F 06 55 [18:46:52]Write i2c OK [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: 01 [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: 01 07 00 [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: 01 07 00 4F 06 00 00 00 00 00 71 0C D9 [18:46:52]RasterBufferAndPrint [18:46:52]line [18:46:52]line [18:46:52]line [18:46:52]line [18:46:52]line [18:46:52]written 0, free lines is 3191 [18:46:52]process_action close_receipt done [18:46:52]requested_data is exist [18:46:52]produce_requested_data [18:46:52]requested_item fm.sn is exist - process it [18:46:52]wFMCommunicate request_size=4 [18:46:52]MH_SAM_APDU [18:46:52]CAPDU: 80 11 00 00 [18:46:52]Write to MH i2c: E2 08 00 56 06 80 11 00 00 00 00 00 00 D6 [18:46:52]Write i2c OK [18:46:52]MH_I2C_Read... [18:46:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:46:52]Read from MH i2c: E2 [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: E2 17 00 [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: E2 17 00 56 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 2D [18:46:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:46:52]wFMCommunicate OK [18:46:52]requested_item fd.num is exist - process it [18:46:52]SAM_PROTO_GetFieldsCounters [18:46:52]wFMCommunicate request_size=4 [18:46:52]MH_SAM_APDU [18:46:52]CAPDU: 80 13 00 00 [18:46:52]Write to MH i2c: E2 08 00 57 06 80 13 00 00 00 00 00 00 D9 [18:46:52]Write i2c OK [18:46:52]MH_I2C_Read... [18:46:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:46:52]Read from MH i2c: E2 [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: E2 62 00 [18:46:52]MH_I2C_Read... [18:46:52]Read from MH i2c: E2 62 00 57 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B8 61 00 00 0E 04 04 00 C9 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 54 [18:46:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B8 61 00 00 0E 04 04 00 C9 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 [18:46:52]wFMCommunicate OK [18:46:52]SAM_PROTO_GetFieldsCounters done [18:46:52]requested_item shift.num is exist - process it [18:46:52]requested_item shift.opened is exist - process it [18:46:52]req_shift_opened [18:46:52]FM_GetShiftState [18:46:52]SAM_PROTO_GetShiftState [18:46:52]wFMCommunicate request_size=4 [18:46:52]MH_SAM_APDU [18:46:52]CAPDU: 80 13 01 00 [18:46:52]Write to MH i2c: E2 08 00 58 06 80 13 01 00 00 00 00 00 DB [18:46:52]Write i2c OK [18:46:52]MH_I2C_Read... [18:46:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:46:53]Read from MH i2c: E2 [18:46:53]MH_I2C_Read... [18:46:53]Read from MH i2c: E2 0E 00 [18:46:53]MH_I2C_Read... [18:46:53]Read from MH i2c: E2 0E 00 58 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 2C [18:46:53]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:46:53]wFMCommunicate OK [18:46:53]SAM_PROTO_GetShiftState done [18:46:53]FM_GetShiftState done [18:46:53]req_shift_opened done [18:46:53]requested_item shift.open_date is exist - process it [18:46:53]req_shift_open_date [18:46:53]req_shift_open_date done [18:46:53]produce_requested_data done [18:46:53]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25016,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [18:46:53]process_action_free close_receipt [18:46:53]json_value_free [18:46:53]json_value_free done [18:46:53]process_json_proto returns [18:46:53]Send response to host [18:46:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25016,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [18:46:53]free response buf [18:46:53]execute_script done [18:46:53]execute_script returns [18:46:53]free content buf [18:46:53]Sock 8.Close socket [18:46:53]Sock 8.Thread stoped [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:55]accept exits with 9 [18:47:55]New connection [18:47:55]New thread 3067612516 created [18:47:55]Thread 3067469156 joined [18:47:55]Waiting for new connection... [18:47:55] Sock 9.Parse request [18:47:55]Sock 9.Check first char [18:47:55]Sock 9.First char is OK [18:47:55]request: POST /json_proto HTTP/1.0 [18:47:55]Method: POST [18:47:55]URL: /json_proto [18:47:55]Method is POST - this is cgi request [18:47:55]url: /json_proto [18:47:55]query_string will be loaded in cgi processing [18:47:55]execute_cgi json_proto POST (null) [18:47:55]execute_cgi path=json_proto method=POST [18:47:55]POST find Content-Length [18:47:55]Host: 172.17.53.196:8080 [18:47:55]Content-Length: 936 [18:47:55]Content-Type: application/json [18:47:55] [18:47:55]POST finish read [18:47:55]Found Content-Length = 936 [18:47:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34775", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030031", "name": "\u041A\u0443\u0440\u0443\u0442 orbit", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 109.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:55]execute_script... [18:47:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34775", "tax_sys" : 0, "items" : [ { "code": "4700000160792", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 (\u043A\u0440\u0443\u0433\u043B\u044B\u0439)", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030031", "name": "\u041A\u0443\u0440\u0443\u0442 orbit", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 109.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:55]POST & json_proto [18:47:55]process_json_proto [18:47:55]json parsed OK: [18:47:55]protocol is kg_v1.0 [18:47:55]action value=close_receipt [18:47:55]process_action close_receipt [18:47:55]cmd_close_receipt [18:47:55]MH_GetDate [18:47:55]Write to MH i2c: F0 00 00 59 06 4E [18:47:55]Write i2c OK [18:47:55]MH_I2C_Read... [18:47:55]Read from MH i2c: F0 [18:47:55]MH_I2C_Read... [18:47:55]Read from MH i2c: F0 09 00 [18:47:55]MH_I2C_Read... [18:47:55]Read from MH i2c: F0 09 00 59 06 00 5D F3 17 67 4F CD 9A 65 40 [18:47:55]GetLastDocTimeStamp 1729622812 [18:47:55]current date 1729622877 [18:47:55]FM_GetShiftState [18:47:55]SAM_PROTO_GetShiftState [18:47:55]wFMCommunicate request_size=4 [18:47:55]MH_SAM_APDU [18:47:55]CAPDU: 80 13 01 00 [18:47:55]Write to MH i2c: E2 08 00 5A 06 80 13 01 00 00 00 00 00 DD [18:47:55]Write i2c OK [18:47:55]MH_I2C_Read... [18:47:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:55]Read from MH i2c: E2 [18:47:55]MH_I2C_Read... [18:47:55]Read from MH i2c: E2 0E 00 [18:47:55]MH_I2C_Read... [18:47:55]Read from MH i2c: E2 0E 00 5A 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 2E [18:47:55]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:47:55]wFMCommunicate OK [18:47:55]SAM_PROTO_GetShiftState done [18:47:55]FM_GetShiftState done [18:47:55]opened in 1729556951 [18:47:55]opened+sec_in_day 1729643351 [18:47:55]quantity*price = 6000 [18:47:55]sum+1 = 6001 [18:47:55]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700026030031 Курут orbit 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 109.00 НСП 1% : 0.96 НДС 12% : 11.57 Наличными: 109.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 38 22.10.2024 18:47 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25017 ФПД: 131593185203471 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T184758&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25017&fm=131593185203471&tin=02508201610067®Number=0000000000098147&sum=10900 0 [18:47:57]StoreToDocumentArchive [18:47:57]shift 457 fd 25017 [18:47:57]save to /storage/0457/doc_00025017 [18:47:57]save last doc name /storage/0457/doc_00025017 to /storage/kkm_last_doc_name [18:47:57]save OK [18:47:57]Clear old archive folders... [18:47:57]ProcessDocumentItem done err = 0, tmpTLVsize=391 [18:47:57]tlvbuf is 00AEDD20 [18:47:57]SAM_PROTO_ClearQueue [18:47:57]wFMCommunicate request_size=4 [18:47:57]MH_SAM_APDU [18:47:57]CAPDU: 80 09 00 00 [18:47:57]Write to MH i2c: E2 08 00 67 06 80 09 00 00 00 00 00 00 DF [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:47:57]Read from MH i2c: E2 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 67 06 00 90 00 E1 [18:47:57]RAPDU: 90 00 [18:47:57]wFMCommunicate OK [18:47:57]SAM_PROTO_ClearQueue done [18:47:57]KKMCreateOFDPacket [18:47:57]OFDProtocolAddRootSTLVToBuf [18:47:57]FM_MakeSignedData [18:47:57]FM_MakeSignedData [18:47:57]SAM_PROTO_SignData [18:47:57]wFMCommunicate request_size=4 [18:47:57]MH_SAM_APDU [18:47:57]CAPDU: 80 0D 01 02 [18:47:57]Write to MH i2c: E2 08 00 68 06 80 0D 01 02 00 00 00 00 E7 [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:47:57]Read from MH i2c: E2 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 68 06 00 90 00 E2 [18:47:57]RAPDU: 90 00 [18:47:57]wFMCommunicate OK [18:47:57]wFMCommunicate request_size=255 [18:47:57]MH_SAM_APDU [18:47:57]CAPDU: 80 0D 02 02 FA 03 00 87 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [18:47:57]Write to MH i2c: E2 02 01 69 06 80 0D 02 02 FA 00 03 00 87 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 DD [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:57]Read from MH i2c: E2 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 69 06 00 90 00 E3 [18:47:57]RAPDU: 90 00 [18:47:57]wFMCommunicate OK [18:47:57]wFMCommunicate request_size=150 [18:47:57]MH_SAM_APDU [18:47:57]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 60 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 04 00 00 00 00 07 04 06 00 94 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 5E F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B9 61 00 00 35 04 06 00 77 AE ED 0F 15 0F [18:47:57]Write to MH i2c: E2 99 00 6A 06 80 0D 02 02 91 00 01 00 01 F7 03 06 00 60 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 04 00 00 00 00 07 04 06 00 94 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 5E F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B9 61 00 00 35 04 06 00 77 AE ED 0F 15 0F 00 00 08 [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:57]Read from MH i2c: E2 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 03 00 6A 06 00 90 00 E4 [18:47:57]RAPDU: 90 00 [18:47:57]wFMCommunicate OK [18:47:57]wFMCommunicate request_size=4 [18:47:57]MH_SAM_APDU [18:47:57]CAPDU: 80 0D 03 02 [18:47:57]Write to MH i2c: E2 08 00 6B 06 80 0D 03 02 00 00 00 00 EC [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:47:57]Read from MH i2c: E2 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 0B 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 0B 00 6B 06 00 87 04 77 37 C1 AB C2 67 90 00 BB [18:47:57]RAPDU: 87 04 77 37 C1 AB C2 67 90 00 [18:47:57]wFMCommunicate OK [18:47:57]SAM_PROTO_SignData done [18:47:57]FM_MakeSignedData done [18:47:57]CreateOFDProtocolMessage [18:47:57]wFMCommunicate request_size=4 [18:47:57]MH_SAM_APDU [18:47:57]CAPDU: 80 11 00 00 [18:47:57]Write to MH i2c: E2 08 00 6C 06 80 11 00 00 00 00 00 00 EC [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:57]Read from MH i2c: E2 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 17 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: E2 17 00 6C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 43 [18:47:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:47:57]wFMCommunicate OK [18:47:57]CreateOFDProtocolMessage done [18:47:57]OFDSenderStorePacket 25017 [18:47:57]StoreOFDPacket docnum=25017 [18:47:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9B 01 00 00 E2 BE 93 01 B9 CA 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 60 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 04 00 00 00 00 07 04 06 00 94 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 5E F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B9 61 00 00 35 04 06 00 77 AE ED 0F 15 0F 87 04 77 37 C1 AB C2 67 [18:47:57]CheckFolder [18:47:57]dirname=/storage/ofd_packets [18:47:57]CheckFolder done [18:47:57]ProducePacketName [18:47:57]name=ofd_packets/00025017 [18:47:57]NVStorageSaveData ofd_packets/00025017 [18:47:57]File name is /storage/ofd_packets/00025017 [18:47:57]Write 441 bytes [18:47:57]NVStorageSaveData done [18:47:57]OFDSenderStorePacket done [18:47:57]KKMCreateOFDPacket done [18:47:57]NVStorageSaveData kkm_last_timestamp [18:47:57]File name is /storage/kkm_last_timestamp [18:47:57]Write 4 bytes [18:47:57]NVStorageSaveData done [18:47:57]ExternCall_PrintAddStr [18:47:57]wPrintStart [18:47:57]Write to MH i2c: 01 00 00 6D 06 73 [18:47:57]Write i2c OK [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: 01 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: 01 07 00 [18:47:57]MH_I2C_Read... [18:47:57]Read from MH i2c: 01 07 00 6D 06 00 00 00 00 00 FF 0F 88 [18:47:57]RasterBufferAndPrint [18:47:57]line Счет N : (3)34775 [18:47:58]line ИНН: 02508201610067 [18:47:58]line Контрольно-Кассовый Чек [18:47:58]line ПРОДАЖА [18:47:58]line Товар: 4700000160792 [18:47:58]line Снек Курут классический (круглый) [18:47:58]line 1.000 * 60.00 [18:47:58]line = 60.00 [18:47:58]line НДС 12% НСП 1% [18:47:58]line > о реализуемом товаре [18:47:58]line Товар: 4700026030031 [18:47:58]line Курут orbit [18:47:58]line 1.000 * 49.00 [18:47:58]line = 49.00 [18:47:58]line НДС 12% НСП 1% [18:47:58]line > о реализуемом товаре [18:47:58]line ИТОГО: 109.00 [18:47:58]line НСП 1% : 0.96 [18:47:58]line НДС 12% : 11.57 [18:47:58]line Наличными: 109.00 [18:47:58]line Безнал.: 0.00 [18:47:58]line Место: АЗС № 161 "Партнер Нефть" [18:47:58]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [18:47:58]line СНО: Общий режим [18:47:58]line Чек 38 22.10.2024 18:47 [18:47:58]line Смена: 457 ФФД: 1.0 [18:47:58]line ЗНМ: 0300000240 [18:47:58]line РНМ: 0000000000098147 [18:47:58]line Версия ККМ: 001 [18:47:58]line ФМ: 0000000000965376 [18:47:58]line ФД: 25017 [18:47:58]line ФПД: 131593185203471 [18:47:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T184758&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25017&fm=131593185203471&tin=02508201610067®Number=0000000000098147&sum=10900 [18:47:58]OFD Sender: Processing packet 25017 [packets to send 5, broken 4] [18:47:58]ProducePacketName [18:47:58]name=ofd_packets/00025017 [18:47:58]OFD Sender: To server: pG, [18:47:58]CommunicateWithHost lk.salyk.kg:30040 [18:47:58]ConnectInit lk.salyk.kg [18:47:58]line 0 [18:47:58]written 0, free lines is 4095 [18:47:58]Connected sock=10 [18:47:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9B 01 00 00 E2 BE 93 01 B9 CA 5A 03 01 00 03 00 87 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 37 39 32 06 04 3D 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 28 D0 BA D1 80 D1 83 D0 B3 D0 BB D1 8B D0 B9 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 54 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 33 31 06 04 10 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 6F 72 62 69 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 60 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 04 00 00 00 00 07 04 06 00 94 2A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 5E F3 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B9 61 00 00 35 04 06 00 77 AE ED 0F 15 0F 87 04 77 37 C1 AB C2 67 [18:47:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 4F 77 47 00 33 D7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 B9 61 00 00 F4 03 04 00 D8 9B 17 67 B6 04 01 00 00 F5 F9 E1 32 E1 06 D6 20 [18:47:58]CommunicateWithHost err = 0 [18:47:58]CheckOFDResponse [18:47:58]1017 (14) - 77093643461234 [18:47:58]1041 (16) - 0000000000965376 [18:47:58]1040 (4) - 25017 [18:47:58]1012 (4) - 22.10.2024 12:34 [18:47:58]1206 (1) - 0 [18:47:58]OFD Sender: Remove packet 25017 [18:47:58]ProducePacketName [18:47:58]name=ofd_packets/00025017 [18:47:58]NVStorageDeleteData [18:47:58]Write to MH i2c: 01 00 00 9C 06 A2 [18:47:58]Write i2c OK [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: 01 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: 01 07 00 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: 01 07 00 9C 06 00 00 00 00 00 75 0C 2A [18:47:58]RasterBufferAndPrint [18:47:58]line [18:47:58]line [18:47:58]line [18:47:58]line [18:47:58]line [18:47:58]written 0, free lines is 3196 [18:47:58]process_action close_receipt done [18:47:58]requested_data is exist [18:47:58]produce_requested_data [18:47:58]requested_item fm.sn is exist - process it [18:47:58]wFMCommunicate request_size=4 [18:47:58]MH_SAM_APDU [18:47:58]CAPDU: 80 11 00 00 [18:47:58]Write to MH i2c: E2 08 00 A3 06 80 11 00 00 00 00 00 00 23 [18:47:58]Write i2c OK [18:47:58]MH_I2C_Read... [18:47:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:58]Read from MH i2c: E2 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: E2 17 00 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: E2 17 00 A3 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7A [18:47:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:47:58]wFMCommunicate OK [18:47:58]requested_item fd.num is exist - process it [18:47:58]SAM_PROTO_GetFieldsCounters [18:47:58]wFMCommunicate request_size=4 [18:47:58]MH_SAM_APDU [18:47:58]CAPDU: 80 13 00 00 [18:47:58]Write to MH i2c: E2 08 00 A4 06 80 13 00 00 00 00 00 00 26 [18:47:58]Write i2c OK [18:47:58]MH_I2C_Read... [18:47:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:47:58]Read from MH i2c: E2 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: E2 62 00 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: E2 62 00 A4 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B9 61 00 00 0E 04 04 00 C9 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 A5 [18:47:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B9 61 00 00 0E 04 04 00 C9 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 [18:47:58]wFMCommunicate OK [18:47:58]SAM_PROTO_GetFieldsCounters done [18:47:58]requested_item shift.num is exist - process it [18:47:58]requested_item shift.opened is exist - process it [18:47:58]req_shift_opened [18:47:58]FM_GetShiftState [18:47:58]SAM_PROTO_GetShiftState [18:47:58]wFMCommunicate request_size=4 [18:47:58]MH_SAM_APDU [18:47:58]CAPDU: 80 13 01 00 [18:47:58]Write to MH i2c: E2 08 00 A5 06 80 13 01 00 00 00 00 00 28 [18:47:58]Write i2c OK [18:47:58]MH_I2C_Read... [18:47:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:58]Read from MH i2c: E2 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: E2 0E 00 [18:47:58]MH_I2C_Read... [18:47:58]Read from MH i2c: E2 0E 00 A5 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 79 [18:47:58]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:47:58]wFMCommunicate OK [18:47:58]SAM_PROTO_GetShiftState done [18:47:58]FM_GetShiftState done [18:47:58]req_shift_opened done [18:47:58]requested_item shift.open_date is exist - process it [18:47:58]req_shift_open_date [18:47:58]req_shift_open_date done [18:47:58]produce_requested_data done [18:47:58]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25017,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [18:47:58]process_action_free close_receipt [18:47:58]json_value_free [18:47:58]json_value_free done [18:47:58]process_json_proto returns [18:47:58]Send response to host [18:47:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25017,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [18:47:58]free response buf [18:47:58]execute_script done [18:47:58]execute_script returns [18:47:58]free content buf [18:47:58]Sock 9.Close socket [18:47:58]Sock 9.Thread stoped [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:57]ConnectInit Can't connect to host [18:49:59]OFD Sender: No OFD packet to send [18:50:04]OFD Sender: No OFD packet to send [18:50:09]OFD Sender: No OFD packet to send [18:50:14]OFD Sender: No OFD packet to send [18:50:19]OFD Sender: No OFD packet to send [18:50:24]OFD Sender: No OFD packet to send [18:50:29]OFD Sender: No OFD packet to send [18:50:34]OFD Sender: No OFD packet to send [18:50:37]accept exits with 8 [18:50:37]New connection [18:50:37]New thread 3067469156 created [18:50:37]Thread 3067612516 joined [18:50:37]Waiting for new connection... [18:50:37] Sock 8.Parse request [18:50:37]Sock 8.Check first char [18:50:37]Sock 8.First char is OK [18:50:37]request: POST /json_proto HTTP/1.0 [18:50:37]Method: POST [18:50:37]URL: /json_proto [18:50:37]Method is POST - this is cgi request [18:50:37]url: /json_proto [18:50:37]query_string will be loaded in cgi processing [18:50:37]execute_cgi json_proto POST (null) [18:50:37]execute_cgi path=json_proto method=POST [18:50:37]POST find Content-Length [18:50:37]Host: 172.17.53.196:8080 [18:50:37]Content-Length: 215 [18:50:37]Content-Type: application/json [18:50:37] [18:50:37]POST finish read [18:50:37]Found Content-Length = 215 [18:50:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:50:37]execute_script... [18:50:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:50:37]POST & json_proto [18:50:37]process_json_proto [18:50:37]json parsed OK: [18:50:37]protocol is kg_v1.0 [18:50:37]action value=get_value [18:50:37]process_action get_value [18:50:37]cmd_get_value [18:50:37]process_action get_value done [18:50:37]requested_data is exist [18:50:37]produce_requested_data [18:50:37]requested_item kkm.sn is exist - process it [18:50:37]requested_item kkm.ver is exist - process it [18:50:37]requested_item fm.sn is exist - process it [18:50:37]wFMCommunicate request_size=4 [18:50:37]MH_SAM_APDU [18:50:37]CAPDU: 80 11 00 00 [18:50:37]Write to MH i2c: E2 08 00 A6 06 80 11 00 00 00 00 00 00 26 [18:50:37]Write i2c OK [18:50:37]MH_I2C_Read... [18:50:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:50:37]Read from MH i2c: E2 [18:50:37]MH_I2C_Read... [18:50:37]Read from MH i2c: E2 17 00 [18:50:37]MH_I2C_Read... [18:50:37]Read from MH i2c: E2 17 00 A6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7D [18:50:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [18:50:37]wFMCommunicate OK [18:50:37]requested_item fd.num is exist - process it [18:50:37]SAM_PROTO_GetFieldsCounters [18:50:37]wFMCommunicate request_size=4 [18:50:37]MH_SAM_APDU [18:50:37]CAPDU: 80 13 00 00 [18:50:37]Write to MH i2c: E2 08 00 A7 06 80 13 00 00 00 00 00 00 29 [18:50:37]Write i2c OK [18:50:37]MH_I2C_Read... [18:50:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:50:37]Read from MH i2c: E2 [18:50:37]MH_I2C_Read... [18:50:37]Read from MH i2c: E2 62 00 [18:50:37]MH_I2C_Read... [18:50:37]Read from MH i2c: E2 62 00 A7 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B9 61 00 00 0E 04 04 00 C9 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 A8 [18:50:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 B9 61 00 00 0E 04 04 00 C9 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 [18:50:37]wFMCommunicate OK [18:50:37]SAM_PROTO_GetFieldsCounters done [18:50:37]requested_item shift.num is exist - process it [18:50:37]requested_item shift.opened is exist - process it [18:50:37]req_shift_opened [18:50:37]FM_GetShiftState [18:50:37]SAM_PROTO_GetShiftState [18:50:37]wFMCommunicate request_size=4 [18:50:37]MH_SAM_APDU [18:50:37]CAPDU: 80 13 01 00 [18:50:37]Write to MH i2c: E2 08 00 A8 06 80 13 01 00 00 00 00 00 2B [18:50:37]Write i2c OK [18:50:37]MH_I2C_Read... [18:50:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:50:37]Read from MH i2c: E2 [18:50:37]MH_I2C_Read... [18:50:37]Read from MH i2c: E2 0E 00 [18:50:37]MH_I2C_Read... [18:50:37]Read from MH i2c: E2 0E 00 A8 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 7C [18:50:37]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [18:50:37]wFMCommunicate OK [18:50:37]SAM_PROTO_GetShiftState done [18:50:37]FM_GetShiftState done [18:50:37]req_shift_opened done [18:50:37]requested_item shift.open_date is exist - process it [18:50:37]req_shift_open_date [18:50:37]req_shift_open_date done [18:50:37]produce_requested_data done [18:50:37]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25017,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [18:50:37]process_action_free get_value [18:50:37]json_value_free [18:50:37]json_value_free done [18:50:37]process_json_proto returns [18:50:37]Send response to host [18:50:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25017,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [18:50:37]free response buf [18:50:37]execute_script done [18:50:37]execute_script returns [18:50:37]free content buf [18:50:37]Sock 8.Close socket [18:50:37]Sock 8.Thread stoped [18:50:39]OFD Sender: No OFD packet to send [18:50:40]accept exits with 9 [18:50:40]New connection [18:50:40]New thread 3067612516 created [18:50:40]Thread 3067469156 joined [18:50:40]Waiting for new connection... [18:50:40] Sock 9.Parse request [18:50:40]Sock 9.Check first char [18:50:40]Sock 9.First char is OK [18:50:40]request: POST /json_proto HTTP/1.0 [18:50:40]Method: POST [18:50:40]URL: /json_proto [18:50:40]Method is POST - this is cgi request [18:50:40]url: /json_proto [18:50:40]query_string will be loaded in cgi processing [18:50:40]execute_cgi json_proto POST (null) [18:50:40]execute_cgi path=json_proto method=POST [18:50:40]POST find Content-Length [18:50:40]Host: 172.17.53.196:8080 [18:50:40]Content-Length: 331 [18:50:40]Content-Type: application/json [18:50:40] [18:50:40]POST finish read [18:50:40]Found Content-Length = 331 [18:50:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:50:40]execute_script... [18:50:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [18:50:40]POST & json_proto [18:50:40]process_json_proto [18:50:40]json parsed OK: [18:50:40]protocol is kg_v1.0 [18:50:40]action value=get_value [18:50:40]process_action get_value [18:50:40]cmd_get_value [18:50:40]process_action get_value done [18:50:40]requested_data is exist [18:50:40]produce_requested_data [18:50:40]requested_item fm.sale.total is exist - process it [18:50:40]SAM_PROTO_GetFMData [18:50:40]wFMCommunicate request_size=4 [18:50:40]MH_SAM_APDU [18:50:40]CAPDU: 80 13 03 00 [18:50:40]Write to MH i2c: E2 08 00 A9 06 80 13 03 00 00 00 00 00 2E [18:50:40]Write i2c OK [18:50:40]MH_I2C_Read... [18:50:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [18:50:41]Read from MH i2c: E2 [18:50:41]MH_I2C_Read... [18:50:41]Read from MH i2c: E2 FD 00 [18:50:41]MH_I2C_Read... [18:50:41]Read from MH i2c: E2 FD 00 A9 06 00 BF 04 85 04 BB 04 6E 04 04 00 27 5E 00 00 69 04 A0 00 6F 04 04 00 19 5E 00 00 B1 04 04 00 D8 8B CD 14 70 04 04 00 64 36 9E 12 72 04 04 00 74 55 2F 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1C 83 35 02 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 C2 15 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 0B [18:50:41]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 27 5E 00 00 69 04 A0 00 6F 04 04 00 19 5E 00 00 B1 04 04 00 D8 8B CD 14 70 04 04 00 64 36 9E 12 72 04 04 00 74 55 2F 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 1C 83 35 02 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 C2 15 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [18:50:41]wFMCommunicate OK [18:50:41]wFMCommunicate request_size=4 [18:50:41]MH_SAM_APDU [18:50:41]CAPDU: 80 17 00 00 [18:50:41]Write to MH i2c: E2 08 00 AA 06 80 17 00 00 00 00 00 00 30 [18:50:41]Write i2c OK [18:50:41]MH_I2C_Read... [18:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:50:41]Read from MH i2c: E2 [18:50:41]MH_I2C_Read... [18:50:41]Read from MH i2c: E2 FD 00 [18:50:41]MH_I2C_Read... [18:50:41]Read from MH i2c: E2 FD 00 AA 06 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 22 [18:50:41]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [18:50:41]wFMCommunicate OK [18:50:41]wFMCommunicate request_size=4 [18:50:41]MH_SAM_APDU [18:50:41]CAPDU: 80 17 00 00 [18:50:41]Write to MH i2c: E2 08 00 AB 06 80 17 00 00 00 00 00 00 31 [18:50:41]Write i2c OK [18:50:41]MH_I2C_Read... [18:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:50:41]Read from MH i2c: E2 [18:50:41]MH_I2C_Read... [18:50:41]Read from MH i2c: E2 FD 00 [18:50:41]MH_I2C_Read... [18:50:41]Read from MH i2c: E2 FD 00 AB 06 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 D5 [18:50:41]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [18:50:41]wFMCommunicate OK [18:50:41]wFMCommunicate request_size=4 [18:50:41]MH_SAM_APDU [18:50:41]CAPDU: 80 17 00 00 [18:50:41]Write to MH i2c: E2 08 00 AC 06 80 17 00 00 00 00 00 00 32 [18:50:41]Write i2c OK [18:50:41]MH_I2C_Read... [18:50:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:50:42]Read from MH i2c: E2 [18:50:42]MH_I2C_Read... [18:50:42]Read from MH i2c: E2 FD 00 [18:50:42]MH_I2C_Read... [18:50:42]Read from MH i2c: E2 FD 00 AC 06 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 AC [18:50:42]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [18:50:42]wFMCommunicate OK [18:50:42]wFMCommunicate request_size=4 [18:50:42]MH_SAM_APDU [18:50:42]CAPDU: 80 17 00 00 [18:50:42]Write to MH i2c: E2 08 00 AD 06 80 17 00 00 00 00 00 00 33 [18:50:42]Write i2c OK [18:50:42]MH_I2C_Read... [18:50:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [18:50:42]Read from MH i2c: E2 [18:50:42]MH_I2C_Read... [18:50:42]Read from MH i2c: E2 DC 00 [18:50:42]MH_I2C_Read... [18:50:42]Read from MH i2c: E2 DC 00 AD 06 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 17 [18:50:42]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:50:42]wFMCommunicate OK [18:50:42]SAM_PROTO_GetFMData done [18:50:42]requested_item fm.sale_refund.total is exist - process it [18:50:42]requested_item fm.buy.total is exist - process it [18:50:42]requested_item shift.sale.total is exist - process it [18:50:42]SAM_PROTO_GetShiftData [18:50:42]wFMCommunicate request_size=4 [18:50:42]MH_SAM_APDU [18:50:42]CAPDU: 80 13 02 00 [18:50:42]Write to MH i2c: E2 08 00 AE 06 80 13 02 00 00 00 00 00 32 [18:50:42]Write i2c OK [18:50:42]MH_I2C_Read... [18:50:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:50:42]Read from MH i2c: E2 [18:50:42]MH_I2C_Read... [18:50:42]Read from MH i2c: E2 FD 00 [18:50:42]MH_I2C_Read... [18:50:42]Read from MH i2c: E2 FD 00 AE 06 00 AC 04 AA 04 A8 04 6E 04 04 00 26 00 00 00 69 04 99 00 6F 04 04 00 26 00 00 00 B1 04 03 00 BC 81 08 70 04 03 00 CC AE 07 72 04 02 00 F0 D2 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 3F E7 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 43 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 3C [18:50:42]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 26 00 00 00 69 04 99 00 6F 04 04 00 26 00 00 00 B1 04 03 00 BC 81 08 70 04 03 00 CC AE 07 72 04 02 00 F0 D2 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 3F E7 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 43 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [18:50:42]wFMCommunicate OK [18:50:42]wFMCommunicate request_size=4 [18:50:42]MH_SAM_APDU [18:50:42]CAPDU: 80 17 00 00 [18:50:42]Write to MH i2c: E2 08 00 AF 06 80 17 00 00 00 00 00 00 35 [18:50:42]Write i2c OK [18:50:42]MH_I2C_Read... [18:50:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:50:43]Read from MH i2c: E2 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 FD 00 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 FD 00 AF 06 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 4A [18:50:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [18:50:43]wFMCommunicate OK [18:50:43]wFMCommunicate request_size=4 [18:50:43]MH_SAM_APDU [18:50:43]CAPDU: 80 17 00 00 [18:50:43]Write to MH i2c: E2 08 00 B0 06 80 17 00 00 00 00 00 00 36 [18:50:43]Write i2c OK [18:50:43]MH_I2C_Read... [18:50:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:50:43]Read from MH i2c: E2 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 FD 00 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 FD 00 B0 06 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 F7 [18:50:43]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [18:50:43]wFMCommunicate OK [18:50:43]wFMCommunicate request_size=4 [18:50:43]MH_SAM_APDU [18:50:43]CAPDU: 80 17 00 00 [18:50:43]Write to MH i2c: E2 08 00 B1 06 80 17 00 00 00 00 00 00 37 [18:50:43]Write i2c OK [18:50:43]MH_I2C_Read... [18:50:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:50:43]Read from MH i2c: E2 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 FD 00 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 FD 00 B1 06 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 AC [18:50:43]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [18:50:43]wFMCommunicate OK [18:50:43]wFMCommunicate request_size=4 [18:50:43]MH_SAM_APDU [18:50:43]CAPDU: 80 17 00 00 [18:50:43]Write to MH i2c: E2 08 00 B2 06 80 17 00 00 00 00 00 00 38 [18:50:43]Write i2c OK [18:50:43]MH_I2C_Read... [18:50:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [18:50:43]Read from MH i2c: E2 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 C9 00 [18:50:43]MH_I2C_Read... [18:50:43]Read from MH i2c: E2 C9 00 B2 06 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1C [18:50:43]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:50:43]wFMCommunicate OK [18:50:43]SAM_PROTO_GetShiftData done [18:50:43]requested_item shift.sale.total_cash is exist - process it [18:50:43]requested_item shift.sale_refund.total is exist - process it [18:50:43]requested_item shift.sale_refund.total_cash is exist - process it [18:50:43]requested_item shift.buy.total is exist - process it [18:50:43]requested_item shift.buy.total_cash is exist - process it [18:50:43]produce_requested_data done [18:50:43]produce_requested_data return {"fm.sale.total":3490150.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":5575.00,"shift.sale.total_cash":5035.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [18:50:43]process_action_free get_value [18:50:43]json_value_free [18:50:43]json_value_free done [18:50:43]process_json_proto returns [18:50:43]Send response to host [18:50:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3490150.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":5575.00,"shift.sale.total_cash":5035.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [18:50:43]free response buf [18:50:43]execute_script done [18:50:43]execute_script returns [18:50:43]free content buf [18:50:43]Sock 9.Close socket [18:50:43]Sock 9.Thread stoped [18:50:44]OFD Sender: No OFD packet to send [18:50:49]OFD Sender: No OFD packet to send [18:50:54]OFD Sender: No OFD packet to send [18:50:59]OFD Sender: No OFD packet to send [18:51:04]OFD Sender: No OFD packet to send [18:51:09]OFD Sender: No OFD packet to send [18:51:14]OFD Sender: No OFD packet to send [18:51:19]OFD Sender: No OFD packet to send [18:51:24]OFD Sender: No OFD packet to send [18:51:29]OFD Sender: No OFD packet to send [18:51:34]OFD Sender: No OFD packet to send [18:51:39]OFD Sender: No OFD packet to send [18:51:44]OFD Sender: No OFD packet to send [18:51:49]OFD Sender: No OFD packet to send [18:51:54]OFD Sender: No OFD packet to send [18:51:59]OFD Sender: No OFD packet to send [18:52:04]OFD Sender: No OFD packet to send [18:52:09]OFD Sender: No OFD packet to send [18:52:14]OFD Sender: No OFD packet to send [18:52:19]OFD Sender: No OFD packet to send [18:52:24]OFD Sender: No OFD packet to send [18:52:29]OFD Sender: No OFD packet to send [18:52:34]OFD Sender: No OFD packet to send [18:52:39]OFD Sender: No OFD packet to send [18:52:44]OFD Sender: No OFD packet to send [18:52:49]OFD Sender: No OFD packet to send [18:52:54]OFD Sender: No OFD packet to send [18:52:59]OFD Sender: No OFD packet to send [18:53:04]OFD Sender: No OFD packet to send [18:53:09]OFD Sender: No OFD packet to send [18:53:14]OFD Sender: No OFD packet to send [18:53:19]OFD Sender: No OFD packet to send [18:53:24]OFD Sender: No OFD packet to send [18:53:29]OFD Sender: No OFD packet to send [18:53:34]OFD Sender: No OFD packet to send [18:53:39]OFD Sender: No OFD packet to send [18:53:44]OFD Sender: No OFD packet to send [18:53:49]OFD Sender: No OFD packet to send [18:53:54]OFD Sender: No OFD packet to send [18:53:59]OFD Sender: No OFD packet to send [18:54:04]OFD Sender: No OFD packet to send [18:54:09]OFD Sender: No OFD packet to send [18:54:14]OFD Sender: No OFD packet to send [18:54:19]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]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]accept exits with 8 [19:04:19]New connection [19:04:19]New thread 3067469156 created [19:04:19]Thread 3067612516 joined [19:04:19]Waiting for new connection... [19:04:19] Sock 8.Parse request [19:04:19]Sock 8.Check first char [19:04:19]Sock 8.First char is OK [19:04:19]request: POST /json_proto HTTP/1.0 [19:04:19]Method: POST [19:04:19]URL: /json_proto [19:04:19]Method is POST - this is cgi request [19:04:19]url: /json_proto [19:04:19]query_string will be loaded in cgi processing [19:04:19]execute_cgi json_proto POST (null) [19:04:19]execute_cgi path=json_proto method=POST [19:04:19]POST find Content-Length [19:04:19]Host: 172.17.53.196:8080 [19:04:19]Content-Length: 619 [19:04:19]Content-Type: application/json [19:04:19] [19:04:19]POST finish read [19:04:19]Found Content-Length = 619 [19:04:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34776", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:19]execute_script... [19:04:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34776", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:04:19]POST & json_proto [19:04:19]process_json_proto [19:04:19]json parsed OK: [19:04:19]protocol is kg_v1.0 [19:04:19]action value=close_receipt [19:04:19]process_action close_receipt [19:04:19]cmd_close_receipt [19:04:19]MH_GetDate [19:04:19]Write to MH i2c: F0 00 00 B3 06 A8 [19:04:19]Write i2c OK [19:04:19]MH_I2C_Read... [19:04:19]Read from MH i2c: F0 [19:04:19]MH_I2C_Read... [19:04:19]Read from MH i2c: F0 09 00 [19:04:19]MH_I2C_Read... [19:04:19]Read from MH i2c: F0 09 00 B3 06 00 35 F7 17 67 4F CD 9A 65 76 [19:04:19]GetLastDocTimeStamp 1729622878 [19:04:19]current date 1729623861 [19:04:19]FM_GetShiftState [19:04:19]SAM_PROTO_GetShiftState [19:04:19]wFMCommunicate request_size=4 [19:04:19]MH_SAM_APDU [19:04:19]CAPDU: 80 13 01 00 [19:04:19]Write to MH i2c: E2 08 00 B4 06 80 13 01 00 00 00 00 00 37 [19:04:19]OFD Sender: No OFD packet to send [19:04:19]Write i2c OK [19:04:19]MH_I2C_Read... [19:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:19]Read from MH i2c: E2 [19:04:19]MH_I2C_Read... [19:04:19]Read from MH i2c: E2 0E 00 [19:04:19]MH_I2C_Read... [19:04:19]Read from MH i2c: E2 0E 00 B4 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 88 [19:04:19]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:04:19]wFMCommunicate OK [19:04:19]SAM_PROTO_GetShiftState done [19:04:19]FM_GetShiftState done [19:04:19]opened in 1729556951 [19:04:19]opened+sec_in_day 1729643351 [19:04:19]quantity*price = 13900 [19:04:19]sum+1 = 13901 [19:04:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 39 22.10.2024 19:04 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25018 ФПД: 268498887295188 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190421&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25018&fm=268498887295188&tin=02508201610067®Number=0000000000098147&sum=13900 0 [19:04:20]StoreToDocumentArchive [19:04:20]shift 457 fd 25018 [19:04:20]save to /storage/0457/doc_00025018 [19:04:20]save last doc name /storage/0457/doc_00025018 to /storage/kkm_last_doc_name [19:04:20]save OK [19:04:20]Clear old archive folders... [19:04:20]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:04:20]tlvbuf is 00AAEB10 [19:04:20]SAM_PROTO_ClearQueue [19:04:20]wFMCommunicate request_size=4 [19:04:20]MH_SAM_APDU [19:04:20]CAPDU: 80 09 00 00 [19:04:20]Write to MH i2c: E2 08 00 C1 06 80 09 00 00 00 00 00 00 39 [19:04:20]Write i2c OK [19:04:20]MH_I2C_Read... [19:04:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:04:20]Read from MH i2c: E2 [19:04:20]MH_I2C_Read... [19:04:20]Read from MH i2c: E2 03 00 [19:04:20]MH_I2C_Read... [19:04:20]Read from MH i2c: E2 03 00 C1 06 00 90 00 3B [19:04:20]RAPDU: 90 00 [19:04:20]wFMCommunicate OK [19:04:20]SAM_PROTO_ClearQueue done [19:04:20]KKMCreateOFDPacket [19:04:20]OFDProtocolAddRootSTLVToBuf [19:04:20]FM_MakeSignedData [19:04:20]FM_MakeSignedData [19:04:20]SAM_PROTO_SignData [19:04:20]wFMCommunicate request_size=4 [19:04:20]MH_SAM_APDU [19:04:20]CAPDU: 80 0D 01 02 [19:04:20]Write to MH i2c: E2 08 00 C2 06 80 0D 01 02 00 00 00 00 41 [19:04:20]Write i2c OK [19:04:20]MH_I2C_Read... [19:04:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:04:21]Read from MH i2c: E2 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 03 00 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 03 00 C2 06 00 90 00 3C [19:04:21]RAPDU: 90 00 [19:04:21]wFMCommunicate OK [19:04:21]wFMCommunicate request_size=255 [19:04:21]MH_SAM_APDU [19:04:21]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 35 F7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 [19:04:21]Write to MH i2c: E2 02 01 C3 06 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 35 F7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 00 00 11 [19:04:21]Write i2c OK [19:04:21]MH_I2C_Read... [19:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:21]Read from MH i2c: E2 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 03 00 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 03 00 C3 06 00 90 00 3D [19:04:21]RAPDU: 90 00 [19:04:21]wFMCommunicate OK [19:04:21]wFMCommunicate request_size=31 [19:04:21]MH_SAM_APDU [19:04:21]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 33 37 36 10 04 04 00 BA 61 00 00 35 04 06 00 F4 32 C4 CC C0 D4 [19:04:21]Write to MH i2c: E2 22 00 C4 06 80 0D 02 02 1A 00 30 30 39 36 35 33 37 36 10 04 04 00 BA 61 00 00 35 04 06 00 F4 32 C4 CC C0 D4 00 00 D8 [19:04:21]Write i2c OK [19:04:21]MH_I2C_Read... [19:04:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:04:21]Read from MH i2c: E2 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 03 00 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 03 00 C4 06 00 90 00 3E [19:04:21]RAPDU: 90 00 [19:04:21]wFMCommunicate OK [19:04:21]wFMCommunicate request_size=4 [19:04:21]MH_SAM_APDU [19:04:21]CAPDU: 80 0D 03 02 [19:04:21]Write to MH i2c: E2 08 00 C5 06 80 0D 03 02 00 00 00 00 46 [19:04:21]Write i2c OK [19:04:21]MH_I2C_Read... [19:04:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:04:21]Read from MH i2c: E2 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 0B 00 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 0B 00 C5 06 00 15 4A D0 E2 65 23 16 F8 90 00 EE [19:04:21]RAPDU: 15 4A D0 E2 65 23 16 F8 90 00 [19:04:21]wFMCommunicate OK [19:04:21]SAM_PROTO_SignData done [19:04:21]FM_MakeSignedData done [19:04:21]CreateOFDProtocolMessage [19:04:21]wFMCommunicate request_size=4 [19:04:21]MH_SAM_APDU [19:04:21]CAPDU: 80 11 00 00 [19:04:21]Write to MH i2c: E2 08 00 C6 06 80 11 00 00 00 00 00 00 46 [19:04:21]Write i2c OK [19:04:21]MH_I2C_Read... [19:04:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:21]Read from MH i2c: E2 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 17 00 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: E2 17 00 C6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9D [19:04:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:04:21]wFMCommunicate OK [19:04:21]CreateOFDProtocolMessage done [19:04:21]OFDSenderStorePacket 25018 [19:04:21]StoreOFDPacket docnum=25018 [19:04:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 24 01 00 00 0E 12 1C 01 9F E8 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 35 F7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BA 61 00 00 35 04 06 00 F4 32 C4 CC C0 D4 15 4A D0 E2 65 23 16 F8 [19:04:21]CheckFolder [19:04:21]dirname=/storage/ofd_packets [19:04:21]CheckFolder done [19:04:21]ProducePacketName [19:04:21]name=ofd_packets/00025018 [19:04:21]NVStorageSaveData ofd_packets/00025018 [19:04:21]File name is /storage/ofd_packets/00025018 [19:04:21]Write 322 bytes [19:04:21]NVStorageSaveData done [19:04:21]OFDSenderStorePacket done [19:04:21]KKMCreateOFDPacket done [19:04:21]NVStorageSaveData kkm_last_timestamp [19:04:21]File name is /storage/kkm_last_timestamp [19:04:21]Write 4 bytes [19:04:21]NVStorageSaveData done [19:04:21]ExternCall_PrintAddStr [19:04:21]wPrintStart [19:04:21]Write to MH i2c: 01 00 00 C7 06 CD [19:04:21]Write i2c OK [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: 01 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: 01 07 00 [19:04:21]MH_I2C_Read... [19:04:21]Read from MH i2c: 01 07 00 C7 06 00 00 00 00 00 FF 0F E2 [19:04:21]RasterBufferAndPrint [19:04:21]line Счет N : (3)34776 [19:04:21]line ИНН: 02508201610067 [19:04:21]line Контрольно-Кассовый Чек [19:04:21]line ПРОДАЖА [19:04:21]line Товар: 48745000 [19:04:21]line Сигареты Winston Purple Mix [19:04:21]line 1.000 * 139.00 [19:04:21]line = 139.00 [19:04:21]line НДС 12% НСП 1% [19:04:21]line > о реализуемом товаре [19:04:21]line ИТОГО: 139.00 [19:04:21]line НСП 1% : 1.23 [19:04:21]line НДС 12% : 14.76 [19:04:21]line Наличными: 139.00 [19:04:21]line Безнал.: 0.00 [19:04:21]line Место: АЗС № 161 "Партнер Нефть" [19:04:21]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:04:21]line СНО: Общий режим [19:04:21]line Чек 39 22.10.2024 19:04 [19:04:21]line Смена: 457 ФФД: 1.0 [19:04:21]line ЗНМ: 0300000240 [19:04:21]line РНМ: 0000000000098147 [19:04:21]line Версия ККМ: 001 [19:04:21]line ФМ: 0000000000965376 [19:04:21]line ФД: 25018 [19:04:21]line ФПД: 268498887295188 [19:04:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190421&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25018&fm=268498887295188&tin=02508201610067®Number=0000000000098147&sum=13900 [19:04:21]OFD Sender: Processing packet 25018 [packets to send 5, broken 4] [19:04:21]ProducePacketName [19:04:21]name=ofd_packets/00025018 [19:04:21]OFD Sender: To server: pG, [19:04:21]CommunicateWithHost lk.salyk.kg:30040 [19:04:21]ConnectInit lk.salyk.kg [19:04:21]line 0 [19:04:21]written 0, free lines is 4095 [19:04:21]Connected sock=10 [19:04:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 24 01 00 00 0E 12 1C 01 9F E8 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 35 F7 17 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BA 61 00 00 35 04 06 00 F4 32 C4 CC C0 D4 15 4A D0 E2 65 23 16 F8 [19:04:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 47 15 47 00 71 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BA 61 00 00 F4 03 04 00 AF 9F 17 67 B6 04 01 00 00 5A 6D 14 75 E1 88 E4 EB [19:04:22]CommunicateWithHost err = 0 [19:04:22]CheckOFDResponse [19:04:22]1017 (14) - 77093643461234 [19:04:22]1041 (16) - 0000000000965376 [19:04:22]1040 (4) - 25018 [19:04:22]1012 (4) - 22.10.2024 12:50 [19:04:22]1206 (1) - 0 [19:04:22]OFD Sender: Remove packet 25018 [19:04:22]ProducePacketName [19:04:22]name=ofd_packets/00025018 [19:04:22]NVStorageDeleteData [19:04:22]Write to MH i2c: 01 00 00 EF 06 F5 [19:04:22]Write i2c OK [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: 01 [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: 01 07 00 [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: 01 07 00 EF 06 00 00 00 00 00 E8 0C F0 [19:04:22]RasterBufferAndPrint [19:04:22]line [19:04:22]line [19:04:22]line [19:04:22]line [19:04:22]line [19:04:22]written 0, free lines is 3310 [19:04:22]process_action close_receipt done [19:04:22]requested_data is exist [19:04:22]produce_requested_data [19:04:22]requested_item fm.sn is exist - process it [19:04:22]wFMCommunicate request_size=4 [19:04:22]MH_SAM_APDU [19:04:22]CAPDU: 80 11 00 00 [19:04:22]Write to MH i2c: E2 08 00 F6 06 80 11 00 00 00 00 00 00 76 [19:04:22]Write i2c OK [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: E2 [19:04:22]MH_I2C_Read... [19:04:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:04:22]Read from MH i2c: E2 17 00 [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: E2 17 00 F6 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CD [19:04:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:04:22]wFMCommunicate OK [19:04:22]requested_item fd.num is exist - process it [19:04:22]SAM_PROTO_GetFieldsCounters [19:04:22]wFMCommunicate request_size=4 [19:04:22]MH_SAM_APDU [19:04:22]CAPDU: 80 13 00 00 [19:04:22]Write to MH i2c: E2 08 00 F7 06 80 13 00 00 00 00 00 00 79 [19:04:22]Write i2c OK [19:04:22]MH_I2C_Read... [19:04:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:04:22]Read from MH i2c: E2 [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: E2 62 00 [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: E2 62 00 F7 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BA 61 00 00 0E 04 04 00 C9 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 FC [19:04:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BA 61 00 00 0E 04 04 00 C9 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 [19:04:22]wFMCommunicate OK [19:04:22]SAM_PROTO_GetFieldsCounters done [19:04:22]requested_item shift.num is exist - process it [19:04:22]requested_item shift.opened is exist - process it [19:04:22]req_shift_opened [19:04:22]FM_GetShiftState [19:04:22]SAM_PROTO_GetShiftState [19:04:22]wFMCommunicate request_size=4 [19:04:22]MH_SAM_APDU [19:04:22]CAPDU: 80 13 01 00 [19:04:22]Write to MH i2c: E2 08 00 F8 06 80 13 01 00 00 00 00 00 7B [19:04:22]Write i2c OK [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: E2 [19:04:22]MH_I2C_Read... [19:04:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:04:22]Read from MH i2c: E2 0E 00 [19:04:22]MH_I2C_Read... [19:04:22]Read from MH i2c: E2 0E 00 F8 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 CC [19:04:22]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:04:22]wFMCommunicate OK [19:04:22]SAM_PROTO_GetShiftState done [19:04:22]FM_GetShiftState done [19:04:22]req_shift_opened done [19:04:22]requested_item shift.open_date is exist - process it [19:04:22]req_shift_open_date [19:04:22]req_shift_open_date done [19:04:22]produce_requested_data done [19:04:22]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25018,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [19:04:22]process_action_free close_receipt [19:04:22]json_value_free [19:04:22]json_value_free done [19:04:22]process_json_proto returns [19:04:22]Send response to host [19:04:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25018,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [19:04:22]free response buf [19:04:22]execute_script done [19:04:22]execute_script returns [19:04:22]free content buf [19:04:22]Sock 8.Close socket [19:04:22]Sock 8.Thread stoped [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]OFD Sender: No OFD packet to send [19:05:17]OFD Sender: No OFD packet to send [19:05:22]OFD Sender: No OFD packet to send [19:05:27]OFD Sender: No OFD packet to send [19:05:32]OFD Sender: No OFD packet to send [19:05:37]OFD Sender: No OFD packet to send [19:05:42]OFD Sender: No OFD packet to send [19:05:47]OFD Sender: No OFD packet to send [19:05:52]OFD Sender: No OFD packet to send [19:05:57]OFD Sender: No OFD packet to send [19:06:02]OFD Sender: No OFD packet to send [19:06:07]OFD Sender: No OFD packet to send [19:06:12]OFD Sender: No OFD packet to send [19:06:17]OFD Sender: No OFD packet to send [19:06:22]OFD Sender: No OFD packet to send [19:06:27]OFD Sender: No OFD packet to send [19:06:32]OFD Sender: No OFD packet to send [19:06:37]OFD Sender: No OFD packet to send [19:06:42]OFD Sender: No OFD packet to send [19:06:47]OFD Sender: No OFD packet to send [19:06:52]OFD Sender: No OFD packet to send [19:06:57]OFD Sender: No OFD packet to send [19:07:02]OFD Sender: No OFD packet to send [19:07:07]OFD Sender: No OFD packet to send [19:07:12]OFD Sender: No OFD packet to send [19:07:17]OFD Sender: No OFD packet to send [19:07:22]OFD Sender: No OFD packet to send [19:07:27]OFD Sender: No OFD packet to send [19:07:32]OFD Sender: No OFD packet to send [19:07:37]OFD Sender: No OFD packet to send [19:07:42]OFD Sender: No OFD packet to send [19:07:47]OFD Sender: No OFD packet to send [19:07:52]OFD Sender: No OFD packet to send [19:07:57]OFD Sender: No OFD packet to send [19:08:02]OFD Sender: No OFD packet to send [19:08:07]OFD Sender: No OFD packet to send [19:08:12]OFD Sender: No OFD packet to send [19:08:17]OFD Sender: No OFD packet to send [19:08:22]OFD Sender: No OFD packet to send [19:08:27]OFD Sender: No OFD packet to send [19:08:32]OFD Sender: No OFD packet to send [19:08:37]OFD Sender: No OFD packet to send [19:08:42]OFD Sender: No OFD packet to send [19:08:47]OFD Sender: No OFD packet to send [19:08:52]OFD Sender: No OFD packet to send [19:08:57]OFD Sender: No OFD packet to send [19:09:02]OFD Sender: No OFD packet to send [19:09:07]OFD Sender: No OFD packet to send [19:09:12]OFD Sender: No OFD packet to send [19:09:17]OFD Sender: No OFD packet to send [19:09:22]OFD Sender: No OFD packet to send [19:09:27]OFD Sender: No OFD packet to send [19:09:32]OFD Sender: No OFD packet to send [19:09:37]OFD Sender: No OFD packet to send [19:09:42]OFD Sender: No OFD packet to send [19:09:47]OFD Sender: No OFD packet to send [19:09:52]OFD Sender: No OFD packet to send [19:09:57]OFD Sender: No OFD packet to send [19:10:02]OFD Sender: No OFD packet to send [19:10:07]OFD Sender: No OFD packet to send [19:10:12]OFD Sender: No OFD packet to send [19:10:17]OFD Sender: No OFD packet to send [19:10:22]OFD Sender: No OFD packet to send [19:10:27]OFD Sender: No OFD packet to send [19:10:32]OFD Sender: No OFD packet to send [19:10:37]OFD Sender: No OFD packet to send [19:10:42]OFD Sender: No OFD packet to send [19:10:47]OFD Sender: No OFD packet to send [19:10:52]OFD Sender: No OFD packet to send [19:10:57]OFD Sender: No OFD packet to send [19:11:02]OFD Sender: No OFD packet to send [19:11:07]OFD Sender: No OFD packet to send [19:11:12]OFD Sender: No OFD packet to send [19:11:17]OFD Sender: No OFD packet to send [19:11:22]OFD Sender: No OFD packet to send [19:11:27]OFD Sender: No OFD packet to send [19:11:32]OFD Sender: No OFD packet to send [19:11:37]OFD Sender: No OFD packet to send [19:11:42]OFD Sender: No OFD packet to send [19:11:47]OFD Sender: No OFD packet to send [19:11:52]OFD Sender: No OFD packet to send [19:11:57]OFD Sender: No OFD packet to send [19:12:02]OFD Sender: No OFD packet to send [19:12:07]OFD Sender: No OFD packet to send [19:12:12]OFD Sender: No OFD packet to send [19:12:17]OFD Sender: No OFD packet to send [19:12:22]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:58]OFD Sender: No OFD packet to send [19:14:03]OFD Sender: No OFD packet to send [19:14:08]OFD Sender: No OFD packet to send [19:14:13]OFD Sender: No OFD packet to send [19:14:18]OFD Sender: No OFD packet to send [19:14:23]OFD Sender: No OFD packet to send [19:14:28]OFD Sender: No OFD packet to send [19:14:33]OFD Sender: No OFD packet to send [19:14:38]OFD Sender: No OFD packet to send [19:14:43]OFD Sender: No OFD packet to send [19:14:48]OFD Sender: No OFD packet to send [19:14:53]OFD Sender: No OFD packet to send [19:14:58]OFD Sender: No OFD packet to send [19:15:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:43]OFD Sender: No OFD packet to send [19:20:48]OFD Sender: No OFD packet to send [19:20:53]OFD Sender: No OFD packet to send [19:20:58]OFD Sender: No OFD packet to send [19:21:03]OFD Sender: No OFD packet to send [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:33]OFD Sender: No OFD packet to send [19:27:38]OFD Sender: No OFD packet to send [19:27:43]OFD Sender: No OFD packet to send [19:27:48]OFD Sender: No OFD packet to send [19:27:53]OFD Sender: No OFD packet to send [19:27:58]OFD Sender: No OFD packet to send [19:28:03]OFD Sender: No OFD packet to send [19:28:08]OFD Sender: No OFD packet to send [19:28:13]OFD Sender: No OFD packet to send [19:28:18]OFD Sender: No OFD packet to send [19:28:23]OFD Sender: No OFD packet to send [19:28:28]OFD Sender: No OFD packet to send [19:28:33]OFD Sender: No OFD packet to send [19:28:38]OFD Sender: No OFD packet to send [19:28:43]OFD Sender: No OFD packet to send [19:28:48]OFD Sender: No OFD packet to send [19:28:53]OFD Sender: No OFD packet to send [19:28:58]OFD Sender: No OFD packet to send [19:29:03]OFD Sender: No OFD packet to send [19:29:08]OFD Sender: No OFD packet to send [19:29:13]OFD Sender: No OFD packet to send [19:29:18]OFD Sender: No OFD packet to send [19:29:23]OFD Sender: No OFD packet to send [19:29:28]OFD Sender: No OFD packet to send [19:29:33]OFD Sender: No OFD packet to send [19:29:38]OFD Sender: No OFD packet to send [19:29:43]OFD Sender: No OFD packet to send [19:29:48]OFD Sender: No OFD packet to send [19:29:53]OFD Sender: No OFD packet to send [19:29:58]OFD Sender: No OFD packet to send [19:30:03]OFD Sender: No OFD packet to send [19:30:08]OFD Sender: No OFD packet to send [19:30:13]OFD Sender: No OFD packet to send [19:30:18]OFD Sender: No OFD packet to send [19:30:23]OFD Sender: No OFD packet to send [19:30:28]OFD Sender: No OFD packet to send [19:30:33]OFD Sender: No OFD packet to send [19:30:38]OFD Sender: No OFD packet to send [19:30:43]OFD Sender: No OFD packet to send [19:30:48]OFD Sender: No OFD packet to send [19:30:53]OFD Sender: No OFD packet to send [19:30:58]OFD Sender: No OFD packet to send [19:31:03]OFD Sender: No OFD packet to send [19:31:08]OFD Sender: No OFD packet to send [19:31:13]OFD Sender: No OFD packet to send [19:31:18]OFD Sender: No OFD packet to send [19:31:23]OFD Sender: No OFD packet to send [19:31:28]OFD Sender: No OFD packet to send [19:31:33]OFD Sender: No OFD packet to send [19:31:38]OFD Sender: No OFD packet to send [19:31:43]OFD Sender: No OFD packet to send [19:31:48]OFD Sender: No OFD packet to send [19:31:53]OFD Sender: No OFD packet to send [19:31:58]OFD Sender: No OFD packet to send [19:32:03]OFD Sender: No OFD packet to send [19:32:08]OFD Sender: No OFD packet to send [19:32:13]OFD Sender: No OFD packet to send [19:32:18]OFD Sender: No OFD packet to send [19:32:23]OFD Sender: No OFD packet to send [19:32:28]OFD Sender: No OFD packet to send [19:32:33]OFD Sender: No OFD packet to send [19:32:38]OFD Sender: No OFD packet to send [19:32:43]OFD Sender: No OFD packet to send [19:32:48]OFD Sender: No OFD packet to send [19:32:53]OFD Sender: No OFD packet to send [19:32:58]OFD Sender: No OFD packet to send [19:33:03]OFD Sender: No OFD packet to send [19:33:08]OFD Sender: No OFD packet to send [19:33:13]OFD Sender: No OFD packet to send [19:33:18]OFD Sender: No OFD packet to send [19:33:23]OFD Sender: No OFD packet to send [19:33:28]OFD Sender: No OFD packet to send [19:33:33]OFD Sender: No OFD packet to send [19:33:38]OFD Sender: No OFD packet to send [19:33:43]OFD Sender: No OFD packet to send [19:33:48]OFD Sender: No OFD packet to send [19:33:53]OFD Sender: No OFD packet to send [19:33:58]OFD Sender: No OFD packet to send [19:34: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:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:34]accept exits with 9 [19:43:34]New connection [19:43:34]New thread 3067612516 created [19:43:34]Thread 3067469156 joined [19:43:34]Waiting for new connection... [19:43:34] Sock 9.Parse request [19:43:34]Sock 9.Check first char [19:43:34]Sock 9.First char is OK [19:43:34]request: POST /json_proto HTTP/1.0 [19:43:34]Method: POST [19:43:34]URL: /json_proto [19:43:34]Method is POST - this is cgi request [19:43:34]url: /json_proto [19:43:34]query_string will be loaded in cgi processing [19:43:34]execute_cgi json_proto POST (null) [19:43:34]execute_cgi path=json_proto method=POST [19:43:34]POST find Content-Length [19:43:34]Host: 172.17.53.196:8080 [19:43:34]Content-Length: 632 [19:43:34]Content-Type: application/json [19:43:34] [19:43:34]POST finish read [19:43:34]Found Content-Length = 632 [19:43:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34777", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:43:34]execute_script... [19:43:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34777", "tax_sys" : 0, "items" : [ { "code": "40822938", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 75.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:43:34]POST & json_proto [19:43:34]process_json_proto [19:43:34]json parsed OK: [19:43:34]protocol is kg_v1.0 [19:43:34]action value=close_receipt [19:43:34]process_action close_receipt [19:43:34]cmd_close_receipt [19:43:34]MH_GetDate [19:43:34]Write to MH i2c: F0 00 00 F9 06 EE [19:43:34]Write i2c OK [19:43:34]MH_I2C_Read... [19:43:34]Read from MH i2c: F0 [19:43:34]MH_I2C_Read... [19:43:34]Read from MH i2c: F0 09 00 [19:43:34]MH_I2C_Read... [19:43:34]Read from MH i2c: F0 09 00 F9 06 00 68 00 18 67 4F CD 9A 65 F9 [19:43:34]GetLastDocTimeStamp 1729623861 [19:43:34]current date 1729626216 [19:43:34]FM_GetShiftState [19:43:34]SAM_PROTO_GetShiftState [19:43:34]wFMCommunicate request_size=4 [19:43:34]MH_SAM_APDU [19:43:34]CAPDU: 80 13 01 00 [19:43:34]Write to MH i2c: E2 08 00 FA 06 80 13 01 00 00 00 00 00 7D [19:43:34]Write i2c OK [19:43:34]MH_I2C_Read... [19:43:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:34]Read from MH i2c: E2 [19:43:34]MH_I2C_Read... [19:43:34]Read from MH i2c: E2 0E 00 [19:43:34]MH_I2C_Read... [19:43:34]Read from MH i2c: E2 0E 00 FA 06 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 CE [19:43:34]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:43:34]wFMCommunicate OK [19:43:34]SAM_PROTO_GetShiftState done [19:43:34]FM_GetShiftState done [19:43:34]opened in 1729556951 [19:43:34]opened+sec_in_day 1729643351 [19:43:34]quantity*price = 7500 [19:43:34]sum+1 = 7501 [19:43:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 75.00 НСП 1% : 0.66 НДС 12% : 7.96 Наличными: 75.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 40 22.10.2024 19:43 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25019 ФПД: 229000922062383 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T194336&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25019&fm=229000922062383&tin=02508201610067®Number=0000000000098147&sum=7500 0 [19:43:35]StoreToDocumentArchive [19:43:35]shift 457 fd 25019 [19:43:35]save to /storage/0457/doc_00025019 [19:43:35]save last doc name /storage/0457/doc_00025019 to /storage/kkm_last_doc_name [19:43:35]save OK [19:43:35]Clear old archive folders... [19:43:35]ProcessDocumentItem done err = 0, tmpTLVsize=268 [19:43:35]tlvbuf is 00AED240 [19:43:35]SAM_PROTO_ClearQueue [19:43:35]wFMCommunicate request_size=4 [19:43:35]MH_SAM_APDU [19:43:35]CAPDU: 80 09 00 00 [19:43:35]Write to MH i2c: E2 08 00 07 07 80 09 00 00 00 00 00 00 80 [19:43:35]Write i2c OK [19:43:35]MH_I2C_Read... [19:43:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:43:35]Read from MH i2c: E2 [19:43:35]MH_I2C_Read... [19:43:35]Read from MH i2c: E2 03 00 [19:43:35]MH_I2C_Read... [19:43:35]Read from MH i2c: E2 03 00 07 07 00 90 00 82 [19:43:35]RAPDU: 90 00 [19:43:35]wFMCommunicate OK [19:43:35]SAM_PROTO_ClearQueue done [19:43:35]KKMCreateOFDPacket [19:43:35]OFDProtocolAddRootSTLVToBuf [19:43:35]FM_MakeSignedData [19:43:35]FM_MakeSignedData [19:43:35]SAM_PROTO_SignData [19:43:35]wFMCommunicate request_size=4 [19:43:35]MH_SAM_APDU [19:43:35]CAPDU: 80 0D 01 02 [19:43:35]Write to MH i2c: E2 08 00 08 07 80 0D 01 02 00 00 00 00 88 [19:43:35]Write i2c OK [19:43:35]MH_I2C_Read... [19:43:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:43:35]Read from MH i2c: E2 [19:43:35]MH_I2C_Read... [19:43:35]Read from MH i2c: E2 03 00 [19:43:35]MH_I2C_Read... [19:43:35]Read from MH i2c: E2 03 00 08 07 00 90 00 83 [19:43:35]RAPDU: 90 00 [19:43:35]wFMCommunicate OK [19:43:35]wFMCommunicate request_size=255 [19:43:35]MH_SAM_APDU [19:43:35]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 68 00 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [19:43:35]Write to MH i2c: E2 02 01 09 07 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 68 00 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 C0 [19:43:35]Write i2c OK [19:43:35]MH_I2C_Read... [19:43:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:43:36]Read from MH i2c: E2 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 03 00 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 03 00 09 07 00 90 00 84 [19:43:36]RAPDU: 90 00 [19:43:36]wFMCommunicate OK [19:43:36]wFMCommunicate request_size=27 [19:43:36]MH_SAM_APDU [19:43:36]CAPDU: 80 0D 02 02 16 35 33 37 36 10 04 04 00 BB 61 00 00 35 04 06 00 D0 46 6E 9C DE 2F [19:43:36]Write to MH i2c: E2 1E 00 0A 07 80 0D 02 02 16 00 35 33 37 36 10 04 04 00 BB 61 00 00 35 04 06 00 D0 46 6E 9C DE 2F 00 00 2C [19:43:36]Write i2c OK [19:43:36]MH_I2C_Read... [19:43:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:43:36]Read from MH i2c: E2 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 03 00 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 03 00 0A 07 00 90 00 85 [19:43:36]RAPDU: 90 00 [19:43:36]wFMCommunicate OK [19:43:36]wFMCommunicate request_size=4 [19:43:36]MH_SAM_APDU [19:43:36]CAPDU: 80 0D 03 02 [19:43:36]Write to MH i2c: E2 08 00 0B 07 80 0D 03 02 00 00 00 00 8D [19:43:36]Write i2c OK [19:43:36]MH_I2C_Read... [19:43:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:43:36]Read from MH i2c: E2 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 0B 00 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 0B 00 0B 07 00 98 A8 2A 6D A3 5A FE 7D 90 00 DD [19:43:36]RAPDU: 98 A8 2A 6D A3 5A FE 7D 90 00 [19:43:36]wFMCommunicate OK [19:43:36]SAM_PROTO_SignData done [19:43:36]FM_MakeSignedData done [19:43:36]CreateOFDProtocolMessage [19:43:36]wFMCommunicate request_size=4 [19:43:36]MH_SAM_APDU [19:43:36]CAPDU: 80 11 00 00 [19:43:36]Write to MH i2c: E2 08 00 0C 07 80 11 00 00 00 00 00 00 8D [19:43:36]Write i2c OK [19:43:36]MH_I2C_Read... [19:43:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:36]Read from MH i2c: E2 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 17 00 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: E2 17 00 0C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E4 [19:43:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:43:36]wFMCommunicate OK [19:43:36]CreateOFDProtocolMessage done [19:43:36]OFDSenderStorePacket 25019 [19:43:36]StoreOFDPacket docnum=25019 [19:43:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 20 01 00 00 50 96 18 01 6F 33 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 68 00 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BB 61 00 00 35 04 06 00 D0 46 6E 9C DE 2F 98 A8 2A 6D A3 5A FE 7D [19:43:36]CheckFolder [19:43:36]dirname=/storage/ofd_packets [19:43:36]CheckFolder done [19:43:36]ProducePacketName [19:43:36]name=ofd_packets/00025019 [19:43:36]NVStorageSaveData ofd_packets/00025019 [19:43:36]File name is /storage/ofd_packets/00025019 [19:43:36]Write 318 bytes [19:43:36]NVStorageSaveData done [19:43:36]OFDSenderStorePacket done [19:43:36]KKMCreateOFDPacket done [19:43:36]NVStorageSaveData kkm_last_timestamp [19:43:36]File name is /storage/kkm_last_timestamp [19:43:36]Write 4 bytes [19:43:36]NVStorageSaveData done [19:43:36]ExternCall_PrintAddStr [19:43:36]wPrintStart [19:43:36]Write to MH i2c: 01 00 00 0D 07 14 [19:43:36]Write i2c OK [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: 01 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: 01 07 00 [19:43:36]MH_I2C_Read... [19:43:36]Read from MH i2c: 01 07 00 0D 07 00 00 00 00 00 FF 0F 29 [19:43:36]RasterBufferAndPrint [19:43:36]line Счет N : (3)34777 [19:43:36]line ИНН: 02508201610067 [19:43:36]line Контрольно-Кассовый Чек [19:43:36]line ПРОДАЖА [19:43:36]line Товар: 40822938 [19:43:36]line Напиток Фанта 0,5л [19:43:36]line 1.000 * 75.00 [19:43:36]line = 75.00 [19:43:36]line НДС 12% НСП 1% [19:43:36]line > о реализуемом товаре [19:43:36]line ИТОГО: 75.00 [19:43:36]line НСП 1% : 0.66 [19:43:36]line НДС 12% : 7.96 [19:43:36]line Наличными: 75.00 [19:43:36]line Безнал.: 0.00 [19:43:36]line Место: АЗС № 161 "Партнер Нефть" [19:43:36]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:43:36]line СНО: Общий режим [19:43:36]line Чек 40 22.10.2024 19:43 [19:43:36]line Смена: 457 ФФД: 1.0 [19:43:36]line ЗНМ: 0300000240 [19:43:36]line РНМ: 0000000000098147 [19:43:36]line Версия ККМ: 001 [19:43:36]line ФМ: 0000000000965376 [19:43:36]line ФД: 25019 [19:43:36]line ФПД: 229000922062383 [19:43:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T194336&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25019&fm=229000922062383&tin=02508201610067®Number=0000000000098147&sum=7500 [19:43:36]OFD Sender: Processing packet 25019 [packets to send 5, broken 4] [19:43:36]ProducePacketName [19:43:36]name=ofd_packets/00025019 [19:43:36]OFD Sender: To server: pG, [19:43:36]CommunicateWithHost lk.salyk.kg:30040 [19:43:36]ConnectInit lk.salyk.kg [19:43:36]line 0 [19:43:36]written 0, free lines is 4095 [19:43:36]Connected sock=10 [19:43:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 20 01 00 00 50 96 18 01 6F 33 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 08 00 34 30 38 32 32 39 33 38 06 04 1F 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 1D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 42 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1C 03 00 00 00 00 07 04 06 00 4C 1D 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 68 00 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BB 61 00 00 35 04 06 00 D0 46 6E 9C DE 2F 98 A8 2A 6D A3 5A FE 7D [19:43:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 09 7F 47 00 5E AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BB 61 00 00 F4 03 04 00 E2 A8 17 67 B6 04 01 00 00 8D 09 4A 87 17 59 4C EB [19:43:36]CommunicateWithHost err = 0 [19:43:36]CheckOFDResponse [19:43:36]1017 (14) - 77093643461234 [19:43:36]1041 (16) - 0000000000965376 [19:43:36]1040 (4) - 25019 [19:43:36]1012 (4) - 22.10.2024 13:30 [19:43:36]1206 (1) - 0 [19:43:36]OFD Sender: Remove packet 25019 [19:43:36]ProducePacketName [19:43:36]name=ofd_packets/00025019 [19:43:36]NVStorageDeleteData [19:43:37]Write to MH i2c: 01 00 00 35 07 3C [19:43:37]Write i2c OK [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: 01 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: 01 07 00 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: 01 07 00 35 07 00 00 00 00 00 D9 0C 28 [19:43:37]RasterBufferAndPrint [19:43:37]line [19:43:37]line [19:43:37]line [19:43:37]line [19:43:37]line [19:43:37]written 0, free lines is 3295 [19:43:37]process_action close_receipt done [19:43:37]requested_data is exist [19:43:37]produce_requested_data [19:43:37]requested_item fm.sn is exist - process it [19:43:37]wFMCommunicate request_size=4 [19:43:37]MH_SAM_APDU [19:43:37]CAPDU: 80 11 00 00 [19:43:37]Write to MH i2c: E2 08 00 3C 07 80 11 00 00 00 00 00 00 BD [19:43:37]Write i2c OK [19:43:37]MH_I2C_Read... [19:43:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:43:37]Read from MH i2c: E2 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: E2 17 00 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: E2 17 00 3C 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 14 [19:43:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:43:37]wFMCommunicate OK [19:43:37]requested_item fd.num is exist - process it [19:43:37]SAM_PROTO_GetFieldsCounters [19:43:37]wFMCommunicate request_size=4 [19:43:37]MH_SAM_APDU [19:43:37]CAPDU: 80 13 00 00 [19:43:37]Write to MH i2c: E2 08 00 3D 07 80 13 00 00 00 00 00 00 C0 [19:43:37]Write i2c OK [19:43:37]MH_I2C_Read... [19:43:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:43:37]Read from MH i2c: E2 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: E2 62 00 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: E2 62 00 3D 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BB 61 00 00 0E 04 04 00 C9 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 47 [19:43:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BB 61 00 00 0E 04 04 00 C9 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 [19:43:37]wFMCommunicate OK [19:43:37]SAM_PROTO_GetFieldsCounters done [19:43:37]requested_item shift.num is exist - process it [19:43:37]requested_item shift.opened is exist - process it [19:43:37]req_shift_opened [19:43:37]FM_GetShiftState [19:43:37]SAM_PROTO_GetShiftState [19:43:37]wFMCommunicate request_size=4 [19:43:37]MH_SAM_APDU [19:43:37]CAPDU: 80 13 01 00 [19:43:37]Write to MH i2c: E2 08 00 3E 07 80 13 01 00 00 00 00 00 C2 [19:43:37]Write i2c OK [19:43:37]MH_I2C_Read... [19:43:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:43:37]Read from MH i2c: E2 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: E2 0E 00 [19:43:37]MH_I2C_Read... [19:43:37]Read from MH i2c: E2 0E 00 3E 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 13 [19:43:37]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:43:37]wFMCommunicate OK [19:43:37]SAM_PROTO_GetShiftState done [19:43:37]FM_GetShiftState done [19:43:37]req_shift_opened done [19:43:37]requested_item shift.open_date is exist - process it [19:43:37]req_shift_open_date [19:43:37]req_shift_open_date done [19:43:37]produce_requested_data done [19:43:37]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25019,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [19:43:37]process_action_free close_receipt [19:43:37]json_value_free [19:43:37]json_value_free done [19:43:37]process_json_proto returns [19:43:37]Send response to host [19:43:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25019,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [19:43:37]free response buf [19:43:37]execute_script done [19:43:37]execute_script returns [19:43:37]free content buf [19:43:37]Sock 9.Close socket [19:43:37]Sock 9.Thread stoped [19:43:37]OFD Sender: No OFD packet to send [19:43:42]OFD Sender: No OFD packet to send [19:43:47]OFD Sender: No OFD packet to send [19:43:52]OFD Sender: No OFD packet to send [19:43:57]OFD Sender: No OFD packet to send [19:44:02]OFD Sender: No OFD packet to send [19:44:07]OFD Sender: No OFD packet to send [19:44:12]OFD Sender: No OFD packet to send [19:44:17]OFD Sender: No OFD packet to send [19:44:22]OFD Sender: No OFD packet to send [19:44:27]OFD Sender: No OFD packet to send [19:44:32]OFD Sender: No OFD packet to send [19:44:37]OFD Sender: No OFD packet to send [19:44:42]OFD Sender: No OFD packet to send [19:44:47]OFD Sender: No OFD packet to send [19:44:52]OFD Sender: No OFD packet to send [19:44:57]OFD Sender: No OFD packet to send [19:45:02]OFD Sender: No OFD packet to send [19:45:07]OFD Sender: No OFD packet to send [19:45:12]OFD Sender: No OFD packet to send [19:45:17]OFD Sender: No OFD packet to send [19:45:22]OFD Sender: No OFD packet to send [19:45:27]OFD Sender: No OFD packet to send [19:45:32]OFD Sender: No OFD packet to send [19:45:37]OFD Sender: No OFD packet to send [19:45:42]OFD Sender: No OFD packet to send [19:45:47]OFD Sender: No OFD packet to send [19:45:52]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:52]accept exits with 8 [19:46:52]New connection [19:46:52]New thread 3067469156 created [19:46:52]Thread 3067612516 joined [19:46:52]Waiting for new connection... [19:46:52] Sock 8.Parse request [19:46:52]Sock 8.Check first char [19:46:52]Sock 8.First char is OK [19:46:52]request: POST /json_proto HTTP/1.0 [19:46:52]Method: POST [19:46:52]URL: /json_proto [19:46:52]Method is POST - this is cgi request [19:46:52]url: /json_proto [19:46:52]query_string will be loaded in cgi processing [19:46:52]execute_cgi json_proto POST (null) [19:46:52]execute_cgi path=json_proto method=POST [19:46:52]POST find Content-Length [19:46:52]Host: 172.17.53.196:8080 [19:46:52]Content-Length: 215 [19:46:52]Content-Type: application/json [19:46:52] [19:46:52]POST finish read [19:46:52]Found Content-Length = 215 [19:46:52]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" ] } } [19:46:52]execute_script... [19:46:52]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" ] } } [19:46:52]POST & json_proto [19:46:52]process_json_proto [19:46:52]json parsed OK: [19:46:52]protocol is kg_v1.0 [19:46:52]action value=get_value [19:46:52]process_action get_value [19:46:52]cmd_get_value [19:46:52]process_action get_value done [19:46:52]requested_data is exist [19:46:52]produce_requested_data [19:46:52]requested_item kkm.sn is exist - process it [19:46:52]requested_item kkm.ver is exist - process it [19:46:52]requested_item fm.sn is exist - process it [19:46:52]wFMCommunicate request_size=4 [19:46:52]MH_SAM_APDU [19:46:52]CAPDU: 80 11 00 00 [19:46:52]Write to MH i2c: E2 08 00 3F 07 80 11 00 00 00 00 00 00 C0 [19:46:52]Write i2c OK [19:46:52]MH_I2C_Read... [19:46:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:46:52]Read from MH i2c: E2 [19:46:52]MH_I2C_Read... [19:46:52]Read from MH i2c: E2 17 00 [19:46:52]MH_I2C_Read... [19:46:52]Read from MH i2c: E2 17 00 3F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 17 [19:46:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:46:52]wFMCommunicate OK [19:46:52]requested_item fd.num is exist - process it [19:46:52]SAM_PROTO_GetFieldsCounters [19:46:52]wFMCommunicate request_size=4 [19:46:52]MH_SAM_APDU [19:46:52]CAPDU: 80 13 00 00 [19:46:52]Write to MH i2c: E2 08 00 40 07 80 13 00 00 00 00 00 00 C3 [19:46:52]Write i2c OK [19:46:52]MH_I2C_Read... [19:46:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:46:53]Read from MH i2c: E2 [19:46:53]MH_I2C_Read... [19:46:53]Read from MH i2c: E2 62 00 [19:46:53]MH_I2C_Read... [19:46:53]Read from MH i2c: E2 62 00 40 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BB 61 00 00 0E 04 04 00 C9 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 4A [19:46:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BB 61 00 00 0E 04 04 00 C9 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 [19:46:53]wFMCommunicate OK [19:46:53]SAM_PROTO_GetFieldsCounters done [19:46:53]requested_item shift.num is exist - process it [19:46:53]requested_item shift.opened is exist - process it [19:46:53]req_shift_opened [19:46:53]FM_GetShiftState [19:46:53]SAM_PROTO_GetShiftState [19:46:53]wFMCommunicate request_size=4 [19:46:53]MH_SAM_APDU [19:46:53]CAPDU: 80 13 01 00 [19:46:53]Write to MH i2c: E2 08 00 41 07 80 13 01 00 00 00 00 00 C5 [19:46:53]Write i2c OK [19:46:53]MH_I2C_Read... [19:46:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:46:53]Read from MH i2c: E2 [19:46:53]MH_I2C_Read... [19:46:53]Read from MH i2c: E2 0E 00 [19:46:53]MH_I2C_Read... [19:46:53]Read from MH i2c: E2 0E 00 41 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 16 [19:46:53]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:46:53]wFMCommunicate OK [19:46:53]SAM_PROTO_GetShiftState done [19:46:53]FM_GetShiftState done [19:46:53]req_shift_opened done [19:46:53]requested_item shift.open_date is exist - process it [19:46:53]req_shift_open_date [19:46:53]req_shift_open_date done [19:46:53]produce_requested_data done [19:46:53]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25019,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [19:46:53]process_action_free get_value [19:46:53]json_value_free [19:46:53]json_value_free done [19:46:53]process_json_proto returns [19:46:53]Send response to host [19:46:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25019,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [19:46:53]free response buf [19:46:53]execute_script done [19:46:53]execute_script returns [19:46:53]free content buf [19:46:53]Sock 8.Close socket [19:46:53]Sock 8.Thread stoped [19:46:53]accept exits with 9 [19:46:53]New connection [19:46:53]New thread 3067612516 created [19:46:53]Thread 3067469156 joined [19:46:53]Waiting for new connection... [19:46:53] Sock 9.Parse request [19:46:53]Sock 9.Check first char [19:46:53]Sock 9.First char is OK [19:46:53]request: POST /json_proto HTTP/1.0 [19:46:53]Method: POST [19:46:53]URL: /json_proto [19:46:53]Method is POST - this is cgi request [19:46:53]url: /json_proto [19:46:53]query_string will be loaded in cgi processing [19:46:53]execute_cgi json_proto POST (null) [19:46:53]execute_cgi path=json_proto method=POST [19:46:53]POST find Content-Length [19:46:53]Host: 172.17.53.196:8080 [19:46:53]Content-Length: 331 [19:46:53]Content-Type: application/json [19:46:53] [19:46:53]POST finish read [19:46:53]Found Content-Length = 331 [19:46:53]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" ] } } [19:46:53]execute_script... [19:46:53]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" ] } } [19:46:53]POST & json_proto [19:46:53]process_json_proto [19:46:53]json parsed OK: [19:46:53]protocol is kg_v1.0 [19:46:53]action value=get_value [19:46:53]process_action get_value [19:46:53]cmd_get_value [19:46:53]process_action get_value done [19:46:53]requested_data is exist [19:46:53]produce_requested_data [19:46:53]requested_item fm.sale.total is exist - process it [19:46:53]SAM_PROTO_GetFMData [19:46:53]wFMCommunicate request_size=4 [19:46:53]MH_SAM_APDU [19:46:53]CAPDU: 80 13 03 00 [19:46:53]Write to MH i2c: E2 08 00 42 07 80 13 03 00 00 00 00 00 C8 [19:46:53]Write i2c OK [19:46:53]MH_I2C_Read... [19:46:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [19:46:53]Read from MH i2c: E2 [19:46:53]MH_I2C_Read... [19:46:53]Read from MH i2c: E2 FD 00 [19:46:53]MH_I2C_Read... [19:46:53]Read from MH i2c: E2 FD 00 42 07 00 BF 04 85 04 BB 04 6E 04 04 00 29 5E 00 00 69 04 A0 00 6F 04 04 00 1B 5E 00 00 B1 04 04 00 70 DF CD 14 70 04 04 00 FC 89 9E 12 72 04 04 00 74 55 2F 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FC 8B 35 02 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 7F 16 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 26 [19:46:53]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 29 5E 00 00 69 04 A0 00 6F 04 04 00 1B 5E 00 00 B1 04 04 00 70 DF CD 14 70 04 04 00 FC 89 9E 12 72 04 04 00 74 55 2F 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 FC 8B 35 02 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 7F 16 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [19:46:53]wFMCommunicate OK [19:46:53]wFMCommunicate request_size=4 [19:46:53]MH_SAM_APDU [19:46:53]CAPDU: 80 17 00 00 [19:46:53]Write to MH i2c: E2 08 00 43 07 80 17 00 00 00 00 00 00 CA [19:46:53]Write i2c OK [19:46:53]MH_I2C_Read... [19:46:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:46:54]Read from MH i2c: E2 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 FD 00 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 FD 00 43 07 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 BC [19:46:54]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [19:46:54]wFMCommunicate OK [19:46:54]wFMCommunicate request_size=4 [19:46:54]MH_SAM_APDU [19:46:54]CAPDU: 80 17 00 00 [19:46:54]Write to MH i2c: E2 08 00 44 07 80 17 00 00 00 00 00 00 CB [19:46:54]Write i2c OK [19:46:54]MH_I2C_Read... [19:46:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:46:54]Read from MH i2c: E2 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 FD 00 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 FD 00 44 07 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 6F [19:46:54]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [19:46:54]wFMCommunicate OK [19:46:54]wFMCommunicate request_size=4 [19:46:54]MH_SAM_APDU [19:46:54]CAPDU: 80 17 00 00 [19:46:54]Write to MH i2c: E2 08 00 45 07 80 17 00 00 00 00 00 00 CC [19:46:54]Write i2c OK [19:46:54]MH_I2C_Read... [19:46:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:46:54]Read from MH i2c: E2 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 FD 00 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 FD 00 45 07 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 46 [19:46:54]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [19:46:54]wFMCommunicate OK [19:46:54]wFMCommunicate request_size=4 [19:46:54]MH_SAM_APDU [19:46:54]CAPDU: 80 17 00 00 [19:46:54]Write to MH i2c: E2 08 00 46 07 80 17 00 00 00 00 00 00 CD [19:46:54]Write i2c OK [19:46:54]MH_I2C_Read... [19:46:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [19:46:54]Read from MH i2c: E2 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 DC 00 [19:46:54]MH_I2C_Read... [19:46:54]Read from MH i2c: E2 DC 00 46 07 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B1 [19:46:54]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:46:54]wFMCommunicate OK [19:46:54]SAM_PROTO_GetFMData done [19:46:54]requested_item fm.sale_refund.total is exist - process it [19:46:54]requested_item fm.buy.total is exist - process it [19:46:54]requested_item shift.sale.total is exist - process it [19:46:54]SAM_PROTO_GetShiftData [19:46:54]wFMCommunicate request_size=4 [19:46:54]MH_SAM_APDU [19:46:54]CAPDU: 80 13 02 00 [19:46:54]Write to MH i2c: E2 08 00 47 07 80 13 02 00 00 00 00 00 CC [19:46:54]Write i2c OK [19:46:54]MH_I2C_Read... [19:46:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:46:55]Read from MH i2c: E2 [19:46:55]MH_I2C_Read... [19:46:55]Read from MH i2c: E2 FD 00 [19:46:55]MH_I2C_Read... [19:46:55]Read from MH i2c: E2 FD 00 47 07 00 AC 04 AA 04 A8 04 6E 04 04 00 28 00 00 00 69 04 99 00 6F 04 04 00 28 00 00 00 B1 04 03 00 54 D5 08 70 04 03 00 64 02 08 72 04 02 00 F0 D2 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 1F F0 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 00 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 5A [19:46:55]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 28 00 00 00 69 04 99 00 6F 04 04 00 28 00 00 00 B1 04 03 00 54 D5 08 70 04 03 00 64 02 08 72 04 02 00 F0 D2 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 1F F0 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 00 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [19:46:55]wFMCommunicate OK [19:46:55]wFMCommunicate request_size=4 [19:46:55]MH_SAM_APDU [19:46:55]CAPDU: 80 17 00 00 [19:46:55]Write to MH i2c: E2 08 00 48 07 80 17 00 00 00 00 00 00 CF [19:46:55]Write i2c OK [19:46:55]MH_I2C_Read... [19:46:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:46:55]Read from MH i2c: E2 [19:46:55]MH_I2C_Read... [19:46:55]Read from MH i2c: E2 FD 00 [19:46:55]MH_I2C_Read... [19:46:55]Read from MH i2c: E2 FD 00 48 07 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 E4 [19:46:55]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [19:46:55]wFMCommunicate OK [19:46:55]wFMCommunicate request_size=4 [19:46:55]MH_SAM_APDU [19:46:55]CAPDU: 80 17 00 00 [19:46:55]Write to MH i2c: E2 08 00 49 07 80 17 00 00 00 00 00 00 D0 [19:46:55]Write i2c OK [19:46:55]MH_I2C_Read... [19:46:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:46:55]Read from MH i2c: E2 [19:46:55]MH_I2C_Read... [19:46:55]Read from MH i2c: E2 FD 00 [19:46:55]MH_I2C_Read... [19:46:55]Read from MH i2c: E2 FD 00 49 07 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 91 [19:46:55]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [19:46:55]wFMCommunicate OK [19:46:55]wFMCommunicate request_size=4 [19:46:55]MH_SAM_APDU [19:46:55]CAPDU: 80 17 00 00 [19:46:55]Write to MH i2c: E2 08 00 4A 07 80 17 00 00 00 00 00 00 D1 [19:46:55]Write i2c OK [19:46:55]MH_I2C_Read... [19:46:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:46:56]Read from MH i2c: E2 [19:46:56]MH_I2C_Read... [19:46:56]Read from MH i2c: E2 FD 00 [19:46:56]MH_I2C_Read... [19:46:56]Read from MH i2c: E2 FD 00 4A 07 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 46 [19:46:56]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [19:46:56]wFMCommunicate OK [19:46:56]wFMCommunicate request_size=4 [19:46:56]MH_SAM_APDU [19:46:56]CAPDU: 80 17 00 00 [19:46:56]Write to MH i2c: E2 08 00 4B 07 80 17 00 00 00 00 00 00 D2 [19:46:56]Write i2c OK [19:46:56]MH_I2C_Read... [19:46:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [19:46:56]Read from MH i2c: E2 [19:46:56]MH_I2C_Read... [19:46:56]Read from MH i2c: E2 C9 00 [19:46:56]MH_I2C_Read... [19:46:56]Read from MH i2c: E2 C9 00 4B 07 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B6 [19:46:56]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [19:46:56]wFMCommunicate OK [19:46:56]SAM_PROTO_GetShiftData done [19:46:56]requested_item shift.sale.total_cash is exist - process it [19:46:56]requested_item shift.sale_refund.total is exist - process it [19:46:56]requested_item shift.sale_refund.total_cash is exist - process it [19:46:56]requested_item shift.buy.total is exist - process it [19:46:56]requested_item shift.buy.total_cash is exist - process it [19:46:56]produce_requested_data done [19:46:56]produce_requested_data return {"fm.sale.total":3490364.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":5789.00,"shift.sale.total_cash":5249.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} [19:46:56]process_action_free get_value [19:46:56]json_value_free [19:46:56]json_value_free done [19:46:56]process_json_proto returns [19:46:56]Send response to host [19:46:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3490364.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":5789.00,"shift.sale.total_cash":5249.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}}} [19:46:56]free response buf [19:46:56]execute_script done [19:46:56]execute_script returns [19:46:56]free content buf [19:46:56]Sock 9.Close socket [19:46:56]Sock 9.Thread stoped [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53: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:55:58]accept exits with 8 [19:55:58]New connection [19:55:58]New thread 3067469156 created [19:55:58]Thread 3067612516 joined [19:55:58]Waiting for new connection... [19:55:58] Sock 8.Parse request [19:55:58]Sock 8.Check first char [19:55:58]Sock 8.First char is OK [19:55:58]request: POST /json_proto HTTP/1.0 [19:55:58]Method: POST [19:55:58]URL: /json_proto [19:55:58]Method is POST - this is cgi request [19:55:58]url: /json_proto [19:55:58]query_string will be loaded in cgi processing [19:55:58]execute_cgi json_proto POST (null) [19:55:58]execute_cgi path=json_proto method=POST [19:55:58]POST find Content-Length [19:55:58]Host: 172.17.53.196:8080 [19:55:58]Content-Length: 749 [19:55:58]Content-Type: application/json [19:55:58] [19:55:58]POST finish read [19:55:58]Found Content-Length = 749 [19:55:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34778", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:58]execute_script... [19:55:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34778", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:55:58]POST & json_proto [19:55:58]process_json_proto [19:55:58]json parsed OK: [19:55:58]protocol is kg_v1.0 [19:55:58]action value=close_receipt [19:55:58]process_action close_receipt [19:55:58]cmd_close_receipt [19:55:58]MH_GetDate [19:55:58]Write to MH i2c: F0 00 00 4C 07 42 [19:55:58]Write i2c OK [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: F0 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: F0 09 00 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: F0 09 00 4C 07 00 50 03 18 67 4F CD 9A 65 38 [19:55:58]GetLastDocTimeStamp 1729626216 [19:55:58]current date 1729626960 [19:55:58]FM_GetShiftState [19:55:58]SAM_PROTO_GetShiftState [19:55:58]wFMCommunicate request_size=4 [19:55:58]MH_SAM_APDU [19:55:58]CAPDU: 80 13 01 00 [19:55:58]Write to MH i2c: E2 08 00 4D 07 80 13 01 00 00 00 00 00 D1 [19:55:58]Write i2c OK [19:55:58]MH_I2C_Read... [19:55:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:55:58]Read from MH i2c: E2 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: E2 0E 00 [19:55:58]MH_I2C_Read... [19:55:58]Read from MH i2c: E2 0E 00 4D 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 22 [19:55:58]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:55:58]wFMCommunicate OK [19:55:58]SAM_PROTO_GetShiftState done [19:55:58]FM_GetShiftState done [19:55:58]opened in 1729556951 [19:55:58]opened+sec_in_day 1729643351 [19:55:58]quantity*price = 14400 [19:55:58]sum+1 = 14401 [19:55:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 41 22.10.2024 19:56 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 25020 ФПД: 12993623111237 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T195600&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25020&fm=12993623111237&tin=02508201610067®Number=0000000000098147&sum=14400 0 [19:55:59]StoreToDocumentArchive [19:55:59]shift 457 fd 25020 [19:55:59]save to /storage/0457/doc_00025020 [19:55:59]save last doc name /storage/0457/doc_00025020 to /storage/kkm_last_doc_name [19:55:59]save OK [19:55:59]Clear old archive folders... [19:55:59]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:55:59]tlvbuf is 00AED310 [19:55:59]SAM_PROTO_ClearQueue [19:55:59]wFMCommunicate request_size=4 [19:55:59]MH_SAM_APDU [19:55:59]CAPDU: 80 09 00 00 [19:55:59]Write to MH i2c: E2 08 00 5A 07 80 09 00 00 00 00 00 00 D3 [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:55:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:55:59]Read from MH i2c: E2 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 5A 07 00 90 00 D5 [19:55:59]RAPDU: 90 00 [19:55:59]wFMCommunicate OK [19:55:59]SAM_PROTO_ClearQueue done [19:55:59]KKMCreateOFDPacket [19:55:59]OFDProtocolAddRootSTLVToBuf [19:55:59]FM_MakeSignedData [19:55:59]FM_MakeSignedData [19:55:59]SAM_PROTO_SignData [19:55:59]wFMCommunicate request_size=4 [19:55:59]MH_SAM_APDU [19:55:59]CAPDU: 80 0D 01 02 [19:55:59]Write to MH i2c: E2 08 00 5B 07 80 0D 01 02 00 00 00 00 DB [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:55:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:55:59]Read from MH i2c: E2 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 [19:55:59]MH_I2C_Read... [19:55:59]Read from MH i2c: E2 03 00 5B 07 00 90 00 D6 [19:55:59]RAPDU: 90 00 [19:55:59]wFMCommunicate OK [19:55:59]wFMCommunicate request_size=255 [19:55:59]MH_SAM_APDU [19:55:59]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 50 03 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [19:55:59]Write to MH i2c: E2 02 01 5C 07 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 50 03 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 A9 [19:55:59]Write i2c OK [19:55:59]MH_I2C_Read... [19:56:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:56:00]Read from MH i2c: E2 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 03 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 03 00 5C 07 00 90 00 D7 [19:56:00]RAPDU: 90 00 [19:56:00]wFMCommunicate OK [19:56:00]wFMCommunicate request_size=34 [19:56:00]MH_SAM_APDU [19:56:00]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BC 61 00 00 35 04 06 00 0B D1 50 4A 36 45 [19:56:00]Write to MH i2c: E2 25 00 5D 07 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BC 61 00 00 35 04 06 00 0B D1 50 4A 36 45 00 00 B1 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:56:00]Read from MH i2c: E2 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 03 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 03 00 5D 07 00 90 00 D8 [19:56:00]RAPDU: 90 00 [19:56:00]wFMCommunicate OK [19:56:00]wFMCommunicate request_size=4 [19:56:00]MH_SAM_APDU [19:56:00]CAPDU: 80 0D 03 02 [19:56:00]Write to MH i2c: E2 08 00 5E 07 80 0D 03 02 00 00 00 00 E0 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:56:00]Read from MH i2c: E2 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 0B 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 0B 00 5E 07 00 1A 16 DC FF 01 FA CC C3 90 00 76 [19:56:00]RAPDU: 1A 16 DC FF 01 FA CC C3 90 00 [19:56:00]wFMCommunicate OK [19:56:00]SAM_PROTO_SignData done [19:56:00]FM_MakeSignedData done [19:56:00]CreateOFDProtocolMessage [19:56:00]wFMCommunicate request_size=4 [19:56:00]MH_SAM_APDU [19:56:00]CAPDU: 80 11 00 00 [19:56:00]Write to MH i2c: E2 08 00 5F 07 80 11 00 00 00 00 00 00 E0 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:00]Read from MH i2c: E2 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 17 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: E2 17 00 5F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 37 [19:56:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:56:00]wFMCommunicate OK [19:56:00]CreateOFDProtocolMessage done [19:56:00]OFDSenderStorePacket 25020 [19:56:00]StoreOFDPacket docnum=25020 [19:56:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 96 29 1F 01 E3 A8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 50 03 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BC 61 00 00 35 04 06 00 0B D1 50 4A 36 45 1A 16 DC FF 01 FA CC C3 [19:56:00]CheckFolder [19:56:00]dirname=/storage/ofd_packets [19:56:00]CheckFolder done [19:56:00]ProducePacketName [19:56:00]name=ofd_packets/00025020 [19:56:00]NVStorageSaveData ofd_packets/00025020 [19:56:00]File name is /storage/ofd_packets/00025020 [19:56:00]Write 325 bytes [19:56:00]NVStorageSaveData done [19:56:00]OFDSenderStorePacket done [19:56:00]KKMCreateOFDPacket done [19:56:00]NVStorageSaveData kkm_last_timestamp [19:56:00]File name is /storage/kkm_last_timestamp [19:56:00]Write 4 bytes [19:56:00]NVStorageSaveData done [19:56:00]ExternCall_PrintAddStr [19:56:00]wPrintStart [19:56:00]Write to MH i2c: 01 00 00 60 07 67 [19:56:00]Write i2c OK [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: 01 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: 01 07 00 [19:56:00]MH_I2C_Read... [19:56:00]Read from MH i2c: 01 07 00 60 07 00 00 00 00 00 FF 0F 7C [19:56:00]RasterBufferAndPrint [19:56:00]line Счет N : (3)34778 [19:56:00]line ИНН: 02508201610067 [19:56:00]line Контрольно-Кассовый Чек [19:56:00]line ПРОДАЖА [19:56:00]line Товар: 48743587 [19:56:00]line Сигареты Winston XStyle Silver [19:56:00]line 1.000 * 144.00 [19:56:00]line = 144.00 [19:56:00]line НДС 12% НСП 1% [19:56:00]line > о реализуемом товаре [19:56:00]line ИТОГО: 144.00 [19:56:00]line НСП 1% : 1.27 [19:56:00]line НДС 12% : 15.29 [19:56:00]line Наличными: 0.00 [19:56:00]line Безнал.: 144.00 [19:56:00]line Место: АЗС № 161 "Партнер Нефть" [19:56:00]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [19:56:00]line СНО: Общий режим [19:56:00]line Чек 41 22.10.2024 19:56 [19:56:00]line Смена: 457 ФФД: 1.0 [19:56:00]line ЗНМ: 0300000240 [19:56:00]line РНМ: 0000000000098147 [19:56:00]line Версия ККМ: 001 [19:56:00]line Платежная система: Mbank [19:56:00]line ФМ: 0000000000965376 [19:56:00]line ФД: 25020 [19:56:00]line ФПД: 12993623111237 [19:56:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T195600&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25020&fm=12993623111237&tin=02508201610067®Number=0000000000098147&sum=14400 [19:56:00]line 0 [19:56:00]OFD Sender: Processing packet 25020 [packets to send 5, broken 4] [19:56:00]ProducePacketName [19:56:00]name=ofd_packets/00025020 [19:56:00]OFD Sender: To server: pG, [19:56:00]CommunicateWithHost lk.salyk.kg:30040 [19:56:00]ConnectInit lk.salyk.kg [19:56:00]written 0, free lines is 4095 [19:56:00]Connected sock=10 [19:56:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 96 29 1F 01 E3 A8 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 50 03 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BC 61 00 00 35 04 06 00 0B D1 50 4A 36 45 1A 16 DC FF 01 FA CC C3 [19:56:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 76 1E 47 00 89 FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BC 61 00 00 F4 03 04 00 CA AB 17 67 B6 04 01 00 00 4B F1 11 91 8C DE 09 72 [19:56:00]CommunicateWithHost err = 0 [19:56:00]CheckOFDResponse [19:56:00]1017 (14) - 77093643461234 [19:56:00]1041 (16) - 0000000000965376 [19:56:00]1040 (4) - 25020 [19:56:00]1012 (4) - 22.10.2024 13:42 [19:56:00]1206 (1) - 0 [19:56:00]OFD Sender: Remove packet 25020 [19:56:00]ProducePacketName [19:56:00]name=ofd_packets/00025020 [19:56:00]NVStorageDeleteData [19:56:01]Write to MH i2c: 01 00 00 8A 07 91 [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: 01 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: 01 07 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: 01 07 00 8A 07 00 00 00 00 00 B6 0C 5A [19:56:01]RasterBufferAndPrint [19:56:01]line [19:56:01]line [19:56:01]line [19:56:01]line [19:56:01]line [19:56:01]written 0, free lines is 3259 [19:56:01]process_action close_receipt done [19:56:01]requested_data is exist [19:56:01]produce_requested_data [19:56:01]requested_item fm.sn is exist - process it [19:56:01]wFMCommunicate request_size=4 [19:56:01]MH_SAM_APDU [19:56:01]CAPDU: 80 11 00 00 [19:56:01]Write to MH i2c: E2 08 00 91 07 80 11 00 00 00 00 00 00 12 [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:56:01]Read from MH i2c: E2 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 17 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 17 00 91 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 69 [19:56:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [19:56:01]wFMCommunicate OK [19:56:01]requested_item fd.num is exist - process it [19:56:01]SAM_PROTO_GetFieldsCounters [19:56:01]wFMCommunicate request_size=4 [19:56:01]MH_SAM_APDU [19:56:01]CAPDU: 80 13 00 00 [19:56:01]Write to MH i2c: E2 08 00 92 07 80 13 00 00 00 00 00 00 15 [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:56:01]Read from MH i2c: E2 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 62 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 62 00 92 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BC 61 00 00 0E 04 04 00 C9 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 A0 [19:56:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BC 61 00 00 0E 04 04 00 C9 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 [19:56:01]wFMCommunicate OK [19:56:01]SAM_PROTO_GetFieldsCounters done [19:56:01]requested_item shift.num is exist - process it [19:56:01]requested_item shift.opened is exist - process it [19:56:01]req_shift_opened [19:56:01]FM_GetShiftState [19:56:01]SAM_PROTO_GetShiftState [19:56:01]wFMCommunicate request_size=4 [19:56:01]MH_SAM_APDU [19:56:01]CAPDU: 80 13 01 00 [19:56:01]Write to MH i2c: E2 08 00 93 07 80 13 01 00 00 00 00 00 17 [19:56:01]Write i2c OK [19:56:01]MH_I2C_Read... [19:56:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:56:01]Read from MH i2c: E2 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 0E 00 [19:56:01]MH_I2C_Read... [19:56:01]Read from MH i2c: E2 0E 00 93 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 68 [19:56:01]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [19:56:01]wFMCommunicate OK [19:56:01]SAM_PROTO_GetShiftState done [19:56:01]FM_GetShiftState done [19:56:01]req_shift_opened done [19:56:01]requested_item shift.open_date is exist - process it [19:56:01]req_shift_open_date [19:56:01]req_shift_open_date done [19:56:01]produce_requested_data done [19:56:01]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25020,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [19:56:01]process_action_free close_receipt [19:56:01]json_value_free [19:56:01]json_value_free done [19:56:01]process_json_proto returns [19:56:01]Send response to host [19:56:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25020,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [19:56:01]free response buf [19:56:01]execute_script done [19:56:01]execute_script returns [19:56:01]free content buf [19:56:01]Sock 8.Close socket [19:56:01]Sock 8.Thread stoped [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:36]OFD Sender: No OFD packet to send [19:57:41]OFD Sender: No OFD packet to send [19:57:46]OFD Sender: No OFD packet to send [19:57:51]OFD Sender: No OFD packet to send [19:57:56]OFD Sender: No OFD packet to send [19:58:01]OFD Sender: No OFD packet to send [19:58:06]OFD Sender: No OFD packet to send [19:58:11]OFD Sender: No OFD packet to send [19:58:16]OFD Sender: No OFD packet to send [19:58:21]OFD Sender: No OFD packet to send [19:58:26]OFD Sender: No OFD packet to send [19:58:31]OFD Sender: No OFD packet to send [19:58:36]OFD Sender: No OFD packet to send [19:58:41]OFD Sender: No OFD packet to send [19:58:46]OFD Sender: No OFD packet to send [19:58:51]OFD Sender: No OFD packet to send [19:58:56]OFD Sender: No OFD packet to send [19:59:01]OFD Sender: No OFD packet to send [19:59:06]OFD Sender: No OFD packet to send [19:59:11]OFD Sender: No OFD packet to send [19:59:16]OFD Sender: No OFD packet to send [19:59:21]OFD Sender: No OFD packet to send [19:59:26]OFD Sender: No OFD packet to send [19:59:31]OFD Sender: No OFD packet to send [19:59:36]OFD Sender: No OFD packet to send [19:59:41]OFD Sender: No OFD packet to send [19:59:46]OFD Sender: No OFD packet to send [19:59:51]OFD Sender: No OFD packet to send [19:59:56]OFD Sender: No OFD packet to send [20:00:01]OFD Sender: No OFD packet to send [20:00:06]OFD Sender: No OFD packet to send [20:00:11]OFD Sender: No OFD packet to send [20:00:16]OFD Sender: No OFD packet to send [20:00:21]OFD Sender: No OFD packet to send [20:00:26]OFD Sender: No OFD packet to send [20:00:31]OFD Sender: No OFD packet to send [20:00:36]OFD Sender: No OFD packet to send [20:00:41]OFD Sender: No OFD packet to send [20:00:46]OFD Sender: No OFD packet to send [20:00:51]OFD Sender: No OFD packet to send [20:00:56]OFD Sender: No OFD packet to send [20:01:01]OFD Sender: No OFD packet to send [20:01:06]OFD Sender: No OFD packet to send [20:01:11]OFD Sender: No OFD packet to send [20:01:16]OFD Sender: No OFD packet to send [20:01:21]OFD Sender: No OFD packet to send [20:01:26]OFD Sender: No OFD packet to send [20:01:31]OFD Sender: No OFD packet to send [20:01:36]OFD Sender: No OFD packet to send [20:01:41]OFD Sender: No OFD packet to send [20:01:46]OFD Sender: No OFD packet to send [20:01:51]OFD Sender: No OFD packet to send [20:01:56]OFD Sender: No OFD packet to send [20:02:01]OFD Sender: No OFD packet to send [20:02:06]OFD Sender: No OFD packet to send [20:02:11]OFD Sender: No OFD packet to send [20:02:16]OFD Sender: No OFD packet to send [20:02:21]OFD Sender: No OFD packet to send [20:02:26]OFD Sender: No OFD packet to send [20:02:31]OFD Sender: No OFD packet to send [20:02:36]OFD Sender: No OFD packet to send [20:02:41]OFD Sender: No OFD packet to send [20:02:46]OFD Sender: No OFD packet to send [20:02:51]OFD Sender: No OFD packet to send [20:02:56]OFD Sender: No OFD packet to send [20:03:01]OFD Sender: No OFD packet to send [20:03:06]OFD Sender: No OFD packet to send [20:03:11]OFD Sender: No OFD packet to send [20:03:16]OFD Sender: No OFD packet to send [20:03:21]OFD Sender: No OFD packet to send [20:03:26]OFD Sender: No OFD packet to send [20:03:31]OFD Sender: No OFD packet to send [20:03:36]OFD Sender: No OFD packet to send [20:03:41]OFD Sender: No OFD packet to send [20:03:46]OFD Sender: No OFD packet to send [20:03:51]OFD Sender: No OFD packet to send [20:03:56]OFD Sender: No OFD packet to send [20:04:01]OFD Sender: No OFD packet to send [20:04:06]OFD Sender: No OFD packet to send [20:04:11]OFD Sender: No OFD packet to send [20:04:16]OFD Sender: No OFD packet to send [20:04:21]OFD Sender: No OFD packet to send [20:04:26]OFD Sender: No OFD packet to send [20:04:31]OFD Sender: No OFD packet to send [20:04:36]OFD Sender: No OFD packet to send [20:04:41]OFD Sender: No OFD packet to send [20:04:46]OFD Sender: No OFD packet to send [20:04:51]OFD Sender: No OFD packet to send [20:04:56]OFD Sender: No OFD packet to send [20:05:01]OFD Sender: No OFD packet to send [20:05:06]OFD Sender: No OFD packet to send [20:05:11]OFD Sender: No OFD packet to send [20:05:16]OFD Sender: No OFD packet to send [20:05:21]OFD Sender: No OFD packet to send [20:05:26]OFD Sender: No OFD packet to send [20:05:31]OFD Sender: No OFD packet to send [20:05:36]OFD Sender: No OFD packet to send [20:05:41]OFD Sender: No OFD packet to send [20:05:46]OFD Sender: No OFD packet to send [20:05:51]OFD Sender: No OFD packet to send [20:05:52]accept exits with 9 [20:05:52]New connection [20:05:52]New thread 3067612516 created [20:05:52]Thread 3067469156 joined [20:05:52]Waiting for new connection... [20:05:52] Sock 9.Parse request [20:05:52]Sock 9.Check first char [20:05:52]Sock 9.First char is OK [20:05:52]request: POST /json_proto HTTP/1.0 [20:05:52]Method: POST [20:05:52]URL: /json_proto [20:05:52]Method is POST - this is cgi request [20:05:52]url: /json_proto [20:05:52]query_string will be loaded in cgi processing [20:05:52]execute_cgi json_proto POST (null) [20:05:52]execute_cgi path=json_proto method=POST [20:05:52]POST find Content-Length [20:05:52]Host: 172.17.53.196:8080 [20:05:52]Content-Length: 653 [20:05:52]Content-Type: application/json [20:05:52] [20:05:52]POST finish read [20:05:52]Found Content-Length = 653 [20:05:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34779", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:05:52]execute_script... [20:05:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34779", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:05:52]POST & json_proto [20:05:52]process_json_proto [20:05:52]json parsed OK: [20:05:52]protocol is kg_v1.0 [20:05:52]action value=close_receipt [20:05:52]process_action close_receipt [20:05:52]cmd_close_receipt [20:05:52]MH_GetDate [20:05:52]Write to MH i2c: F0 00 00 94 07 8A [20:05:52]Write i2c OK [20:05:52]MH_I2C_Read... [20:05:52]Read from MH i2c: F0 [20:05:52]MH_I2C_Read... [20:05:52]Read from MH i2c: F0 09 00 [20:05:52]MH_I2C_Read... [20:05:52]Read from MH i2c: F0 09 00 94 07 00 A2 05 18 67 4F CD 9A 65 D4 [20:05:52]GetLastDocTimeStamp 1729626960 [20:05:52]current date 1729627554 [20:05:52]FM_GetShiftState [20:05:52]SAM_PROTO_GetShiftState [20:05:52]wFMCommunicate request_size=4 [20:05:52]MH_SAM_APDU [20:05:52]CAPDU: 80 13 01 00 [20:05:52]Write to MH i2c: E2 08 00 95 07 80 13 01 00 00 00 00 00 19 [20:05:52]Write i2c OK [20:05:52]MH_I2C_Read... [20:05:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:05:52]Read from MH i2c: E2 [20:05:52]MH_I2C_Read... [20:05:52]Read from MH i2c: E2 0E 00 [20:05:52]MH_I2C_Read... [20:05:52]Read from MH i2c: E2 0E 00 95 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 6A [20:05:52]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:05:52]wFMCommunicate OK [20:05:52]SAM_PROTO_GetShiftState done [20:05:52]FM_GetShiftState done [20:05:52]opened in 1729556951 [20:05:52]opened+sec_in_day 1729643351 [20:05:52]quantity*price = 9500 [20:05:52]sum+1 = 9501 [20:05:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 42 22.10.2024 20:05 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25021 ФПД: 110031062949760 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T200554&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25021&fm=110031062949760&tin=02508201610067®Number=0000000000098147&sum=9500 0 [20:05:53]StoreToDocumentArchive [20:05:53]shift 457 fd 25021 [20:05:53]save to /storage/0457/doc_00025021 [20:05:53]save last doc name /storage/0457/doc_00025021 to /storage/kkm_last_doc_name [20:05:53]save OK [20:05:53]Clear old archive folders... [20:05:53]ProcessDocumentItem done err = 0, tmpTLVsize=293 [20:05:53]tlvbuf is 00AF2090 [20:05:53]SAM_PROTO_ClearQueue [20:05:53]wFMCommunicate request_size=4 [20:05:53]MH_SAM_APDU [20:05:53]CAPDU: 80 09 00 00 [20:05:53]Write to MH i2c: E2 08 00 A2 07 80 09 00 00 00 00 00 00 1B [20:05:53]Write i2c OK [20:05:53]MH_I2C_Read... [20:05:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:05:53]Read from MH i2c: E2 [20:05:53]MH_I2C_Read... [20:05:53]Read from MH i2c: E2 03 00 [20:05:53]MH_I2C_Read... [20:05:53]Read from MH i2c: E2 03 00 A2 07 00 90 00 1D [20:05:53]RAPDU: 90 00 [20:05:53]wFMCommunicate OK [20:05:53]SAM_PROTO_ClearQueue done [20:05:53]KKMCreateOFDPacket [20:05:53]OFDProtocolAddRootSTLVToBuf [20:05:53]FM_MakeSignedData [20:05:53]FM_MakeSignedData [20:05:53]SAM_PROTO_SignData [20:05:53]wFMCommunicate request_size=4 [20:05:53]MH_SAM_APDU [20:05:53]CAPDU: 80 0D 01 02 [20:05:53]Write to MH i2c: E2 08 00 A3 07 80 0D 01 02 00 00 00 00 23 [20:05:53]Write i2c OK [20:05:53]MH_I2C_Read... [20:05:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:05:53]Read from MH i2c: E2 [20:05:53]MH_I2C_Read... [20:05:53]Read from MH i2c: E2 03 00 [20:05:53]MH_I2C_Read... [20:05:53]Read from MH i2c: E2 03 00 A3 07 00 90 00 1E [20:05:53]RAPDU: 90 00 [20:05:53]wFMCommunicate OK [20:05:53]wFMCommunicate request_size=255 [20:05:53]MH_SAM_APDU [20:05:53]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A2 05 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [20:05:53]Write to MH i2c: E2 02 01 A4 07 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A2 05 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 DD [20:05:53]Write i2c OK [20:05:53]MH_I2C_Read... [20:05:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:05:54]Read from MH i2c: E2 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 03 00 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 03 00 A4 07 00 90 00 1F [20:05:54]RAPDU: 90 00 [20:05:54]wFMCommunicate OK [20:05:54]wFMCommunicate request_size=52 [20:05:54]MH_SAM_APDU [20:05:54]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BD 61 00 00 35 04 06 00 64 12 9A 6B DF 80 [20:05:54]Write to MH i2c: E2 37 00 A5 07 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BD 61 00 00 35 04 06 00 64 12 9A 6B DF 80 00 00 E9 [20:05:54]Write i2c OK [20:05:54]MH_I2C_Read... [20:05:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:05:54]Read from MH i2c: E2 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 03 00 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 03 00 A5 07 00 90 00 20 [20:05:54]RAPDU: 90 00 [20:05:54]wFMCommunicate OK [20:05:54]wFMCommunicate request_size=4 [20:05:54]MH_SAM_APDU [20:05:54]CAPDU: 80 0D 03 02 [20:05:54]Write to MH i2c: E2 08 00 A6 07 80 0D 03 02 00 00 00 00 28 [20:05:54]Write i2c OK [20:05:54]MH_I2C_Read... [20:05:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:05:54]Read from MH i2c: E2 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 0B 00 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 0B 00 A6 07 00 DB C0 BC 14 62 4F 9E 1F 90 00 02 [20:05:54]RAPDU: DB C0 BC 14 62 4F 9E 1F 90 00 [20:05:54]wFMCommunicate OK [20:05:54]SAM_PROTO_SignData done [20:05:54]FM_MakeSignedData done [20:05:54]CreateOFDProtocolMessage [20:05:54]wFMCommunicate request_size=4 [20:05:54]MH_SAM_APDU [20:05:54]CAPDU: 80 11 00 00 [20:05:54]Write to MH i2c: E2 08 00 A7 07 80 11 00 00 00 00 00 00 28 [20:05:54]Write i2c OK [20:05:54]MH_I2C_Read... [20:05:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:05:54]Read from MH i2c: E2 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 17 00 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: E2 17 00 A7 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7F [20:05:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:05:54]wFMCommunicate OK [20:05:54]CreateOFDProtocolMessage done [20:05:54]OFDSenderStorePacket 25021 [20:05:54]StoreOFDPacket docnum=25021 [20:05:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 3F A1 31 01 70 F7 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A2 05 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BD 61 00 00 35 04 06 00 64 12 9A 6B DF 80 DB C0 BC 14 62 4F 9E 1F [20:05:54]CheckFolder [20:05:54]dirname=/storage/ofd_packets [20:05:54]CheckFolder done [20:05:54]ProducePacketName [20:05:54]name=ofd_packets/00025021 [20:05:54]NVStorageSaveData ofd_packets/00025021 [20:05:54]File name is /storage/ofd_packets/00025021 [20:05:54]Write 343 bytes [20:05:54]NVStorageSaveData done [20:05:54]OFDSenderStorePacket done [20:05:54]KKMCreateOFDPacket done [20:05:54]NVStorageSaveData kkm_last_timestamp [20:05:54]File name is /storage/kkm_last_timestamp [20:05:54]Write 4 bytes [20:05:54]NVStorageSaveData done [20:05:54]ExternCall_PrintAddStr [20:05:54]wPrintStart [20:05:54]Write to MH i2c: 01 00 00 A8 07 AF [20:05:54]Write i2c OK [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: 01 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: 01 07 00 [20:05:54]MH_I2C_Read... [20:05:54]Read from MH i2c: 01 07 00 A8 07 00 00 00 00 00 FF 0F C4 [20:05:54]RasterBufferAndPrint [20:05:54]line Счет N : (3)34779 [20:05:54]line ИНН: 02508201610067 [20:05:54]line Контрольно-Кассовый Чек [20:05:54]line ПРОДАЖА [20:05:54]line Товар: 4700000480050 [20:05:54]line Напиток Nitro Energy эн green ж/б 0,45л [20:05:54]line 1.000 * 95.00 [20:05:54]line = 95.00 [20:05:54]line НДС 12% НСП 1% [20:05:54]line > о реализуемом товаре [20:05:54]line ИТОГО: 95.00 [20:05:54]line НСП 1% : 0.84 [20:05:54]line НДС 12% : 10.09 [20:05:54]line Наличными: 95.00 [20:05:54]line Безнал.: 0.00 [20:05:54]line Место: АЗС № 161 "Партнер Нефть" [20:05:54]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:05:54]line СНО: Общий режим [20:05:54]line Чек 42 22.10.2024 20:05 [20:05:54]line Смена: 457 ФФД: 1.0 [20:05:54]line ЗНМ: 0300000240 [20:05:54]line РНМ: 0000000000098147 [20:05:54]line Версия ККМ: 001 [20:05:54]line ФМ: 0000000000965376 [20:05:54]line ФД: 25021 [20:05:54]line ФПД: 110031062949760 [20:05:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T200554&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25021&fm=110031062949760&tin=02508201610067®Number=0000000000098147&sum=9500 [20:05:54]line 0 [20:05:54]OFD Sender: Processing packet 25021 [packets to send 5, broken 4] [20:05:54]ProducePacketName [20:05:54]name=ofd_packets/00025021 [20:05:54]OFD Sender: To server: pG, [20:05:54]CommunicateWithHost lk.salyk.kg:30040 [20:05:54]ConnectInit lk.salyk.kg [20:05:54]written 0, free lines is 4095 [20:05:54]Connected sock=10 [20:05:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 3F A1 31 01 70 F7 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 A2 05 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BD 61 00 00 35 04 06 00 64 12 9A 6B DF 80 DB C0 BC 14 62 4F 9E 1F [20:05:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 D8 CE 47 00 AE 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 39 36 35 33 37 36 10 04 04 00 BD 61 00 00 F4 03 04 00 1C AE 17 67 B6 04 01 00 00 85 AE 6B BA EF C2 76 54 [20:05:54]CommunicateWithHost err = 0 [20:05:54]CheckOFDResponse [20:05:54]1017 (14) - 77093643461234 [20:05:54]1041 (16) - 0000000000965376 [20:05:54]1040 (4) - 25021 [20:05:54]1012 (4) - 22.10.2024 13:52 [20:05:54]1206 (1) - 0 [20:05:54]OFD Sender: Remove packet 25021 [20:05:54]ProducePacketName [20:05:54]name=ofd_packets/00025021 [20:05:54]NVStorageDeleteData [20:05:55]Write to MH i2c: 01 00 00 D1 07 D8 [20:05:55]Write i2c OK [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: 01 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: 01 07 00 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: 01 07 00 D1 07 00 00 00 00 00 BE 0C A9 [20:05:55]RasterBufferAndPrint [20:05:55]line [20:05:55]line [20:05:55]line [20:05:55]line [20:05:55]line [20:05:55]written 0, free lines is 3266 [20:05:55]process_action close_receipt done [20:05:55]requested_data is exist [20:05:55]produce_requested_data [20:05:55]requested_item fm.sn is exist - process it [20:05:55]wFMCommunicate request_size=4 [20:05:55]MH_SAM_APDU [20:05:55]CAPDU: 80 11 00 00 [20:05:55]Write to MH i2c: E2 08 00 D8 07 80 11 00 00 00 00 00 00 59 [20:05:55]Write i2c OK [20:05:55]MH_I2C_Read... [20:05:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:05:55]Read from MH i2c: E2 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: E2 17 00 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: E2 17 00 D8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B0 [20:05:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:05:55]wFMCommunicate OK [20:05:55]requested_item fd.num is exist - process it [20:05:55]SAM_PROTO_GetFieldsCounters [20:05:55]wFMCommunicate request_size=4 [20:05:55]MH_SAM_APDU [20:05:55]CAPDU: 80 13 00 00 [20:05:55]Write to MH i2c: E2 08 00 D9 07 80 13 00 00 00 00 00 00 5C [20:05:55]Write i2c OK [20:05:55]MH_I2C_Read... [20:05:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:05:55]Read from MH i2c: E2 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: E2 62 00 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: E2 62 00 D9 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BD 61 00 00 0E 04 04 00 C9 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 EB [20:05:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BD 61 00 00 0E 04 04 00 C9 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 [20:05:55]wFMCommunicate OK [20:05:55]SAM_PROTO_GetFieldsCounters done [20:05:55]requested_item shift.num is exist - process it [20:05:55]requested_item shift.opened is exist - process it [20:05:55]req_shift_opened [20:05:55]FM_GetShiftState [20:05:55]SAM_PROTO_GetShiftState [20:05:55]wFMCommunicate request_size=4 [20:05:55]MH_SAM_APDU [20:05:55]CAPDU: 80 13 01 00 [20:05:55]Write to MH i2c: E2 08 00 DA 07 80 13 01 00 00 00 00 00 5E [20:05:55]Write i2c OK [20:05:55]MH_I2C_Read... [20:05:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:05:55]Read from MH i2c: E2 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: E2 0E 00 [20:05:55]MH_I2C_Read... [20:05:55]Read from MH i2c: E2 0E 00 DA 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 AF [20:05:55]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:05:55]wFMCommunicate OK [20:05:55]SAM_PROTO_GetShiftState done [20:05:55]FM_GetShiftState done [20:05:55]req_shift_opened done [20:05:55]requested_item shift.open_date is exist - process it [20:05:55]req_shift_open_date [20:05:55]req_shift_open_date done [20:05:55]produce_requested_data done [20:05:55]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25021,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:05:55]process_action_free close_receipt [20:05:55]json_value_free [20:05:55]json_value_free done [20:05:55]process_json_proto returns [20:05:55]Send response to host [20:05:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25021,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:05:55]free response buf [20:05:55]execute_script done [20:05:55]execute_script returns [20:05:55]free content buf [20:05:55]Sock 9.Close socket [20:05:55]Sock 9.Thread stoped [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:17]accept exits with 8 [20:09:17]New connection [20:09:17]New thread 3067469156 created [20:09:17]Thread 3067612516 joined [20:09:17]Waiting for new connection... [20:09:17] Sock 8.Parse request [20:09:17]Sock 8.Check first char [20:09:17]Sock 8.First char is OK [20:09:17]request: POST /json_proto HTTP/1.0 [20:09:17]Method: POST [20:09:17]URL: /json_proto [20:09:17]Method is POST - this is cgi request [20:09:17]url: /json_proto [20:09:17]query_string will be loaded in cgi processing [20:09:17]execute_cgi json_proto POST (null) [20:09:17]execute_cgi path=json_proto method=POST [20:09:17]POST find Content-Length [20:09:17]Host: 172.17.53.196:8080 [20:09:17]Content-Length: 625 [20:09:17]Content-Type: application/json [20:09:17] [20:09:17]POST finish read [20:09:17]Found Content-Length = 625 [20:09:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34780", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:09:17]execute_script... [20:09:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34780", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:09:17]POST & json_proto [20:09:17]process_json_proto [20:09:17]json parsed OK: [20:09:17]protocol is kg_v1.0 [20:09:17]action value=close_receipt [20:09:17]process_action close_receipt [20:09:17]cmd_close_receipt [20:09:17]MH_GetDate [20:09:17]Write to MH i2c: F0 00 00 DB 07 D1 [20:09:17]Write i2c OK [20:09:17]MH_I2C_Read... [20:09:17]Read from MH i2c: F0 [20:09:17]MH_I2C_Read... [20:09:17]Read from MH i2c: F0 09 00 [20:09:17]MH_I2C_Read... [20:09:17]Read from MH i2c: F0 09 00 DB 07 00 6F 06 18 67 4F CD 9A 65 E9 [20:09:17]GetLastDocTimeStamp 1729627554 [20:09:17]current date 1729627759 [20:09:17]FM_GetShiftState [20:09:17]SAM_PROTO_GetShiftState [20:09:17]wFMCommunicate request_size=4 [20:09:17]MH_SAM_APDU [20:09:17]CAPDU: 80 13 01 00 [20:09:17]Write to MH i2c: E2 08 00 DC 07 80 13 01 00 00 00 00 00 60 [20:09:17]Write i2c OK [20:09:17]MH_I2C_Read... [20:09:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:09:17]Read from MH i2c: E2 [20:09:17]MH_I2C_Read... [20:09:17]Read from MH i2c: E2 0E 00 [20:09:17]MH_I2C_Read... [20:09:17]Read from MH i2c: E2 0E 00 DC 07 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 B1 [20:09:17]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:09:17]wFMCommunicate OK [20:09:17]SAM_PROTO_GetShiftState done [20:09:17]FM_GetShiftState done [20:09:17]opened in 1729556951 [20:09:17]opened+sec_in_day 1729643351 [20:09:17]quantity*price = 2000 [20:09:17]sum+1 = 2001 [20:09:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 43 22.10.2024 20:09 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25022 ФПД: 11285860644810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T200919&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25022&fm=11285860644810&tin=02508201610067®Number=0000000000098147&sum=2000 0 [20:09:18]StoreToDocumentArchive [20:09:18]shift 457 fd 25022 [20:09:18]save to /storage/0457/doc_00025022 [20:09:18]save last doc name /storage/0457/doc_00025022 to /storage/kkm_last_doc_name [20:09:18]save OK [20:09:18]Clear old archive folders... [20:09:18]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:09:18]tlvbuf is 00AE8DF0 [20:09:18]SAM_PROTO_ClearQueue [20:09:18]wFMCommunicate request_size=4 [20:09:18]MH_SAM_APDU [20:09:18]CAPDU: 80 09 00 00 [20:09:18]Write to MH i2c: E2 08 00 E9 07 80 09 00 00 00 00 00 00 62 [20:09:18]Write i2c OK [20:09:18]MH_I2C_Read... [20:09:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:09:18]Read from MH i2c: E2 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: E2 03 00 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: E2 03 00 E9 07 00 90 00 64 [20:09:18]RAPDU: 90 00 [20:09:18]wFMCommunicate OK [20:09:18]SAM_PROTO_ClearQueue done [20:09:18]KKMCreateOFDPacket [20:09:18]OFDProtocolAddRootSTLVToBuf [20:09:18]FM_MakeSignedData [20:09:18]FM_MakeSignedData [20:09:18]SAM_PROTO_SignData [20:09:18]wFMCommunicate request_size=4 [20:09:18]MH_SAM_APDU [20:09:18]CAPDU: 80 0D 01 02 [20:09:18]Write to MH i2c: E2 08 00 EA 07 80 0D 01 02 00 00 00 00 6A [20:09:18]Write i2c OK [20:09:18]MH_I2C_Read... [20:09:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:09:18]Read from MH i2c: E2 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: E2 03 00 [20:09:18]MH_I2C_Read... [20:09:18]Read from MH i2c: E2 03 00 EA 07 00 90 00 65 [20:09:18]RAPDU: 90 00 [20:09:18]wFMCommunicate OK [20:09:18]wFMCommunicate request_size=255 [20:09:18]MH_SAM_APDU [20:09:18]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 6F 06 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [20:09:18]Write to MH i2c: E2 02 01 EB 07 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 6F 06 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 B9 [20:09:18]Write i2c OK [20:09:18]MH_I2C_Read... [20:09:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:09:19]Read from MH i2c: E2 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 EB 07 00 90 00 66 [20:09:19]RAPDU: 90 00 [20:09:19]wFMCommunicate OK [20:09:19]wFMCommunicate request_size=32 [20:09:19]MH_SAM_APDU [20:09:19]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 BE 61 00 00 35 04 06 00 0A 43 B1 B6 F7 CA [20:09:19]Write to MH i2c: E2 23 00 EC 07 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 BE 61 00 00 35 04 06 00 0A 43 B1 B6 F7 CA 00 00 62 [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:09:19]Read from MH i2c: E2 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 03 00 EC 07 00 90 00 67 [20:09:19]RAPDU: 90 00 [20:09:19]wFMCommunicate OK [20:09:19]wFMCommunicate request_size=4 [20:09:19]MH_SAM_APDU [20:09:19]CAPDU: 80 0D 03 02 [20:09:19]Write to MH i2c: E2 08 00 ED 07 80 0D 03 02 00 00 00 00 6F [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:09:19]Read from MH i2c: E2 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 0B 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 0B 00 ED 07 00 85 17 C2 20 A7 FF 17 D1 90 00 7C [20:09:19]RAPDU: 85 17 C2 20 A7 FF 17 D1 90 00 [20:09:19]wFMCommunicate OK [20:09:19]SAM_PROTO_SignData done [20:09:19]FM_MakeSignedData done [20:09:19]CreateOFDProtocolMessage [20:09:19]wFMCommunicate request_size=4 [20:09:19]MH_SAM_APDU [20:09:19]CAPDU: 80 11 00 00 [20:09:19]Write to MH i2c: E2 08 00 EE 07 80 11 00 00 00 00 00 00 6F [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:09:19]Read from MH i2c: E2 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 17 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: E2 17 00 EE 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C6 [20:09:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:09:19]wFMCommunicate OK [20:09:19]CreateOFDProtocolMessage done [20:09:19]OFDSenderStorePacket 25022 [20:09:19]StoreOFDPacket docnum=25022 [20:09:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 38 92 1D 01 A8 22 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 6F 06 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BE 61 00 00 35 04 06 00 0A 43 B1 B6 F7 CA 85 17 C2 20 A7 FF 17 D1 [20:09:19]CheckFolder [20:09:19]dirname=/storage/ofd_packets [20:09:19]CheckFolder done [20:09:19]ProducePacketName [20:09:19]name=ofd_packets/00025022 [20:09:19]NVStorageSaveData ofd_packets/00025022 [20:09:19]File name is /storage/ofd_packets/00025022 [20:09:19]Write 323 bytes [20:09:19]NVStorageSaveData done [20:09:19]OFDSenderStorePacket done [20:09:19]KKMCreateOFDPacket done [20:09:19]NVStorageSaveData kkm_last_timestamp [20:09:19]File name is /storage/kkm_last_timestamp [20:09:19]Write 4 bytes [20:09:19]NVStorageSaveData done [20:09:19]ExternCall_PrintAddStr [20:09:19]wPrintStart [20:09:19]Write to MH i2c: 01 00 00 EF 07 F6 [20:09:19]Write i2c OK [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: 01 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: 01 07 00 [20:09:19]MH_I2C_Read... [20:09:19]Read from MH i2c: 01 07 00 EF 07 00 00 00 00 00 FF 0F 0B [20:09:19]RasterBufferAndPrint [20:09:19]line Счет N : (3)34780 [20:09:19]line ИНН: 02508201610067 [20:09:19]line Контрольно-Кассовый Чек [20:09:19]line ПРОДАЖА [20:09:19]line Товар: 46226624 [20:09:19]line Mentos ПВ Клубника 6*100*2 [20:09:19]line 2.000 * 10.00 [20:09:19]line = 20.00 [20:09:19]line НДС 12% НСП 1% [20:09:19]line > о реализуемом товаре [20:09:19]line ИТОГО: 20.00 [20:09:19]line НСП 1% : 0.18 [20:09:19]line НДС 12% : 2.12 [20:09:19]line Наличными: 20.00 [20:09:19]line Безнал.: 0.00 [20:09:19]line Место: АЗС № 161 "Партнер Нефть" [20:09:19]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:09:19]line СНО: Общий режим [20:09:19]line Чек 43 22.10.2024 20:09 [20:09:19]line Смена: 457 ФФД: 1.0 [20:09:19]line ЗНМ: 0300000240 [20:09:19]line РНМ: 0000000000098147 [20:09:19]line Версия ККМ: 001 [20:09:19]line ФМ: 0000000000965376 [20:09:19]line ФД: 25022 [20:09:19]line ФПД: 11285860644810 [20:09:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T200919&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25022&fm=11285860644810&tin=02508201610067®Number=0000000000098147&sum=2000 [20:09:19]OFD Sender: Processing packet 25022 [packets to send 5, broken 4] [20:09:19]ProducePacketName [20:09:19]name=ofd_packets/00025022 [20:09:19]OFD Sender: To server: pG, [20:09:19]CommunicateWithHost lk.salyk.kg:30040 [20:09:19]ConnectInit lk.salyk.kg [20:09:19]line 0 [20:09:19]written 0, free lines is 4095 [20:09:19]Connected sock=11 [20:09:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 38 92 1D 01 A8 22 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 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 6F 06 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BE 61 00 00 35 04 06 00 0A 43 B1 B6 F7 CA 85 17 C2 20 A7 FF 17 D1 [20:09:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 29 2B 47 00 0C 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BE 61 00 00 F4 03 04 00 E9 AE 17 67 B6 04 01 00 00 05 36 DD B4 48 DE 7F EE [20:09:19]CommunicateWithHost err = 0 [20:09:19]CheckOFDResponse [20:09:19]1017 (14) - 77093643461234 [20:09:19]1041 (16) - 0000000000965376 [20:09:19]1040 (4) - 25022 [20:09:19]1012 (4) - 22.10.2024 13:55 [20:09:19]1206 (1) - 0 [20:09:19]OFD Sender: Remove packet 25022 [20:09:19]ProducePacketName [20:09:19]name=ofd_packets/00025022 [20:09:19]NVStorageDeleteData [20:09:20]Write to MH i2c: 01 00 00 17 08 1F [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: 01 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: 01 07 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: 01 07 00 17 08 00 00 00 00 00 CF 0C 01 [20:09:20]RasterBufferAndPrint [20:09:20]line [20:09:20]line [20:09:20]line [20:09:20]line [20:09:20]line [20:09:20]written 0, free lines is 3283 [20:09:20]process_action close_receipt done [20:09:20]requested_data is exist [20:09:20]produce_requested_data [20:09:20]requested_item fm.sn is exist - process it [20:09:20]wFMCommunicate request_size=4 [20:09:20]MH_SAM_APDU [20:09:20]CAPDU: 80 11 00 00 [20:09:20]Write to MH i2c: E2 08 00 1E 08 80 11 00 00 00 00 00 00 A0 [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 17 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 17 00 1E 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F7 [20:09:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:09:20]wFMCommunicate OK [20:09:20]requested_item fd.num is exist - process it [20:09:20]SAM_PROTO_GetFieldsCounters [20:09:20]wFMCommunicate request_size=4 [20:09:20]MH_SAM_APDU [20:09:20]CAPDU: 80 13 00 00 [20:09:20]Write to MH i2c: E2 08 00 1F 08 80 13 00 00 00 00 00 00 A3 [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 62 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 62 00 1F 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BE 61 00 00 0E 04 04 00 C9 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 36 [20:09:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BE 61 00 00 0E 04 04 00 C9 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 [20:09:20]wFMCommunicate OK [20:09:20]SAM_PROTO_GetFieldsCounters done [20:09:20]requested_item shift.num is exist - process it [20:09:20]requested_item shift.opened is exist - process it [20:09:20]req_shift_opened [20:09:20]FM_GetShiftState [20:09:20]SAM_PROTO_GetShiftState [20:09:20]wFMCommunicate request_size=4 [20:09:20]MH_SAM_APDU [20:09:20]CAPDU: 80 13 01 00 [20:09:20]Write to MH i2c: E2 08 00 20 08 80 13 01 00 00 00 00 00 A5 [20:09:20]Write i2c OK [20:09:20]MH_I2C_Read... [20:09:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:09:20]Read from MH i2c: E2 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 0E 00 [20:09:20]MH_I2C_Read... [20:09:20]Read from MH i2c: E2 0E 00 20 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 F6 [20:09:20]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:09:20]wFMCommunicate OK [20:09:20]SAM_PROTO_GetShiftState done [20:09:20]FM_GetShiftState done [20:09:20]req_shift_opened done [20:09:20]requested_item shift.open_date is exist - process it [20:09:20]req_shift_open_date [20:09:20]req_shift_open_date done [20:09:20]produce_requested_data done [20:09:20]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25022,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:09:20]process_action_free close_receipt [20:09:20]json_value_free [20:09:20]json_value_free done [20:09:20]process_json_proto returns [20:09:20]Send response to host [20:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25022,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:09:20]free response buf [20:09:20]execute_script done [20:09:20]execute_script returns [20:09:20]free content buf [20:09:20]Sock 8.Close socket [20:09:20]Sock 8.Thread stoped [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:07]accept exits with 9 [20:15:07]New connection [20:15:07]New thread 3067612516 created [20:15:07]Thread 3067469156 joined [20:15:07]Waiting for new connection... [20:15:07] Sock 9.Parse request [20:15:07]Sock 9.Check first char [20:15:07]Sock 9.First char is OK [20:15:07]request: POST /json_proto HTTP/1.0 [20:15:07]Method: POST [20:15:07]URL: /json_proto [20:15:07]Method is POST - this is cgi request [20:15:07]url: /json_proto [20:15:07]query_string will be loaded in cgi processing [20:15:07]execute_cgi json_proto POST (null) [20:15:07]execute_cgi path=json_proto method=POST [20:15:07]POST find Content-Length [20:15:07]Host: 172.17.53.196:8080 [20:15:07]Content-Length: 800 [20:15:07]Content-Type: application/json [20:15:07] [20:15:07]POST finish read [20:15:07]Found Content-Length = 800 [20:15:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34781", "tax_sys" : 0, "items" : [ { "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:07]execute_script... [20:15:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34781", "tax_sys" : 0, "items" : [ { "code": "4607010740733", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u0448\u0430\u0448\u043B\u044B\u043A 40\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:15:07]POST & json_proto [20:15:07]process_json_proto [20:15:07]json parsed OK: [20:15:07]protocol is kg_v1.0 [20:15:07]action value=close_receipt [20:15:07]process_action close_receipt [20:15:07]cmd_close_receipt [20:15:07]MH_GetDate [20:15:07]Write to MH i2c: F0 00 00 21 08 18 [20:15:07]Write i2c OK [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: F0 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: F0 09 00 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: F0 09 00 21 08 00 CD 07 18 67 4F CD 9A 65 8F [20:15:07]GetLastDocTimeStamp 1729627759 [20:15:07]current date 1729628109 [20:15:07]FM_GetShiftState [20:15:07]SAM_PROTO_GetShiftState [20:15:07]wFMCommunicate request_size=4 [20:15:07]MH_SAM_APDU [20:15:07]CAPDU: 80 13 01 00 [20:15:07]Write to MH i2c: E2 08 00 22 08 80 13 01 00 00 00 00 00 A7 [20:15:07]Write i2c OK [20:15:07]MH_I2C_Read... [20:15:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:07]Read from MH i2c: E2 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: E2 0E 00 [20:15:07]MH_I2C_Read... [20:15:07]Read from MH i2c: E2 0E 00 22 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 F8 [20:15:07]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:15:07]wFMCommunicate OK [20:15:07]SAM_PROTO_GetShiftState done [20:15:07]FM_GetShiftState done [20:15:07]opened in 1729556951 [20:15:07]opened+sec_in_day 1729643351 [20:15:07]quantity*price = 4500 [20:15:07]sum+1 = 4501 [20:15:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 44 22.10.2024 20:15 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 25023 ФПД: 270609957007821 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T201509&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25023&fm=270609957007821&tin=02508201610067®Number=0000000000098147&sum=4500 0 [20:15:08]StoreToDocumentArchive [20:15:08]shift 457 fd 25023 [20:15:08]save to /storage/0457/doc_00025023 [20:15:08]save last doc name /storage/0457/doc_00025023 to /storage/kkm_last_doc_name [20:15:08]save OK [20:15:08]Clear old archive folders... [20:15:08]ProcessDocumentItem done err = 0, tmpTLVsize=285 [20:15:08]tlvbuf is 00AB84A0 [20:15:08]SAM_PROTO_ClearQueue [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 09 00 00 [20:15:08]Write to MH i2c: E2 08 00 2F 08 80 09 00 00 00 00 00 00 A9 [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 2F 08 00 90 00 AB [20:15:08]RAPDU: 90 00 [20:15:08]wFMCommunicate OK [20:15:08]SAM_PROTO_ClearQueue done [20:15:08]KKMCreateOFDPacket [20:15:08]OFDProtocolAddRootSTLVToBuf [20:15:08]FM_MakeSignedData [20:15:08]FM_MakeSignedData [20:15:08]SAM_PROTO_SignData [20:15:08]wFMCommunicate request_size=4 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 0D 01 02 [20:15:08]Write to MH i2c: E2 08 00 30 08 80 0D 01 02 00 00 00 00 B1 [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:15:08]Read from MH i2c: E2 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 [20:15:08]MH_I2C_Read... [20:15:08]Read from MH i2c: E2 03 00 30 08 00 90 00 AC [20:15:08]RAPDU: 90 00 [20:15:08]wFMCommunicate OK [20:15:08]wFMCommunicate request_size=255 [20:15:08]MH_SAM_APDU [20:15:08]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CD 07 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 [20:15:08]Write to MH i2c: E2 02 01 31 08 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CD 07 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 00 00 CB [20:15:08]Write i2c OK [20:15:08]MH_I2C_Read... [20:15:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:09]Read from MH i2c: E2 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 03 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 03 00 31 08 00 90 00 AD [20:15:09]RAPDU: 90 00 [20:15:09]wFMCommunicate OK [20:15:09]wFMCommunicate request_size=44 [20:15:09]MH_SAM_APDU [20:15:09]CAPDU: 80 0D 02 02 27 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BF 61 00 00 35 04 06 00 F6 1E 4A 5C 31 CD [20:15:09]Write to MH i2c: E2 2F 00 32 08 80 0D 02 02 27 00 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BF 61 00 00 35 04 06 00 F6 1E 4A 5C 31 CD 00 00 B1 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:15:09]Read from MH i2c: E2 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 03 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 03 00 32 08 00 90 00 AE [20:15:09]RAPDU: 90 00 [20:15:09]wFMCommunicate OK [20:15:09]wFMCommunicate request_size=4 [20:15:09]MH_SAM_APDU [20:15:09]CAPDU: 80 0D 03 02 [20:15:09]Write to MH i2c: E2 08 00 33 08 80 0D 03 02 00 00 00 00 B6 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:15:09]Read from MH i2c: E2 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 0B 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 0B 00 33 08 00 C7 3A AC F7 06 19 7C 11 90 00 07 [20:15:09]RAPDU: C7 3A AC F7 06 19 7C 11 90 00 [20:15:09]wFMCommunicate OK [20:15:09]SAM_PROTO_SignData done [20:15:09]FM_MakeSignedData done [20:15:09]CreateOFDProtocolMessage [20:15:09]wFMCommunicate request_size=4 [20:15:09]MH_SAM_APDU [20:15:09]CAPDU: 80 11 00 00 [20:15:09]Write to MH i2c: E2 08 00 34 08 80 11 00 00 00 00 00 00 B6 [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:09]Read from MH i2c: E2 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 17 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: E2 17 00 34 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 0D [20:15:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:15:09]wFMCommunicate OK [20:15:09]CreateOFDProtocolMessage done [20:15:09]OFDSenderStorePacket 25023 [20:15:09]StoreOFDPacket docnum=25023 [20:15:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 37 D6 29 01 59 0B 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CD 07 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BF 61 00 00 35 04 06 00 F6 1E 4A 5C 31 CD C7 3A AC F7 06 19 7C 11 [20:15:09]CheckFolder [20:15:09]dirname=/storage/ofd_packets [20:15:09]CheckFolder done [20:15:09]ProducePacketName [20:15:09]name=ofd_packets/00025023 [20:15:09]NVStorageSaveData ofd_packets/00025023 [20:15:09]File name is /storage/ofd_packets/00025023 [20:15:09]Write 335 bytes [20:15:09]NVStorageSaveData done [20:15:09]OFDSenderStorePacket done [20:15:09]KKMCreateOFDPacket done [20:15:09]NVStorageSaveData kkm_last_timestamp [20:15:09]File name is /storage/kkm_last_timestamp [20:15:09]Write 4 bytes [20:15:09]NVStorageSaveData done [20:15:09]ExternCall_PrintAddStr [20:15:09]wPrintStart [20:15:09]Write to MH i2c: 01 00 00 35 08 3D [20:15:09]Write i2c OK [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: 01 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: 01 07 00 [20:15:09]MH_I2C_Read... [20:15:09]Read from MH i2c: 01 07 00 35 08 00 00 00 00 00 FF 0F 52 [20:15:09]RasterBufferAndPrint [20:15:09]line Счет N : (3)34781 [20:15:09]line ИНН: 02508201610067 [20:15:09]line Контрольно-Кассовый Чек [20:15:09]line ПРОДАЖА [20:15:09]line Товар: 4607010740733 [20:15:09]line Чипсы Чипсоны шашлык 40г [20:15:09]line 1.000 * 45.00 [20:15:09]line = 45.00 [20:15:09]line НДС 12% НСП 1% [20:15:09]line > о реализуемом товаре [20:15:09]line ИТОГО: 45.00 [20:15:09]line НСП 1% : 0.40 [20:15:09]line НДС 12% : 4.78 [20:15:09]line Наличными: 0.00 [20:15:09]line Безнал.: 45.00 [20:15:09]line Место: АЗС № 161 "Партнер Нефть" [20:15:09]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:15:09]line СНО: Общий режим [20:15:09]line Чек 44 22.10.2024 20:15 [20:15:09]line Смена: 457 ФФД: 1.0 [20:15:09]line ЗНМ: 0300000240 [20:15:09]line РНМ: 0000000000098147 [20:15:09]line Версия ККМ: 001 [20:15:09]line Платежная система: Mbank [20:15:09]line ФМ: 0000000000965376 [20:15:09]line ФД: 25023 [20:15:09]line ФПД: 270609957007821 [20:15:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T201509&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25023&fm=270609957007821&tin=02508201610067®Number=0000000000098147&sum=4500 [20:15:09]line 0 [20:15:09]OFD Sender: Processing packet 25023 [packets to send 5, broken 4] [20:15:09]ProducePacketName [20:15:09]name=ofd_packets/00025023 [20:15:09]OFD Sender: To server: pG, [20:15:09]CommunicateWithHost lk.salyk.kg:30040 [20:15:09]ConnectInit lk.salyk.kg [20:15:09]written 0, free lines is 4095 [20:15:09]Connected sock=10 [20:15:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 37 D6 29 01 59 0B 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 36 30 37 30 31 30 37 34 30 37 33 33 06 04 2B 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D1 88 D0 B0 D1 88 D0 BB D1 8B D0 BA 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 CD 07 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BF 61 00 00 35 04 06 00 F6 1E 4A 5C 31 CD C7 3A AC F7 06 19 7C 11 [20:15:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 12 FD 47 00 D2 D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 BF 61 00 00 F4 03 04 00 47 B0 17 67 B6 04 01 00 00 CB 0E E9 80 17 E8 A3 34 [20:15:09]CommunicateWithHost err = 0 [20:15:09]CheckOFDResponse [20:15:09]1017 (14) - 77093643461234 [20:15:09]1041 (16) - 0000000000965376 [20:15:09]1040 (4) - 25023 [20:15:09]1012 (4) - 22.10.2024 14:01 [20:15:09]1206 (1) - 0 [20:15:09]OFD Sender: Remove packet 25023 [20:15:09]ProducePacketName [20:15:09]name=ofd_packets/00025023 [20:15:09]NVStorageDeleteData [20:15:10]Write to MH i2c: 01 00 00 5E 08 66 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 07 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: 01 07 00 5E 08 00 00 00 00 00 C6 0C 3F [20:15:10]RasterBufferAndPrint [20:15:10]line [20:15:10]line [20:15:10]line [20:15:10]line [20:15:10]line [20:15:10]written 0, free lines is 3277 [20:15:10]process_action close_receipt done [20:15:10]requested_data is exist [20:15:10]produce_requested_data [20:15:10]requested_item fm.sn is exist - process it [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 11 00 00 [20:15:10]Write to MH i2c: E2 08 00 65 08 80 11 00 00 00 00 00 00 E7 [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:15:10]Read from MH i2c: E2 17 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 17 00 65 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3E [20:15:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:15:10]wFMCommunicate OK [20:15:10]requested_item fd.num is exist - process it [20:15:10]SAM_PROTO_GetFieldsCounters [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 13 00 00 [20:15:10]Write to MH i2c: E2 08 00 66 08 80 13 00 00 00 00 00 00 EA [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 62 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 62 00 66 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BF 61 00 00 0E 04 04 00 C9 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 81 [20:15:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 BF 61 00 00 0E 04 04 00 C9 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 [20:15:10]wFMCommunicate OK [20:15:10]SAM_PROTO_GetFieldsCounters done [20:15:10]requested_item shift.num is exist - process it [20:15:10]requested_item shift.opened is exist - process it [20:15:10]req_shift_opened [20:15:10]FM_GetShiftState [20:15:10]SAM_PROTO_GetShiftState [20:15:10]wFMCommunicate request_size=4 [20:15:10]MH_SAM_APDU [20:15:10]CAPDU: 80 13 01 00 [20:15:10]Write to MH i2c: E2 08 00 67 08 80 13 01 00 00 00 00 00 EC [20:15:10]Write i2c OK [20:15:10]MH_I2C_Read... [20:15:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:15:10]Read from MH i2c: E2 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 0E 00 [20:15:10]MH_I2C_Read... [20:15:10]Read from MH i2c: E2 0E 00 67 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 3D [20:15:10]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:15:10]wFMCommunicate OK [20:15:10]SAM_PROTO_GetShiftState done [20:15:10]FM_GetShiftState done [20:15:10]req_shift_opened done [20:15:10]requested_item shift.open_date is exist - process it [20:15:10]req_shift_open_date [20:15:10]req_shift_open_date done [20:15:10]produce_requested_data done [20:15:10]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25023,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:15:10]process_action_free close_receipt [20:15:10]json_value_free [20:15:10]json_value_free done [20:15:10]process_json_proto returns [20:15:10]Send response to host [20:15:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25023,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:15:10]free response buf [20:15:10]execute_script done [20:15:10]execute_script returns [20:15:10]free content buf [20:15:10]Sock 9.Close socket [20:15:10]Sock 9.Thread stoped [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:11]accept exits with 8 [20:17:11]New connection [20:17:11]New thread 3067469156 created [20:17:11]Thread 3067612516 joined [20:17:11]Waiting for new connection... [20:17:11] Sock 8.Parse request [20:17:11]Sock 8.Check first char [20:17:11]Sock 8.First char is OK [20:17:11]request: POST /json_proto HTTP/1.0 [20:17:11]Method: POST [20:17:11]URL: /json_proto [20:17:11]Method is POST - this is cgi request [20:17:11]url: /json_proto [20:17:11]query_string will be loaded in cgi processing [20:17:11]execute_cgi json_proto POST (null) [20:17:11]execute_cgi path=json_proto method=POST [20:17:11]POST find Content-Length [20:17:11]Host: 172.17.53.196:8080 [20:17:11]Content-Length: 645 [20:17:11]Content-Type: application/json [20:17:11] [20:17:11]POST finish read [20:17:11]Found Content-Length = 645 [20:17:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34782", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:17:11]execute_script... [20:17:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34782", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:17:11]POST & json_proto [20:17:11]process_json_proto [20:17:11]json parsed OK: [20:17:11]protocol is kg_v1.0 [20:17:11]action value=close_receipt [20:17:11]process_action close_receipt [20:17:11]cmd_close_receipt [20:17:11]MH_GetDate [20:17:11]Write to MH i2c: F0 00 00 68 08 5F [20:17:11]Write i2c OK [20:17:11]MH_I2C_Read... [20:17:11]Read from MH i2c: F0 [20:17:11]MH_I2C_Read... [20:17:11]Read from MH i2c: F0 09 00 [20:17:11]MH_I2C_Read... [20:17:11]Read from MH i2c: F0 09 00 68 08 00 49 08 18 67 4F CD 9A 65 53 [20:17:11]GetLastDocTimeStamp 1729628109 [20:17:11]current date 1729628233 [20:17:11]FM_GetShiftState [20:17:11]SAM_PROTO_GetShiftState [20:17:11]wFMCommunicate request_size=4 [20:17:11]MH_SAM_APDU [20:17:11]CAPDU: 80 13 01 00 [20:17:11]Write to MH i2c: E2 08 00 69 08 80 13 01 00 00 00 00 00 EE [20:17:11]Write i2c OK [20:17:11]MH_I2C_Read... [20:17:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:17:11]Read from MH i2c: E2 [20:17:11]MH_I2C_Read... [20:17:11]Read from MH i2c: E2 0E 00 [20:17:11]MH_I2C_Read... [20:17:11]Read from MH i2c: E2 0E 00 69 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 3F [20:17:11]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:17:11]wFMCommunicate OK [20:17:11]SAM_PROTO_GetShiftState done [20:17:11]FM_GetShiftState done [20:17:11]opened in 1729556951 [20:17:11]opened+sec_in_day 1729643351 [20:17:11]quantity*price = 15900 [20:17:11]sum+1 = 15901 [20:17:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 45 22.10.2024 20:17 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25024 ФПД: 17327390308404 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T201713&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25024&fm=17327390308404&tin=02508201610067®Number=0000000000098147&sum=15900 0 [20:17:12]StoreToDocumentArchive [20:17:12]shift 457 fd 25024 [20:17:12]save to /storage/0457/doc_00025024 [20:17:12]save last doc name /storage/0457/doc_00025024 to /storage/kkm_last_doc_name [20:17:12]save OK [20:17:12]Clear old archive folders... [20:17:12]ProcessDocumentItem done err = 0, tmpTLVsize=278 [20:17:12]tlvbuf is 00AC1580 [20:17:12]SAM_PROTO_ClearQueue [20:17:12]wFMCommunicate request_size=4 [20:17:12]MH_SAM_APDU [20:17:12]CAPDU: 80 09 00 00 [20:17:12]Write to MH i2c: E2 08 00 76 08 80 09 00 00 00 00 00 00 F0 [20:17:12]Write i2c OK [20:17:12]MH_I2C_Read... [20:17:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:17:12]Read from MH i2c: E2 [20:17:12]MH_I2C_Read... [20:17:12]Read from MH i2c: E2 03 00 [20:17:12]MH_I2C_Read... [20:17:12]Read from MH i2c: E2 03 00 76 08 00 90 00 F2 [20:17:12]RAPDU: 90 00 [20:17:12]wFMCommunicate OK [20:17:12]SAM_PROTO_ClearQueue done [20:17:12]KKMCreateOFDPacket [20:17:12]OFDProtocolAddRootSTLVToBuf [20:17:12]FM_MakeSignedData [20:17:12]FM_MakeSignedData [20:17:12]SAM_PROTO_SignData [20:17:12]wFMCommunicate request_size=4 [20:17:12]MH_SAM_APDU [20:17:12]CAPDU: 80 0D 01 02 [20:17:12]Write to MH i2c: E2 08 00 77 08 80 0D 01 02 00 00 00 00 F8 [20:17:12]Write i2c OK [20:17:12]MH_I2C_Read... [20:17:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:17:12]Read from MH i2c: E2 [20:17:12]MH_I2C_Read... [20:17:12]Read from MH i2c: E2 03 00 [20:17:12]MH_I2C_Read... [20:17:12]Read from MH i2c: E2 03 00 77 08 00 90 00 F3 [20:17:12]RAPDU: 90 00 [20:17:12]wFMCommunicate OK [20:17:12]wFMCommunicate request_size=255 [20:17:12]MH_SAM_APDU [20:17:12]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 49 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 [20:17:12]Write to MH i2c: E2 02 01 78 08 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 49 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 00 00 3C [20:17:12]Write i2c OK [20:17:12]MH_I2C_Read... [20:17:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:12]Read from MH i2c: E2 [20:17:12]MH_I2C_Read... [20:17:12]Read from MH i2c: E2 03 00 [20:17:12]MH_I2C_Read... [20:17:12]Read from MH i2c: E2 03 00 78 08 00 90 00 F4 [20:17:12]RAPDU: 90 00 [20:17:12]wFMCommunicate OK [20:17:12]wFMCommunicate request_size=37 [20:17:12]MH_SAM_APDU [20:17:12]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C0 61 00 00 35 04 06 00 0F C2 58 F1 B8 34 [20:17:13]Write to MH i2c: E2 28 00 79 08 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C0 61 00 00 35 04 06 00 0F C2 58 F1 B8 34 00 00 7D [20:17:13]Write i2c OK [20:17:13]MH_I2C_Read... [20:17:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:13]Read from MH i2c: E2 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 03 00 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 03 00 79 08 00 90 00 F5 [20:17:13]RAPDU: 90 00 [20:17:13]wFMCommunicate OK [20:17:13]wFMCommunicate request_size=4 [20:17:13]MH_SAM_APDU [20:17:13]CAPDU: 80 0D 03 02 [20:17:13]Write to MH i2c: E2 08 00 7A 08 80 0D 03 02 00 00 00 00 FD [20:17:13]Write i2c OK [20:17:13]MH_I2C_Read... [20:17:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:17:13]Read from MH i2c: E2 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 0B 00 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 0B 00 7A 08 00 B9 2F B7 74 4A 41 5F 05 90 00 00 [20:17:13]RAPDU: B9 2F B7 74 4A 41 5F 05 90 00 [20:17:13]wFMCommunicate OK [20:17:13]SAM_PROTO_SignData done [20:17:13]FM_MakeSignedData done [20:17:13]CreateOFDProtocolMessage [20:17:13]wFMCommunicate request_size=4 [20:17:13]MH_SAM_APDU [20:17:13]CAPDU: 80 11 00 00 [20:17:13]Write to MH i2c: E2 08 00 7B 08 80 11 00 00 00 00 00 00 FD [20:17:13]Write i2c OK [20:17:13]MH_I2C_Read... [20:17:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:17:13]Read from MH i2c: E2 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 17 00 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 17 00 7B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 54 [20:17:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:17:13]wFMCommunicate OK [20:17:13]CreateOFDProtocolMessage done [20:17:13]OFDSenderStorePacket 25024 [20:17:13]StoreOFDPacket docnum=25024 [20:17:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 47 A6 22 01 FE 30 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 49 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C0 61 00 00 35 04 06 00 0F C2 58 F1 B8 34 B9 2F B7 74 4A 41 5F 05 [20:17:13]CheckFolder [20:17:13]dirname=/storage/ofd_packets [20:17:13]CheckFolder done [20:17:13]ProducePacketName [20:17:13]name=ofd_packets/00025024 [20:17:13]NVStorageSaveData ofd_packets/00025024 [20:17:13]File name is /storage/ofd_packets/00025024 [20:17:13]Write 328 bytes [20:17:13]NVStorageSaveData done [20:17:13]OFDSenderStorePacket done [20:17:13]KKMCreateOFDPacket done [20:17:13]NVStorageSaveData kkm_last_timestamp [20:17:13]File name is /storage/kkm_last_timestamp [20:17:13]Write 4 bytes [20:17:13]NVStorageSaveData done [20:17:13]ExternCall_PrintAddStr [20:17:13]wPrintStart [20:17:13]Write to MH i2c: 01 00 00 7C 08 84 [20:17:13]Write i2c OK [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: 01 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: 01 07 00 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: 01 07 00 7C 08 00 00 00 00 00 FF 0F 99 [20:17:13]RasterBufferAndPrint [20:17:13]line Счет N : (3)34782 [20:17:13]line ИНН: 02508201610067 [20:17:13]line Контрольно-Кассовый Чек [20:17:13]line ПРОДАЖА [20:17:13]line Товар: 90162602 [20:17:13]line Энерг напиток Red bull 0,25л [20:17:13]line 1.000 * 159.00 [20:17:13]line = 159.00 [20:17:13]line НДС 12% НСП 1% [20:17:13]line > о реализуемом товаре [20:17:13]line ИТОГО: 159.00 [20:17:13]line НСП 1% : 1.41 [20:17:13]line НДС 12% : 16.88 [20:17:13]line Наличными: 159.00 [20:17:13]line Безнал.: 0.00 [20:17:13]line Место: АЗС № 161 "Партнер Нефть" [20:17:13]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:17:13]line СНО: Общий режим [20:17:13]line Чек 45 22.10.2024 20:17 [20:17:13]line Смена: 457 ФФД: 1.0 [20:17:13]line ЗНМ: 0300000240 [20:17:13]line РНМ: 0000000000098147 [20:17:13]line Версия ККМ: 001 [20:17:13]line ФМ: 0000000000965376 [20:17:13]line ФД: 25024 [20:17:13]line ФПД: 17327390308404 [20:17:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T201713&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25024&fm=17327390308404&tin=02508201610067®Number=0000000000098147&sum=15900 [20:17:13]line 0 [20:17:13]OFD Sender: Processing packet 25024 [packets to send 5, broken 4] [20:17:13]ProducePacketName [20:17:13]name=ofd_packets/00025024 [20:17:13]OFD Sender: To server: pG, [20:17:13]CommunicateWithHost lk.salyk.kg:30040 [20:17:13]ConnectInit lk.salyk.kg [20:17:13]written 0, free lines is 4095 [20:17:13]Connected sock=10 [20:17:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2A 01 00 00 47 A6 22 01 FE 30 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 49 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C0 61 00 00 35 04 06 00 0F C2 58 F1 B8 34 B9 2F B7 74 4A 41 5F 05 [20:17:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 15 BE 47 00 BE 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 39 36 35 33 37 36 10 04 04 00 C0 61 00 00 F4 03 04 00 C3 B0 17 67 B6 04 01 00 00 98 AE B3 31 F8 A3 41 25 [20:17:13]CommunicateWithHost err = 0 [20:17:13]CheckOFDResponse [20:17:13]1017 (14) - 77093643461234 [20:17:13]1041 (16) - 0000000000965376 [20:17:13]1040 (4) - 25024 [20:17:13]1012 (4) - 22.10.2024 14:03 [20:17:13]1206 (1) - 0 [20:17:13]OFD Sender: Remove packet 25024 [20:17:13]ProducePacketName [20:17:13]name=ofd_packets/00025024 [20:17:13]NVStorageDeleteData [20:17:13]Write to MH i2c: 01 00 00 A4 08 AC [20:17:13]Write i2c OK [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: 01 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: 01 07 00 [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: 01 07 00 A4 08 00 00 00 00 00 DE 0C 9D [20:17:13]RasterBufferAndPrint [20:17:13]line [20:17:13]line [20:17:13]line [20:17:13]line [20:17:13]line [20:17:13]written 0, free lines is 3299 [20:17:13]process_action close_receipt done [20:17:13]requested_data is exist [20:17:13]produce_requested_data [20:17:13]requested_item fm.sn is exist - process it [20:17:13]wFMCommunicate request_size=4 [20:17:13]MH_SAM_APDU [20:17:13]CAPDU: 80 11 00 00 [20:17:13]Write to MH i2c: E2 08 00 AB 08 80 11 00 00 00 00 00 00 2D [20:17:13]Write i2c OK [20:17:13]MH_I2C_Read... [20:17:13]Read from MH i2c: E2 [20:17:14]MH_I2C_Read... [20:17:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:17:14]Read from MH i2c: E2 17 00 [20:17:14]MH_I2C_Read... [20:17:14]Read from MH i2c: E2 17 00 AB 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 84 [20:17:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:17:14]wFMCommunicate OK [20:17:14]requested_item fd.num is exist - process it [20:17:14]SAM_PROTO_GetFieldsCounters [20:17:14]wFMCommunicate request_size=4 [20:17:14]MH_SAM_APDU [20:17:14]CAPDU: 80 13 00 00 [20:17:14]Write to MH i2c: E2 08 00 AC 08 80 13 00 00 00 00 00 00 30 [20:17:14]Write i2c OK [20:17:14]MH_I2C_Read... [20:17:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:17:14]Read from MH i2c: E2 [20:17:14]MH_I2C_Read... [20:17:14]Read from MH i2c: E2 62 00 [20:17:14]MH_I2C_Read... [20:17:14]Read from MH i2c: E2 62 00 AC 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C0 61 00 00 0E 04 04 00 C9 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 CB [20:17:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C0 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:17:14]wFMCommunicate OK [20:17:14]SAM_PROTO_GetFieldsCounters done [20:17:14]requested_item shift.num is exist - process it [20:17:14]requested_item shift.opened is exist - process it [20:17:14]req_shift_opened [20:17:14]FM_GetShiftState [20:17:14]SAM_PROTO_GetShiftState [20:17:14]wFMCommunicate request_size=4 [20:17:14]MH_SAM_APDU [20:17:14]CAPDU: 80 13 01 00 [20:17:14]Write to MH i2c: E2 08 00 AD 08 80 13 01 00 00 00 00 00 32 [20:17:14]Write i2c OK [20:17:14]MH_I2C_Read... [20:17:14]Read from MH i2c: E2 [20:17:14]MH_I2C_Read... [20:17:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:17:14]Read from MH i2c: E2 0E 00 [20:17:14]MH_I2C_Read... [20:17:14]Read from MH i2c: E2 0E 00 AD 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 83 [20:17:14]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:17:14]wFMCommunicate OK [20:17:14]SAM_PROTO_GetShiftState done [20:17:14]FM_GetShiftState done [20:17:14]req_shift_opened done [20:17:14]requested_item shift.open_date is exist - process it [20:17:14]req_shift_open_date [20:17:14]req_shift_open_date done [20:17:14]produce_requested_data done [20:17:14]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25024,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:17:14]process_action_free close_receipt [20:17:14]json_value_free [20:17:14]json_value_free done [20:17:14]process_json_proto returns [20:17:14]Send response to host [20:17:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25024,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:17:14]free response buf [20:17:14]execute_script done [20:17:14]execute_script returns [20:17:14]free content buf [20:17:14]Sock 8.Close socket [20:17:14]Sock 8.Thread stoped [20:17:14]OFD Sender: No OFD packet to send [20:17:19]OFD Sender: No OFD packet to send [20:17:24]OFD Sender: No OFD packet to send [20:17:29]OFD Sender: No OFD packet to send [20:17:34]OFD Sender: No OFD packet to send [20:17:39]OFD Sender: No OFD packet to send [20:17:44]OFD Sender: No OFD packet to send [20:17:49]OFD Sender: No OFD packet to send [20:17:54]OFD Sender: No OFD packet to send [20:17:59]OFD Sender: No OFD packet to send [20:18:04]OFD Sender: No OFD packet to send [20:18:09]OFD Sender: No OFD packet to send [20:18:14]OFD Sender: No OFD packet to send [20:18:19]OFD Sender: No OFD packet to send [20:18:24]OFD Sender: No OFD packet to send [20:18:29]OFD Sender: No OFD packet to send [20:18:34]OFD Sender: No OFD packet to send [20:18:39]OFD Sender: No OFD packet to send [20:18:44]OFD Sender: No OFD packet to send [20:18:49]OFD Sender: No OFD packet to send [20:18:54]OFD Sender: No OFD packet to send [20:18:59]OFD Sender: No OFD packet to send [20:19:04]OFD Sender: No OFD packet to send [20:19:09]OFD Sender: No OFD packet to send [20:19:14]OFD Sender: No OFD packet to send [20:19:19]OFD Sender: No OFD packet to send [20:19:24]OFD Sender: No OFD packet to send [20:19:29]OFD Sender: No OFD packet to send [20:19:34]OFD Sender: No OFD packet to send [20:19:39]OFD Sender: No OFD packet to send [20:19:39]accept exits with 9 [20:19:39]New connection [20:19:39]New thread 3067612516 created [20:19:39]Thread 3067469156 joined [20:19:39]Waiting for new connection... [20:19:39] Sock 9.Parse request [20:19:39]Sock 9.Check first char [20:19:39]Sock 9.First char is OK [20:19:39]request: POST /json_proto HTTP/1.0 [20:19:39]Method: POST [20:19:39]URL: /json_proto [20:19:39]Method is POST - this is cgi request [20:19:39]url: /json_proto [20:19:39]query_string will be loaded in cgi processing [20:19:39]execute_cgi json_proto POST (null) [20:19:39]execute_cgi path=json_proto method=POST [20:19:39]POST find Content-Length [20:19:39]Host: 172.17.53.196:8080 [20:19:39]Content-Length: 627 [20:19:39]Content-Type: application/json [20:19:39] [20:19:39]POST finish read [20:19:39]Found Content-Length = 627 [20:19:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34783", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:19:39]execute_script... [20:19:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34783", "tax_sys" : 0, "items" : [ { "code": "48743396", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact silver", "price" : 134.00, "quantity" : 2.000, "sum" : 268.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 268.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:19:39]POST & json_proto [20:19:39]process_json_proto [20:19:39]json parsed OK: [20:19:39]protocol is kg_v1.0 [20:19:39]action value=close_receipt [20:19:39]process_action close_receipt [20:19:39]cmd_close_receipt [20:19:39]MH_GetDate [20:19:39]Write to MH i2c: F0 00 00 AE 08 A5 [20:19:39]Write i2c OK [20:19:39]MH_I2C_Read... [20:19:39]Read from MH i2c: F0 [20:19:39]MH_I2C_Read... [20:19:39]Read from MH i2c: F0 09 00 [20:19:39]MH_I2C_Read... [20:19:39]Read from MH i2c: F0 09 00 AE 08 00 DD 08 18 67 4F CD 9A 65 2D [20:19:39]GetLastDocTimeStamp 1729628233 [20:19:39]current date 1729628381 [20:19:39]FM_GetShiftState [20:19:39]SAM_PROTO_GetShiftState [20:19:39]wFMCommunicate request_size=4 [20:19:39]MH_SAM_APDU [20:19:39]CAPDU: 80 13 01 00 [20:19:39]Write to MH i2c: E2 08 00 AF 08 80 13 01 00 00 00 00 00 34 [20:19:39]Write i2c OK [20:19:39]MH_I2C_Read... [20:19:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:19:39]Read from MH i2c: E2 [20:19:39]MH_I2C_Read... [20:19:39]Read from MH i2c: E2 0E 00 [20:19:39]MH_I2C_Read... [20:19:39]Read from MH i2c: E2 0E 00 AF 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 85 [20:19:39]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:19:39]wFMCommunicate OK [20:19:39]SAM_PROTO_GetShiftState done [20:19:39]FM_GetShiftState done [20:19:39]opened in 1729556951 [20:19:39]opened+sec_in_day 1729643351 [20:19:39]quantity*price = 26800 [20:19:39]sum+1 = 26801 [20:19:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 268.00 НСП 1% : 2.37 НДС 12% : 28.46 Наличными: 268.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 46 22.10.2024 20:19 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25025 ФПД: 242531071604968 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T201941&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25025&fm=242531071604968&tin=02508201610067®Number=0000000000098147&sum=26800 0 [20:19:40]StoreToDocumentArchive [20:19:40]shift 457 fd 25025 [20:19:40]save to /storage/0457/doc_00025025 [20:19:40]save last doc name /storage/0457/doc_00025025 to /storage/kkm_last_doc_name [20:19:40]save OK [20:19:40]Clear old archive folders... [20:19:40]ProcessDocumentItem done err = 0, tmpTLVsize=280 [20:19:40]tlvbuf is 00AC05E0 [20:19:40]SAM_PROTO_ClearQueue [20:19:40]wFMCommunicate request_size=4 [20:19:40]MH_SAM_APDU [20:19:40]CAPDU: 80 09 00 00 [20:19:40]Write to MH i2c: E2 08 00 BC 08 80 09 00 00 00 00 00 00 36 [20:19:40]Write i2c OK [20:19:40]MH_I2C_Read... [20:19:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:19:40]Read from MH i2c: E2 [20:19:40]MH_I2C_Read... [20:19:40]Read from MH i2c: E2 03 00 [20:19:40]MH_I2C_Read... [20:19:40]Read from MH i2c: E2 03 00 BC 08 00 90 00 38 [20:19:40]RAPDU: 90 00 [20:19:40]wFMCommunicate OK [20:19:40]SAM_PROTO_ClearQueue done [20:19:40]KKMCreateOFDPacket [20:19:40]OFDProtocolAddRootSTLVToBuf [20:19:40]FM_MakeSignedData [20:19:40]FM_MakeSignedData [20:19:40]SAM_PROTO_SignData [20:19:40]wFMCommunicate request_size=4 [20:19:40]MH_SAM_APDU [20:19:40]CAPDU: 80 0D 01 02 [20:19:40]Write to MH i2c: E2 08 00 BD 08 80 0D 01 02 00 00 00 00 3E [20:19:40]Write i2c OK [20:19:40]MH_I2C_Read... [20:19:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:19:40]Read from MH i2c: E2 [20:19:40]MH_I2C_Read... [20:19:40]Read from MH i2c: E2 03 00 [20:19:40]MH_I2C_Read... [20:19:40]Read from MH i2c: E2 03 00 BD 08 00 90 00 39 [20:19:40]RAPDU: 90 00 [20:19:40]wFMCommunicate OK [20:19:40]wFMCommunicate request_size=255 [20:19:40]MH_SAM_APDU [20:19:40]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DD 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 [20:19:40]Write to MH i2c: E2 02 01 BE 08 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DD 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 00 00 FF [20:19:40]Write i2c OK [20:19:40]MH_I2C_Read... [20:19:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:19:41]Read from MH i2c: E2 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 03 00 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 03 00 BE 08 00 90 00 3A [20:19:41]RAPDU: 90 00 [20:19:41]wFMCommunicate OK [20:19:41]wFMCommunicate request_size=39 [20:19:41]MH_SAM_APDU [20:19:41]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C1 61 00 00 35 04 06 00 DC 94 AA 5E B8 E8 [20:19:41]Write to MH i2c: E2 2A 00 BF 08 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C1 61 00 00 35 04 06 00 DC 94 AA 5E B8 E8 00 00 3A [20:19:41]Write i2c OK [20:19:41]MH_I2C_Read... [20:19:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:19:41]Read from MH i2c: E2 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 03 00 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 03 00 BF 08 00 90 00 3B [20:19:41]RAPDU: 90 00 [20:19:41]wFMCommunicate OK [20:19:41]wFMCommunicate request_size=4 [20:19:41]MH_SAM_APDU [20:19:41]CAPDU: 80 0D 03 02 [20:19:41]Write to MH i2c: E2 08 00 C0 08 80 0D 03 02 00 00 00 00 43 [20:19:41]Write i2c OK [20:19:41]MH_I2C_Read... [20:19:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:19:41]Read from MH i2c: E2 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 0B 00 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 0B 00 C0 08 00 D6 CE 97 03 EF C3 B5 1E 90 00 07 [20:19:41]RAPDU: D6 CE 97 03 EF C3 B5 1E 90 00 [20:19:41]wFMCommunicate OK [20:19:41]SAM_PROTO_SignData done [20:19:41]FM_MakeSignedData done [20:19:41]CreateOFDProtocolMessage [20:19:41]wFMCommunicate request_size=4 [20:19:41]MH_SAM_APDU [20:19:41]CAPDU: 80 11 00 00 [20:19:41]Write to MH i2c: E2 08 00 C1 08 80 11 00 00 00 00 00 00 43 [20:19:41]Write i2c OK [20:19:41]MH_I2C_Read... [20:19:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:19:41]Read from MH i2c: E2 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 17 00 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: E2 17 00 C1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9A [20:19:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:19:41]wFMCommunicate OK [20:19:41]CreateOFDProtocolMessage done [20:19:41]OFDSenderStorePacket 25025 [20:19:41]StoreOFDPacket docnum=25025 [20:19:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2C 01 00 00 B8 59 24 01 95 1A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DD 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C1 61 00 00 35 04 06 00 DC 94 AA 5E B8 E8 D6 CE 97 03 EF C3 B5 1E [20:19:41]CheckFolder [20:19:41]dirname=/storage/ofd_packets [20:19:41]CheckFolder done [20:19:41]ProducePacketName [20:19:41]name=ofd_packets/00025025 [20:19:41]NVStorageSaveData ofd_packets/00025025 [20:19:41]File name is /storage/ofd_packets/00025025 [20:19:41]Write 330 bytes [20:19:41]NVStorageSaveData done [20:19:41]OFDSenderStorePacket done [20:19:41]KKMCreateOFDPacket done [20:19:41]NVStorageSaveData kkm_last_timestamp [20:19:41]File name is /storage/kkm_last_timestamp [20:19:41]Write 4 bytes [20:19:41]NVStorageSaveData done [20:19:41]ExternCall_PrintAddStr [20:19:41]wPrintStart [20:19:41]Write to MH i2c: 01 00 00 C2 08 CA [20:19:41]Write i2c OK [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: 01 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: 01 07 00 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: 01 07 00 C2 08 00 00 00 00 00 FF 0F DF [20:19:41]RasterBufferAndPrint [20:19:41]line Счет N : (3)34783 [20:19:41]line ИНН: 02508201610067 [20:19:41]line Контрольно-Кассовый Чек [20:19:41]line ПРОДАЖА [20:19:41]line Товар: 48743396 [20:19:41]line Сигареты BOND STREET compact silver [20:19:41]line 2.000 * 134.00 [20:19:41]line = 268.00 [20:19:41]line НДС 12% НСП 1% [20:19:41]line > о реализуемом товаре [20:19:41]line ИТОГО: 268.00 [20:19:41]line НСП 1% : 2.37 [20:19:41]line НДС 12% : 28.46 [20:19:41]line Наличными: 268.00 [20:19:41]line Безнал.: 0.00 [20:19:41]line Место: АЗС № 161 "Партнер Нефть" [20:19:41]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:19:41]line СНО: Общий режим [20:19:41]line Чек 46 22.10.2024 20:19 [20:19:41]line Смена: 457 ФФД: 1.0 [20:19:41]line ЗНМ: 0300000240 [20:19:41]line РНМ: 0000000000098147 [20:19:41]line Версия ККМ: 001 [20:19:41]line ФМ: 0000000000965376 [20:19:41]line ФД: 25025 [20:19:41]line ФПД: 242531071604968 [20:19:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T201941&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25025&fm=242531071604968&tin=02508201610067®Number=0000000000098147&sum=26800 [20:19:41]line 0 [20:19:41]OFD Sender: Processing packet 25025 [packets to send 5, broken 4] [20:19:41]ProducePacketName [20:19:41]name=ofd_packets/00025025 [20:19:41]OFD Sender: To server: pG, [20:19:41]CommunicateWithHost lk.salyk.kg:30040 [20:19:41]ConnectInit lk.salyk.kg [20:19:41]written 0, free lines is 4095 [20:19:41]Connected sock=10 [20:19:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2C 01 00 00 B8 59 24 01 95 1A 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 33 33 39 36 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 73 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 B0 68 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 68 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 ED 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1E 0B 00 00 00 00 07 04 06 00 B0 68 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 DD 08 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C1 61 00 00 35 04 06 00 DC 94 AA 5E B8 E8 D6 CE 97 03 EF C3 B5 1E [20:19:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 08 FF 47 00 5B B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C1 61 00 00 F4 03 04 00 57 B1 17 67 B6 04 01 00 00 32 01 E3 95 C6 1A 4F EA [20:19:41]CommunicateWithHost err = 0 [20:19:41]CheckOFDResponse [20:19:41]1017 (14) - 77093643461234 [20:19:41]1041 (16) - 0000000000965376 [20:19:41]1040 (4) - 25025 [20:19:41]1012 (4) - 22.10.2024 14:06 [20:19:41]1206 (1) - 0 [20:19:41]OFD Sender: Remove packet 25025 [20:19:41]ProducePacketName [20:19:41]name=ofd_packets/00025025 [20:19:41]NVStorageDeleteData [20:19:41]Write to MH i2c: 01 00 00 EB 08 F3 [20:19:41]Write i2c OK [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: 01 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: 01 07 00 [20:19:41]MH_I2C_Read... [20:19:41]Read from MH i2c: 01 07 00 EB 08 00 00 00 00 00 C3 0C C9 [20:19:41]RasterBufferAndPrint [20:19:41]line [20:19:41]line [20:19:41]line [20:19:41]line [20:19:41]line [20:19:41]written 0, free lines is 3273 [20:19:41]process_action close_receipt done [20:19:41]requested_data is exist [20:19:41]produce_requested_data [20:19:41]requested_item fm.sn is exist - process it [20:19:41]wFMCommunicate request_size=4 [20:19:41]MH_SAM_APDU [20:19:41]CAPDU: 80 11 00 00 [20:19:41]Write to MH i2c: E2 08 00 F2 08 80 11 00 00 00 00 00 00 74 [20:19:41]Write i2c OK [20:19:41]MH_I2C_Read... [20:19:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:19:42]Read from MH i2c: E2 [20:19:42]MH_I2C_Read... [20:19:42]Read from MH i2c: E2 17 00 [20:19:42]MH_I2C_Read... [20:19:42]Read from MH i2c: E2 17 00 F2 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CB [20:19:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:19:42]wFMCommunicate OK [20:19:42]requested_item fd.num is exist - process it [20:19:42]SAM_PROTO_GetFieldsCounters [20:19:42]wFMCommunicate request_size=4 [20:19:42]MH_SAM_APDU [20:19:42]CAPDU: 80 13 00 00 [20:19:42]Write to MH i2c: E2 08 00 F3 08 80 13 00 00 00 00 00 00 77 [20:19:42]Write i2c OK [20:19:42]MH_I2C_Read... [20:19:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:19:42]Read from MH i2c: E2 [20:19:42]MH_I2C_Read... [20:19:42]Read from MH i2c: E2 62 00 [20:19:42]MH_I2C_Read... [20:19:42]Read from MH i2c: E2 62 00 F3 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C1 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 16 [20:19:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C1 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:19:42]wFMCommunicate OK [20:19:42]SAM_PROTO_GetFieldsCounters done [20:19:42]requested_item shift.num is exist - process it [20:19:42]requested_item shift.opened is exist - process it [20:19:42]req_shift_opened [20:19:42]FM_GetShiftState [20:19:42]SAM_PROTO_GetShiftState [20:19:42]wFMCommunicate request_size=4 [20:19:42]MH_SAM_APDU [20:19:42]CAPDU: 80 13 01 00 [20:19:42]Write to MH i2c: E2 08 00 F4 08 80 13 01 00 00 00 00 00 79 [20:19:42]Write i2c OK [20:19:42]MH_I2C_Read... [20:19:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:19:42]Read from MH i2c: E2 [20:19:42]MH_I2C_Read... [20:19:42]Read from MH i2c: E2 0E 00 [20:19:42]MH_I2C_Read... [20:19:42]Read from MH i2c: E2 0E 00 F4 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 CA [20:19:42]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:19:42]wFMCommunicate OK [20:19:42]SAM_PROTO_GetShiftState done [20:19:42]FM_GetShiftState done [20:19:42]req_shift_opened done [20:19:42]requested_item shift.open_date is exist - process it [20:19:42]req_shift_open_date [20:19:42]req_shift_open_date done [20:19:42]produce_requested_data done [20:19:42]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25025,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:19:42]process_action_free close_receipt [20:19:42]json_value_free [20:19:42]json_value_free done [20:19:42]process_json_proto returns [20:19:42]Send response to host [20:19:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25025,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:19:42]free response buf [20:19:42]execute_script done [20:19:42]execute_script returns [20:19:42]free content buf [20:19:42]Sock 9.Close socket [20:19:42]Sock 9.Thread stoped [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]accept exits with 8 [20:24:02]New connection [20:24:02]New thread 3067469156 created [20:24:02]Thread 3067612516 joined [20:24:02]Waiting for new connection... [20:24:02] Sock 8.Parse request [20:24:02]Sock 8.Check first char [20:24:02]Sock 8.First char is OK [20:24:02]request: POST /json_proto HTTP/1.0 [20:24:02]Method: POST [20:24:02]URL: /json_proto [20:24:02]Method is POST - this is cgi request [20:24:02]url: /json_proto [20:24:02]query_string will be loaded in cgi processing [20:24:02]execute_cgi json_proto POST (null) [20:24:02]execute_cgi path=json_proto method=POST [20:24:02]POST find Content-Length [20:24:02]Host: 172.17.53.196:8080 [20:24:02]Content-Length: 625 [20:24:02]Content-Type: application/json [20:24:02] [20:24:02]POST finish read [20:24:02]Found Content-Length = 625 [20:24:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34784", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:24:02]execute_script... [20:24:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34784", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 2.000, "sum" : 20.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:24:02]POST & json_proto [20:24:02]process_json_proto [20:24:02]json parsed OK: [20:24:02]protocol is kg_v1.0 [20:24:02]action value=close_receipt [20:24:02]process_action close_receipt [20:24:02]cmd_close_receipt [20:24:02]MH_GetDate [20:24:02]Write to MH i2c: F0 00 00 F5 08 EC [20:24:02]Write i2c OK [20:24:02]MH_I2C_Read... [20:24:02]Read from MH i2c: F0 [20:24:02]MH_I2C_Read... [20:24:02]Read from MH i2c: F0 09 00 [20:24:02]MH_I2C_Read... [20:24:02]Read from MH i2c: F0 09 00 F5 08 00 E4 09 18 67 4F CD 9A 65 7C [20:24:02]GetLastDocTimeStamp 1729628381 [20:24:02]current date 1729628644 [20:24:02]FM_GetShiftState [20:24:02]SAM_PROTO_GetShiftState [20:24:02]wFMCommunicate request_size=4 [20:24:02]MH_SAM_APDU [20:24:02]CAPDU: 80 13 01 00 [20:24:02]Write to MH i2c: E2 08 00 F6 08 80 13 01 00 00 00 00 00 7B [20:24:02]Write i2c OK [20:24:02]MH_I2C_Read... [20:24:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:24:02]Read from MH i2c: E2 [20:24:02]MH_I2C_Read... [20:24:02]Read from MH i2c: E2 0E 00 [20:24:02]MH_I2C_Read... [20:24:02]Read from MH i2c: E2 0E 00 F6 08 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 CC [20:24:02]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:24:02]wFMCommunicate OK [20:24:02]SAM_PROTO_GetShiftState done [20:24:02]FM_GetShiftState done [20:24:02]opened in 1729556951 [20:24:02]opened+sec_in_day 1729643351 [20:24:02]quantity*price = 2000 [20:24:02]sum+1 = 2001 [20:24:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 47 22.10.2024 20:24 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25026 ФПД: 2590742637213 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T202404&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25026&fm=2590742637213&tin=02508201610067®Number=0000000000098147&sum=2000 0 [20:24:03]StoreToDocumentArchive [20:24:03]shift 457 fd 25026 [20:24:03]save to /storage/0457/doc_00025026 [20:24:03]save last doc name /storage/0457/doc_00025026 to /storage/kkm_last_doc_name [20:24:03]save OK [20:24:03]Clear old archive folders... [20:24:03]ProcessDocumentItem done err = 0, tmpTLVsize=273 [20:24:03]tlvbuf is 00AB82B0 [20:24:03]SAM_PROTO_ClearQueue [20:24:03]wFMCommunicate request_size=4 [20:24:03]MH_SAM_APDU [20:24:03]CAPDU: 80 09 00 00 [20:24:03]Write to MH i2c: E2 08 00 03 09 80 09 00 00 00 00 00 00 7E [20:24:03]Write i2c OK [20:24:03]MH_I2C_Read... [20:24:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:24:03]Read from MH i2c: E2 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 03 09 00 90 00 80 [20:24:03]RAPDU: 90 00 [20:24:03]wFMCommunicate OK [20:24:03]SAM_PROTO_ClearQueue done [20:24:03]KKMCreateOFDPacket [20:24:03]OFDProtocolAddRootSTLVToBuf [20:24:03]FM_MakeSignedData [20:24:03]FM_MakeSignedData [20:24:03]SAM_PROTO_SignData [20:24:03]wFMCommunicate request_size=4 [20:24:03]MH_SAM_APDU [20:24:03]CAPDU: 80 0D 01 02 [20:24:03]Write to MH i2c: E2 08 00 04 09 80 0D 01 02 00 00 00 00 86 [20:24:03]Write i2c OK [20:24:03]MH_I2C_Read... [20:24:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:24:03]Read from MH i2c: E2 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 04 09 00 90 00 81 [20:24:03]RAPDU: 90 00 [20:24:03]wFMCommunicate OK [20:24:03]wFMCommunicate request_size=255 [20:24:03]MH_SAM_APDU [20:24:03]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 E4 09 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [20:24:03]Write to MH i2c: E2 02 01 05 09 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 E4 09 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 51 [20:24:03]Write i2c OK [20:24:03]MH_I2C_Read... [20:24:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:24:03]Read from MH i2c: E2 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 05 09 00 90 00 82 [20:24:03]RAPDU: 90 00 [20:24:03]wFMCommunicate OK [20:24:03]wFMCommunicate request_size=32 [20:24:03]MH_SAM_APDU [20:24:03]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 C2 61 00 00 35 04 06 00 02 5B 34 4B 6A 9D [20:24:03]Write to MH i2c: E2 23 00 06 09 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 C2 61 00 00 35 04 06 00 02 5B 34 4B 6A 9D 00 00 F0 [20:24:03]Write i2c OK [20:24:03]MH_I2C_Read... [20:24:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:24:03]Read from MH i2c: E2 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 [20:24:03]MH_I2C_Read... [20:24:03]Read from MH i2c: E2 03 00 06 09 00 90 00 83 [20:24:03]RAPDU: 90 00 [20:24:03]wFMCommunicate OK [20:24:03]wFMCommunicate request_size=4 [20:24:03]MH_SAM_APDU [20:24:03]CAPDU: 80 0D 03 02 [20:24:03]Write to MH i2c: E2 08 00 07 09 80 0D 03 02 00 00 00 00 8B [20:24:03]Write i2c OK [20:24:03]MH_I2C_Read... [20:24:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:24:04]Read from MH i2c: E2 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: E2 0B 00 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: E2 0B 00 07 09 00 B0 39 4D F4 51 B3 ED DD 90 00 84 [20:24:04]RAPDU: B0 39 4D F4 51 B3 ED DD 90 00 [20:24:04]wFMCommunicate OK [20:24:04]SAM_PROTO_SignData done [20:24:04]FM_MakeSignedData done [20:24:04]CreateOFDProtocolMessage [20:24:04]wFMCommunicate request_size=4 [20:24:04]MH_SAM_APDU [20:24:04]CAPDU: 80 11 00 00 [20:24:04]Write to MH i2c: E2 08 00 08 09 80 11 00 00 00 00 00 00 8B [20:24:04]Write i2c OK [20:24:04]MH_I2C_Read... [20:24:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:24:04]Read from MH i2c: E2 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: E2 17 00 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: E2 17 00 08 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E2 [20:24:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:24:04]wFMCommunicate OK [20:24:04]CreateOFDProtocolMessage done [20:24:04]OFDSenderStorePacket 25026 [20:24:04]StoreOFDPacket docnum=25026 [20:24:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 FF C0 1D 01 E7 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 E4 09 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C2 61 00 00 35 04 06 00 02 5B 34 4B 6A 9D B0 39 4D F4 51 B3 ED DD [20:24:04]CheckFolder [20:24:04]dirname=/storage/ofd_packets [20:24:04]CheckFolder done [20:24:04]ProducePacketName [20:24:04]name=ofd_packets/00025026 [20:24:04]NVStorageSaveData ofd_packets/00025026 [20:24:04]File name is /storage/ofd_packets/00025026 [20:24:04]Write 323 bytes [20:24:04]NVStorageSaveData done [20:24:04]OFDSenderStorePacket done [20:24:04]KKMCreateOFDPacket done [20:24:04]NVStorageSaveData kkm_last_timestamp [20:24:04]File name is /storage/kkm_last_timestamp [20:24:04]Write 4 bytes [20:24:04]NVStorageSaveData done [20:24:04]ExternCall_PrintAddStr [20:24:04]wPrintStart [20:24:04]Write to MH i2c: 01 00 00 09 09 12 [20:24:04]Write i2c OK [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: 01 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: 01 07 00 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: 01 07 00 09 09 00 00 00 00 00 FF 0F 27 [20:24:04]RasterBufferAndPrint [20:24:04]line Счет N : (3)34784 [20:24:04]line ИНН: 02508201610067 [20:24:04]line Контрольно-Кассовый Чек [20:24:04]line ПРОДАЖА [20:24:04]line Товар: 46226624 [20:24:04]line Mentos ПВ Клубника 6*100*2 [20:24:04]line 2.000 * 10.00 [20:24:04]line = 20.00 [20:24:04]line НДС 12% НСП 1% [20:24:04]line > о реализуемом товаре [20:24:04]line ИТОГО: 20.00 [20:24:04]line НСП 1% : 0.18 [20:24:04]line НДС 12% : 2.12 [20:24:04]line Наличными: 20.00 [20:24:04]line Безнал.: 0.00 [20:24:04]line Место: АЗС № 161 "Партнер Нефть" [20:24:04]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:24:04]line СНО: Общий режим [20:24:04]line Чек 47 22.10.2024 20:24 [20:24:04]line Смена: 457 ФФД: 1.0 [20:24:04]line ЗНМ: 0300000240 [20:24:04]line РНМ: 0000000000098147 [20:24:04]line Версия ККМ: 001 [20:24:04]line ФМ: 0000000000965376 [20:24:04]line ФД: 25026 [20:24:04]line ФПД: 2590742637213 [20:24:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T202404&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25026&fm=2590742637213&tin=02508201610067®Number=0000000000098147&sum=2000 [20:24:04]line 0 [20:24:04]OFD Sender: Processing packet 25026 [packets to send 5, broken 4] [20:24:04]ProducePacketName [20:24:04]name=ofd_packets/00025026 [20:24:04]OFD Sender: To server: pG, [20:24:04]CommunicateWithHost lk.salyk.kg:30040 [20:24:04]ConnectInit lk.salyk.kg [20:24:04]written 0, free lines is 4095 [20:24:04]Connected sock=10 [20:24:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 FF C0 1D 01 E7 44 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 D0 07 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 07 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 12 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D4 00 00 00 00 00 07 04 06 00 D0 07 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 E4 09 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C2 61 00 00 35 04 06 00 02 5B 34 4B 6A 9D B0 39 4D F4 51 B3 ED DD [20:24:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 BE B6 47 00 B5 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 39 36 35 33 37 36 10 04 04 00 C2 61 00 00 F4 03 04 00 5E B2 17 67 B6 04 01 00 00 AE 67 F5 21 FC 33 66 20 [20:24:04]CommunicateWithHost err = 0 [20:24:04]CheckOFDResponse [20:24:04]1017 (14) - 77093643461234 [20:24:04]1041 (16) - 0000000000965376 [20:24:04]1040 (4) - 25026 [20:24:04]1012 (4) - 22.10.2024 14:10 [20:24:04]1206 (1) - 0 [20:24:04]OFD Sender: Remove packet 25026 [20:24:04]ProducePacketName [20:24:04]name=ofd_packets/00025026 [20:24:04]NVStorageDeleteData [20:24:04]Write to MH i2c: 01 00 00 31 09 3A [20:24:04]Write i2c OK [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: 01 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: 01 07 00 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: 01 07 00 31 09 00 00 00 00 00 DC 0C 29 [20:24:04]RasterBufferAndPrint [20:24:04]line [20:24:04]line [20:24:04]line [20:24:04]line [20:24:04]line [20:24:04]written 0, free lines is 3298 [20:24:04]process_action close_receipt done [20:24:04]requested_data is exist [20:24:04]produce_requested_data [20:24:04]requested_item fm.sn is exist - process it [20:24:04]wFMCommunicate request_size=4 [20:24:04]MH_SAM_APDU [20:24:04]CAPDU: 80 11 00 00 [20:24:04]Write to MH i2c: E2 08 00 38 09 80 11 00 00 00 00 00 00 BB [20:24:04]Write i2c OK [20:24:04]MH_I2C_Read... [20:24:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:24:04]Read from MH i2c: E2 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: E2 17 00 [20:24:04]MH_I2C_Read... [20:24:04]Read from MH i2c: E2 17 00 38 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 12 [20:24:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:24:04]wFMCommunicate OK [20:24:04]requested_item fd.num is exist - process it [20:24:04]SAM_PROTO_GetFieldsCounters [20:24:04]wFMCommunicate request_size=4 [20:24:04]MH_SAM_APDU [20:24:04]CAPDU: 80 13 00 00 [20:24:04]Write to MH i2c: E2 08 00 39 09 80 13 00 00 00 00 00 00 BE [20:24:04]Write i2c OK [20:24:04]MH_I2C_Read... [20:24:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:24:05]Read from MH i2c: E2 [20:24:05]MH_I2C_Read... [20:24:05]Read from MH i2c: E2 62 00 [20:24:05]MH_I2C_Read... [20:24:05]Read from MH i2c: E2 62 00 39 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C2 61 00 00 0E 04 04 00 C9 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 61 [20:24:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C2 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:24:05]wFMCommunicate OK [20:24:05]SAM_PROTO_GetFieldsCounters done [20:24:05]requested_item shift.num is exist - process it [20:24:05]requested_item shift.opened is exist - process it [20:24:05]req_shift_opened [20:24:05]FM_GetShiftState [20:24:05]SAM_PROTO_GetShiftState [20:24:05]wFMCommunicate request_size=4 [20:24:05]MH_SAM_APDU [20:24:05]CAPDU: 80 13 01 00 [20:24:05]Write to MH i2c: E2 08 00 3A 09 80 13 01 00 00 00 00 00 C0 [20:24:05]Write i2c OK [20:24:05]MH_I2C_Read... [20:24:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:24:05]Read from MH i2c: E2 [20:24:05]MH_I2C_Read... [20:24:05]Read from MH i2c: E2 0E 00 [20:24:05]MH_I2C_Read... [20:24:05]Read from MH i2c: E2 0E 00 3A 09 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 11 [20:24:05]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:24:05]wFMCommunicate OK [20:24:05]SAM_PROTO_GetShiftState done [20:24:05]FM_GetShiftState done [20:24:05]req_shift_opened done [20:24:05]requested_item shift.open_date is exist - process it [20:24:05]req_shift_open_date [20:24:05]req_shift_open_date done [20:24:05]produce_requested_data done [20:24:05]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25026,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:24:05]process_action_free close_receipt [20:24:05]json_value_free [20:24:05]json_value_free done [20:24:05]process_json_proto returns [20:24:05]Send response to host [20:24:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25026,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:24:05]free response buf [20:24:05]execute_script done [20:24:05]execute_script returns [20:24:05]free content buf [20:24:05]Sock 8.Close socket [20:24:05]Sock 8.Thread stoped [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:15]OFD Sender: No OFD packet to send [20:25:20]OFD Sender: No OFD packet to send [20:25:25]OFD Sender: No OFD packet to send [20:25:30]OFD Sender: No OFD packet to send [20:25:35]OFD Sender: No OFD packet to send [20:25:40]OFD Sender: No OFD packet to send [20:25:45]OFD Sender: No OFD packet to send [20:25:50]OFD Sender: No OFD packet to send [20:25:55]OFD Sender: No OFD packet to send [20:26:00]OFD Sender: No OFD packet to send [20:26:05]OFD Sender: No OFD packet to send [20:26:10]OFD Sender: No OFD packet to send [20:26:15]OFD Sender: No OFD packet to send [20:26:20]OFD Sender: No OFD packet to send [20:26:25]OFD Sender: No OFD packet to send [20:26:30]OFD Sender: No OFD packet to send [20:26:35]OFD Sender: No OFD packet to send [20:26:40]OFD Sender: No OFD packet to send [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:30]OFD Sender: No OFD packet to send [20:35:35]OFD Sender: No OFD packet to send [20:35:40]OFD Sender: No OFD packet to send [20:35:45]OFD Sender: No OFD packet to send [20:35:50]OFD Sender: No OFD packet to send [20:35:55]OFD Sender: No OFD packet to send [20:36:00]OFD Sender: No OFD packet to send [20:36:05]OFD Sender: No OFD packet to send [20:36:10]OFD Sender: No OFD packet to send [20:36:15]OFD Sender: No OFD packet to send [20:36:20]OFD Sender: No OFD packet to send [20:36:25]OFD Sender: No OFD packet to send [20:36:30]OFD Sender: No OFD packet to send [20:36:35]OFD Sender: No OFD packet to send [20:36:40]OFD Sender: No OFD packet to send [20:36:45]OFD Sender: No OFD packet to send [20:36:50]OFD Sender: No OFD packet to send [20:36:55]OFD Sender: No OFD packet to send [20:37:00]OFD Sender: No OFD packet to send [20:37:05]OFD Sender: No OFD packet to send [20:37:10]OFD Sender: No OFD packet to send [20:37:15]OFD Sender: No OFD packet to send [20:37:20]OFD Sender: No OFD packet to send [20:37:25]OFD Sender: No OFD packet to send [20:37:30]OFD Sender: No OFD packet to send [20:37:35]OFD Sender: No OFD packet to send [20:37:40]OFD Sender: No OFD packet to send [20:37:45]OFD Sender: No OFD packet to send [20:37:50]OFD Sender: No OFD packet to send [20:37:53]accept exits with 9 [20:37:53]New connection [20:37:53]New thread 3067612516 created [20:37:53]Thread 3067469156 joined [20:37:53]Waiting for new connection... [20:37:53] Sock 9.Parse request [20:37:53]Sock 9.Check first char [20:37:53]Sock 9.First char is OK [20:37:53]request: POST /json_proto HTTP/1.0 [20:37:53]Method: POST [20:37:53]URL: /json_proto [20:37:53]Method is POST - this is cgi request [20:37:53]url: /json_proto [20:37:53]query_string will be loaded in cgi processing [20:37:53]execute_cgi json_proto POST (null) [20:37:53]execute_cgi path=json_proto method=POST [20:37:53]POST find Content-Length [20:37:53]Host: 172.17.53.196:8080 [20:37:53]Content-Length: 621 [20:37:53]Content-Type: application/json [20:37:53] [20:37:53]POST finish read [20:37:53]Found Content-Length = 621 [20:37:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34785", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:53]execute_script... [20:37:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34785", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:37:53]POST & json_proto [20:37:53]process_json_proto [20:37:53]json parsed OK: [20:37:53]protocol is kg_v1.0 [20:37:53]action value=close_receipt [20:37:53]process_action close_receipt [20:37:53]cmd_close_receipt [20:37:53]MH_GetDate [20:37:53]Write to MH i2c: F0 00 00 3B 09 33 [20:37:53]Write i2c OK [20:37:53]MH_I2C_Read... [20:37:53]Read from MH i2c: F0 [20:37:53]MH_I2C_Read... [20:37:53]Read from MH i2c: F0 09 00 [20:37:53]MH_I2C_Read... [20:37:53]Read from MH i2c: F0 09 00 3B 09 00 23 0D 18 67 4F CD 9A 65 06 [20:37:53]GetLastDocTimeStamp 1729628644 [20:37:53]current date 1729629475 [20:37:53]FM_GetShiftState [20:37:53]SAM_PROTO_GetShiftState [20:37:53]wFMCommunicate request_size=4 [20:37:53]MH_SAM_APDU [20:37:53]CAPDU: 80 13 01 00 [20:37:53]Write to MH i2c: E2 08 00 3C 09 80 13 01 00 00 00 00 00 C2 [20:37:53]Write i2c OK [20:37:53]MH_I2C_Read... [20:37:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:53]Read from MH i2c: E2 [20:37:53]MH_I2C_Read... [20:37:53]Read from MH i2c: E2 0E 00 [20:37:53]MH_I2C_Read... [20:37:53]Read from MH i2c: E2 0E 00 3C 09 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 13 [20:37:53]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:37:53]wFMCommunicate OK [20:37:53]SAM_PROTO_GetShiftState done [20:37:53]FM_GetShiftState done [20:37:53]opened in 1729556951 [20:37:53]opened+sec_in_day 1729643351 [20:37:53]quantity*price = 15900 [20:37:53]sum+1 = 15901 [20:37:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 48 22.10.2024 20:37 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25027 ФПД: 113945214930384 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203755&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25027&fm=113945214930384&tin=02508201610067®Number=0000000000098147&sum=15900 0 [20:37:54]StoreToDocumentArchive [20:37:54]shift 457 fd 25027 [20:37:54]save to /storage/0457/doc_00025027 [20:37:54]save last doc name /storage/0457/doc_00025027 to /storage/kkm_last_doc_name [20:37:54]save OK [20:37:54]Clear old archive folders... [20:37:54]ProcessDocumentItem done err = 0, tmpTLVsize=274 [20:37:54]tlvbuf is 00ADA5C0 [20:37:54]SAM_PROTO_ClearQueue [20:37:54]wFMCommunicate request_size=4 [20:37:54]MH_SAM_APDU [20:37:54]CAPDU: 80 09 00 00 [20:37:54]Write to MH i2c: E2 08 00 49 09 80 09 00 00 00 00 00 00 C4 [20:37:54]Write i2c OK [20:37:54]MH_I2C_Read... [20:37:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:37:54]Read from MH i2c: E2 [20:37:54]MH_I2C_Read... [20:37:54]Read from MH i2c: E2 03 00 [20:37:54]MH_I2C_Read... [20:37:54]Read from MH i2c: E2 03 00 49 09 00 90 00 C6 [20:37:54]RAPDU: 90 00 [20:37:54]wFMCommunicate OK [20:37:54]SAM_PROTO_ClearQueue done [20:37:54]KKMCreateOFDPacket [20:37:54]OFDProtocolAddRootSTLVToBuf [20:37:54]FM_MakeSignedData [20:37:54]FM_MakeSignedData [20:37:54]SAM_PROTO_SignData [20:37:54]wFMCommunicate request_size=4 [20:37:54]MH_SAM_APDU [20:37:54]CAPDU: 80 0D 01 02 [20:37:54]Write to MH i2c: E2 08 00 4A 09 80 0D 01 02 00 00 00 00 CC [20:37:54]Write i2c OK [20:37:54]MH_I2C_Read... [20:37:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:37:54]Read from MH i2c: E2 [20:37:54]MH_I2C_Read... [20:37:54]Read from MH i2c: E2 03 00 [20:37:54]MH_I2C_Read... [20:37:54]Read from MH i2c: E2 03 00 4A 09 00 90 00 C7 [20:37:54]RAPDU: 90 00 [20:37:54]wFMCommunicate OK [20:37:54]wFMCommunicate request_size=255 [20:37:54]MH_SAM_APDU [20:37:54]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 23 0D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [20:37:54]Write to MH i2c: E2 02 01 4B 09 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 23 0D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 9D [20:37:54]Write i2c OK [20:37:54]MH_I2C_Read... [20:37:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:55]Read from MH i2c: E2 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 03 00 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 03 00 4B 09 00 90 00 C8 [20:37:55]RAPDU: 90 00 [20:37:55]wFMCommunicate OK [20:37:55]wFMCommunicate request_size=33 [20:37:55]MH_SAM_APDU [20:37:55]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C3 61 00 00 35 04 06 00 67 A1 F0 0F 4D D0 [20:37:55]Write to MH i2c: E2 24 00 4C 09 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C3 61 00 00 35 04 06 00 67 A1 F0 0F 4D D0 00 00 AA [20:37:55]Write i2c OK [20:37:55]MH_I2C_Read... [20:37:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:55]Read from MH i2c: E2 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 03 00 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 03 00 4C 09 00 90 00 C9 [20:37:55]RAPDU: 90 00 [20:37:55]wFMCommunicate OK [20:37:55]wFMCommunicate request_size=4 [20:37:55]MH_SAM_APDU [20:37:55]CAPDU: 80 0D 03 02 [20:37:55]Write to MH i2c: E2 08 00 4D 09 80 0D 03 02 00 00 00 00 D1 [20:37:55]Write i2c OK [20:37:55]MH_I2C_Read... [20:37:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:37:55]Read from MH i2c: E2 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 0B 00 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 0B 00 4D 09 00 78 0E E4 C6 26 37 E9 F8 90 00 40 [20:37:55]RAPDU: 78 0E E4 C6 26 37 E9 F8 90 00 [20:37:55]wFMCommunicate OK [20:37:55]SAM_PROTO_SignData done [20:37:55]FM_MakeSignedData done [20:37:55]CreateOFDProtocolMessage [20:37:55]wFMCommunicate request_size=4 [20:37:55]MH_SAM_APDU [20:37:55]CAPDU: 80 11 00 00 [20:37:55]Write to MH i2c: E2 08 00 4E 09 80 11 00 00 00 00 00 00 D1 [20:37:55]Write i2c OK [20:37:55]MH_I2C_Read... [20:37:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:55]Read from MH i2c: E2 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 17 00 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: E2 17 00 4E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 28 [20:37:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:37:55]wFMCommunicate OK [20:37:55]CreateOFDProtocolMessage done [20:37:55]OFDSenderStorePacket 25027 [20:37:55]StoreOFDPacket docnum=25027 [20:37:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 CD 29 1E 01 28 71 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 23 0D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C3 61 00 00 35 04 06 00 67 A1 F0 0F 4D D0 78 0E E4 C6 26 37 E9 F8 [20:37:55]CheckFolder [20:37:55]dirname=/storage/ofd_packets [20:37:55]CheckFolder done [20:37:55]ProducePacketName [20:37:55]name=ofd_packets/00025027 [20:37:55]NVStorageSaveData ofd_packets/00025027 [20:37:55]File name is /storage/ofd_packets/00025027 [20:37:55]Write 324 bytes [20:37:55]NVStorageSaveData done [20:37:55]OFDSenderStorePacket done [20:37:55]KKMCreateOFDPacket done [20:37:55]NVStorageSaveData kkm_last_timestamp [20:37:55]File name is /storage/kkm_last_timestamp [20:37:55]Write 4 bytes [20:37:55]NVStorageSaveData done [20:37:55]ExternCall_PrintAddStr [20:37:55]wPrintStart [20:37:55]Write to MH i2c: 01 00 00 4F 09 58 [20:37:55]Write i2c OK [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: 01 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: 01 07 00 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: 01 07 00 4F 09 00 00 00 00 00 FF 0F 6D [20:37:55]RasterBufferAndPrint [20:37:55]line Счет N : (3)34785 [20:37:55]line ИНН: 02508201610067 [20:37:55]line Контрольно-Кассовый Чек [20:37:55]line ПРОДАЖА [20:37:55]line Товар: 4640030091645 [20:37:55]line Сигареты ESSE Exchange M [20:37:55]line 1.000 * 159.00 [20:37:55]line = 159.00 [20:37:55]line НДС 12% НСП 1% [20:37:55]line > о реализуемом товаре [20:37:55]line ИТОГО: 159.00 [20:37:55]line НСП 1% : 1.41 [20:37:55]line НДС 12% : 16.88 [20:37:55]line Наличными: 159.00 [20:37:55]line Безнал.: 0.00 [20:37:55]line Место: АЗС № 161 "Партнер Нефть" [20:37:55]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:37:55]line СНО: Общий режим [20:37:55]line Чек 48 22.10.2024 20:37 [20:37:55]line Смена: 457 ФФД: 1.0 [20:37:55]line ЗНМ: 0300000240 [20:37:55]line РНМ: 0000000000098147 [20:37:55]line Версия ККМ: 001 [20:37:55]line ФМ: 0000000000965376 [20:37:55]line ФД: 25027 [20:37:55]line ФПД: 113945214930384 [20:37:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203755&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25027&fm=113945214930384&tin=02508201610067®Number=0000000000098147&sum=15900 [20:37:55]OFD Sender: Processing packet 25027 [packets to send 5, broken 4] [20:37:55]ProducePacketName [20:37:55]name=ofd_packets/00025027 [20:37:55]OFD Sender: To server: pG, [20:37:55]CommunicateWithHost lk.salyk.kg:30040 [20:37:55]ConnectInit lk.salyk.kg [20:37:55]line 0 [20:37:55]written 0, free lines is 4095 [20:37:55]Connected sock=10 [20:37:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 CD 29 1E 01 28 71 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 34 35 06 04 20 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 23 0D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C3 61 00 00 35 04 06 00 67 A1 F0 0F 4D D0 78 0E E4 C6 26 37 E9 F8 [20:37:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 11 B5 47 00 B2 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C3 61 00 00 F4 03 04 00 9D B5 17 67 B6 04 01 00 00 55 46 F9 94 47 21 E0 A2 [20:37:55]CommunicateWithHost err = 0 [20:37:55]CheckOFDResponse [20:37:55]1017 (14) - 77093643461234 [20:37:55]1041 (16) - 0000000000965376 [20:37:55]1040 (4) - 25027 [20:37:55]1012 (4) - 22.10.2024 14:24 [20:37:55]1206 (1) - 0 [20:37:55]OFD Sender: Remove packet 25027 [20:37:55]ProducePacketName [20:37:55]name=ofd_packets/00025027 [20:37:55]NVStorageDeleteData [20:37:55]Write to MH i2c: 01 00 00 77 09 80 [20:37:55]Write i2c OK [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: 01 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: 01 07 00 [20:37:55]MH_I2C_Read... [20:37:55]Read from MH i2c: 01 07 00 77 09 00 00 00 00 00 DF 0C 72 [20:37:55]RasterBufferAndPrint [20:37:55]line [20:37:55]line [20:37:55]line [20:37:55]line [20:37:55]line [20:37:55]written 0, free lines is 3304 [20:37:55]process_action close_receipt done [20:37:55]requested_data is exist [20:37:55]produce_requested_data [20:37:55]requested_item fm.sn is exist - process it [20:37:55]wFMCommunicate request_size=4 [20:37:55]MH_SAM_APDU [20:37:55]CAPDU: 80 11 00 00 [20:37:55]Write to MH i2c: E2 08 00 7E 09 80 11 00 00 00 00 00 00 01 [20:37:55]Write i2c OK [20:37:55]MH_I2C_Read... [20:37:56]Read from MH i2c: E2 [20:37:56]MH_I2C_Read... [20:37:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:56]Read from MH i2c: E2 17 00 [20:37:56]MH_I2C_Read... [20:37:56]Read from MH i2c: E2 17 00 7E 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 58 [20:37:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:37:56]wFMCommunicate OK [20:37:56]requested_item fd.num is exist - process it [20:37:56]SAM_PROTO_GetFieldsCounters [20:37:56]wFMCommunicate request_size=4 [20:37:56]MH_SAM_APDU [20:37:56]CAPDU: 80 13 00 00 [20:37:56]Write to MH i2c: E2 08 00 7F 09 80 13 00 00 00 00 00 00 04 [20:37:56]Write i2c OK [20:37:56]MH_I2C_Read... [20:37:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:37:56]Read from MH i2c: E2 [20:37:56]MH_I2C_Read... [20:37:56]Read from MH i2c: E2 62 00 [20:37:56]MH_I2C_Read... [20:37:56]Read from MH i2c: E2 62 00 7F 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C3 61 00 00 0E 04 04 00 C9 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 AB [20:37:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C3 61 00 00 0E 04 04 00 C9 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 [20:37:56]wFMCommunicate OK [20:37:56]SAM_PROTO_GetFieldsCounters done [20:37:56]requested_item shift.num is exist - process it [20:37:56]requested_item shift.opened is exist - process it [20:37:56]req_shift_opened [20:37:56]FM_GetShiftState [20:37:56]SAM_PROTO_GetShiftState [20:37:56]wFMCommunicate request_size=4 [20:37:56]MH_SAM_APDU [20:37:56]CAPDU: 80 13 01 00 [20:37:56]Write to MH i2c: E2 08 00 80 09 80 13 01 00 00 00 00 00 06 [20:37:56]Write i2c OK [20:37:56]MH_I2C_Read... [20:37:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:56]Read from MH i2c: E2 [20:37:56]MH_I2C_Read... [20:37:56]Read from MH i2c: E2 0E 00 [20:37:56]MH_I2C_Read... [20:37:56]Read from MH i2c: E2 0E 00 80 09 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 57 [20:37:56]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:37:56]wFMCommunicate OK [20:37:56]SAM_PROTO_GetShiftState done [20:37:56]FM_GetShiftState done [20:37:56]req_shift_opened done [20:37:56]requested_item shift.open_date is exist - process it [20:37:56]req_shift_open_date [20:37:56]req_shift_open_date done [20:37:56]produce_requested_data done [20:37:56]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25027,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:37:56]process_action_free close_receipt [20:37:56]json_value_free [20:37:56]json_value_free done [20:37:56]process_json_proto returns [20:37:56]Send response to host [20:37:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25027,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:37:56]free response buf [20:37:56]execute_script done [20:37:56]execute_script returns [20:37:56]free content buf [20:37:56]Sock 9.Close socket [20:37:56]Sock 9.Thread stoped [20:37:56]OFD Sender: No OFD packet to send [20:38:01]OFD Sender: No OFD packet to send [20:38:06]OFD Sender: No OFD packet to send [20:38:11]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:42]accept exits with 8 [20:42:42]New connection [20:42:42]New thread 3067469156 created [20:42:42]Thread 3067612516 joined [20:42:42]Waiting for new connection... [20:42:42] Sock 8.Parse request [20:42:42]Sock 8.Check first char [20:42:42]Sock 8.First char is OK [20:42:42]request: POST /json_proto HTTP/1.0 [20:42:42]Method: POST [20:42:42]URL: /json_proto [20:42:42]Method is POST - this is cgi request [20:42:42]url: /json_proto [20:42:42]query_string will be loaded in cgi processing [20:42:42]execute_cgi json_proto POST (null) [20:42:42]execute_cgi path=json_proto method=POST [20:42:42]POST find Content-Length [20:42:42]Host: 172.17.53.196:8080 [20:42:42]Content-Length: 717 [20:42:42]Content-Type: application/json [20:42:42] [20:42:42]POST finish read [20:42:42]Found Content-Length = 717 [20:42:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34786", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:42:42]execute_script... [20:42:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34786", "tax_sys" : 0, "items" : [ { "code": "4606532000189", "name": "\u0422\u043E\u0440\u043C\u043E\u0437\u043D\u0430\u044F \u0436\u0438\u0434\u043A\u043E\u0441\u0442\u044C \u0420\u043E\u0441\u0414\u043E\u0442-4 0,455\u043A\u0433", "price" : 250.00, "quantity" : 1.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:42:42]POST & json_proto [20:42:42]process_json_proto [20:42:42]json parsed OK: [20:42:42]protocol is kg_v1.0 [20:42:42]action value=close_receipt [20:42:42]process_action close_receipt [20:42:42]cmd_close_receipt [20:42:42]MH_GetDate [20:42:42]Write to MH i2c: F0 00 00 81 09 79 [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: F0 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: F0 09 00 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: F0 09 00 81 09 00 44 0E 18 67 4F CD 9A 65 6E [20:42:42]GetLastDocTimeStamp 1729629475 [20:42:42]current date 1729629764 [20:42:42]FM_GetShiftState [20:42:42]SAM_PROTO_GetShiftState [20:42:42]wFMCommunicate request_size=4 [20:42:42]MH_SAM_APDU [20:42:42]CAPDU: 80 13 01 00 [20:42:42]Write to MH i2c: E2 08 00 82 09 80 13 01 00 00 00 00 00 08 [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:42]Read from MH i2c: E2 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 0E 00 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 0E 00 82 09 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 59 [20:42:42]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:42:42]wFMCommunicate OK [20:42:42]SAM_PROTO_GetShiftState done [20:42:42]FM_GetShiftState done [20:42:42]opened in 1729556951 [20:42:42]opened+sec_in_day 1729643351 [20:42:42]quantity*price = 25000 [20:42:42]sum+1 = 25001 [20:42:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.55 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 49 22.10.2024 20:42 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25028 ФПД: 134143158185595 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T204244&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25028&fm=134143158185595&tin=02508201610067®Number=0000000000098147&sum=25000 0 [20:42:43]StoreToDocumentArchive [20:42:43]shift 457 fd 25028 [20:42:43]save to /storage/0457/doc_00025028 [20:42:43]save last doc name /storage/0457/doc_00025028 to /storage/kkm_last_doc_name [20:42:43]save OK [20:42:43]Clear old archive folders... [20:42:43]ProcessDocumentItem done err = 0, tmpTLVsize=302 [20:42:43]tlvbuf is 00AC05E0 [20:42:43]SAM_PROTO_ClearQueue [20:42:43]wFMCommunicate request_size=4 [20:42:43]MH_SAM_APDU [20:42:43]CAPDU: 80 09 00 00 [20:42:43]Write to MH i2c: E2 08 00 8F 09 80 09 00 00 00 00 00 00 0A [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:42:43]Read from MH i2c: E2 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 03 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 03 00 8F 09 00 90 00 0C [20:42:43]RAPDU: 90 00 [20:42:43]wFMCommunicate OK [20:42:43]SAM_PROTO_ClearQueue done [20:42:43]KKMCreateOFDPacket [20:42:43]OFDProtocolAddRootSTLVToBuf [20:42:43]FM_MakeSignedData [20:42:43]FM_MakeSignedData [20:42:43]SAM_PROTO_SignData [20:42:43]wFMCommunicate request_size=4 [20:42:43]MH_SAM_APDU [20:42:43]CAPDU: 80 0D 01 02 [20:42:43]Write to MH i2c: E2 08 00 90 09 80 0D 01 02 00 00 00 00 12 [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:42:43]Read from MH i2c: E2 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 03 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 03 00 90 09 00 90 00 0D [20:42:43]RAPDU: 90 00 [20:42:43]wFMCommunicate OK [20:42:43]wFMCommunicate request_size=255 [20:42:43]MH_SAM_APDU [20:42:43]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 44 0E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 [20:42:43]Write to MH i2c: E2 02 01 91 09 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 44 0E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 00 00 A8 [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:43]Read from MH i2c: E2 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 03 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 03 00 91 09 00 90 00 0E [20:42:43]RAPDU: 90 00 [20:42:43]wFMCommunicate OK [20:42:43]wFMCommunicate request_size=61 [20:42:43]MH_SAM_APDU [20:42:43]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C4 61 00 00 35 04 06 00 7A 00 A3 4A EE 7B [20:42:43]Write to MH i2c: E2 40 00 92 09 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C4 61 00 00 35 04 06 00 7A 00 A3 4A EE 7B 00 00 47 [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:44]Read from MH i2c: E2 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 03 00 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 03 00 92 09 00 90 00 0F [20:42:44]RAPDU: 90 00 [20:42:44]wFMCommunicate OK [20:42:44]wFMCommunicate request_size=4 [20:42:44]MH_SAM_APDU [20:42:44]CAPDU: 80 0D 03 02 [20:42:44]Write to MH i2c: E2 08 00 93 09 80 0D 03 02 00 00 00 00 17 [20:42:44]Write i2c OK [20:42:44]MH_I2C_Read... [20:42:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:42:44]Read from MH i2c: E2 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 0B 00 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 0B 00 93 09 00 C2 E5 5D 24 E4 D6 9D 8D 90 00 24 [20:42:44]RAPDU: C2 E5 5D 24 E4 D6 9D 8D 90 00 [20:42:44]wFMCommunicate OK [20:42:44]SAM_PROTO_SignData done [20:42:44]FM_MakeSignedData done [20:42:44]CreateOFDProtocolMessage [20:42:44]wFMCommunicate request_size=4 [20:42:44]MH_SAM_APDU [20:42:44]CAPDU: 80 11 00 00 [20:42:44]Write to MH i2c: E2 08 00 94 09 80 11 00 00 00 00 00 00 17 [20:42:44]Write i2c OK [20:42:44]MH_I2C_Read... [20:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:44]Read from MH i2c: E2 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 17 00 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 17 00 94 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6E [20:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:42:44]wFMCommunicate OK [20:42:44]CreateOFDProtocolMessage done [20:42:44]OFDSenderStorePacket 25028 [20:42:44]StoreOFDPacket docnum=25028 [20:42:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 42 01 00 00 27 83 3A 01 C0 61 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 44 0E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C4 61 00 00 35 04 06 00 7A 00 A3 4A EE 7B C2 E5 5D 24 E4 D6 9D 8D [20:42:44]CheckFolder [20:42:44]dirname=/storage/ofd_packets [20:42:44]CheckFolder done [20:42:44]ProducePacketName [20:42:44]name=ofd_packets/00025028 [20:42:44]NVStorageSaveData ofd_packets/00025028 [20:42:44]File name is /storage/ofd_packets/00025028 [20:42:44]Write 352 bytes [20:42:44]NVStorageSaveData done [20:42:44]OFDSenderStorePacket done [20:42:44]KKMCreateOFDPacket done [20:42:44]NVStorageSaveData kkm_last_timestamp [20:42:44]File name is /storage/kkm_last_timestamp [20:42:44]Write 4 bytes [20:42:44]NVStorageSaveData done [20:42:44]ExternCall_PrintAddStr [20:42:44]wPrintStart [20:42:44]Write to MH i2c: 01 00 00 95 09 9E [20:42:44]Write i2c OK [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: 01 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: 01 07 00 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: 01 07 00 95 09 00 00 00 00 00 FF 0F B3 [20:42:44]RasterBufferAndPrint [20:42:44]line Счет N : (3)34786 [20:42:44]line ИНН: 02508201610067 [20:42:44]line Контрольно-Кассовый Чек [20:42:44]line ПРОДАЖА [20:42:44]line Товар: 4606532000189 [20:42:44]line Тормозная жидкость РосДот-4 0,455кг [20:42:44]line 1.000 * 250.00 [20:42:44]line = 250.00 [20:42:44]line НДС 12% НСП 1% [20:42:44]line > о реализуемом товаре [20:42:44]line ИТОГО: 250.00 [20:42:44]line НСП 1% : 2.21 [20:42:44]line НДС 12% : 26.55 [20:42:44]line Наличными: 250.00 [20:42:44]line Безнал.: 0.00 [20:42:44]line Место: АЗС № 161 "Партнер Нефть" [20:42:44]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:42:44]line СНО: Общий режим [20:42:44]line Чек 49 22.10.2024 20:42 [20:42:44]line Смена: 457 ФФД: 1.0 [20:42:44]line ЗНМ: 0300000240 [20:42:44]line РНМ: 0000000000098147 [20:42:44]line Версия ККМ: 001 [20:42:44]line ФМ: 0000000000965376 [20:42:44]line ФД: 25028 [20:42:44]line ФПД: 134143158185595 [20:42:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T204244&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25028&fm=134143158185595&tin=02508201610067®Number=0000000000098147&sum=25000 [20:42:44]line 0 [20:42:44]OFD Sender: Processing packet 25028 [packets to send 5, broken 4] [20:42:44]ProducePacketName [20:42:44]name=ofd_packets/00025028 [20:42:44]OFD Sender: To server: pG, [20:42:44]CommunicateWithHost lk.salyk.kg:30040 [20:42:44]ConnectInit lk.salyk.kg [20:42:44]written 0, free lines is 4095 [20:42:44]Connected sock=10 [20:42:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 42 01 00 00 27 83 3A 01 C0 61 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 36 30 36 35 33 32 30 30 30 31 38 39 06 04 3C 00 D0 A2 D0 BE D1 80 D0 BC D0 BE D0 B7 D0 BD D0 B0 D1 8F 20 D0 B6 D0 B8 D0 B4 D0 BA D0 BE D1 81 D1 82 D1 8C 20 D0 A0 D0 BE D1 81 D0 94 D0 BE D1 82 2D 34 20 30 2C 34 35 35 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A8 61 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5F 0A 00 00 00 00 07 04 06 00 A8 61 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 44 0E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C4 61 00 00 35 04 06 00 7A 00 A3 4A EE 7B C2 E5 5D 24 E4 D6 9D 8D [20:42:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 20 8E 47 00 05 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 39 36 35 33 37 36 10 04 04 00 C4 61 00 00 F4 03 04 00 BE B6 17 67 B6 04 01 00 00 0F 8F F9 89 B0 F0 22 4C [20:42:44]CommunicateWithHost err = 0 [20:42:44]CheckOFDResponse [20:42:44]1017 (14) - 77093643461234 [20:42:44]1041 (16) - 0000000000965376 [20:42:44]1040 (4) - 25028 [20:42:44]1012 (4) - 22.10.2024 14:29 [20:42:44]1206 (1) - 0 [20:42:44]OFD Sender: Remove packet 25028 [20:42:44]ProducePacketName [20:42:44]name=ofd_packets/00025028 [20:42:44]NVStorageDeleteData [20:42:44]Write to MH i2c: 01 00 00 BE 09 C7 [20:42:44]Write i2c OK [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: 01 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: 01 07 00 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: 01 07 00 BE 09 00 00 00 00 00 D1 0C AB [20:42:44]RasterBufferAndPrint [20:42:44]line [20:42:44]line [20:42:44]line [20:42:44]line [20:42:44]line [20:42:44]written 0, free lines is 3288 [20:42:44]process_action close_receipt done [20:42:44]requested_data is exist [20:42:44]produce_requested_data [20:42:44]requested_item fm.sn is exist - process it [20:42:44]wFMCommunicate request_size=4 [20:42:44]MH_SAM_APDU [20:42:44]CAPDU: 80 11 00 00 [20:42:44]Write to MH i2c: E2 08 00 C5 09 80 11 00 00 00 00 00 00 48 [20:42:44]Write i2c OK [20:42:44]MH_I2C_Read... [20:42:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:44]Read from MH i2c: E2 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 17 00 [20:42:44]MH_I2C_Read... [20:42:44]Read from MH i2c: E2 17 00 C5 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9F [20:42:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:42:44]wFMCommunicate OK [20:42:44]requested_item fd.num is exist - process it [20:42:44]SAM_PROTO_GetFieldsCounters [20:42:44]wFMCommunicate request_size=4 [20:42:44]MH_SAM_APDU [20:42:44]CAPDU: 80 13 00 00 [20:42:44]Write to MH i2c: E2 08 00 C6 09 80 13 00 00 00 00 00 00 4B [20:42:44]Write i2c OK [20:42:44]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 62 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 62 00 C6 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C4 61 00 00 0E 04 04 00 C9 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 F6 [20:42:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C4 61 00 00 0E 04 04 00 C9 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 [20:42:45]wFMCommunicate OK [20:42:45]SAM_PROTO_GetFieldsCounters done [20:42:45]requested_item shift.num is exist - process it [20:42:45]requested_item shift.opened is exist - process it [20:42:45]req_shift_opened [20:42:45]FM_GetShiftState [20:42:45]SAM_PROTO_GetShiftState [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 13 01 00 [20:42:45]Write to MH i2c: E2 08 00 C7 09 80 13 01 00 00 00 00 00 4D [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 0E 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 0E 00 C7 09 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 9E [20:42:45]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:42:45]wFMCommunicate OK [20:42:45]SAM_PROTO_GetShiftState done [20:42:45]FM_GetShiftState done [20:42:45]req_shift_opened done [20:42:45]requested_item shift.open_date is exist - process it [20:42:45]req_shift_open_date [20:42:45]req_shift_open_date done [20:42:45]produce_requested_data done [20:42:45]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25028,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:42:45]process_action_free close_receipt [20:42:45]json_value_free [20:42:45]json_value_free done [20:42:45]process_json_proto returns [20:42:45]Send response to host [20:42:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25028,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:42:45]free response buf [20:42:45]execute_script done [20:42:45]execute_script returns [20:42:45]free content buf [20:42:45]Sock 8.Close socket [20:42:45]Sock 8.Thread stoped [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:46:58]accept exits with 9 [20:46:58]New connection [20:46:58]New thread 3067612516 created [20:46:58]Thread 3067469156 joined [20:46:58]Waiting for new connection... [20:46:58] Sock 9.Parse request [20:46:58]Sock 9.Check first char [20:46:58]Sock 9.First char is OK [20:46:58]request: POST /json_proto HTTP/1.0 [20:46:58]Method: POST [20:46:58]URL: /json_proto [20:46:58]Method is POST - this is cgi request [20:46:58]url: /json_proto [20:46:58]query_string will be loaded in cgi processing [20:46:58]execute_cgi json_proto POST (null) [20:46:58]execute_cgi path=json_proto method=POST [20:46:58]POST find Content-Length [20:46:58]Host: 172.17.53.196:8080 [20:46:58]Content-Length: 631 [20:46:58]Content-Type: application/json [20:46:58] [20:46:58]POST finish read [20:46:58]Found Content-Length = 631 [20:46:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34787", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:46:58]execute_script... [20:46:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34787", "tax_sys" : 0, "items" : [ { "code": "4780022460452", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 Yumiko gold 1\u043A\u0433", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:46:58]POST & json_proto [20:46:58]process_json_proto [20:46:58]json parsed OK: [20:46:58]protocol is kg_v1.0 [20:46:58]action value=close_receipt [20:46:58]process_action close_receipt [20:46:58]cmd_close_receipt [20:46:58]MH_GetDate [20:46:58]Write to MH i2c: F0 00 00 C8 09 C0 [20:46:58]Write i2c OK [20:46:58]MH_I2C_Read... [20:46:58]Read from MH i2c: F0 [20:46:58]MH_I2C_Read... [20:46:58]Read from MH i2c: F0 09 00 [20:46:58]MH_I2C_Read... [20:46:58]Read from MH i2c: F0 09 00 C8 09 00 44 0F 18 67 4F CD 9A 65 B6 [20:46:58]GetLastDocTimeStamp 1729629764 [20:46:58]current date 1729630020 [20:46:58]FM_GetShiftState [20:46:58]SAM_PROTO_GetShiftState [20:46:58]wFMCommunicate request_size=4 [20:46:58]MH_SAM_APDU [20:46:58]CAPDU: 80 13 01 00 [20:46:58]Write to MH i2c: E2 08 00 C9 09 80 13 01 00 00 00 00 00 4F [20:46:58]Write i2c OK [20:46:58]MH_I2C_Read... [20:46:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:46:58]Read from MH i2c: E2 [20:46:58]MH_I2C_Read... [20:46:58]Read from MH i2c: E2 0E 00 [20:46:58]MH_I2C_Read... [20:46:58]Read from MH i2c: E2 0E 00 C9 09 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 A0 [20:46:58]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:46:58]wFMCommunicate OK [20:46:58]SAM_PROTO_GetShiftState done [20:46:58]FM_GetShiftState done [20:46:58]opened in 1729556951 [20:46:58]opened+sec_in_day 1729643351 [20:46:58]quantity*price = 21000 [20:46:58]sum+1 = 21001 [20:46:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 50 22.10.2024 20:47 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25029 ФПД: 275182763323104 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T204700&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25029&fm=275182763323104&tin=02508201610067®Number=0000000000098147&sum=21000 0 [20:46:59]StoreToDocumentArchive [20:46:59]shift 457 fd 25029 [20:46:59]save to /storage/0457/doc_00025029 [20:46:59]save last doc name /storage/0457/doc_00025029 to /storage/kkm_last_doc_name [20:46:59]save OK [20:46:59]Clear old archive folders... [20:46:59]ProcessDocumentItem done err = 0, tmpTLVsize=276 [20:46:59]tlvbuf is 00A95B20 [20:46:59]SAM_PROTO_ClearQueue [20:46:59]wFMCommunicate request_size=4 [20:46:59]MH_SAM_APDU [20:46:59]CAPDU: 80 09 00 00 [20:46:59]Write to MH i2c: E2 08 00 D6 09 80 09 00 00 00 00 00 00 51 [20:46:59]Write i2c OK [20:46:59]MH_I2C_Read... [20:46:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:46:59]Read from MH i2c: E2 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 D6 09 00 90 00 53 [20:46:59]RAPDU: 90 00 [20:46:59]wFMCommunicate OK [20:46:59]SAM_PROTO_ClearQueue done [20:46:59]KKMCreateOFDPacket [20:46:59]OFDProtocolAddRootSTLVToBuf [20:46:59]FM_MakeSignedData [20:46:59]FM_MakeSignedData [20:46:59]SAM_PROTO_SignData [20:46:59]wFMCommunicate request_size=4 [20:46:59]MH_SAM_APDU [20:46:59]CAPDU: 80 0D 01 02 [20:46:59]Write to MH i2c: E2 08 00 D7 09 80 0D 01 02 00 00 00 00 59 [20:46:59]Write i2c OK [20:46:59]MH_I2C_Read... [20:46:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:46:59]Read from MH i2c: E2 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 D7 09 00 90 00 54 [20:46:59]RAPDU: 90 00 [20:46:59]wFMCommunicate OK [20:46:59]wFMCommunicate request_size=255 [20:46:59]MH_SAM_APDU [20:46:59]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 44 0F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 [20:46:59]Write to MH i2c: E2 02 01 D8 09 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 44 0F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 00 00 02 [20:46:59]Write i2c OK [20:46:59]MH_I2C_Read... [20:46:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:46:59]Read from MH i2c: E2 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 D8 09 00 90 00 55 [20:46:59]RAPDU: 90 00 [20:46:59]wFMCommunicate OK [20:46:59]wFMCommunicate request_size=35 [20:46:59]MH_SAM_APDU [20:46:59]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C5 61 00 00 35 04 06 00 FA 46 FA DB 2E E0 [20:46:59]Write to MH i2c: E2 26 00 D9 09 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C5 61 00 00 35 04 06 00 FA 46 FA DB 2E E0 00 00 9C [20:46:59]Write i2c OK [20:46:59]MH_I2C_Read... [20:46:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:46:59]Read from MH i2c: E2 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 [20:46:59]MH_I2C_Read... [20:46:59]Read from MH i2c: E2 03 00 D9 09 00 90 00 56 [20:46:59]RAPDU: 90 00 [20:46:59]wFMCommunicate OK [20:46:59]wFMCommunicate request_size=4 [20:46:59]MH_SAM_APDU [20:46:59]CAPDU: 80 0D 03 02 [20:46:59]Write to MH i2c: E2 08 00 DA 09 80 0D 03 02 00 00 00 00 5E [20:46:59]Write i2c OK [20:46:59]MH_I2C_Read... [20:47:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:47:00]Read from MH i2c: E2 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: E2 0B 00 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: E2 0B 00 DA 09 00 DE EE D0 23 D1 E6 93 C6 90 00 2E [20:47:00]RAPDU: DE EE D0 23 D1 E6 93 C6 90 00 [20:47:00]wFMCommunicate OK [20:47:00]SAM_PROTO_SignData done [20:47:00]FM_MakeSignedData done [20:47:00]CreateOFDProtocolMessage [20:47:00]wFMCommunicate request_size=4 [20:47:00]MH_SAM_APDU [20:47:00]CAPDU: 80 11 00 00 [20:47:00]Write to MH i2c: E2 08 00 DB 09 80 11 00 00 00 00 00 00 5E [20:47:00]Write i2c OK [20:47:00]MH_I2C_Read... [20:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:47:00]Read from MH i2c: E2 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: E2 17 00 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: E2 17 00 DB 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B5 [20:47:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:47:00]wFMCommunicate OK [20:47:00]CreateOFDProtocolMessage done [20:47:00]OFDSenderStorePacket 25029 [20:47:00]StoreOFDPacket docnum=25029 [20:47:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 28 01 00 00 7B EC 20 01 ED 0C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 44 0F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C5 61 00 00 35 04 06 00 FA 46 FA DB 2E E0 DE EE D0 23 D1 E6 93 C6 [20:47:00]CheckFolder [20:47:00]dirname=/storage/ofd_packets [20:47:00]CheckFolder done [20:47:00]ProducePacketName [20:47:00]name=ofd_packets/00025029 [20:47:00]NVStorageSaveData ofd_packets/00025029 [20:47:00]File name is /storage/ofd_packets/00025029 [20:47:00]Write 326 bytes [20:47:00]NVStorageSaveData done [20:47:00]OFDSenderStorePacket done [20:47:00]KKMCreateOFDPacket done [20:47:00]NVStorageSaveData kkm_last_timestamp [20:47:00]File name is /storage/kkm_last_timestamp [20:47:00]Write 4 bytes [20:47:00]NVStorageSaveData done [20:47:00]ExternCall_PrintAddStr [20:47:00]wPrintStart [20:47:00]Write to MH i2c: 01 00 00 DC 09 E5 [20:47:00]Write i2c OK [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: 01 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: 01 07 00 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: 01 07 00 DC 09 00 00 00 00 00 FF 0F FA [20:47:00]RasterBufferAndPrint [20:47:00]line Счет N : (3)34787 [20:47:00]line ИНН: 02508201610067 [20:47:00]line Контрольно-Кассовый Чек [20:47:00]line ПРОДАЖА [20:47:00]line Товар: 4780022460452 [20:47:00]line Антифриз Yumiko gold 1кг [20:47:00]line 1.000 * 210.00 [20:47:00]line = 210.00 [20:47:00]line НДС 12% НСП 1% [20:47:00]line > о реализуемом товаре [20:47:00]line ИТОГО: 210.00 [20:47:00]line НСП 1% : 1.86 [20:47:00]line НДС 12% : 22.30 [20:47:00]line Наличными: 210.00 [20:47:00]line Безнал.: 0.00 [20:47:00]line Место: АЗС № 161 "Партнер Нефть" [20:47:00]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:47:00]line СНО: Общий режим [20:47:00]line Чек 50 22.10.2024 20:47 [20:47:00]line Смена: 457 ФФД: 1.0 [20:47:00]line ЗНМ: 0300000240 [20:47:00]line РНМ: 0000000000098147 [20:47:00]line Версия ККМ: 001 [20:47:00]line ФМ: 0000000000965376 [20:47:00]line ФД: 25029 [20:47:00]line ФПД: 275182763323104 [20:47:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T204700&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25029&fm=275182763323104&tin=02508201610067®Number=0000000000098147&sum=21000 [20:47:00]OFD Sender: Processing packet 25029 [packets to send 5, broken 4] [20:47:00]ProducePacketName [20:47:00]name=ofd_packets/00025029 [20:47:00]OFD Sender: To server: pG, [20:47:00]CommunicateWithHost lk.salyk.kg:30040 [20:47:00]ConnectInit lk.salyk.kg [20:47:00]line 0 [20:47:00]written 0, free lines is 4095 [20:47:00]Connected sock=10 [20:47:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 28 01 00 00 7B EC 20 01 ED 0C 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 38 30 30 32 32 34 36 30 34 35 32 06 04 22 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 59 75 6D 69 6B 6F 20 67 6F 6C 64 20 31 D0 BA D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 44 0F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C5 61 00 00 35 04 06 00 FA 46 FA DB 2E E0 DE EE D0 23 D1 E6 93 C6 [20:47:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 05 8F 47 00 55 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C5 61 00 00 F4 03 04 00 BE B7 17 67 B6 04 01 00 00 56 8B 1C 56 1C 79 2F 9B [20:47:00]CommunicateWithHost err = 0 [20:47:00]CheckOFDResponse [20:47:00]1017 (14) - 77093643461234 [20:47:00]1041 (16) - 0000000000965376 [20:47:00]1040 (4) - 25029 [20:47:00]1012 (4) - 22.10.2024 14:33 [20:47:00]1206 (1) - 0 [20:47:00]OFD Sender: Remove packet 25029 [20:47:00]ProducePacketName [20:47:00]name=ofd_packets/00025029 [20:47:00]NVStorageDeleteData [20:47:00]Write to MH i2c: 01 00 00 04 0A 0E [20:47:00]Write i2c OK [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: 01 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: 01 07 00 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: 01 07 00 04 0A 00 00 00 00 00 D1 0C F2 [20:47:00]RasterBufferAndPrint [20:47:00]line [20:47:00]line [20:47:00]line [20:47:00]line [20:47:00]line [20:47:00]written 0, free lines is 3288 [20:47:00]process_action close_receipt done [20:47:00]requested_data is exist [20:47:00]produce_requested_data [20:47:00]requested_item fm.sn is exist - process it [20:47:00]wFMCommunicate request_size=4 [20:47:00]MH_SAM_APDU [20:47:00]CAPDU: 80 11 00 00 [20:47:00]Write to MH i2c: E2 08 00 0B 0A 80 11 00 00 00 00 00 00 8F [20:47:00]Write i2c OK [20:47:00]MH_I2C_Read... [20:47:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:47:00]Read from MH i2c: E2 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: E2 17 00 [20:47:00]MH_I2C_Read... [20:47:00]Read from MH i2c: E2 17 00 0B 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E6 [20:47:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:47:00]wFMCommunicate OK [20:47:00]requested_item fd.num is exist - process it [20:47:00]SAM_PROTO_GetFieldsCounters [20:47:00]wFMCommunicate request_size=4 [20:47:00]MH_SAM_APDU [20:47:00]CAPDU: 80 13 00 00 [20:47:00]Write to MH i2c: E2 08 00 0C 0A 80 13 00 00 00 00 00 00 92 [20:47:00]Write i2c OK [20:47:00]MH_I2C_Read... [20:47:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:47:01]Read from MH i2c: E2 [20:47:01]MH_I2C_Read... [20:47:01]Read from MH i2c: E2 62 00 [20:47:01]MH_I2C_Read... [20:47:01]Read from MH i2c: E2 62 00 0C 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C5 61 00 00 0E 04 04 00 C9 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 41 [20:47:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C5 61 00 00 0E 04 04 00 C9 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 [20:47:01]wFMCommunicate OK [20:47:01]SAM_PROTO_GetFieldsCounters done [20:47:01]requested_item shift.num is exist - process it [20:47:01]requested_item shift.opened is exist - process it [20:47:01]req_shift_opened [20:47:01]FM_GetShiftState [20:47:01]SAM_PROTO_GetShiftState [20:47:01]wFMCommunicate request_size=4 [20:47:01]MH_SAM_APDU [20:47:01]CAPDU: 80 13 01 00 [20:47:01]Write to MH i2c: E2 08 00 0D 0A 80 13 01 00 00 00 00 00 94 [20:47:01]Write i2c OK [20:47:01]MH_I2C_Read... [20:47:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:47:01]Read from MH i2c: E2 [20:47:01]MH_I2C_Read... [20:47:01]Read from MH i2c: E2 0E 00 [20:47:01]MH_I2C_Read... [20:47:01]Read from MH i2c: E2 0E 00 0D 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E5 [20:47:01]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:47:01]wFMCommunicate OK [20:47:01]SAM_PROTO_GetShiftState done [20:47:01]FM_GetShiftState done [20:47:01]req_shift_opened done [20:47:01]requested_item shift.open_date is exist - process it [20:47:01]req_shift_open_date [20:47:01]req_shift_open_date done [20:47:01]produce_requested_data done [20:47:01]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25029,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:47:01]process_action_free close_receipt [20:47:01]json_value_free [20:47:01]json_value_free done [20:47:01]process_json_proto returns [20:47:01]Send response to host [20:47:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25029,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:47:01]free response buf [20:47:01]execute_script done [20:47:01]execute_script returns [20:47:01]free content buf [20:47:01]Sock 9.Close socket [20:47:01]Sock 9.Thread stoped [20:47:01]OFD Sender: No OFD packet to send [20:47:06]OFD Sender: No OFD packet to send [20:47:11]OFD Sender: No OFD packet to send [20:47:16]OFD Sender: No OFD packet to send [20:47:21]OFD Sender: No OFD packet to send [20:47:26]OFD Sender: No OFD packet to send [20:47:31]OFD Sender: No OFD packet to send [20:47:36]OFD Sender: No OFD packet to send [20:47:41]OFD Sender: No OFD packet to send [20:47:46]OFD Sender: No OFD packet to send [20:47:51]OFD Sender: No OFD packet to send [20:47:56]OFD Sender: No OFD packet to send [20:48:01]OFD Sender: No OFD packet to send [20:48:06]OFD Sender: No OFD packet to send [20:48:11]OFD Sender: No OFD packet to send [20:48:16]OFD Sender: No OFD packet to send [20:48:21]OFD Sender: No OFD packet to send [20:48:26]OFD Sender: No OFD packet to send [20:48:31]OFD Sender: No OFD packet to send [20:48:36]OFD Sender: No OFD packet to send [20:48:41]OFD Sender: No OFD packet to send [20:48:46]OFD Sender: No OFD packet to send [20:48:51]OFD Sender: No OFD packet to send [20:48:56]OFD Sender: No OFD packet to send [20:49:01]OFD Sender: No OFD packet to send [20:49:06]OFD Sender: No OFD packet to send [20:49:11]OFD Sender: No OFD packet to send [20:49:16]OFD Sender: No OFD packet to send [20:49:21]OFD Sender: No OFD packet to send [20:49:26]OFD Sender: No OFD packet to send [20:49:31]OFD Sender: No OFD packet to send [20:49:36]OFD Sender: No OFD packet to send [20:49:41]OFD Sender: No OFD packet to send [20:49:46]OFD Sender: No OFD packet to send [20:49:51]OFD Sender: No OFD packet to send [20:49:56]OFD Sender: No OFD packet to send [20:50:01]OFD Sender: No OFD packet to send [20:50:06]OFD Sender: No OFD packet to send [20:50:11]OFD Sender: No OFD packet to send [20:50:16]OFD Sender: No OFD packet to send [20:50:21]OFD Sender: No OFD packet to send [20:50:26]OFD Sender: No OFD packet to send [20:50:31]OFD Sender: No OFD packet to send [20:50:36]OFD Sender: No OFD packet to send [20:50:40]accept exits with 8 [20:50:40]New connection [20:50:40]New thread 3067469156 created [20:50:40]Thread 3067612516 joined [20:50:40]Waiting for new connection... [20:50:40] Sock 8.Parse request [20:50:40]Sock 8.Check first char [20:50:40]Sock 8.First char is OK [20:50:40]request: POST /json_proto HTTP/1.0 [20:50:40]Method: POST [20:50:40]URL: /json_proto [20:50:40]Method is POST - this is cgi request [20:50:40]url: /json_proto [20:50:40]query_string will be loaded in cgi processing [20:50:40]execute_cgi json_proto POST (null) [20:50:40]execute_cgi path=json_proto method=POST [20:50:40]POST find Content-Length [20:50:40]Host: 172.17.53.196:8080 [20:50:40]Content-Length: 590 [20:50:40]Content-Type: application/json [20:50:40] [20:50:40]POST finish read [20:50:40]Found Content-Length = 590 [20:50:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34788", "tax_sys" : 0, "items" : [ { "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:40]execute_script... [20:50:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34788", "tax_sys" : 0, "items" : [ { "code": "46141538", "name": "\u0420/\u0436 Orbit Bubblemint 13,6\u0433", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:50:40]POST & json_proto [20:50:40]process_json_proto [20:50:40]json parsed OK: [20:50:40]protocol is kg_v1.0 [20:50:40]action value=close_receipt [20:50:40]process_action close_receipt [20:50:40]cmd_close_receipt [20:50:40]MH_GetDate [20:50:40]Write to MH i2c: F0 00 00 0E 0A 07 [20:50:40]Write i2c OK [20:50:40]MH_I2C_Read... [20:50:40]Read from MH i2c: F0 [20:50:40]MH_I2C_Read... [20:50:40]Read from MH i2c: F0 09 00 [20:50:40]MH_I2C_Read... [20:50:40]Read from MH i2c: F0 09 00 0E 0A 00 22 10 18 67 4F CD 9A 65 DC [20:50:40]GetLastDocTimeStamp 1729630020 [20:50:40]current date 1729630242 [20:50:40]FM_GetShiftState [20:50:40]SAM_PROTO_GetShiftState [20:50:40]wFMCommunicate request_size=4 [20:50:40]MH_SAM_APDU [20:50:40]CAPDU: 80 13 01 00 [20:50:40]Write to MH i2c: E2 08 00 0F 0A 80 13 01 00 00 00 00 00 96 [20:50:40]Write i2c OK [20:50:40]MH_I2C_Read... [20:50:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:40]Read from MH i2c: E2 [20:50:40]MH_I2C_Read... [20:50:40]Read from MH i2c: E2 0E 00 [20:50:40]MH_I2C_Read... [20:50:40]Read from MH i2c: E2 0E 00 0F 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E7 [20:50:40]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:50:40]wFMCommunicate OK [20:50:40]SAM_PROTO_GetShiftState done [20:50:40]FM_GetShiftState done [20:50:40]opened in 1729556951 [20:50:40]opened+sec_in_day 1729643351 [20:50:40]quantity*price = 4500 [20:50:40]sum+1 = 4501 [20:50:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 45.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 51 22.10.2024 20:50 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25030 ФПД: 178664187935102 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T205042&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25030&fm=178664187935102&tin=02508201610067®Number=0000000000098147&sum=4500 0 [20:50:41]StoreToDocumentArchive [20:50:41]shift 457 fd 25030 [20:50:41]save to /storage/0457/doc_00025030 [20:50:41]save last doc name /storage/0457/doc_00025030 to /storage/kkm_last_doc_name [20:50:41]save OK [20:50:41]Clear old archive folders... [20:50:41]ProcessDocumentItem done err = 0, tmpTLVsize=266 [20:50:41]tlvbuf is 00AC0730 [20:50:41]SAM_PROTO_ClearQueue [20:50:41]wFMCommunicate request_size=4 [20:50:41]MH_SAM_APDU [20:50:41]CAPDU: 80 09 00 00 [20:50:41]Write to MH i2c: E2 08 00 1C 0A 80 09 00 00 00 00 00 00 98 [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:50:41]Read from MH i2c: E2 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 1C 0A 00 90 00 9A [20:50:41]RAPDU: 90 00 [20:50:41]wFMCommunicate OK [20:50:41]SAM_PROTO_ClearQueue done [20:50:41]KKMCreateOFDPacket [20:50:41]OFDProtocolAddRootSTLVToBuf [20:50:41]FM_MakeSignedData [20:50:41]FM_MakeSignedData [20:50:41]SAM_PROTO_SignData [20:50:41]wFMCommunicate request_size=4 [20:50:41]MH_SAM_APDU [20:50:41]CAPDU: 80 0D 01 02 [20:50:41]Write to MH i2c: E2 08 00 1D 0A 80 0D 01 02 00 00 00 00 A0 [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:50:41]Read from MH i2c: E2 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 1D 0A 00 90 00 9B [20:50:41]RAPDU: 90 00 [20:50:41]wFMCommunicate OK [20:50:41]wFMCommunicate request_size=255 [20:50:41]MH_SAM_APDU [20:50:41]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 10 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 [20:50:41]Write to MH i2c: E2 02 01 1E 0A 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 10 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 00 00 54 [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:41]Read from MH i2c: E2 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 1E 0A 00 90 00 9C [20:50:41]RAPDU: 90 00 [20:50:41]wFMCommunicate OK [20:50:41]wFMCommunicate request_size=25 [20:50:41]MH_SAM_APDU [20:50:41]CAPDU: 80 0D 02 02 14 37 36 10 04 04 00 C6 61 00 00 35 04 06 00 A2 7E 7F 74 B9 7E [20:50:41]Write to MH i2c: E2 1C 00 1F 0A 80 0D 02 02 14 00 37 36 10 04 04 00 C6 61 00 00 35 04 06 00 A2 7E 7F 74 B9 7E 00 00 00 [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:50:41]Read from MH i2c: E2 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 03 00 1F 0A 00 90 00 9D [20:50:41]RAPDU: 90 00 [20:50:41]wFMCommunicate OK [20:50:41]wFMCommunicate request_size=4 [20:50:41]MH_SAM_APDU [20:50:41]CAPDU: 80 0D 03 02 [20:50:41]Write to MH i2c: E2 08 00 20 0A 80 0D 03 02 00 00 00 00 A5 [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:50:41]Read from MH i2c: E2 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 0B 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 0B 00 20 0A 00 2B 71 FF C0 AF 10 6A 61 90 00 8B [20:50:41]RAPDU: 2B 71 FF C0 AF 10 6A 61 90 00 [20:50:41]wFMCommunicate OK [20:50:41]SAM_PROTO_SignData done [20:50:41]FM_MakeSignedData done [20:50:41]CreateOFDProtocolMessage [20:50:41]wFMCommunicate request_size=4 [20:50:41]MH_SAM_APDU [20:50:41]CAPDU: 80 11 00 00 [20:50:41]Write to MH i2c: E2 08 00 21 0A 80 11 00 00 00 00 00 00 A5 [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:41]Read from MH i2c: E2 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 17 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: E2 17 00 21 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 FC [20:50:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:50:41]wFMCommunicate OK [20:50:41]CreateOFDProtocolMessage done [20:50:41]OFDSenderStorePacket 25030 [20:50:41]StoreOFDPacket docnum=25030 [20:50:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1E 01 00 00 85 ED 16 01 C8 BF 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 10 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C6 61 00 00 35 04 06 00 A2 7E 7F 74 B9 7E 2B 71 FF C0 AF 10 6A 61 [20:50:41]CheckFolder [20:50:41]dirname=/storage/ofd_packets [20:50:41]CheckFolder done [20:50:41]ProducePacketName [20:50:41]name=ofd_packets/00025030 [20:50:41]NVStorageSaveData ofd_packets/00025030 [20:50:41]File name is /storage/ofd_packets/00025030 [20:50:41]Write 316 bytes [20:50:41]NVStorageSaveData done [20:50:41]OFDSenderStorePacket done [20:50:41]KKMCreateOFDPacket done [20:50:41]NVStorageSaveData kkm_last_timestamp [20:50:41]File name is /storage/kkm_last_timestamp [20:50:41]Write 4 bytes [20:50:41]NVStorageSaveData done [20:50:41]ExternCall_PrintAddStr [20:50:41]wPrintStart [20:50:41]Write to MH i2c: 01 00 00 22 0A 2C [20:50:41]Write i2c OK [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: 01 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: 01 07 00 [20:50:41]MH_I2C_Read... [20:50:41]Read from MH i2c: 01 07 00 22 0A 00 00 00 00 00 FF 0F 41 [20:50:41]RasterBufferAndPrint [20:50:41]line Счет N : (3)34788 [20:50:41]line ИНН: 02508201610067 [20:50:41]line Контрольно-Кассовый Чек [20:50:41]line ПРОДАЖА [20:50:41]line Товар: 46141538 [20:50:42]line Р/ж Orbit Bubblemint 13,6г [20:50:42]line 1.000 * 45.00 [20:50:42]line = 45.00 [20:50:42]line НДС 12% НСП 1% [20:50:42]line > о реализуемом товаре [20:50:42]line ИТОГО: 45.00 [20:50:42]line НСП 1% : 0.40 [20:50:42]line НДС 12% : 4.78 [20:50:42]line Наличными: 45.00 [20:50:42]line Безнал.: 0.00 [20:50:42]line Место: АЗС № 161 "Партнер Нефть" [20:50:42]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [20:50:42]line СНО: Общий режим [20:50:42]line Чек 51 22.10.2024 20:50 [20:50:42]line Смена: 457 ФФД: 1.0 [20:50:42]line ЗНМ: 0300000240 [20:50:42]line РНМ: 0000000000098147 [20:50:42]line Версия ККМ: 001 [20:50:42]line ФМ: 0000000000965376 [20:50:42]line ФД: 25030 [20:50:42]line ФПД: 178664187935102 [20:50:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T205042&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25030&fm=178664187935102&tin=02508201610067®Number=0000000000098147&sum=4500 [20:50:42]OFD Sender: Processing packet 25030 [packets to send 5, broken 4] [20:50:42]ProducePacketName [20:50:42]name=ofd_packets/00025030 [20:50:42]OFD Sender: To server: pG, [20:50:42]CommunicateWithHost lk.salyk.kg:30040 [20:50:42]ConnectInit lk.salyk.kg [20:50:42]line 0 [20:50:42]written 0, free lines is 4095 [20:50:42]Connected sock=10 [20:50:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 1E 01 00 00 85 ED 16 01 C8 BF 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 36 31 34 31 35 33 38 06 04 1D 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 42 75 62 62 6C 65 6D 69 6E 74 20 31 33 2C 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 94 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 22 10 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C6 61 00 00 35 04 06 00 A2 7E 7F 74 B9 7E 2B 71 FF C0 AF 10 6A 61 [20:50:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 9F E0 47 00 46 BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C6 61 00 00 F4 03 04 00 9C B8 17 67 B6 04 01 00 00 6E D4 00 2F F8 50 A3 3E [20:50:42]CommunicateWithHost err = 0 [20:50:42]CheckOFDResponse [20:50:42]1017 (14) - 77093643461234 [20:50:42]1041 (16) - 0000000000965376 [20:50:42]1040 (4) - 25030 [20:50:42]1012 (4) - 22.10.2024 14:37 [20:50:42]1206 (1) - 0 [20:50:42]OFD Sender: Remove packet 25030 [20:50:42]ProducePacketName [20:50:42]name=ofd_packets/00025030 [20:50:42]NVStorageDeleteData [20:50:42]Write to MH i2c: 01 00 00 4A 0A 54 [20:50:42]Write i2c OK [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: 01 [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: 01 07 00 [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: 01 07 00 4A 0A 00 00 00 00 00 DE 0C 45 [20:50:42]RasterBufferAndPrint [20:50:42]line [20:50:42]line [20:50:42]line [20:50:42]line [20:50:42]line [20:50:42]written 0, free lines is 3299 [20:50:42]process_action close_receipt done [20:50:42]requested_data is exist [20:50:42]produce_requested_data [20:50:42]requested_item fm.sn is exist - process it [20:50:42]wFMCommunicate request_size=4 [20:50:42]MH_SAM_APDU [20:50:42]CAPDU: 80 11 00 00 [20:50:42]Write to MH i2c: E2 08 00 51 0A 80 11 00 00 00 00 00 00 D5 [20:50:42]Write i2c OK [20:50:42]MH_I2C_Read... [20:50:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:50:42]Read from MH i2c: E2 [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: E2 17 00 [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: E2 17 00 51 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 2C [20:50:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [20:50:42]wFMCommunicate OK [20:50:42]requested_item fd.num is exist - process it [20:50:42]SAM_PROTO_GetFieldsCounters [20:50:42]wFMCommunicate request_size=4 [20:50:42]MH_SAM_APDU [20:50:42]CAPDU: 80 13 00 00 [20:50:42]Write to MH i2c: E2 08 00 52 0A 80 13 00 00 00 00 00 00 D8 [20:50:42]Write i2c OK [20:50:42]MH_I2C_Read... [20:50:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:50:42]Read from MH i2c: E2 [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: E2 62 00 [20:50:42]MH_I2C_Read... [20:50:42]Read from MH i2c: E2 62 00 52 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C6 61 00 00 0E 04 04 00 C9 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 8B [20:50:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C6 61 00 00 0E 04 04 00 C9 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 [20:50:42]wFMCommunicate OK [20:50:42]SAM_PROTO_GetFieldsCounters done [20:50:42]requested_item shift.num is exist - process it [20:50:42]requested_item shift.opened is exist - process it [20:50:42]req_shift_opened [20:50:42]FM_GetShiftState [20:50:42]SAM_PROTO_GetShiftState [20:50:42]wFMCommunicate request_size=4 [20:50:42]MH_SAM_APDU [20:50:42]CAPDU: 80 13 01 00 [20:50:42]Write to MH i2c: E2 08 00 53 0A 80 13 01 00 00 00 00 00 DA [20:50:42]Write i2c OK [20:50:42]MH_I2C_Read... [20:50:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:50:43]Read from MH i2c: E2 [20:50:43]MH_I2C_Read... [20:50:43]Read from MH i2c: E2 0E 00 [20:50:43]MH_I2C_Read... [20:50:43]Read from MH i2c: E2 0E 00 53 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 2B [20:50:43]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [20:50:43]wFMCommunicate OK [20:50:43]SAM_PROTO_GetShiftState done [20:50:43]FM_GetShiftState done [20:50:43]req_shift_opened done [20:50:43]requested_item shift.open_date is exist - process it [20:50:43]req_shift_open_date [20:50:43]req_shift_open_date done [20:50:43]produce_requested_data done [20:50:43]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25030,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [20:50:43]process_action_free close_receipt [20:50:43]json_value_free [20:50:43]json_value_free done [20:50:43]process_json_proto returns [20:50:43]Send response to host [20:50:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25030,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [20:50:43]free response buf [20:50:43]execute_script done [20:50:43]execute_script returns [20:50:43]free content buf [20:50:43]Sock 8.Close socket [20:50:43]Sock 8.Thread stoped [20:50:43]OFD Sender: No OFD packet to send [20:50:48]OFD Sender: No OFD packet to send [20:50:53]OFD Sender: No OFD packet to send [20:50:58]OFD Sender: No OFD packet to send [20:51:03]OFD Sender: No OFD packet to send [20:51:08]OFD Sender: No OFD packet to send [20:51:13]OFD Sender: No OFD packet to send [20:51:18]OFD Sender: No OFD packet to send [20:51:23]OFD Sender: No OFD packet to send [20:51:28]OFD Sender: No OFD packet to send [20:51:33]OFD Sender: No OFD packet to send [20:51:38]OFD Sender: No OFD packet to send [20:51:43]OFD Sender: No OFD packet to send [20:51:48]OFD Sender: No OFD packet to send [20:51:53]OFD Sender: No OFD packet to send [20:51:58]OFD Sender: No OFD packet to send [20:52:03]OFD Sender: No OFD packet to send [20:52:08]OFD Sender: No OFD packet to send [20:52:13]OFD Sender: No OFD packet to send [20:52:18]OFD Sender: No OFD packet to send [20:52:23]OFD Sender: No OFD packet to send [20:52:28]OFD Sender: No OFD packet to send [20:52:33]OFD Sender: No OFD packet to send [20:52:38]OFD Sender: No OFD packet to send [20:52:43]OFD Sender: No OFD packet to send [20:52:48]OFD Sender: No OFD packet to send [20:52:53]OFD Sender: No OFD packet to send [20:52:58]OFD Sender: No OFD packet to send [20:53:03]OFD Sender: No OFD packet to send [20:53:08]OFD Sender: No OFD packet to send [20:53:13]OFD Sender: No OFD packet to send [20:53:18]OFD Sender: No OFD packet to send [20:53:23]OFD Sender: No OFD packet to send [20:53:28]OFD Sender: No OFD packet to send [20:53:33]OFD Sender: No OFD packet to send [20:53:38]OFD Sender: No OFD packet to send [20:53:43]OFD Sender: No OFD packet to send [20:53:48]OFD Sender: No OFD packet to send [20:53:53]OFD Sender: No OFD packet to send [20:53:58]OFD Sender: No OFD packet to send [20:54:03]OFD Sender: No OFD packet to send [20:54:08]OFD Sender: No OFD packet to send [20:54:13]OFD Sender: No OFD packet to send [20:54:18]OFD Sender: No OFD packet to send [20:54:23]OFD Sender: No OFD packet to send [20:54:28]OFD Sender: No OFD packet to send [20:54:33]OFD Sender: No OFD packet to send [20:54:38]OFD Sender: No OFD packet to send [20:54:43]OFD Sender: No OFD packet to send [20:54:48]OFD Sender: No OFD packet to send [20:54:53]OFD Sender: No OFD packet to send [20:54:58]OFD Sender: No OFD packet to send [20:55:03]OFD Sender: No OFD packet to send [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:18]OFD Sender: No OFD packet to send [21:04:23]OFD Sender: No OFD packet to send [21:04:28]OFD Sender: No OFD packet to send [21:04:33]OFD Sender: No OFD packet to send [21:04:38]OFD Sender: No OFD packet to send [21:04:43]OFD Sender: No OFD packet to send [21:04:48]OFD Sender: No OFD packet to send [21:04:53]OFD Sender: No OFD packet to send [21:04:58]OFD Sender: No OFD packet to send [21:05:03]OFD Sender: No OFD packet to send [21:05:08]OFD Sender: No OFD packet to send [21:05:13]OFD Sender: No OFD packet to send [21:05:18]OFD Sender: No OFD packet to send [21:05:23]OFD Sender: No OFD packet to send [21:05:28]OFD Sender: No OFD packet to send [21:05:33]OFD Sender: No OFD packet to send [21:05:38]OFD Sender: No OFD packet to send [21:05:43]OFD Sender: No OFD packet to send [21:05:48]OFD Sender: No OFD packet to send [21:05:53]OFD Sender: No OFD packet to send [21:05:58]OFD Sender: No OFD packet to send [21:06:03]OFD Sender: No OFD packet to send [21:06:08]OFD Sender: No OFD packet to send [21:06:13]OFD Sender: No OFD packet to send [21:06:18]OFD Sender: No OFD packet to send [21:06:23]OFD Sender: No OFD packet to send [21:06:28]OFD Sender: No OFD packet to send [21:06:33]OFD Sender: No OFD packet to send [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:19]OFD Sender: No OFD packet to send [21:09:24]OFD Sender: No OFD packet to send [21:09:29]OFD Sender: No OFD packet to send [21:09:34]OFD Sender: No OFD packet to send [21:09:39]OFD Sender: No OFD packet to send [21:09:44]OFD Sender: No OFD packet to send [21:09:49]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:01]accept exits with 9 [21:12:01]New connection [21:12:01]New thread 3067612516 created [21:12:01]Thread 3067469156 joined [21:12:01]Waiting for new connection... [21:12:01] Sock 9.Parse request [21:12:01]Sock 9.Check first char [21:12:01]Sock 9.First char is OK [21:12:01]request: POST /json_proto HTTP/1.0 [21:12:01]Method: POST [21:12:01]URL: /json_proto [21:12:01]Method is POST - this is cgi request [21:12:01]url: /json_proto [21:12:01]query_string will be loaded in cgi processing [21:12:01]execute_cgi json_proto POST (null) [21:12:01]execute_cgi path=json_proto method=POST [21:12:01]POST find Content-Length [21:12:01]Host: 172.17.53.196:8080 [21:12:01]Content-Length: 671 [21:12:01]Content-Type: application/json [21:12:01] [21:12:01]POST finish read [21:12:01]Found Content-Length = 671 [21:12:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34789", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:12:01]execute_script... [21:12:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34789", "tax_sys" : 0, "items" : [ { "code": "4000512994909", "name": "\u0440\u0401\u044C\u0445\u044B\u0440\u0444 \u0401\u044E\u044B\u044B\u0448 \u0401\u0443\u0445\u0401 \u0448\u044D\u0448", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:12:01]POST & json_proto [21:12:01]process_json_proto [21:12:01]json parsed OK: [21:12:01]protocol is kg_v1.0 [21:12:01]action value=close_receipt [21:12:01]process_action close_receipt [21:12:01]cmd_close_receipt [21:12:01]MH_GetDate [21:12:01]Write to MH i2c: F0 00 00 54 0A 4D [21:12:01]Write i2c OK [21:12:01]MH_I2C_Read... [21:12:01]Read from MH i2c: F0 [21:12:01]MH_I2C_Read... [21:12:01]Read from MH i2c: F0 09 00 [21:12:01]MH_I2C_Read... [21:12:01]Read from MH i2c: F0 09 00 54 0A 00 23 15 18 67 4F CD 9A 65 28 [21:12:01]GetLastDocTimeStamp 1729630242 [21:12:01]current date 1729631523 [21:12:01]FM_GetShiftState [21:12:01]SAM_PROTO_GetShiftState [21:12:01]wFMCommunicate request_size=4 [21:12:01]MH_SAM_APDU [21:12:01]CAPDU: 80 13 01 00 [21:12:01]Write to MH i2c: E2 08 00 55 0A 80 13 01 00 00 00 00 00 DC [21:12:01]Write i2c OK [21:12:01]MH_I2C_Read... [21:12:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:12:01]Read from MH i2c: E2 [21:12:01]MH_I2C_Read... [21:12:01]Read from MH i2c: E2 0E 00 [21:12:01]MH_I2C_Read... [21:12:01]Read from MH i2c: E2 0E 00 55 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 2D [21:12:01]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:12:01]wFMCommunicate OK [21:12:01]SAM_PROTO_GetShiftState done [21:12:01]FM_GetShiftState done [21:12:01]opened in 1729556951 [21:12:01]opened+sec_in_day 1729643351 [21:12:01]quantity*price = 4400 [21:12:01]sum+1 = 4401 [21:12:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 52 22.10.2024 21:12 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25031 ФПД: 183900733888874 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211203&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25031&fm=183900733888874&tin=02508201610067®Number=0000000000098147&sum=4400 0 [21:12:02]StoreToDocumentArchive [21:12:02]shift 457 fd 25031 [21:12:02]save to /storage/0457/doc_00025031 [21:12:02]save last doc name /storage/0457/doc_00025031 to /storage/kkm_last_doc_name [21:12:02]save OK [21:12:02]Clear old archive folders... [21:12:02]ProcessDocumentItem done err = 0, tmpTLVsize=283 [21:12:02]tlvbuf is 00AC09F0 [21:12:02]SAM_PROTO_ClearQueue [21:12:02]wFMCommunicate request_size=4 [21:12:02]MH_SAM_APDU [21:12:02]CAPDU: 80 09 00 00 [21:12:02]Write to MH i2c: E2 08 00 62 0A 80 09 00 00 00 00 00 00 DE [21:12:02]Write i2c OK [21:12:02]MH_I2C_Read... [21:12:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:12:02]Read from MH i2c: E2 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 62 0A 00 90 00 E0 [21:12:02]RAPDU: 90 00 [21:12:02]wFMCommunicate OK [21:12:02]SAM_PROTO_ClearQueue done [21:12:02]KKMCreateOFDPacket [21:12:02]OFDProtocolAddRootSTLVToBuf [21:12:02]FM_MakeSignedData [21:12:02]FM_MakeSignedData [21:12:02]SAM_PROTO_SignData [21:12:02]wFMCommunicate request_size=4 [21:12:02]MH_SAM_APDU [21:12:02]CAPDU: 80 0D 01 02 [21:12:02]Write to MH i2c: E2 08 00 63 0A 80 0D 01 02 00 00 00 00 E6 [21:12:02]Write i2c OK [21:12:02]MH_I2C_Read... [21:12:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:12:02]Read from MH i2c: E2 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 63 0A 00 90 00 E1 [21:12:02]RAPDU: 90 00 [21:12:02]wFMCommunicate OK [21:12:02]wFMCommunicate request_size=255 [21:12:02]MH_SAM_APDU [21:12:02]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 23 15 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 [21:12:02]Write to MH i2c: E2 02 01 64 0A 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 23 15 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 00 00 73 [21:12:02]Write i2c OK [21:12:02]MH_I2C_Read... [21:12:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:12:02]Read from MH i2c: E2 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 64 0A 00 90 00 E2 [21:12:02]RAPDU: 90 00 [21:12:02]wFMCommunicate OK [21:12:02]wFMCommunicate request_size=42 [21:12:02]MH_SAM_APDU [21:12:02]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C7 61 00 00 35 04 06 00 A7 41 B9 EA D9 6A [21:12:02]Write to MH i2c: E2 2D 00 65 0A 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C7 61 00 00 35 04 06 00 A7 41 B9 EA D9 6A 00 00 B8 [21:12:02]Write i2c OK [21:12:02]MH_I2C_Read... [21:12:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:12:02]Read from MH i2c: E2 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 [21:12:02]MH_I2C_Read... [21:12:02]Read from MH i2c: E2 03 00 65 0A 00 90 00 E3 [21:12:02]RAPDU: 90 00 [21:12:02]wFMCommunicate OK [21:12:02]wFMCommunicate request_size=4 [21:12:02]MH_SAM_APDU [21:12:02]CAPDU: 80 0D 03 02 [21:12:02]Write to MH i2c: E2 08 00 66 0A 80 0D 03 02 00 00 00 00 EB [21:12:02]Write i2c OK [21:12:02]MH_I2C_Read... [21:12:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:12:03]Read from MH i2c: E2 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: E2 0B 00 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: E2 0B 00 66 0A 00 42 8D 74 E1 EA 2C 8A 92 90 00 42 [21:12:03]RAPDU: 42 8D 74 E1 EA 2C 8A 92 90 00 [21:12:03]wFMCommunicate OK [21:12:03]SAM_PROTO_SignData done [21:12:03]FM_MakeSignedData done [21:12:03]CreateOFDProtocolMessage [21:12:03]wFMCommunicate request_size=4 [21:12:03]MH_SAM_APDU [21:12:03]CAPDU: 80 11 00 00 [21:12:03]Write to MH i2c: E2 08 00 67 0A 80 11 00 00 00 00 00 00 EB [21:12:03]Write i2c OK [21:12:03]MH_I2C_Read... [21:12:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:12:03]Read from MH i2c: E2 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: E2 17 00 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: E2 17 00 67 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 42 [21:12:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:12:03]wFMCommunicate OK [21:12:03]CreateOFDProtocolMessage done [21:12:03]OFDSenderStorePacket 25031 [21:12:03]StoreOFDPacket docnum=25031 [21:12:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 66 39 27 01 DF 91 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 23 15 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C7 61 00 00 35 04 06 00 A7 41 B9 EA D9 6A 42 8D 74 E1 EA 2C 8A 92 [21:12:03]CheckFolder [21:12:03]dirname=/storage/ofd_packets [21:12:03]CheckFolder done [21:12:03]ProducePacketName [21:12:03]name=ofd_packets/00025031 [21:12:03]NVStorageSaveData ofd_packets/00025031 [21:12:03]File name is /storage/ofd_packets/00025031 [21:12:03]Write 333 bytes [21:12:03]NVStorageSaveData done [21:12:03]OFDSenderStorePacket done [21:12:03]KKMCreateOFDPacket done [21:12:03]NVStorageSaveData kkm_last_timestamp [21:12:03]File name is /storage/kkm_last_timestamp [21:12:03]Write 4 bytes [21:12:03]NVStorageSaveData done [21:12:03]ExternCall_PrintAddStr [21:12:03]wPrintStart [21:12:03]Write to MH i2c: 01 00 00 68 0A 72 [21:12:03]Write i2c OK [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: 01 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: 01 07 00 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: 01 07 00 68 0A 00 00 00 00 00 FF 0F 87 [21:12:03]RasterBufferAndPrint [21:12:03]line Счет N : (3)34789 [21:12:03]line ИНН: 02508201610067 [21:12:03]line Контрольно-Кассовый Чек [21:12:03]line ПРОДАЖА [21:12:03]line Товар: 4000512994909 [21:12:03]line рЁьхырф Ёюыыш ЁухЁ шэш [21:12:03]line 1.000 * 44.00 [21:12:03]line = 44.00 [21:12:03]line НДС 12% НСП 1% [21:12:03]line > о реализуемом товаре [21:12:03]line ИТОГО: 44.00 [21:12:03]line НСП 1% : 0.39 [21:12:03]line НДС 12% : 4.67 [21:12:03]line Наличными: 44.00 [21:12:03]line Безнал.: 0.00 [21:12:03]line Место: АЗС № 161 "Партнер Нефть" [21:12:03]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:12:03]line СНО: Общий режим [21:12:03]line Чек 52 22.10.2024 21:12 [21:12:03]line Смена: 457 ФФД: 1.0 [21:12:03]line ЗНМ: 0300000240 [21:12:03]line РНМ: 0000000000098147 [21:12:03]line Версия ККМ: 001 [21:12:03]line ФМ: 0000000000965376 [21:12:03]line ФД: 25031 [21:12:03]line ФПД: 183900733888874 [21:12:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211203&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25031&fm=183900733888874&tin=02508201610067®Number=0000000000098147&sum=4400 [21:12:03]line 0 [21:12:03]OFD Sender: Processing packet 25031 [packets to send 5, broken 4] [21:12:03]ProducePacketName [21:12:03]name=ofd_packets/00025031 [21:12:03]OFD Sender: To server: pG, [21:12:03]CommunicateWithHost lk.salyk.kg:30040 [21:12:03]ConnectInit lk.salyk.kg [21:12:03]written 0, free lines is 4095 [21:12:03]Connected sock=11 [21:12:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 2F 01 00 00 66 39 27 01 DF 91 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 30 30 35 31 32 39 39 34 39 30 39 06 04 29 00 D1 80 D0 81 D1 8C D1 85 D1 8B D1 80 D1 84 20 D0 81 D1 8E D1 8B D1 8B D1 88 20 D0 81 D1 83 D1 85 D0 81 20 D1 88 D1 8D D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 23 15 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C7 61 00 00 35 04 06 00 A7 41 B9 EA D9 6A 42 8D 74 E1 EA 2C 8A 92 [21:12:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 25 59 47 00 80 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C7 61 00 00 F4 03 04 00 9D BD 17 67 B6 04 01 00 00 B6 D7 EB E6 0B 08 F7 3E [21:12:03]CommunicateWithHost err = 0 [21:12:03]CheckOFDResponse [21:12:03]1017 (14) - 77093643461234 [21:12:03]1041 (16) - 0000000000965376 [21:12:03]1040 (4) - 25031 [21:12:03]1012 (4) - 22.10.2024 14:58 [21:12:03]1206 (1) - 0 [21:12:03]OFD Sender: Remove packet 25031 [21:12:03]ProducePacketName [21:12:03]name=ofd_packets/00025031 [21:12:03]NVStorageDeleteData [21:12:03]Write to MH i2c: 01 00 00 90 0A 9A [21:12:03]Write i2c OK [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: 01 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: 01 07 00 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: 01 07 00 90 0A 00 00 00 00 00 C0 0C 6D [21:12:03]RasterBufferAndPrint [21:12:03]line [21:12:03]line [21:12:03]line [21:12:03]line [21:12:03]line [21:12:03]written 0, free lines is 3270 [21:12:03]process_action close_receipt done [21:12:03]requested_data is exist [21:12:03]produce_requested_data [21:12:03]requested_item fm.sn is exist - process it [21:12:03]wFMCommunicate request_size=4 [21:12:03]MH_SAM_APDU [21:12:03]CAPDU: 80 11 00 00 [21:12:03]Write to MH i2c: E2 08 00 97 0A 80 11 00 00 00 00 00 00 1B [21:12:03]Write i2c OK [21:12:03]MH_I2C_Read... [21:12:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:12:03]Read from MH i2c: E2 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: E2 17 00 [21:12:03]MH_I2C_Read... [21:12:03]Read from MH i2c: E2 17 00 97 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 72 [21:12:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:12:03]wFMCommunicate OK [21:12:03]requested_item fd.num is exist - process it [21:12:03]SAM_PROTO_GetFieldsCounters [21:12:03]wFMCommunicate request_size=4 [21:12:03]MH_SAM_APDU [21:12:03]CAPDU: 80 13 00 00 [21:12:03]Write to MH i2c: E2 08 00 98 0A 80 13 00 00 00 00 00 00 1E [21:12:03]Write i2c OK [21:12:03]MH_I2C_Read... [21:12:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:12:04]Read from MH i2c: E2 [21:12:04]MH_I2C_Read... [21:12:04]Read from MH i2c: E2 62 00 [21:12:04]MH_I2C_Read... [21:12:04]Read from MH i2c: E2 62 00 98 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C7 61 00 00 0E 04 04 00 C9 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 D5 [21:12:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C7 61 00 00 0E 04 04 00 C9 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 [21:12:04]wFMCommunicate OK [21:12:04]SAM_PROTO_GetFieldsCounters done [21:12:04]requested_item shift.num is exist - process it [21:12:04]requested_item shift.opened is exist - process it [21:12:04]req_shift_opened [21:12:04]FM_GetShiftState [21:12:04]SAM_PROTO_GetShiftState [21:12:04]wFMCommunicate request_size=4 [21:12:04]MH_SAM_APDU [21:12:04]CAPDU: 80 13 01 00 [21:12:04]Write to MH i2c: E2 08 00 99 0A 80 13 01 00 00 00 00 00 20 [21:12:04]Write i2c OK [21:12:04]MH_I2C_Read... [21:12:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:12:04]Read from MH i2c: E2 [21:12:04]MH_I2C_Read... [21:12:04]Read from MH i2c: E2 0E 00 [21:12:04]MH_I2C_Read... [21:12:04]Read from MH i2c: E2 0E 00 99 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 71 [21:12:04]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:12:04]wFMCommunicate OK [21:12:04]SAM_PROTO_GetShiftState done [21:12:04]FM_GetShiftState done [21:12:04]req_shift_opened done [21:12:04]requested_item shift.open_date is exist - process it [21:12:04]req_shift_open_date [21:12:04]req_shift_open_date done [21:12:04]produce_requested_data done [21:12:04]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25031,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [21:12:04]process_action_free close_receipt [21:12:04]json_value_free [21:12:04]json_value_free done [21:12:04]process_json_proto returns [21:12:04]Send response to host [21:12:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25031,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [21:12:04]free response buf [21:12:04]execute_script done [21:12:04]execute_script returns [21:12:04]free content buf [21:12:04]Sock 9.Close socket [21:12:04]Sock 9.Thread stoped [21:12:04]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:51]ConnectInit Can't connect to host [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]accept exits with 10 [21:24:44]New connection [21:24:44]New thread 3067469156 created [21:24:44]Thread 3067612516 joined [21:24:44]Waiting for new connection... [21:24:44] Sock 10.Parse request [21:24:44]Sock 10.Check first char [21:24:44]Sock 10.First char is OK [21:24:44]request: POST /json_proto HTTP/1.0 [21:24:44]Method: POST [21:24:44]URL: /json_proto [21:24:44]Method is POST - this is cgi request [21:24:44]url: /json_proto [21:24:44]query_string will be loaded in cgi processing [21:24:44]execute_cgi json_proto POST (null) [21:24:44]execute_cgi path=json_proto method=POST [21:24:44]POST find Content-Length [21:24:44]Host: 172.17.53.196:8080 [21:24:44]Content-Length: 574 [21:24:44]Content-Type: application/json [21:24:44] [21:24:44]POST finish read [21:24:44]Found Content-Length = 574 [21:24:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34790", "tax_sys" : 0, "items" : [ { "code": "48747332", "name": "LD Compact 100s Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:44]execute_script... [21:24:44]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34790", "tax_sys" : 0, "items" : [ { "code": "48747332", "name": "LD Compact 100s Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:24:44]POST & json_proto [21:24:44]process_json_proto [21:24:44]json parsed OK: [21:24:44]protocol is kg_v1.0 [21:24:44]action value=close_receipt [21:24:44]process_action close_receipt [21:24:44]cmd_close_receipt [21:24:44]MH_GetDate [21:24:44]Write to MH i2c: F0 00 00 9A 0A 93 [21:24:44]Write i2c OK [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: F0 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: F0 09 00 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: F0 09 00 9A 0A 00 1E 18 18 67 4F CD 9A 65 6C [21:24:44]GetLastDocTimeStamp 1729631523 [21:24:44]current date 1729632286 [21:24:44]FM_GetShiftState [21:24:44]SAM_PROTO_GetShiftState [21:24:44]wFMCommunicate request_size=4 [21:24:44]MH_SAM_APDU [21:24:44]CAPDU: 80 13 01 00 [21:24:44]Write to MH i2c: E2 08 00 9B 0A 80 13 01 00 00 00 00 00 22 [21:24:44]Write i2c OK [21:24:44]MH_I2C_Read... [21:24:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:44]Read from MH i2c: E2 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: E2 0E 00 [21:24:44]MH_I2C_Read... [21:24:44]Read from MH i2c: E2 0E 00 9B 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 73 [21:24:44]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:24:44]wFMCommunicate OK [21:24:44]SAM_PROTO_GetShiftState done [21:24:44]FM_GetShiftState done [21:24:44]opened in 1729556951 [21:24:44]opened+sec_in_day 1729643351 [21:24:44]quantity*price = 13400 [21:24:44]sum+1 = 13401 [21:24:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 53 22.10.2024 21:24 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25032 ФПД: 1371186211854 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T212446&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25032&fm=1371186211854&tin=02508201610067®Number=0000000000098147&sum=13400 0 [21:24:45]StoreToDocumentArchive [21:24:45]shift 457 fd 25032 [21:24:45]save to /storage/0457/doc_00025032 [21:24:45]save last doc name /storage/0457/doc_00025032 to /storage/kkm_last_doc_name [21:24:45]save OK [21:24:45]Clear old archive folders... [21:24:45]ProcessDocumentItem done err = 0, tmpTLVsize=259 [21:24:45]tlvbuf is 00AC0620 [21:24:45]SAM_PROTO_ClearQueue [21:24:45]wFMCommunicate request_size=4 [21:24:45]MH_SAM_APDU [21:24:45]CAPDU: 80 09 00 00 [21:24:45]Write to MH i2c: E2 08 00 A8 0A 80 09 00 00 00 00 00 00 24 [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:24:45]Read from MH i2c: E2 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 A8 0A 00 90 00 26 [21:24:45]RAPDU: 90 00 [21:24:45]wFMCommunicate OK [21:24:45]SAM_PROTO_ClearQueue done [21:24:45]KKMCreateOFDPacket [21:24:45]OFDProtocolAddRootSTLVToBuf [21:24:45]FM_MakeSignedData [21:24:45]FM_MakeSignedData [21:24:45]SAM_PROTO_SignData [21:24:45]wFMCommunicate request_size=4 [21:24:45]MH_SAM_APDU [21:24:45]CAPDU: 80 0D 01 02 [21:24:45]Write to MH i2c: E2 08 00 A9 0A 80 0D 01 02 00 00 00 00 2C [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:24:45]Read from MH i2c: E2 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 A9 0A 00 90 00 27 [21:24:45]RAPDU: 90 00 [21:24:45]wFMCommunicate OK [21:24:45]wFMCommunicate request_size=255 [21:24:45]MH_SAM_APDU [21:24:45]CAPDU: 80 0D 02 02 FA 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 1E 18 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C8 [21:24:45]Write to MH i2c: E2 02 01 AA 0A 80 0D 02 02 FA 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 1E 18 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C8 00 00 22 [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:45]Read from MH i2c: E2 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 AA 0A 00 90 00 28 [21:24:45]RAPDU: 90 00 [21:24:45]wFMCommunicate OK [21:24:45]wFMCommunicate request_size=18 [21:24:45]MH_SAM_APDU [21:24:45]CAPDU: 80 0D 02 02 0D 61 00 00 35 04 06 00 01 3F 41 11 2C 0E [21:24:45]Write to MH i2c: E2 15 00 AB 0A 80 0D 02 02 0D 00 61 00 00 35 04 06 00 01 3F 41 11 2C 0E 00 00 B5 [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:24:45]Read from MH i2c: E2 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 03 00 AB 0A 00 90 00 29 [21:24:45]RAPDU: 90 00 [21:24:45]wFMCommunicate OK [21:24:45]wFMCommunicate request_size=4 [21:24:45]MH_SAM_APDU [21:24:45]CAPDU: 80 0D 03 02 [21:24:45]Write to MH i2c: E2 08 00 AC 0A 80 0D 03 02 00 00 00 00 31 [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:24:45]Read from MH i2c: E2 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 0B 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 0B 00 AC 0A 00 32 88 2C 02 CD B7 22 16 90 00 D6 [21:24:45]RAPDU: 32 88 2C 02 CD B7 22 16 90 00 [21:24:45]wFMCommunicate OK [21:24:45]SAM_PROTO_SignData done [21:24:45]FM_MakeSignedData done [21:24:45]CreateOFDProtocolMessage [21:24:45]wFMCommunicate request_size=4 [21:24:45]MH_SAM_APDU [21:24:45]CAPDU: 80 11 00 00 [21:24:45]Write to MH i2c: E2 08 00 AD 0A 80 11 00 00 00 00 00 00 31 [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:45]Read from MH i2c: E2 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 17 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: E2 17 00 AD 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 88 [21:24:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:24:45]wFMCommunicate OK [21:24:45]CreateOFDProtocolMessage done [21:24:45]OFDSenderStorePacket 25032 [21:24:45]StoreOFDPacket docnum=25032 [21:24:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 17 01 00 00 6B 93 0F 01 83 C5 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 1E 18 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C8 61 00 00 35 04 06 00 01 3F 41 11 2C 0E 32 88 2C 02 CD B7 22 16 [21:24:45]CheckFolder [21:24:45]dirname=/storage/ofd_packets [21:24:45]CheckFolder done [21:24:45]ProducePacketName [21:24:45]name=ofd_packets/00025032 [21:24:45]NVStorageSaveData ofd_packets/00025032 [21:24:45]File name is /storage/ofd_packets/00025032 [21:24:45]Write 309 bytes [21:24:45]NVStorageSaveData done [21:24:45]OFDSenderStorePacket done [21:24:45]KKMCreateOFDPacket done [21:24:45]NVStorageSaveData kkm_last_timestamp [21:24:45]File name is /storage/kkm_last_timestamp [21:24:45]Write 4 bytes [21:24:45]NVStorageSaveData done [21:24:45]ExternCall_PrintAddStr [21:24:45]wPrintStart [21:24:45]Write to MH i2c: 01 00 00 AE 0A B8 [21:24:45]Write i2c OK [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: 01 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: 01 07 00 [21:24:45]MH_I2C_Read... [21:24:45]Read from MH i2c: 01 07 00 AE 0A 00 00 00 00 00 FF 0F CD [21:24:45]RasterBufferAndPrint [21:24:45]line Счет N : (3)34790 [21:24:45]line ИНН: 02508201610067 [21:24:45]line Контрольно-Кассовый Чек [21:24:45]line ПРОДАЖА [21:24:45]line Товар: 48747332 [21:24:45]line LD Compact 100s Silver [21:24:45]line 1.000 * 134.00 [21:24:45]line = 134.00 [21:24:45]line НДС 12% НСП 1% [21:24:45]line > о реализуемом товаре [21:24:45]line ИТОГО: 134.00 [21:24:45]line НСП 1% : 1.19 [21:24:45]line НДС 12% : 14.23 [21:24:45]line Наличными: 134.00 [21:24:45]line Безнал.: 0.00 [21:24:45]line Место: АЗС № 161 "Партнер Нефть" [21:24:45]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:24:45]line СНО: Общий режим [21:24:45]line Чек 53 22.10.2024 21:24 [21:24:45]line Смена: 457 ФФД: 1.0 [21:24:45]line ЗНМ: 0300000240 [21:24:45]line РНМ: 0000000000098147 [21:24:45]line Версия ККМ: 001 [21:24:45]line ФМ: 0000000000965376 [21:24:45]line ФД: 25032 [21:24:45]line ФПД: 1371186211854 [21:24:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T212446&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25032&fm=1371186211854&tin=02508201610067®Number=0000000000098147&sum=13400 [21:24:46]OFD Sender: Processing packet 25032 [packets to send 5, broken 4] [21:24:46]ProducePacketName [21:24:46]name=ofd_packets/00025032 [21:24:46]OFD Sender: To server: pG, [21:24:46]CommunicateWithHost lk.salyk.kg:30040 [21:24:46]ConnectInit lk.salyk.kg [21:24:46]line 0 [21:24:46]written 0, free lines is 4095 [21:24:46]Write to MH i2c: 01 00 00 D6 0A E0 [21:24:46]Write i2c OK [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: 01 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: 01 07 00 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: 01 07 00 D6 0A 00 00 00 00 00 D7 0C CA [21:24:46]RasterBufferAndPrint [21:24:46]line [21:24:46]line [21:24:46]line [21:24:46]line [21:24:46]line [21:24:46]written 0, free lines is 3292 [21:24:46]process_action close_receipt done [21:24:46]requested_data is exist [21:24:46]produce_requested_data [21:24:46]requested_item fm.sn is exist - process it [21:24:46]wFMCommunicate request_size=4 [21:24:46]MH_SAM_APDU [21:24:46]CAPDU: 80 11 00 00 [21:24:46]Write to MH i2c: E2 08 00 DD 0A 80 11 00 00 00 00 00 00 61 [21:24:46]Write i2c OK [21:24:46]MH_I2C_Read... [21:24:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:24:46]Read from MH i2c: E2 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 17 00 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 17 00 DD 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B8 [21:24:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:24:46]wFMCommunicate OK [21:24:46]requested_item fd.num is exist - process it [21:24:46]SAM_PROTO_GetFieldsCounters [21:24:46]wFMCommunicate request_size=4 [21:24:46]MH_SAM_APDU [21:24:46]CAPDU: 80 13 00 00 [21:24:46]Write to MH i2c: E2 08 00 DE 0A 80 13 00 00 00 00 00 00 64 [21:24:46]Write i2c OK [21:24:46]MH_I2C_Read... [21:24:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:24:46]Read from MH i2c: E2 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 62 00 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 62 00 DE 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C8 61 00 00 0E 04 04 00 C9 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 1F [21:24:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C8 61 00 00 0E 04 04 00 C9 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 [21:24:46]wFMCommunicate OK [21:24:46]SAM_PROTO_GetFieldsCounters done [21:24:46]requested_item shift.num is exist - process it [21:24:46]requested_item shift.opened is exist - process it [21:24:46]req_shift_opened [21:24:46]FM_GetShiftState [21:24:46]SAM_PROTO_GetShiftState [21:24:46]wFMCommunicate request_size=4 [21:24:46]MH_SAM_APDU [21:24:46]CAPDU: 80 13 01 00 [21:24:46]Write to MH i2c: E2 08 00 DF 0A 80 13 01 00 00 00 00 00 66 [21:24:46]Write i2c OK [21:24:46]MH_I2C_Read... [21:24:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:24:46]Read from MH i2c: E2 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 0E 00 [21:24:46]MH_I2C_Read... [21:24:46]Read from MH i2c: E2 0E 00 DF 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 B7 [21:24:46]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:24:46]wFMCommunicate OK [21:24:46]SAM_PROTO_GetShiftState done [21:24:46]FM_GetShiftState done [21:24:46]req_shift_opened done [21:24:46]requested_item shift.open_date is exist - process it [21:24:46]req_shift_open_date [21:24:46]req_shift_open_date done [21:24:46]produce_requested_data done [21:24:46]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25032,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [21:24:46]process_action_free close_receipt [21:24:46]json_value_free [21:24:46]json_value_free done [21:24:46]process_json_proto returns [21:24:46]Send response to host [21:24:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25032,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [21:24:46]free response buf [21:24:46]execute_script done [21:24:46]execute_script returns [21:24:46]free content buf [21:24:46]Sock 10.Close socket [21:24:46]Sock 10.Thread stoped [21:26:57]ConnectInit Can't connect to host [21:26:57]CommunicateWithHost connect error [21:26:57]CommunicateWithHost err = -1 [21:26:57]OFD Sender: Server communicate error [21:27:02]OFD Sender: Processing packet 25032 [packets to send 5, broken 4] [21:27:02]ProducePacketName [21:27:02]name=ofd_packets/00025032 [21:27:02]OFD Sender: To server: pG, [21:27:02]CommunicateWithHost lk.salyk.kg:30040 [21:27:02]ConnectInit lk.salyk.kg [21:27:02]Connected sock=10 [21:27:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 17 01 00 00 6B 93 0F 01 83 C5 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 37 33 33 32 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 31 30 30 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 1E 18 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C8 61 00 00 35 04 06 00 01 3F 41 11 2C 0E 32 88 2C 02 CD B7 22 16 [21:27:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 6B 5C 47 00 DE 8A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C8 61 00 00 F4 03 04 00 20 C1 17 67 B6 04 01 00 00 16 E6 36 3C 63 87 66 46 [21:27:02]CommunicateWithHost err = 0 [21:27:02]CheckOFDResponse [21:27:02]1017 (14) - 77093643461234 [21:27:02]1041 (16) - 0000000000965376 [21:27:02]1040 (4) - 25032 [21:27:02]1012 (4) - 22.10.2024 15:13 [21:27:02]1206 (1) - 0 [21:27:02]OFD Sender: Remove packet 25032 [21:27:02]ProducePacketName [21:27:02]name=ofd_packets/00025032 [21:27:02]NVStorageDeleteData [21:27:03]OFD Sender: No OFD packet to send [21:27:08]OFD Sender: No OFD packet to send [21:27:13]OFD Sender: No OFD packet to send [21:27:18]OFD Sender: No OFD packet to send [21:27:23]OFD Sender: No OFD packet to send [21:27:28]OFD Sender: No OFD packet to send [21:27:33]OFD Sender: No OFD packet to send [21:27:38]OFD Sender: No OFD packet to send [21:27:43]OFD Sender: No OFD packet to send [21:27:48]OFD Sender: No OFD packet to send [21:27:53]OFD Sender: No OFD packet to send [21:27:58]OFD Sender: No OFD packet to send [21:28:03]OFD Sender: No OFD packet to send [21:28:08]OFD Sender: No OFD packet to send [21:28:13]OFD Sender: No OFD packet to send [21:28:18]OFD Sender: No OFD packet to send [21:28:23]OFD Sender: No OFD packet to send [21:28:28]OFD Sender: No OFD packet to send [21:28:33]OFD Sender: No OFD packet to send [21:28:38]OFD Sender: No OFD packet to send [21:28:43]OFD Sender: No OFD packet to send [21:28:48]OFD Sender: No OFD packet to send [21:28:53]OFD Sender: No OFD packet to send [21:28:58]OFD Sender: No OFD packet to send [21:29:03]OFD Sender: No OFD packet to send [21:29:08]OFD Sender: No OFD packet to send [21:29:13]OFD Sender: No OFD packet to send [21:29:18]OFD Sender: No OFD packet to send [21:29:23]OFD Sender: No OFD packet to send [21:29:28]OFD Sender: No OFD packet to send [21:29:33]OFD Sender: No OFD packet to send [21:29:38]OFD Sender: No OFD packet to send [21:29:43]OFD Sender: No OFD packet to send [21:29:48]OFD Sender: No OFD packet to send [21:29:53]OFD Sender: No OFD packet to send [21:29:58]OFD Sender: No OFD packet to send [21:30:03]OFD Sender: No OFD packet to send [21:30:08]OFD Sender: No OFD packet to send [21:30:13]OFD Sender: No OFD packet to send [21:30:18]OFD Sender: No OFD packet to send [21:30:23]OFD Sender: No OFD packet to send [21:30:28]OFD Sender: No OFD packet to send [21:30:33]OFD Sender: No OFD packet to send [21:30:38]OFD Sender: No OFD packet to send [21:30:43]OFD Sender: No OFD packet to send [21:30:48]OFD Sender: No OFD packet to send [21:30:53]OFD Sender: No OFD packet to send [21:30:58]OFD Sender: No OFD packet to send [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:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:28]OFD Sender: No OFD packet to send [21:40:33]OFD Sender: No OFD packet to send [21:40:38]OFD Sender: No OFD packet to send [21:40:43]OFD Sender: No OFD packet to send [21:40:48]OFD Sender: No OFD packet to send [21:40:53]OFD Sender: No OFD packet to send [21:40:58]OFD Sender: No OFD packet to send [21:41:03]OFD Sender: No OFD packet to send [21:41:08]OFD Sender: No OFD packet to send [21:41:13]OFD Sender: No OFD packet to send [21:41:18]OFD Sender: No OFD packet to send [21:41:23]OFD Sender: No OFD packet to send [21:41:28]OFD Sender: No OFD packet to send [21:41:33]OFD Sender: No OFD packet to send [21:41:38]OFD Sender: No OFD packet to send [21:41:43]OFD Sender: No OFD packet to send [21:41:48]OFD Sender: No OFD packet to send [21:41:53]OFD Sender: No OFD packet to send [21:41:58]OFD Sender: No OFD packet to send [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:30]accept exits with 8 [21:48:30]New connection [21:48:30]New thread 3067612516 created [21:48:30]Thread 3067469156 joined [21:48:30]Waiting for new connection... [21:48:30] Sock 8.Parse request [21:48:30]Sock 8.Check first char [21:48:30]Sock 8.First char is OK [21:48:30]request: POST /json_proto HTTP/1.0 [21:48:30]Method: POST [21:48:30]URL: /json_proto [21:48:30]Method is POST - this is cgi request [21:48:30]url: /json_proto [21:48:30]query_string will be loaded in cgi processing [21:48:30]execute_cgi json_proto POST (null) [21:48:30]execute_cgi path=json_proto method=POST [21:48:30]POST find Content-Length [21:48:30]Host: 172.17.53.196:8080 [21:48:30]Content-Length: 748 [21:48:30]Content-Type: application/json [21:48:30] [21:48:30]POST finish read [21:48:30]Found Content-Length = 748 [21:48:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34791", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:48:30]execute_script... [21:48:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34791", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 320.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:48:30]POST & json_proto [21:48:30]process_json_proto [21:48:30]json parsed OK: [21:48:30]protocol is kg_v1.0 [21:48:30]action value=close_receipt [21:48:30]process_action close_receipt [21:48:30]cmd_close_receipt [21:48:30]MH_GetDate [21:48:30]Write to MH i2c: F0 00 00 E0 0A D9 [21:48:30]Write i2c OK [21:48:30]MH_I2C_Read... [21:48:30]Read from MH i2c: F0 [21:48:30]MH_I2C_Read... [21:48:30]Read from MH i2c: F0 09 00 [21:48:30]MH_I2C_Read... [21:48:30]Read from MH i2c: F0 09 00 E0 0A 00 B0 1D 18 67 4F CD 9A 65 49 [21:48:30]GetLastDocTimeStamp 1729632286 [21:48:30]current date 1729633712 [21:48:30]FM_GetShiftState [21:48:30]SAM_PROTO_GetShiftState [21:48:30]wFMCommunicate request_size=4 [21:48:30]MH_SAM_APDU [21:48:30]CAPDU: 80 13 01 00 [21:48:30]Write to MH i2c: E2 08 00 E1 0A 80 13 01 00 00 00 00 00 68 [21:48:30]Write i2c OK [21:48:30]MH_I2C_Read... [21:48:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:48:30]Read from MH i2c: E2 [21:48:30]MH_I2C_Read... [21:48:30]Read from MH i2c: E2 0E 00 [21:48:30]MH_I2C_Read... [21:48:30]Read from MH i2c: E2 0E 00 E1 0A 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 B9 [21:48:30]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:48:30]wFMCommunicate OK [21:48:30]SAM_PROTO_GetShiftState done [21:48:30]FM_GetShiftState done [21:48:30]opened in 1729556951 [21:48:30]opened+sec_in_day 1729643351 [21:48:30]quantity*price = 32000 [21:48:30]sum+1 = 32001 [21:48:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 320.00 НСП 1% : 2.83 НДС 12% : 33.98 Наличными: 0.00 Безнал.: 320.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 54 22.10.2024 21:48 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 25033 ФПД: 53042611097047 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T214832&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25033&fm=53042611097047&tin=02508201610067®Number=0000000000098147&sum=32000 0 [21:48:31]StoreToDocumentArchive [21:48:31]shift 457 fd 25033 [21:48:31]save to /storage/0457/doc_00025033 [21:48:31]save last doc name /storage/0457/doc_00025033 to /storage/kkm_last_doc_name [21:48:31]save OK [21:48:31]Clear old archive folders... [21:48:31]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:48:31]tlvbuf is 00AB8920 [21:48:31]SAM_PROTO_ClearQueue [21:48:31]wFMCommunicate request_size=4 [21:48:31]MH_SAM_APDU [21:48:31]CAPDU: 80 09 00 00 [21:48:31]Write to MH i2c: E2 08 00 EE 0A 80 09 00 00 00 00 00 00 6A [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:48:31]Read from MH i2c: E2 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 EE 0A 00 90 00 6C [21:48:31]RAPDU: 90 00 [21:48:31]wFMCommunicate OK [21:48:31]SAM_PROTO_ClearQueue done [21:48:31]KKMCreateOFDPacket [21:48:31]OFDProtocolAddRootSTLVToBuf [21:48:31]FM_MakeSignedData [21:48:31]FM_MakeSignedData [21:48:31]SAM_PROTO_SignData [21:48:31]wFMCommunicate request_size=4 [21:48:31]MH_SAM_APDU [21:48:31]CAPDU: 80 0D 01 02 [21:48:31]Write to MH i2c: E2 08 00 EF 0A 80 0D 01 02 00 00 00 00 72 [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:48:31]Read from MH i2c: E2 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 EF 0A 00 90 00 6D [21:48:31]RAPDU: 90 00 [21:48:31]wFMCommunicate OK [21:48:31]wFMCommunicate request_size=255 [21:48:31]MH_SAM_APDU [21:48:31]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 B0 1D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [21:48:31]Write to MH i2c: E2 02 01 F0 0A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 B0 1D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 74 [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:48:31]Read from MH i2c: E2 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 F0 0A 00 90 00 6E [21:48:31]RAPDU: 90 00 [21:48:31]wFMCommunicate OK [21:48:31]wFMCommunicate request_size=33 [21:48:31]MH_SAM_APDU [21:48:31]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C9 61 00 00 35 04 06 00 30 3D F1 FE 0D D7 [21:48:31]Write to MH i2c: E2 24 00 F1 0A 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C9 61 00 00 35 04 06 00 30 3D F1 FE 0D D7 00 00 72 [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:48:31]Read from MH i2c: E2 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 03 00 F1 0A 00 90 00 6F [21:48:31]RAPDU: 90 00 [21:48:31]wFMCommunicate OK [21:48:31]wFMCommunicate request_size=4 [21:48:31]MH_SAM_APDU [21:48:31]CAPDU: 80 0D 03 02 [21:48:31]Write to MH i2c: E2 08 00 F2 0A 80 0D 03 02 00 00 00 00 77 [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:48:31]Read from MH i2c: E2 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 0B 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 0B 00 F2 0A 00 FD 44 85 16 9C 34 3E E7 90 00 49 [21:48:31]RAPDU: FD 44 85 16 9C 34 3E E7 90 00 [21:48:31]wFMCommunicate OK [21:48:31]SAM_PROTO_SignData done [21:48:31]FM_MakeSignedData done [21:48:31]CreateOFDProtocolMessage [21:48:31]wFMCommunicate request_size=4 [21:48:31]MH_SAM_APDU [21:48:31]CAPDU: 80 11 00 00 [21:48:31]Write to MH i2c: E2 08 00 F3 0A 80 11 00 00 00 00 00 00 77 [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:48:31]Read from MH i2c: E2 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 17 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: E2 17 00 F3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CE [21:48:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:48:31]wFMCommunicate OK [21:48:31]CreateOFDProtocolMessage done [21:48:31]OFDSenderStorePacket 25033 [21:48:31]StoreOFDPacket docnum=25033 [21:48:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 08 D0 1E 01 5F DB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 B0 1D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C9 61 00 00 35 04 06 00 30 3D F1 FE 0D D7 FD 44 85 16 9C 34 3E E7 [21:48:31]CheckFolder [21:48:31]dirname=/storage/ofd_packets [21:48:31]CheckFolder done [21:48:31]ProducePacketName [21:48:31]name=ofd_packets/00025033 [21:48:31]NVStorageSaveData ofd_packets/00025033 [21:48:31]File name is /storage/ofd_packets/00025033 [21:48:31]Write 324 bytes [21:48:31]NVStorageSaveData done [21:48:31]OFDSenderStorePacket done [21:48:31]KKMCreateOFDPacket done [21:48:31]NVStorageSaveData kkm_last_timestamp [21:48:31]File name is /storage/kkm_last_timestamp [21:48:31]Write 4 bytes [21:48:31]NVStorageSaveData done [21:48:31]ExternCall_PrintAddStr [21:48:31]wPrintStart [21:48:31]Write to MH i2c: 01 00 00 F4 0A FE [21:48:31]Write i2c OK [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: 01 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: 01 07 00 [21:48:31]MH_I2C_Read... [21:48:31]Read from MH i2c: 01 07 00 F4 0A 00 00 00 00 00 FF 0F 13 [21:48:31]RasterBufferAndPrint [21:48:31]line Счет N : (3)34791 [21:48:31]line ИНН: 02508201610067 [21:48:31]line Контрольно-Кассовый Чек [21:48:31]line ПРОДАЖА [21:48:31]line Товар: 48741958 [21:48:31]line Сигареты Parliament Aqua Blue [21:48:31]line 2.000 * 160.00 [21:48:31]line = 320.00 [21:48:31]line НДС 12% НСП 1% [21:48:31]line > о реализуемом товаре [21:48:31]line ИТОГО: 320.00 [21:48:31]line НСП 1% : 2.83 [21:48:31]line НДС 12% : 33.98 [21:48:31]line Наличными: 0.00 [21:48:31]line Безнал.: 320.00 [21:48:31]line Место: АЗС № 161 "Партнер Нефть" [21:48:31]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:48:31]line СНО: Общий режим [21:48:31]line Чек 54 22.10.2024 21:48 [21:48:31]line Смена: 457 ФФД: 1.0 [21:48:31]line ЗНМ: 0300000240 [21:48:31]line РНМ: 0000000000098147 [21:48:31]line Версия ККМ: 001 [21:48:31]line Платежная система: Mbank [21:48:31]line ФМ: 0000000000965376 [21:48:31]line ФД: 25033 [21:48:31]line ФПД: 53042611097047 [21:48:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T214832&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25033&fm=53042611097047&tin=02508201610067®Number=0000000000098147&sum=32000 [21:48:32]OFD Sender: Processing packet 25033 [packets to send 5, broken 4] [21:48:32]ProducePacketName [21:48:32]name=ofd_packets/00025033 [21:48:32]OFD Sender: To server: pG, [21:48:32]CommunicateWithHost lk.salyk.kg:30040 [21:48:32]ConnectInit lk.salyk.kg [21:48:32]line 0 [21:48:32]written 0, free lines is 4095 [21:48:32]Connected sock=10 [21:48:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 08 D0 1E 01 5F DB 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 7D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 46 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 00 7D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 B0 1D 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C9 61 00 00 35 04 06 00 30 3D F1 FE 0D D7 FD 44 85 16 9C 34 3E E7 [21:48:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 AD B4 47 00 07 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 C9 61 00 00 F4 03 04 00 2A C6 17 67 B6 04 01 00 00 4E 05 ED E1 06 A1 B9 3E [21:48:32]CommunicateWithHost err = 0 [21:48:32]CheckOFDResponse [21:48:32]1017 (14) - 77093643461234 [21:48:32]1041 (16) - 0000000000965376 [21:48:32]1040 (4) - 25033 [21:48:32]1012 (4) - 22.10.2024 15:35 [21:48:32]1206 (1) - 0 [21:48:32]OFD Sender: Remove packet 25033 [21:48:32]ProducePacketName [21:48:32]name=ofd_packets/00025033 [21:48:32]NVStorageDeleteData [21:48:32]Write to MH i2c: 01 00 00 1E 0B 29 [21:48:32]Write i2c OK [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: 01 [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: 01 07 00 [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: 01 07 00 1E 0B 00 00 00 00 00 B9 0C F5 [21:48:32]RasterBufferAndPrint [21:48:32]line [21:48:32]line [21:48:32]line [21:48:32]line [21:48:32]line [21:48:32]written 0, free lines is 3265 [21:48:32]process_action close_receipt done [21:48:32]requested_data is exist [21:48:32]produce_requested_data [21:48:32]requested_item fm.sn is exist - process it [21:48:32]wFMCommunicate request_size=4 [21:48:32]MH_SAM_APDU [21:48:32]CAPDU: 80 11 00 00 [21:48:32]Write to MH i2c: E2 08 00 25 0B 80 11 00 00 00 00 00 00 AA [21:48:32]Write i2c OK [21:48:32]MH_I2C_Read... [21:48:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:48:32]Read from MH i2c: E2 [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: E2 17 00 [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: E2 17 00 25 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 01 [21:48:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:48:32]wFMCommunicate OK [21:48:32]requested_item fd.num is exist - process it [21:48:32]SAM_PROTO_GetFieldsCounters [21:48:32]wFMCommunicate request_size=4 [21:48:32]MH_SAM_APDU [21:48:32]CAPDU: 80 13 00 00 [21:48:32]Write to MH i2c: E2 08 00 26 0B 80 13 00 00 00 00 00 00 AD [21:48:32]Write i2c OK [21:48:32]MH_I2C_Read... [21:48:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:48:32]Read from MH i2c: E2 [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: E2 62 00 [21:48:32]MH_I2C_Read... [21:48:32]Read from MH i2c: E2 62 00 26 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C9 61 00 00 0E 04 04 00 C9 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 6C [21:48:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 C9 61 00 00 0E 04 04 00 C9 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 [21:48:32]wFMCommunicate OK [21:48:32]SAM_PROTO_GetFieldsCounters done [21:48:32]requested_item shift.num is exist - process it [21:48:32]requested_item shift.opened is exist - process it [21:48:32]req_shift_opened [21:48:32]FM_GetShiftState [21:48:32]SAM_PROTO_GetShiftState [21:48:32]wFMCommunicate request_size=4 [21:48:32]MH_SAM_APDU [21:48:32]CAPDU: 80 13 01 00 [21:48:32]Write to MH i2c: E2 08 00 27 0B 80 13 01 00 00 00 00 00 AF [21:48:32]Write i2c OK [21:48:32]MH_I2C_Read... [21:48:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:48:33]Read from MH i2c: E2 [21:48:33]MH_I2C_Read... [21:48:33]Read from MH i2c: E2 0E 00 [21:48:33]MH_I2C_Read... [21:48:33]Read from MH i2c: E2 0E 00 27 0B 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 00 [21:48:33]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:48:33]wFMCommunicate OK [21:48:33]SAM_PROTO_GetShiftState done [21:48:33]FM_GetShiftState done [21:48:33]req_shift_opened done [21:48:33]requested_item shift.open_date is exist - process it [21:48:33]req_shift_open_date [21:48:33]req_shift_open_date done [21:48:33]produce_requested_data done [21:48:33]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25033,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [21:48:33]process_action_free close_receipt [21:48:33]json_value_free [21:48:33]json_value_free done [21:48:33]process_json_proto returns [21:48:33]Send response to host [21:48:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25033,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [21:48:33]free response buf [21:48:33]execute_script done [21:48:33]execute_script returns [21:48:33]free content buf [21:48:33]Sock 8.Close socket [21:48:33]Sock 8.Thread stoped [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:03]OFD Sender: No OFD packet to send [21:50:08]OFD Sender: No OFD packet to send [21:50:13]OFD Sender: No OFD packet to send [21:50:18]OFD Sender: No OFD packet to send [21:50:23]OFD Sender: No OFD packet to send [21:50:28]OFD Sender: No OFD packet to send [21:50:33]OFD Sender: No OFD packet to send [21:50:38]OFD Sender: No OFD packet to send [21:50:43]OFD Sender: No OFD packet to send [21:50:48]OFD Sender: No OFD packet to send [21:50:53]OFD Sender: No OFD packet to send [21:50:58]OFD Sender: No OFD packet to send [21:51:03]OFD Sender: No OFD packet to send [21:51:08]OFD Sender: No OFD packet to send [21:51:13]OFD Sender: No OFD packet to send [21:51:18]OFD Sender: No OFD packet to send [21:51:23]OFD Sender: No OFD packet to send [21:51:28]OFD Sender: No OFD packet to send [21:51:33]OFD Sender: No OFD packet to send [21:51:38]OFD Sender: No OFD packet to send [21:51:43]OFD Sender: No OFD packet to send [21:51:48]OFD Sender: No OFD packet to send [21:51:53]OFD Sender: No OFD packet to send [21:51:58]OFD Sender: No OFD packet to send [21:52:03]OFD Sender: No OFD packet to send [21:52:08]OFD Sender: No OFD packet to send [21:52:13]OFD Sender: No OFD packet to send [21:52:18]OFD Sender: No OFD packet to send [21:52:23]OFD Sender: No OFD packet to send [21:52:28]OFD Sender: No OFD packet to send [21:52:33]OFD Sender: No OFD packet to send [21:52:38]OFD Sender: No OFD packet to send [21:52:43]OFD Sender: No OFD packet to send [21:52:48]OFD Sender: No OFD packet to send [21:52:53]OFD Sender: No OFD packet to send [21:52:58]OFD Sender: No OFD packet to send [21:53:03]OFD Sender: No OFD packet to send [21:53:08]OFD Sender: No OFD packet to send [21:53:13]OFD Sender: No OFD packet to send [21:53:18]OFD Sender: No OFD packet to send [21:53:23]OFD Sender: No OFD packet to send [21:53:28]OFD Sender: No OFD packet to send [21:53:33]OFD Sender: No OFD packet to send [21:53:38]OFD Sender: No OFD packet to send [21:53:43]OFD Sender: No OFD packet to send [21:53:48]OFD Sender: No OFD packet to send [21:53:53]OFD Sender: No OFD packet to send [21:53:58]OFD Sender: No OFD packet to send [21:54:03]OFD Sender: No OFD packet to send [21:54:08]OFD Sender: No OFD packet to send [21:54:13]OFD Sender: No OFD packet to send [21:54:18]OFD Sender: No OFD packet to send [21:54:23]OFD Sender: No OFD packet to send [21:54:28]OFD Sender: No OFD packet to send [21:54:33]OFD Sender: No OFD packet to send [21:54:38]OFD Sender: No OFD packet to send [21:54:43]OFD Sender: No OFD packet to send [21:54:48]OFD Sender: No OFD packet to send [21:54:53]OFD Sender: No OFD packet to send [21:54:58]OFD Sender: No OFD packet to send [21:55:03]OFD Sender: No OFD packet to send [21:55:08]OFD Sender: No OFD packet to send [21:55:13]OFD Sender: No OFD packet to send [21:55:18]OFD Sender: No OFD packet to send [21:55:23]OFD Sender: No OFD packet to send [21:55:24]accept exits with 9 [21:55:24]New connection [21:55:24]New thread 3067469156 created [21:55:24]Thread 3067612516 joined [21:55:24]Waiting for new connection... [21:55:24] Sock 9.Parse request [21:55:24]Sock 9.Check first char [21:55:24]Sock 9.First char is OK [21:55:24]request: POST /json_proto HTTP/1.0 [21:55:24]Method: POST [21:55:24]URL: /json_proto [21:55:24]Method is POST - this is cgi request [21:55:24]url: /json_proto [21:55:24]query_string will be loaded in cgi processing [21:55:24]execute_cgi json_proto POST (null) [21:55:24]execute_cgi path=json_proto method=POST [21:55:24]POST find Content-Length [21:55:24]Host: 172.17.53.196:8080 [21:55:24]Content-Length: 674 [21:55:24]Content-Type: application/json [21:55:24] [21:55:24]POST finish read [21:55:24]Found Content-Length = 674 [21:55:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34792", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:24]execute_script... [21:55:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34792", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:55:24]POST & json_proto [21:55:24]process_json_proto [21:55:24]json parsed OK: [21:55:24]protocol is kg_v1.0 [21:55:24]action value=close_receipt [21:55:24]process_action close_receipt [21:55:24]cmd_close_receipt [21:55:24]MH_GetDate [21:55:24]Write to MH i2c: F0 00 00 28 0B 22 [21:55:24]Write i2c OK [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: F0 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: F0 09 00 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: F0 09 00 28 0B 00 4F 1F 18 67 4F CD 9A 65 33 [21:55:24]GetLastDocTimeStamp 1729633712 [21:55:24]current date 1729634127 [21:55:24]FM_GetShiftState [21:55:24]SAM_PROTO_GetShiftState [21:55:24]wFMCommunicate request_size=4 [21:55:24]MH_SAM_APDU [21:55:24]CAPDU: 80 13 01 00 [21:55:24]Write to MH i2c: E2 08 00 29 0B 80 13 01 00 00 00 00 00 B1 [21:55:24]Write i2c OK [21:55:24]MH_I2C_Read... [21:55:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:24]Read from MH i2c: E2 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 0E 00 [21:55:24]MH_I2C_Read... [21:55:24]Read from MH i2c: E2 0E 00 29 0B 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 02 [21:55:24]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:55:24]wFMCommunicate OK [21:55:24]SAM_PROTO_GetShiftState done [21:55:24]FM_GetShiftState done [21:55:24]opened in 1729556951 [21:55:24]opened+sec_in_day 1729643351 [21:55:24]quantity*price = 12000 [21:55:24]sum+1 = 12001 [21:55:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 55 22.10.2024 21:55 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25034 ФПД: 123632345493607 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T215527&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25034&fm=123632345493607&tin=02508201610067®Number=0000000000098147&sum=12000 0 [21:55:25]StoreToDocumentArchive [21:55:25]shift 457 fd 25034 [21:55:25]save to /storage/0457/doc_00025034 [21:55:25]save last doc name /storage/0457/doc_00025034 to /storage/kkm_last_doc_name [21:55:25]save OK [21:55:25]Clear old archive folders... [21:55:25]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:55:25]tlvbuf is 00ADF1B0 [21:55:25]SAM_PROTO_ClearQueue [21:55:25]wFMCommunicate request_size=4 [21:55:25]MH_SAM_APDU [21:55:25]CAPDU: 80 09 00 00 [21:55:25]Write to MH i2c: E2 08 00 36 0B 80 09 00 00 00 00 00 00 B3 [21:55:25]Write i2c OK [21:55:25]MH_I2C_Read... [21:55:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:55:25]Read from MH i2c: E2 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 36 0B 00 90 00 B5 [21:55:25]RAPDU: 90 00 [21:55:25]wFMCommunicate OK [21:55:25]SAM_PROTO_ClearQueue done [21:55:25]KKMCreateOFDPacket [21:55:25]OFDProtocolAddRootSTLVToBuf [21:55:25]FM_MakeSignedData [21:55:25]FM_MakeSignedData [21:55:25]SAM_PROTO_SignData [21:55:25]wFMCommunicate request_size=4 [21:55:25]MH_SAM_APDU [21:55:25]CAPDU: 80 0D 01 02 [21:55:25]Write to MH i2c: E2 08 00 37 0B 80 0D 01 02 00 00 00 00 BB [21:55:25]Write i2c OK [21:55:25]MH_I2C_Read... [21:55:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:55:25]Read from MH i2c: E2 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 37 0B 00 90 00 B6 [21:55:25]RAPDU: 90 00 [21:55:25]wFMCommunicate OK [21:55:25]wFMCommunicate request_size=255 [21:55:25]MH_SAM_APDU [21:55:25]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 4F 1F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [21:55:25]Write to MH i2c: E2 02 01 38 0B 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 4F 1F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 B4 [21:55:25]Write i2c OK [21:55:25]MH_I2C_Read... [21:55:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:25]Read from MH i2c: E2 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 38 0B 00 90 00 B7 [21:55:25]RAPDU: 90 00 [21:55:25]wFMCommunicate OK [21:55:25]wFMCommunicate request_size=46 [21:55:25]MH_SAM_APDU [21:55:25]CAPDU: 80 0D 02 02 29 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CA 61 00 00 35 04 06 00 70 71 66 09 30 67 [21:55:25]Write to MH i2c: E2 31 00 39 0B 80 0D 02 02 29 00 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CA 61 00 00 35 04 06 00 70 71 66 09 30 67 00 00 5E [21:55:25]Write i2c OK [21:55:25]MH_I2C_Read... [21:55:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:55:25]Read from MH i2c: E2 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 03 00 39 0B 00 90 00 B8 [21:55:25]RAPDU: 90 00 [21:55:25]wFMCommunicate OK [21:55:25]wFMCommunicate request_size=4 [21:55:25]MH_SAM_APDU [21:55:25]CAPDU: 80 0D 03 02 [21:55:25]Write to MH i2c: E2 08 00 3A 0B 80 0D 03 02 00 00 00 00 C0 [21:55:25]Write i2c OK [21:55:25]MH_I2C_Read... [21:55:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:55:25]Read from MH i2c: E2 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 0B 00 [21:55:25]MH_I2C_Read... [21:55:25]Read from MH i2c: E2 0B 00 3A 0B 00 AF 55 9E F7 8A 60 C7 60 90 00 6B [21:55:25]RAPDU: AF 55 9E F7 8A 60 C7 60 90 00 [21:55:25]wFMCommunicate OK [21:55:25]SAM_PROTO_SignData done [21:55:25]FM_MakeSignedData done [21:55:25]CreateOFDProtocolMessage [21:55:25]wFMCommunicate request_size=4 [21:55:25]MH_SAM_APDU [21:55:25]CAPDU: 80 11 00 00 [21:55:25]Write to MH i2c: E2 08 00 3B 0B 80 11 00 00 00 00 00 00 C0 [21:55:25]Write i2c OK [21:55:25]MH_I2C_Read... [21:55:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:26]Read from MH i2c: E2 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: E2 17 00 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: E2 17 00 3B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 17 [21:55:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:55:26]wFMCommunicate OK [21:55:26]CreateOFDProtocolMessage done [21:55:26]OFDSenderStorePacket 25034 [21:55:26]StoreOFDPacket docnum=25034 [21:55:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 33 01 00 00 3E D1 2B 01 7A 6B 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 4F 1F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CA 61 00 00 35 04 06 00 70 71 66 09 30 67 AF 55 9E F7 8A 60 C7 60 [21:55:26]CheckFolder [21:55:26]dirname=/storage/ofd_packets [21:55:26]CheckFolder done [21:55:26]ProducePacketName [21:55:26]name=ofd_packets/00025034 [21:55:26]NVStorageSaveData ofd_packets/00025034 [21:55:26]File name is /storage/ofd_packets/00025034 [21:55:26]Write 337 bytes [21:55:26]NVStorageSaveData done [21:55:26]OFDSenderStorePacket done [21:55:26]KKMCreateOFDPacket done [21:55:26]NVStorageSaveData kkm_last_timestamp [21:55:26]File name is /storage/kkm_last_timestamp [21:55:26]Write 4 bytes [21:55:26]NVStorageSaveData done [21:55:26]ExternCall_PrintAddStr [21:55:26]wPrintStart [21:55:26]Write to MH i2c: 01 00 00 3C 0B 47 [21:55:26]Write i2c OK [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: 01 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: 01 07 00 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: 01 07 00 3C 0B 00 00 00 00 00 FF 0F 5C [21:55:26]RasterBufferAndPrint [21:55:26]line Счет N : (3)34792 [21:55:26]line ИНН: 02508201610067 [21:55:26]line Контрольно-Кассовый Чек [21:55:26]line ПРОДАЖА [21:55:26]line Товар: 5449000189332 [21:55:26]line Холодный чай Fuse персик 1л [21:55:26]line 1.000 * 120.00 [21:55:26]line = 120.00 [21:55:26]line НДС 12% НСП 1% [21:55:26]line > о реализуемом товаре [21:55:26]line ИТОГО: 120.00 [21:55:26]line НСП 1% : 1.06 [21:55:26]line НДС 12% : 12.74 [21:55:26]line Наличными: 120.00 [21:55:26]line Безнал.: 0.00 [21:55:26]line Место: АЗС № 161 "Партнер Нефть" [21:55:26]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [21:55:26]line СНО: Общий режим [21:55:26]line Чек 55 22.10.2024 21:55 [21:55:26]line Смена: 457 ФФД: 1.0 [21:55:26]line ЗНМ: 0300000240 [21:55:26]line РНМ: 0000000000098147 [21:55:26]line Версия ККМ: 001 [21:55:26]line ФМ: 0000000000965376 [21:55:26]line ФД: 25034 [21:55:26]line ФПД: 123632345493607 [21:55:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T215527&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25034&fm=123632345493607&tin=02508201610067®Number=0000000000098147&sum=12000 [21:55:26]line 0 [21:55:26]OFD Sender: Processing packet 25034 [packets to send 5, broken 4] [21:55:26]ProducePacketName [21:55:26]name=ofd_packets/00025034 [21:55:26]OFD Sender: To server: pG, [21:55:26]CommunicateWithHost lk.salyk.kg:30040 [21:55:26]ConnectInit lk.salyk.kg [21:55:26]written 0, free lines is 4095 [21:55:26]Connected sock=10 [21:55:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 33 01 00 00 3E D1 2B 01 7A 6B 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 4F 1F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CA 61 00 00 35 04 06 00 70 71 66 09 30 67 AF 55 9E F7 8A 60 C7 60 [21:55:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 FE CF 47 00 3F C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CA 61 00 00 F4 03 04 00 C8 C7 17 67 B6 04 01 00 00 80 5E 75 02 66 51 79 ED [21:55:26]CommunicateWithHost err = 0 [21:55:26]CheckOFDResponse [21:55:26]1017 (14) - 77093643461234 [21:55:26]1041 (16) - 0000000000965376 [21:55:26]1040 (4) - 25034 [21:55:26]1012 (4) - 22.10.2024 15:42 [21:55:26]1206 (1) - 0 [21:55:26]OFD Sender: Remove packet 25034 [21:55:26]ProducePacketName [21:55:26]name=ofd_packets/00025034 [21:55:26]NVStorageDeleteData [21:55:26]Write to MH i2c: 01 00 00 64 0B 6F [21:55:26]Write i2c OK [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: 01 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: 01 07 00 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: 01 07 00 64 0B 00 00 00 00 00 E1 0C 63 [21:55:26]RasterBufferAndPrint [21:55:26]line [21:55:26]line [21:55:26]line [21:55:26]line [21:55:26]line [21:55:26]written 0, free lines is 3303 [21:55:26]process_action close_receipt done [21:55:26]requested_data is exist [21:55:26]produce_requested_data [21:55:26]requested_item fm.sn is exist - process it [21:55:26]wFMCommunicate request_size=4 [21:55:26]MH_SAM_APDU [21:55:26]CAPDU: 80 11 00 00 [21:55:26]Write to MH i2c: E2 08 00 6B 0B 80 11 00 00 00 00 00 00 F0 [21:55:26]Write i2c OK [21:55:26]MH_I2C_Read... [21:55:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:55:26]Read from MH i2c: E2 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: E2 17 00 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: E2 17 00 6B 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 47 [21:55:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [21:55:26]wFMCommunicate OK [21:55:26]requested_item fd.num is exist - process it [21:55:26]SAM_PROTO_GetFieldsCounters [21:55:26]wFMCommunicate request_size=4 [21:55:26]MH_SAM_APDU [21:55:26]CAPDU: 80 13 00 00 [21:55:26]Write to MH i2c: E2 08 00 6C 0B 80 13 00 00 00 00 00 00 F3 [21:55:26]Write i2c OK [21:55:26]MH_I2C_Read... [21:55:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:55:26]Read from MH i2c: E2 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: E2 62 00 [21:55:26]MH_I2C_Read... [21:55:26]Read from MH i2c: E2 62 00 6C 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CA 61 00 00 0E 04 04 00 C9 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 B6 [21:55:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CA 61 00 00 0E 04 04 00 C9 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 [21:55:26]wFMCommunicate OK [21:55:26]SAM_PROTO_GetFieldsCounters done [21:55:26]requested_item shift.num is exist - process it [21:55:26]requested_item shift.opened is exist - process it [21:55:26]req_shift_opened [21:55:27]FM_GetShiftState [21:55:27]SAM_PROTO_GetShiftState [21:55:27]wFMCommunicate request_size=4 [21:55:27]MH_SAM_APDU [21:55:27]CAPDU: 80 13 01 00 [21:55:27]Write to MH i2c: E2 08 00 6D 0B 80 13 01 00 00 00 00 00 F5 [21:55:27]Write i2c OK [21:55:27]MH_I2C_Read... [21:55:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:55:27]Read from MH i2c: E2 [21:55:27]MH_I2C_Read... [21:55:27]Read from MH i2c: E2 0E 00 [21:55:27]MH_I2C_Read... [21:55:27]Read from MH i2c: E2 0E 00 6D 0B 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 46 [21:55:27]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [21:55:27]wFMCommunicate OK [21:55:27]SAM_PROTO_GetShiftState done [21:55:27]FM_GetShiftState done [21:55:27]req_shift_opened done [21:55:27]requested_item shift.open_date is exist - process it [21:55:27]req_shift_open_date [21:55:27]req_shift_open_date done [21:55:27]produce_requested_data done [21:55:27]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25034,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [21:55:27]process_action_free close_receipt [21:55:27]json_value_free [21:55:27]json_value_free done [21:55:27]process_json_proto returns [21:55:27]Send response to host [21:55:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25034,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [21:55:27]free response buf [21:55:27]execute_script done [21:55:27]execute_script returns [21:55:27]free content buf [21:55:27]Sock 9.Close socket [21:55:27]Sock 9.Thread stoped [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56:42]OFD Sender: No OFD packet to send [21:56:47]OFD Sender: No OFD packet to send [21:56:52]OFD Sender: No OFD packet to send [21:56:57]OFD Sender: No OFD packet to send [21:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:17]OFD Sender: No OFD packet to send [22:12:21]accept exits with 8 [22:12:21]New connection [22:12:21]New thread 3067612516 created [22:12:21]Thread 3067469156 joined [22:12:21]Waiting for new connection... [22:12:21] Sock 8.Parse request [22:12:21]Sock 8.Check first char [22:12:21]Sock 8.First char is OK [22:12:21]request: POST /json_proto HTTP/1.0 [22:12:21]Method: POST [22:12:21]URL: /json_proto [22:12:21]Method is POST - this is cgi request [22:12:21]url: /json_proto [22:12:21]query_string will be loaded in cgi processing [22:12:21]execute_cgi json_proto POST (null) [22:12:21]execute_cgi path=json_proto method=POST [22:12:21]POST find Content-Length [22:12:21]Host: 172.17.53.196:8080 [22:12:21]Content-Length: 905 [22:12:21]Content-Type: application/json [22:12:21] [22:12:21]POST finish read [22:12:21]Found Content-Length = 905 [22:12:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34793", "tax_sys" : 0, "items" : [ { "code": "4700041420145", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 100\u0448\u0442", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:12:21]execute_script... [22:12:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34793", "tax_sys" : 0, "items" : [ { "code": "4700041420145", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D BEST GOLD 100\u0448\u0442", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:12:21]POST & json_proto [22:12:21]process_json_proto [22:12:21]json parsed OK: [22:12:21]protocol is kg_v1.0 [22:12:21]action value=close_receipt [22:12:21]process_action close_receipt [22:12:21]cmd_close_receipt [22:12:21]MH_GetDate [22:12:21]Write to MH i2c: F0 00 00 6E 0B 68 [22:12:21]Write i2c OK [22:12:21]MH_I2C_Read... [22:12:21]Read from MH i2c: F0 [22:12:21]MH_I2C_Read... [22:12:21]Read from MH i2c: F0 09 00 [22:12:21]MH_I2C_Read... [22:12:21]Read from MH i2c: F0 09 00 6E 0B 00 48 23 18 67 4F CD 9A 65 76 [22:12:21]GetLastDocTimeStamp 1729634127 [22:12:21]current date 1729635144 [22:12:21]FM_GetShiftState [22:12:21]SAM_PROTO_GetShiftState [22:12:21]wFMCommunicate request_size=4 [22:12:21]MH_SAM_APDU [22:12:21]CAPDU: 80 13 01 00 [22:12:21]Write to MH i2c: E2 08 00 6F 0B 80 13 01 00 00 00 00 00 F7 [22:12:21]Write i2c OK [22:12:21]MH_I2C_Read... [22:12:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:12:21]Read from MH i2c: E2 [22:12:21]MH_I2C_Read... [22:12:21]Read from MH i2c: E2 0E 00 [22:12:21]MH_I2C_Read... [22:12:21]Read from MH i2c: E2 0E 00 6F 0B 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 48 [22:12:21]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:12:21]wFMCommunicate OK [22:12:21]SAM_PROTO_GetShiftState done [22:12:21]FM_GetShiftState done [22:12:21]opened in 1729556951 [22:12:21]opened+sec_in_day 1729643351 [22:12:21]quantity*price = 19000 [22:12:21]sum+1 = 19001 [22:12:21]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 56 22.10.2024 22:12 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25035 ФПД: 158913239462531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T221224&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25035&fm=158913239462531&tin=02508201610067®Number=0000000000098147&sum=20000 0 [22:12:22]StoreToDocumentArchive [22:12:22]shift 457 fd 25035 [22:12:22]save to /storage/0457/doc_00025035 [22:12:22]save last doc name /storage/0457/doc_00025035 to /storage/kkm_last_doc_name [22:12:22]save OK [22:12:22]Clear old archive folders... [22:12:22]ProcessDocumentItem done err = 0, tmpTLVsize=390 [22:12:22]tlvbuf is 00AC07A0 [22:12:22]SAM_PROTO_ClearQueue [22:12:22]wFMCommunicate request_size=4 [22:12:22]MH_SAM_APDU [22:12:22]CAPDU: 80 09 00 00 [22:12:22]Write to MH i2c: E2 08 00 7C 0B 80 09 00 00 00 00 00 00 F9 [22:12:22]Write i2c OK [22:12:22]MH_I2C_Read... [22:12:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:12:22]Read from MH i2c: E2 [22:12:22]MH_I2C_Read... [22:12:22]Read from MH i2c: E2 03 00 [22:12:22]MH_I2C_Read... [22:12:22]Read from MH i2c: E2 03 00 7C 0B 00 90 00 FB [22:12:22]RAPDU: 90 00 [22:12:22]wFMCommunicate OK [22:12:22]SAM_PROTO_ClearQueue done [22:12:22]KKMCreateOFDPacket [22:12:22]OFDProtocolAddRootSTLVToBuf [22:12:22]FM_MakeSignedData [22:12:22]FM_MakeSignedData [22:12:22]SAM_PROTO_SignData [22:12:22]wFMCommunicate request_size=4 [22:12:22]MH_SAM_APDU [22:12:22]CAPDU: 80 0D 01 02 [22:12:22]Write to MH i2c: E2 08 00 7D 0B 80 0D 01 02 00 00 00 00 01 [22:12:22]Write i2c OK [22:12:22]MH_I2C_Read... [22:12:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:12:22]Read from MH i2c: E2 [22:12:22]MH_I2C_Read... [22:12:22]Read from MH i2c: E2 03 00 [22:12:22]MH_I2C_Read... [22:12:22]Read from MH i2c: E2 03 00 7D 0B 00 90 00 FC [22:12:22]RAPDU: 90 00 [22:12:22]wFMCommunicate OK [22:12:22]wFMCommunicate request_size=255 [22:12:22]MH_SAM_APDU [22:12:22]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 34 35 06 04 2D 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 31 30 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [22:12:22]Write to MH i2c: E2 02 01 7E 0B 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 34 35 06 04 2D 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 31 30 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 47 [22:12:22]Write i2c OK [22:12:22]MH_I2C_Read... [22:12:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:22]Read from MH i2c: E2 [22:12:22]MH_I2C_Read... [22:12:22]Read from MH i2c: E2 03 00 [22:12:22]MH_I2C_Read... [22:12:22]Read from MH i2c: E2 03 00 7E 0B 00 90 00 FD [22:12:22]RAPDU: 90 00 [22:12:22]wFMCommunicate OK [22:12:22]wFMCommunicate request_size=149 [22:12:22]MH_SAM_APDU [22:12:22]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 48 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CB 61 00 00 35 04 06 00 90 87 DF 30 32 83 [22:12:22]Write to MH i2c: E2 98 00 7F 0B 80 0D 02 02 90 00 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 48 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CB 61 00 00 35 04 06 00 90 87 DF 30 32 83 00 00 C0 [22:12:22]Write i2c OK [22:12:22]MH_I2C_Read... [22:12:22]OFD Sender: No OFD packet to send [22:12:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:23]Read from MH i2c: E2 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: E2 03 00 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: E2 03 00 7F 0B 00 90 00 FE [22:12:23]RAPDU: 90 00 [22:12:23]wFMCommunicate OK [22:12:23]wFMCommunicate request_size=4 [22:12:23]MH_SAM_APDU [22:12:23]CAPDU: 80 0D 03 02 [22:12:23]Write to MH i2c: E2 08 00 80 0B 80 0D 03 02 00 00 00 00 06 [22:12:23]Write i2c OK [22:12:23]MH_I2C_Read... [22:12:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:12:23]Read from MH i2c: E2 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: E2 0B 00 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: E2 0B 00 80 0B 00 5E 0D A8 69 8F 1C 51 31 90 00 B0 [22:12:23]RAPDU: 5E 0D A8 69 8F 1C 51 31 90 00 [22:12:23]wFMCommunicate OK [22:12:23]SAM_PROTO_SignData done [22:12:23]FM_MakeSignedData done [22:12:23]CreateOFDProtocolMessage [22:12:23]wFMCommunicate request_size=4 [22:12:23]MH_SAM_APDU [22:12:23]CAPDU: 80 11 00 00 [22:12:23]Write to MH i2c: E2 08 00 81 0B 80 11 00 00 00 00 00 00 06 [22:12:23]Write i2c OK [22:12:23]MH_I2C_Read... [22:12:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:12:23]Read from MH i2c: E2 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: E2 17 00 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: E2 17 00 81 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 5D [22:12:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:12:23]wFMCommunicate OK [22:12:23]CreateOFDProtocolMessage done [22:12:23]OFDSenderStorePacket 25035 [22:12:23]StoreOFDPacket docnum=25035 [22:12:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9A 01 00 00 F5 51 92 01 7B 62 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 34 35 06 04 2D 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 31 30 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 48 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CB 61 00 00 35 04 06 00 90 87 DF 30 32 83 5E 0D A8 69 8F 1C 51 31 [22:12:23]CheckFolder [22:12:23]dirname=/storage/ofd_packets [22:12:23]CheckFolder done [22:12:23]ProducePacketName [22:12:23]name=ofd_packets/00025035 [22:12:23]NVStorageSaveData ofd_packets/00025035 [22:12:23]File name is /storage/ofd_packets/00025035 [22:12:23]Write 440 bytes [22:12:23]NVStorageSaveData done [22:12:23]OFDSenderStorePacket done [22:12:23]KKMCreateOFDPacket done [22:12:23]NVStorageSaveData kkm_last_timestamp [22:12:23]File name is /storage/kkm_last_timestamp [22:12:23]Write 4 bytes [22:12:23]NVStorageSaveData done [22:12:23]ExternCall_PrintAddStr [22:12:23]wPrintStart [22:12:23]Write to MH i2c: 01 00 00 82 0B 8D [22:12:23]Write i2c OK [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: 01 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: 01 07 00 [22:12:23]MH_I2C_Read... [22:12:23]Read from MH i2c: 01 07 00 82 0B 00 00 00 00 00 FF 0F A2 [22:12:23]RasterBufferAndPrint [22:12:23]line Счет N : (3)34793 [22:12:23]line ИНН: 02508201610067 [22:12:23]line Контрольно-Кассовый Чек [22:12:23]line ПРОДАЖА [22:12:23]line Товар: 4700041420145 [22:12:23]line Салфетки влажн BEST GOLD 100шт [22:12:23]line 1.000 * 190.00 [22:12:23]line = 190.00 [22:12:23]line НДС 12% НСП 1% [22:12:23]line > о реализуемом товаре [22:12:23]line Товар: 46226624 [22:12:23]line Mentos ПВ Клубника 6*100*2 [22:12:23]line 1.000 * 10.00 [22:12:23]line = 10.00 [22:12:23]line НДС 12% НСП 1% [22:12:23]line > о реализуемом товаре [22:12:23]line ИТОГО: 200.00 [22:12:23]line НСП 1% : 1.77 [22:12:23]line НДС 12% : 21.24 [22:12:23]line Наличными: 200.00 [22:12:23]line Безнал.: 0.00 [22:12:23]line Место: АЗС № 161 "Партнер Нефть" [22:12:23]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [22:12:23]line СНО: Общий режим [22:12:23]line Чек 56 22.10.2024 22:12 [22:12:23]line Смена: 457 ФФД: 1.0 [22:12:23]line ЗНМ: 0300000240 [22:12:23]line РНМ: 0000000000098147 [22:12:23]line Версия ККМ: 001 [22:12:23]line ФМ: 0000000000965376 [22:12:23]line ФД: 25035 [22:12:23]line ФПД: 158913239462531 [22:12:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T221224&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25035&fm=158913239462531&tin=02508201610067®Number=0000000000098147&sum=20000 [22:12:23]line 0 [22:12:23]written 0, free lines is 4095 [22:12:23]OFD Sender: Processing packet 25035 [packets to send 5, broken 4] [22:12:23]ProducePacketName [22:12:23]name=ofd_packets/00025035 [22:12:23]OFD Sender: To server: pG, [22:12:23]CommunicateWithHost lk.salyk.kg:30040 [22:12:23]ConnectInit lk.salyk.kg [22:12:23]Connected sock=10 [22:12:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 9A 01 00 00 F5 51 92 01 7B 62 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 34 37 30 30 30 34 31 34 32 30 31 34 35 06 04 2D 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD 20 42 45 53 54 20 47 4F 4C 44 20 31 30 30 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 20 4E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 48 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CB 61 00 00 35 04 06 00 90 87 DF 30 32 83 5E 0D A8 69 8F 1C 51 31 [22:12:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 5E 50 47 00 54 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CB 61 00 00 F4 03 04 00 C1 CB 17 67 B6 04 01 00 00 4A AE 1D 10 E4 80 76 AF [22:12:23]CommunicateWithHost err = 0 [22:12:23]CheckOFDResponse [22:12:23]1017 (14) - 77093643461234 [22:12:23]1041 (16) - 0000000000965376 [22:12:23]1040 (4) - 25035 [22:12:23]1012 (4) - 22.10.2024 15:58 [22:12:23]1206 (1) - 0 [22:12:23]OFD Sender: Remove packet 25035 [22:12:23]ProducePacketName [22:12:23]name=ofd_packets/00025035 [22:12:23]NVStorageDeleteData [22:12:24]Write to MH i2c: 01 00 00 B1 0B BC [22:12:24]Write i2c OK [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: 01 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: 01 07 00 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: 01 07 00 B1 0B 00 00 00 00 00 7A 0C 49 [22:12:24]RasterBufferAndPrint [22:12:24]line [22:12:24]line [22:12:24]line [22:12:24]line [22:12:24]line [22:12:24]written 0, free lines is 3200 [22:12:24]process_action close_receipt done [22:12:24]requested_data is exist [22:12:24]produce_requested_data [22:12:24]requested_item fm.sn is exist - process it [22:12:24]wFMCommunicate request_size=4 [22:12:24]MH_SAM_APDU [22:12:24]CAPDU: 80 11 00 00 [22:12:24]Write to MH i2c: E2 08 00 B8 0B 80 11 00 00 00 00 00 00 3D [22:12:24]Write i2c OK [22:12:24]MH_I2C_Read... [22:12:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:12:24]Read from MH i2c: E2 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: E2 17 00 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: E2 17 00 B8 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 94 [22:12:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:12:24]wFMCommunicate OK [22:12:24]requested_item fd.num is exist - process it [22:12:24]SAM_PROTO_GetFieldsCounters [22:12:24]wFMCommunicate request_size=4 [22:12:24]MH_SAM_APDU [22:12:24]CAPDU: 80 13 00 00 [22:12:24]Write to MH i2c: E2 08 00 B9 0B 80 13 00 00 00 00 00 00 40 [22:12:24]Write i2c OK [22:12:24]MH_I2C_Read... [22:12:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:12:24]Read from MH i2c: E2 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: E2 62 00 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: E2 62 00 B9 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CB 61 00 00 0E 04 04 00 C9 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 07 [22:12:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CB 61 00 00 0E 04 04 00 C9 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 [22:12:24]wFMCommunicate OK [22:12:24]SAM_PROTO_GetFieldsCounters done [22:12:24]requested_item shift.num is exist - process it [22:12:24]requested_item shift.opened is exist - process it [22:12:24]req_shift_opened [22:12:24]FM_GetShiftState [22:12:24]SAM_PROTO_GetShiftState [22:12:24]wFMCommunicate request_size=4 [22:12:24]MH_SAM_APDU [22:12:24]CAPDU: 80 13 01 00 [22:12:24]Write to MH i2c: E2 08 00 BA 0B 80 13 01 00 00 00 00 00 42 [22:12:24]Write i2c OK [22:12:24]MH_I2C_Read... [22:12:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:12:24]Read from MH i2c: E2 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: E2 0E 00 [22:12:24]MH_I2C_Read... [22:12:24]Read from MH i2c: E2 0E 00 BA 0B 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 93 [22:12:24]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:12:24]wFMCommunicate OK [22:12:24]SAM_PROTO_GetShiftState done [22:12:24]FM_GetShiftState done [22:12:24]req_shift_opened done [22:12:24]requested_item shift.open_date is exist - process it [22:12:24]req_shift_open_date [22:12:24]req_shift_open_date done [22:12:24]produce_requested_data done [22:12:24]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25035,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [22:12:24]process_action_free close_receipt [22:12:24]json_value_free [22:12:24]json_value_free done [22:12:24]process_json_proto returns [22:12:24]Send response to host [22:12:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25035,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [22:12:24]free response buf [22:12:24]execute_script done [22:12:24]execute_script returns [22:12:24]free content buf [22:12:24]Sock 8.Close socket [22:12:24]Sock 8.Thread stoped [22:12:24]OFD Sender: No OFD packet to send [22:12:29]OFD Sender: No OFD packet to send [22:12:34]OFD Sender: No OFD packet to send [22:12:39]OFD Sender: No OFD packet to send [22:12:44]OFD Sender: No OFD packet to send [22:12:49]OFD Sender: No OFD packet to send [22:12:54]OFD Sender: No OFD packet to send [22:12:59]OFD Sender: No OFD packet to send [22:13:04]OFD Sender: No OFD packet to send [22:13:09]OFD Sender: No OFD packet to send [22:13:14]OFD Sender: No OFD packet to send [22:13:19]OFD Sender: No OFD packet to send [22:13:24]OFD Sender: No OFD packet to send [22:13:29]OFD Sender: No OFD packet to send [22:13:34]OFD Sender: No OFD packet to send [22:13:39]OFD Sender: No OFD packet to send [22:13:44]OFD Sender: No OFD packet to send [22:13:49]OFD Sender: No OFD packet to send [22:13:54]OFD Sender: No OFD packet to send [22:13:59]OFD Sender: No OFD packet to send [22:14:04]OFD Sender: No OFD packet to send [22:14:09]OFD Sender: No OFD packet to send [22:14:14]OFD Sender: No OFD packet to send [22:14:19]OFD Sender: No OFD packet to send [22:14:24]OFD Sender: No OFD packet to send [22:14:29]OFD Sender: No OFD packet to send [22:14:34]OFD Sender: No OFD packet to send [22:14:39]OFD Sender: No OFD packet to send [22:14:44]OFD Sender: No OFD packet to send [22:14:49]OFD Sender: No OFD packet to send [22:14:54]OFD Sender: No OFD packet to send [22:14:59]OFD Sender: No OFD packet to send [22:15:00]accept exits with 9 [22:15:00]New connection [22:15:00]New thread 3067469156 created [22:15:00]Thread 3067612516 joined [22:15:00]Waiting for new connection... [22:15:00] Sock 9.Parse request [22:15:00]Sock 9.Check first char [22:15:00]Sock 9.First char is OK [22:15:00]request: POST /json_proto HTTP/1.0 [22:15:00]Method: POST [22:15:00]URL: /json_proto [22:15:00]Method is POST - this is cgi request [22:15:00]url: /json_proto [22:15:00]query_string will be loaded in cgi processing [22:15:00]execute_cgi json_proto POST (null) [22:15:00]execute_cgi path=json_proto method=POST [22:15:00]POST find Content-Length [22:15:00]Host: 172.17.53.196:8080 [22:15:00]Content-Length: 694 [22:15:00]Content-Type: application/json [22:15:00] [22:15:00]POST finish read [22:15:00]Found Content-Length = 694 [22:15:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34794", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:15:00]execute_script... [22:15:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34794", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:15:00]POST & json_proto [22:15:00]process_json_proto [22:15:00]json parsed OK: [22:15:00]protocol is kg_v1.0 [22:15:00]action value=close_receipt [22:15:00]process_action close_receipt [22:15:00]cmd_close_receipt [22:15:00]MH_GetDate [22:15:00]Write to MH i2c: F0 00 00 BB 0B B5 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: F0 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: F0 09 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: F0 09 00 BB 0B 00 E6 23 18 67 4F CD 9A 65 61 [22:15:00]GetLastDocTimeStamp 1729635144 [22:15:00]current date 1729635302 [22:15:00]FM_GetShiftState [22:15:00]SAM_PROTO_GetShiftState [22:15:00]wFMCommunicate request_size=4 [22:15:00]MH_SAM_APDU [22:15:00]CAPDU: 80 13 01 00 [22:15:00]Write to MH i2c: E2 08 00 BC 0B 80 13 01 00 00 00 00 00 44 [22:15:00]Write i2c OK [22:15:00]MH_I2C_Read... [22:15:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:15:00]Read from MH i2c: E2 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 0E 00 [22:15:00]MH_I2C_Read... [22:15:00]Read from MH i2c: E2 0E 00 BC 0B 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 95 [22:15:00]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:15:00]wFMCommunicate OK [22:15:00]SAM_PROTO_GetShiftState done [22:15:00]FM_GetShiftState done [22:15:00]opened in 1729556951 [22:15:00]opened+sec_in_day 1729643351 [22:15:00]quantity*price = 1500 [22:15:00]sum+1 = 1501 [22:15:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 57 22.10.2024 22:15 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25036 ФПД: 3476520929702 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T221502&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25036&fm=3476520929702&tin=02508201610067®Number=0000000000098147&sum=1500 0 [22:15:01]StoreToDocumentArchive [22:15:01]shift 457 fd 25036 [22:15:01]save to /storage/0457/doc_00025036 [22:15:01]save last doc name /storage/0457/doc_00025036 to /storage/kkm_last_doc_name [22:15:01]save OK [22:15:01]Clear old archive folders... [22:15:01]ProcessDocumentItem done err = 0, tmpTLVsize=290 [22:15:01]tlvbuf is 00AD9630 [22:15:01]SAM_PROTO_ClearQueue [22:15:01]wFMCommunicate request_size=4 [22:15:01]MH_SAM_APDU [22:15:01]CAPDU: 80 09 00 00 [22:15:01]Write to MH i2c: E2 08 00 C9 0B 80 09 00 00 00 00 00 00 46 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:15:01]Read from MH i2c: E2 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 C9 0B 00 90 00 48 [22:15:01]RAPDU: 90 00 [22:15:01]wFMCommunicate OK [22:15:01]SAM_PROTO_ClearQueue done [22:15:01]KKMCreateOFDPacket [22:15:01]OFDProtocolAddRootSTLVToBuf [22:15:01]FM_MakeSignedData [22:15:01]FM_MakeSignedData [22:15:01]SAM_PROTO_SignData [22:15:01]wFMCommunicate request_size=4 [22:15:01]MH_SAM_APDU [22:15:01]CAPDU: 80 0D 01 02 [22:15:01]Write to MH i2c: E2 08 00 CA 0B 80 0D 01 02 00 00 00 00 4E [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:15:01]Read from MH i2c: E2 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 CA 0B 00 90 00 49 [22:15:01]RAPDU: 90 00 [22:15:01]wFMCommunicate OK [22:15:01]wFMCommunicate request_size=255 [22:15:01]MH_SAM_APDU [22:15:01]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 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 E6 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [22:15:01]Write to MH i2c: E2 02 01 CB 0B 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 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 E6 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 97 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:15:01]Read from MH i2c: E2 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 CB 0B 00 90 00 4A [22:15:01]RAPDU: 90 00 [22:15:01]wFMCommunicate OK [22:15:01]wFMCommunicate request_size=49 [22:15:01]MH_SAM_APDU [22:15:01]CAPDU: 80 0D 02 02 2C 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CC 61 00 00 35 04 06 00 03 29 70 CB 89 A6 [22:15:01]Write to MH i2c: E2 34 00 CC 0B 80 0D 02 02 2C 00 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CC 61 00 00 35 04 06 00 03 29 70 CB 89 A6 00 00 49 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:15:01]Read from MH i2c: E2 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 03 00 CC 0B 00 90 00 4B [22:15:01]RAPDU: 90 00 [22:15:01]wFMCommunicate OK [22:15:01]wFMCommunicate request_size=4 [22:15:01]MH_SAM_APDU [22:15:01]CAPDU: 80 0D 03 02 [22:15:01]Write to MH i2c: E2 08 00 CD 0B 80 0D 03 02 00 00 00 00 53 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:15:01]Read from MH i2c: E2 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 0B 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 0B 00 CD 0B 00 F3 8E 8F FE 78 D9 81 85 90 00 B9 [22:15:01]RAPDU: F3 8E 8F FE 78 D9 81 85 90 00 [22:15:01]wFMCommunicate OK [22:15:01]SAM_PROTO_SignData done [22:15:01]FM_MakeSignedData done [22:15:01]CreateOFDProtocolMessage [22:15:01]wFMCommunicate request_size=4 [22:15:01]MH_SAM_APDU [22:15:01]CAPDU: 80 11 00 00 [22:15:01]Write to MH i2c: E2 08 00 CE 0B 80 11 00 00 00 00 00 00 53 [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:01]Read from MH i2c: E2 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 17 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: E2 17 00 CE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 AA [22:15:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:15:01]wFMCommunicate OK [22:15:01]CreateOFDProtocolMessage done [22:15:01]OFDSenderStorePacket 25036 [22:15:01]StoreOFDPacket docnum=25036 [22:15:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 36 01 00 00 A5 5B 2E 01 74 D2 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 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 E6 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CC 61 00 00 35 04 06 00 03 29 70 CB 89 A6 F3 8E 8F FE 78 D9 81 85 [22:15:01]CheckFolder [22:15:01]dirname=/storage/ofd_packets [22:15:01]CheckFolder done [22:15:01]ProducePacketName [22:15:01]name=ofd_packets/00025036 [22:15:01]NVStorageSaveData ofd_packets/00025036 [22:15:01]File name is /storage/ofd_packets/00025036 [22:15:01]Write 340 bytes [22:15:01]NVStorageSaveData done [22:15:01]OFDSenderStorePacket done [22:15:01]KKMCreateOFDPacket done [22:15:01]NVStorageSaveData kkm_last_timestamp [22:15:01]File name is /storage/kkm_last_timestamp [22:15:01]Write 4 bytes [22:15:01]NVStorageSaveData done [22:15:01]ExternCall_PrintAddStr [22:15:01]wPrintStart [22:15:01]Write to MH i2c: 01 00 00 CF 0B DA [22:15:01]OFD Sender: Processing packet 25036 [packets to send 5, broken 4] [22:15:01]ProducePacketName [22:15:01]name=ofd_packets/00025036 [22:15:01]OFD Sender: To server: pG, [22:15:01]CommunicateWithHost lk.salyk.kg:30040 [22:15:01]ConnectInit lk.salyk.kg [22:15:01]Write i2c OK [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: 01 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: 01 07 00 [22:15:01]MH_I2C_Read... [22:15:01]Read from MH i2c: 01 07 00 CF 0B 00 00 00 00 00 FF 0F EF [22:15:01]RasterBufferAndPrint [22:15:01]line Счет N : (3)34794 [22:15:01]line ИНН: 02508201610067 [22:15:01]line Контрольно-Кассовый Чек [22:15:01]line ПРОДАЖА [22:15:01]line Товар: 4700000160013 [22:15:01]line Снек Курут индивидуальный [22:15:01]line 1.000 * 15.00 [22:15:01]line = 15.00 [22:15:01]line НДС 12% НСП 1% [22:15:01]line > о реализуемом товаре [22:15:01]line ИТОГО: 15.00 [22:15:01]line НСП 1% : 0.13 [22:15:01]line НДС 12% : 1.59 [22:15:01]line Наличными: 15.00 [22:15:01]line Безнал.: 0.00 [22:15:01]line Место: АЗС № 161 "Партнер Нефть" [22:15:01]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [22:15:01]line СНО: Общий режим [22:15:01]line Чек 57 22.10.2024 22:15 [22:15:01]line Смена: 457 ФФД: 1.0 [22:15:01]line ЗНМ: 0300000240 [22:15:01]line РНМ: 0000000000098147 [22:15:01]line Версия ККМ: 001 [22:15:01]line ФМ: 0000000000965376 [22:15:01]line ФД: 25036 [22:15:01]line ФПД: 3476520929702 [22:15:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T221502&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25036&fm=3476520929702&tin=02508201610067®Number=0000000000098147&sum=1500 [22:15:02]Connected sock=10 [22:15:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 36 01 00 00 A5 5B 2E 01 74 D2 5A 03 01 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 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 E6 23 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CC 61 00 00 35 04 06 00 03 29 70 CB 89 A6 F3 8E 8F FE 78 D9 81 85 [22:15:02]line 0 [22:15:02]written 0, free lines is 4095 [22:15:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 2B CB 47 00 33 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CC 61 00 00 F4 03 04 00 60 CC 17 67 B6 04 01 00 00 4F 0E 1B 81 00 2A 9C 0C [22:15:02]CommunicateWithHost err = 0 [22:15:02]CheckOFDResponse [22:15:02]1017 (14) - 77093643461234 [22:15:02]1041 (16) - 0000000000965376 [22:15:02]1040 (4) - 25036 [22:15:02]1012 (4) - 22.10.2024 16:01 [22:15:02]1206 (1) - 0 [22:15:02]OFD Sender: Remove packet 25036 [22:15:02]ProducePacketName [22:15:02]name=ofd_packets/00025036 [22:15:02]NVStorageDeleteData [22:15:02]Write to MH i2c: 01 00 00 F7 0B 02 [22:15:02]Write i2c OK [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: 01 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: 01 07 00 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: 01 07 00 F7 0B 00 00 00 00 00 D6 0C EB [22:15:02]RasterBufferAndPrint [22:15:02]line [22:15:02]line [22:15:02]line [22:15:02]line [22:15:02]line [22:15:02]written 0, free lines is 3292 [22:15:02]process_action close_receipt done [22:15:02]requested_data is exist [22:15:02]produce_requested_data [22:15:02]requested_item fm.sn is exist - process it [22:15:02]wFMCommunicate request_size=4 [22:15:02]MH_SAM_APDU [22:15:02]CAPDU: 80 11 00 00 [22:15:02]Write to MH i2c: E2 08 00 FE 0B 80 11 00 00 00 00 00 00 83 [22:15:02]Write i2c OK [22:15:02]MH_I2C_Read... [22:15:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:15:02]Read from MH i2c: E2 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: E2 17 00 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: E2 17 00 FE 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DA [22:15:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:15:02]wFMCommunicate OK [22:15:02]requested_item fd.num is exist - process it [22:15:02]SAM_PROTO_GetFieldsCounters [22:15:02]wFMCommunicate request_size=4 [22:15:02]MH_SAM_APDU [22:15:02]CAPDU: 80 13 00 00 [22:15:02]Write to MH i2c: E2 08 00 FF 0B 80 13 00 00 00 00 00 00 86 [22:15:02]Write i2c OK [22:15:02]MH_I2C_Read... [22:15:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:15:02]Read from MH i2c: E2 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: E2 62 00 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: E2 62 00 FF 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CC 61 00 00 0E 04 04 00 C9 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 51 [22:15:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CC 61 00 00 0E 04 04 00 C9 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 [22:15:02]wFMCommunicate OK [22:15:02]SAM_PROTO_GetFieldsCounters done [22:15:02]requested_item shift.num is exist - process it [22:15:02]requested_item shift.opened is exist - process it [22:15:02]req_shift_opened [22:15:02]FM_GetShiftState [22:15:02]SAM_PROTO_GetShiftState [22:15:02]wFMCommunicate request_size=4 [22:15:02]MH_SAM_APDU [22:15:02]CAPDU: 80 13 01 00 [22:15:02]Write to MH i2c: E2 08 00 00 0C 80 13 01 00 00 00 00 00 89 [22:15:02]Write i2c OK [22:15:02]MH_I2C_Read... [22:15:02]OFD Sender: No OFD packet to send [22:15:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:15:02]Read from MH i2c: E2 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: E2 0E 00 [22:15:02]MH_I2C_Read... [22:15:02]Read from MH i2c: E2 0E 00 00 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 DA [22:15:02]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:15:02]wFMCommunicate OK [22:15:02]SAM_PROTO_GetShiftState done [22:15:02]FM_GetShiftState done [22:15:02]req_shift_opened done [22:15:02]requested_item shift.open_date is exist - process it [22:15:02]req_shift_open_date [22:15:02]req_shift_open_date done [22:15:02]produce_requested_data done [22:15:02]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25036,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [22:15:02]process_action_free close_receipt [22:15:02]json_value_free [22:15:02]json_value_free done [22:15:02]process_json_proto returns [22:15:02]Send response to host [22:15:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25036,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [22:15:02]free response buf [22:15:02]execute_script done [22:15:02]execute_script returns [22:15:02]free content buf [22:15:02]Sock 9.Close socket [22:15:02]Sock 9.Thread stoped [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:13]OFD Sender: No OFD packet to send [22:16:18]OFD Sender: No OFD packet to send [22:16:23]OFD Sender: No OFD packet to send [22:16:28]OFD Sender: No OFD packet to send [22:16:33]OFD Sender: No OFD packet to send [22:16:38]OFD Sender: No OFD packet to send [22:16:43]OFD Sender: No OFD packet to send [22:16:48]OFD Sender: No OFD packet to send [22:16:53]OFD Sender: No OFD packet to send [22:16:58]OFD Sender: No OFD packet to send [22:17:03]OFD Sender: No OFD packet to send [22:17:08]OFD Sender: No OFD packet to send [22:17:13]OFD Sender: No OFD packet to send [22:17:18]OFD Sender: No OFD packet to send [22:17:23]OFD Sender: No OFD packet to send [22:17:28]OFD Sender: No OFD packet to send [22:17:33]OFD Sender: No OFD packet to send [22:17:38]OFD Sender: No OFD packet to send [22:17:43]OFD Sender: No OFD packet to send [22:17:48]OFD Sender: No OFD packet to send [22:17:53]OFD Sender: No OFD packet to send [22:17:58]OFD Sender: No OFD packet to send [22:18:03]OFD Sender: No OFD packet to send [22:18:08]OFD Sender: No OFD packet to send [22:18:13]OFD Sender: No OFD packet to send [22:18:18]OFD Sender: No OFD packet to send [22:18:23]OFD Sender: No OFD packet to send [22:18:28]OFD Sender: No OFD packet to send [22:18:33]OFD Sender: No OFD packet to send [22:18:38]OFD Sender: No OFD packet to send [22:18:43]OFD Sender: No OFD packet to send [22:18:48]OFD Sender: No OFD packet to send [22:18:53]OFD Sender: No OFD packet to send [22:18:58]OFD Sender: No OFD packet to send [22:19:03]OFD Sender: No OFD packet to send [22:19:08]OFD Sender: No OFD packet to send [22:19:13]OFD Sender: No OFD packet to send [22:19:18]OFD Sender: No OFD packet to send [22:19:23]OFD Sender: No OFD packet to send [22:19:28]OFD Sender: No OFD packet to send [22:19:33]OFD Sender: No OFD packet to send [22:19:38]OFD Sender: No OFD packet to send [22:19:43]OFD Sender: No OFD packet to send [22:19:48]OFD Sender: No OFD packet to send [22:19:53]OFD Sender: No OFD packet to send [22:19:58]OFD Sender: No OFD packet to send [22:20:03]OFD Sender: No OFD packet to send [22:20:08]OFD Sender: No OFD packet to send [22:20:13]OFD Sender: No OFD packet to send [22:20:18]OFD Sender: No OFD packet to send [22:20:23]OFD Sender: No OFD packet to send [22:20:28]OFD Sender: No OFD packet to send [22:20:33]OFD Sender: No OFD packet to send [22:20:38]OFD Sender: No OFD packet to send [22:20:43]OFD Sender: No OFD packet to send [22:20:48]OFD Sender: No OFD packet to send [22:20:53]OFD Sender: No OFD packet to send [22:20:58]OFD Sender: No OFD packet to send [22:21:03]OFD Sender: No OFD packet to send [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:33]OFD Sender: No OFD packet to send [22:21:38]OFD Sender: No OFD packet to send [22:21:43]OFD Sender: No OFD packet to send [22:21:48]OFD Sender: No OFD packet to send [22:21:53]OFD Sender: No OFD packet to send [22:21:58]OFD Sender: No OFD packet to send [22:22:03]OFD Sender: No OFD packet to send [22:22:08]OFD Sender: No OFD packet to send [22:22:13]OFD Sender: No OFD packet to send [22:22:18]OFD Sender: No OFD packet to send [22:22:23]OFD Sender: No OFD packet to send [22:22:28]OFD Sender: No OFD packet to send [22:22:33]OFD Sender: No OFD packet to send [22:22:38]OFD Sender: No OFD packet to send [22:22:43]OFD Sender: No OFD packet to send [22:22:48]OFD Sender: No OFD packet to send [22:22:53]OFD Sender: No OFD packet to send [22:22:58]OFD Sender: No OFD packet to send [22:23:03]OFD Sender: No OFD packet to send [22:23:08]OFD Sender: No OFD packet to send [22:23:13]OFD Sender: No OFD packet to send [22:23:18]OFD Sender: No OFD packet to send [22:23:23]OFD Sender: No OFD packet to send [22:23:28]OFD Sender: No OFD packet to send [22:23:33]OFD Sender: No OFD packet to send [22:23:38]OFD Sender: No OFD packet to send [22:23:43]OFD Sender: No OFD packet to send [22:23:48]OFD Sender: No OFD packet to send [22:23:53]OFD Sender: No OFD packet to send [22:23:58]OFD Sender: No OFD packet to send [22:24:03]OFD Sender: No OFD packet to send [22:24:08]OFD Sender: No OFD packet to send [22:24:13]OFD Sender: No OFD packet to send [22:24:18]OFD Sender: No OFD packet to send [22:24:23]OFD Sender: No OFD packet to send [22:24:28]OFD Sender: No OFD packet to send [22:24:33]OFD Sender: No OFD packet to send [22:24:38]OFD Sender: No OFD packet to send [22:24:43]OFD Sender: No OFD packet to send [22:24:48]OFD Sender: No OFD packet to send [22:24:53]OFD Sender: No OFD packet to send [22:24:58]OFD Sender: No OFD packet to send [22:25:03]OFD Sender: No OFD packet to send [22:25:08]OFD Sender: No OFD packet to send [22:25:13]OFD Sender: No OFD packet to send [22:25:18]OFD Sender: No OFD packet to send [22:25:23]OFD Sender: No OFD packet to send [22:25:28]OFD Sender: No OFD packet to send [22:25:33]OFD Sender: No OFD packet to send [22:25:38]OFD Sender: No OFD packet to send [22:25:43]OFD Sender: No OFD packet to send [22:25:48]OFD Sender: No OFD packet to send [22:25:53]OFD Sender: No OFD packet to send [22:25:58]OFD Sender: No OFD packet to send [22:26:03]OFD Sender: No OFD packet to send [22:26:08]OFD Sender: No OFD packet to send [22:26:13]OFD Sender: No OFD packet to send [22:26:18]OFD Sender: No OFD packet to send [22:26:23]OFD Sender: No OFD packet to send [22:26:28]OFD Sender: No OFD packet to send [22:26:33]OFD Sender: No OFD packet to send [22:26:38]OFD Sender: No OFD packet to send [22:26:43]OFD Sender: No OFD packet to send [22:26:48]OFD Sender: No OFD packet to send [22:26:53]OFD Sender: No OFD packet to send [22:26:58]OFD Sender: No OFD packet to send [22:27:03]OFD Sender: No OFD packet to send [22:27:08]OFD Sender: No OFD packet to send [22:27:13]OFD Sender: No OFD packet to send [22:27:18]OFD Sender: No OFD packet to send [22:27:23]OFD Sender: No OFD packet to send [22:27:28]OFD Sender: No OFD packet to send [22:27:33]OFD Sender: No OFD packet to send [22:27:38]OFD Sender: No OFD packet to send [22:27:43]OFD Sender: No OFD packet to send [22:27:48]OFD Sender: No OFD packet to send [22:27:53]OFD Sender: No OFD packet to send [22:27:58]OFD Sender: No OFD packet to send [22:28:03]OFD Sender: No OFD packet to send [22:28:08]OFD Sender: No OFD packet to send [22:28:13]OFD Sender: No OFD packet to send [22:28:18]OFD Sender: No OFD packet to send [22:28:23]OFD Sender: No OFD packet to send [22:28:28]OFD Sender: No OFD packet to send [22:28:33]OFD Sender: No OFD packet to send [22:28:38]OFD Sender: No OFD packet to send [22:28:43]OFD Sender: No OFD packet to send [22:28:48]OFD Sender: No OFD packet to send [22:28:53]OFD Sender: No OFD packet to send [22:28:58]OFD Sender: No OFD packet to send [22:29:03]OFD Sender: No OFD packet to send [22:29:08]OFD Sender: No OFD packet to send [22:29:13]OFD Sender: No OFD packet to send [22:29:18]OFD Sender: No OFD packet to send [22:29:23]OFD Sender: No OFD packet to send [22:29:28]OFD Sender: No OFD packet to send [22:29:33]OFD Sender: No OFD packet to send [22:29:38]OFD Sender: No OFD packet to send [22:29:43]OFD Sender: No OFD packet to send [22:29:48]OFD Sender: No OFD packet to send [22:29:53]OFD Sender: No OFD packet to send [22:29:58]OFD Sender: No OFD packet to send [22:30:03]OFD Sender: No OFD packet to send [22:30:08]OFD Sender: No OFD packet to send [22:30:13]OFD Sender: No OFD packet to send [22:30:18]OFD Sender: No OFD packet to send [22:30:23]OFD Sender: No OFD packet to send [22:30:28]OFD Sender: No OFD packet to send [22:30:33]OFD Sender: No OFD packet to send [22:30:38]OFD Sender: No OFD packet to send [22:30:43]OFD Sender: No OFD packet to send [22:30:48]OFD Sender: No OFD packet to send [22:30:53]OFD Sender: No OFD packet to send [22:30:58]OFD Sender: No OFD packet to send [22:31:03]OFD Sender: No OFD packet to send [22:31:08]OFD Sender: No OFD packet to send [22:31:13]OFD Sender: No OFD packet to send [22:31:18]OFD Sender: No OFD packet to send [22:31:23]OFD Sender: No OFD packet to send [22:31:28]OFD Sender: No OFD packet to send [22:31:33]OFD Sender: No OFD packet to send [22:31:38]OFD Sender: No OFD packet to send [22:31:43]OFD Sender: No OFD packet to send [22:31:48]OFD Sender: No OFD packet to send [22:31:53]OFD Sender: No OFD packet to send [22:31:58]OFD Sender: No OFD packet to send [22:32:03]OFD Sender: No OFD packet to send [22:32:08]OFD Sender: No OFD packet to send [22:32:13]OFD Sender: No OFD packet to send [22:32:18]OFD Sender: No OFD packet to send [22:32:23]OFD Sender: No OFD packet to send [22:32:28]OFD Sender: No OFD packet to send [22:32:33]OFD Sender: No OFD packet to send [22:32:38]OFD Sender: No OFD packet to send [22:32:43]OFD Sender: No OFD packet to send [22:32:48]OFD Sender: No OFD packet to send [22:32:53]OFD Sender: No OFD packet to send [22:32:58]OFD Sender: No OFD packet to send [22:33:03]OFD Sender: No OFD packet to send [22:33:08]OFD Sender: No OFD packet to send [22:33:13]OFD Sender: No OFD packet to send [22:33:18]OFD Sender: No OFD packet to send [22:33:23]OFD Sender: No OFD packet to send [22:33:28]OFD Sender: No OFD packet to send [22:33:33]OFD Sender: No OFD packet to send [22:33:38]OFD Sender: No OFD packet to send [22:33:43]OFD Sender: No OFD packet to send [22:33:48]OFD Sender: No OFD packet to send [22:33:53]OFD Sender: No OFD packet to send [22:33:58]OFD Sender: No OFD packet to send [22:34:03]OFD Sender: No OFD packet to send [22:34:08]OFD Sender: No OFD packet to send [22:34:13]OFD Sender: No OFD packet to send [22:34:18]OFD Sender: No OFD packet to send [22:34:23]OFD Sender: No OFD packet to send [22:34:28]OFD Sender: No OFD packet to send [22:34:33]OFD Sender: No OFD packet to send [22:34:38]OFD Sender: No OFD packet to send [22:34:43]OFD Sender: No OFD packet to send [22:34:48]OFD Sender: No OFD packet to send [22:34:53]OFD Sender: No OFD packet to send [22:34:58]OFD Sender: No OFD packet to send [22:35:03]OFD Sender: No OFD packet to send [22:35:08]OFD Sender: No OFD packet to send [22:35:13]OFD Sender: No OFD packet to send [22:35:18]OFD Sender: No OFD packet to send [22:35:23]OFD Sender: No OFD packet to send [22:35:28]OFD Sender: No OFD packet to send [22:35:33]OFD Sender: No OFD packet to send [22:35:38]OFD Sender: No OFD packet to send [22:35:43]OFD Sender: No OFD packet to send [22:35:48]accept exits with 8 [22:35:48]New connection [22:35:48]New thread 3067612516 created [22:35:48]Thread 3067469156 joined [22:35:48]Waiting for new connection... [22:35:48] Sock 8.Parse request [22:35:48]Sock 8.Check first char [22:35:48]Sock 8.First char is OK [22:35:48]request: POST /json_proto HTTP/1.0 [22:35:48]Method: POST [22:35:48]URL: /json_proto [22:35:48]Method is POST - this is cgi request [22:35:48]url: /json_proto [22:35:48]query_string will be loaded in cgi processing [22:35:48]execute_cgi json_proto POST (null) [22:35:48]execute_cgi path=json_proto method=POST [22:35:48]POST find Content-Length [22:35:48]Host: 172.17.53.196:8080 [22:35:48]Content-Length: 215 [22:35:48]Content-Type: application/json [22:35:48] [22:35:48]POST finish read [22:35:48]Found Content-Length = 215 [22:35:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:48]execute_script... [22:35:48]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:35:48]POST & json_proto [22:35:48]process_json_proto [22:35:48]json parsed OK: [22:35:48]protocol is kg_v1.0 [22:35:48]action value=get_value [22:35:48]process_action get_value [22:35:48]cmd_get_value [22:35:48]process_action get_value done [22:35:48]requested_data is exist [22:35:48]produce_requested_data [22:35:48]requested_item kkm.sn is exist - process it [22:35:48]requested_item kkm.ver is exist - process it [22:35:48]requested_item fm.sn is exist - process it [22:35:48]wFMCommunicate request_size=4 [22:35:48]MH_SAM_APDU [22:35:48]CAPDU: 80 11 00 00 [22:35:48]Write to MH i2c: E2 08 00 01 0C 80 11 00 00 00 00 00 00 87 [22:35:48]Write i2c OK [22:35:48]MH_I2C_Read... [22:35:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:35:48]Read from MH i2c: E2 [22:35:48]MH_I2C_Read... [22:35:48]Read from MH i2c: E2 17 00 [22:35:48]MH_I2C_Read... [22:35:48]Read from MH i2c: E2 17 00 01 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DE [22:35:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:35:48]wFMCommunicate OK [22:35:48]requested_item fd.num is exist - process it [22:35:48]SAM_PROTO_GetFieldsCounters [22:35:48]wFMCommunicate request_size=4 [22:35:48]MH_SAM_APDU [22:35:48]CAPDU: 80 13 00 00 [22:35:48]Write to MH i2c: E2 08 00 02 0C 80 13 00 00 00 00 00 00 8A [22:35:48]Write i2c OK [22:35:48]MH_I2C_Read... [22:35:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:35:48]Read from MH i2c: E2 [22:35:48]MH_I2C_Read... [22:35:48]Read from MH i2c: E2 62 00 [22:35:48]MH_I2C_Read... [22:35:48]Read from MH i2c: E2 62 00 02 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CC 61 00 00 0E 04 04 00 C9 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 55 [22:35:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CC 61 00 00 0E 04 04 00 C9 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 [22:35:48]wFMCommunicate OK [22:35:48]SAM_PROTO_GetFieldsCounters done [22:35:48]requested_item shift.num is exist - process it [22:35:48]requested_item shift.opened is exist - process it [22:35:48]req_shift_opened [22:35:48]FM_GetShiftState [22:35:48]SAM_PROTO_GetShiftState [22:35:48]wFMCommunicate request_size=4 [22:35:48]MH_SAM_APDU [22:35:48]CAPDU: 80 13 01 00 [22:35:48]Write to MH i2c: E2 08 00 03 0C 80 13 01 00 00 00 00 00 8C [22:35:48]Write i2c OK [22:35:48]MH_I2C_Read... [22:35:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:35:48]Read from MH i2c: E2 [22:35:48]MH_I2C_Read... [22:35:48]Read from MH i2c: E2 0E 00 [22:35:48]MH_I2C_Read... [22:35:48]Read from MH i2c: E2 0E 00 03 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 DD [22:35:48]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:35:48]wFMCommunicate OK [22:35:48]SAM_PROTO_GetShiftState done [22:35:48]FM_GetShiftState done [22:35:48]req_shift_opened done [22:35:48]requested_item shift.open_date is exist - process it [22:35:48]req_shift_open_date [22:35:48]req_shift_open_date done [22:35:48]produce_requested_data done [22:35:48]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25036,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [22:35:48]process_action_free get_value [22:35:48]json_value_free [22:35:48]json_value_free done [22:35:48]process_json_proto returns [22:35:48]Send response to host [22:35:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25036,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [22:35:48]free response buf [22:35:48]execute_script done [22:35:48]execute_script returns [22:35:48]free content buf [22:35:48]Sock 8.Close socket [22:35:48]Sock 8.Thread stoped [22:35:48]accept exits with 9 [22:35:48]New connection [22:35:48]New thread 3067469156 created [22:35:48]Thread 3067612516 joined [22:35:48]Waiting for new connection... [22:35:48] Sock 9.Parse request [22:35:48]Sock 9.Check first char [22:35:48]Sock 9.First char is OK [22:35:48]request: POST /json_proto HTTP/1.0 [22:35:48]Method: POST [22:35:48]URL: /json_proto [22:35:48]Method is POST - this is cgi request [22:35:48]url: /json_proto [22:35:48]query_string will be loaded in cgi processing [22:35:48]execute_cgi json_proto POST (null) [22:35:48]execute_cgi path=json_proto method=POST [22:35:48]POST find Content-Length [22:35:48]Host: 172.17.53.196:8080 [22:35:48]Content-Length: 331 [22:35:48]Content-Type: application/json [22:35:48] [22:35:48]POST finish read [22:35:48]Found Content-Length = 331 [22:35:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:35:48]execute_script... [22:35:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:35:49]POST & json_proto [22:35:49]process_json_proto [22:35:49]json parsed OK: [22:35:49]protocol is kg_v1.0 [22:35:49]action value=get_value [22:35:49]process_action get_value [22:35:49]cmd_get_value [22:35:49]process_action get_value done [22:35:49]requested_data is exist [22:35:49]produce_requested_data [22:35:49]requested_item fm.sale.total is exist - process it [22:35:49]SAM_PROTO_GetFMData [22:35:49]wFMCommunicate request_size=4 [22:35:49]MH_SAM_APDU [22:35:49]CAPDU: 80 13 03 00 [22:35:49]Write to MH i2c: E2 08 00 04 0C 80 13 03 00 00 00 00 00 8F [22:35:49]OFD Sender: No OFD packet to send [22:35:49]Write i2c OK [22:35:49]MH_I2C_Read... [22:35:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [22:35:49]Read from MH i2c: E2 [22:35:49]MH_I2C_Read... [22:35:49]Read from MH i2c: E2 FD 00 [22:35:49]MH_I2C_Read... [22:35:49]Read from MH i2c: E2 FD 00 04 0C 00 BF 04 85 04 BB 04 6E 04 04 00 3A 5E 00 00 69 04 A0 00 6F 04 04 00 2C 5E 00 00 B1 04 04 00 90 4D D1 14 70 04 04 00 48 31 A1 12 72 04 04 00 48 1C 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 3A E9 35 02 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 45 1E 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 9E [22:35:49]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 3A 5E 00 00 69 04 A0 00 6F 04 04 00 2C 5E 00 00 B1 04 04 00 90 4D D1 14 70 04 04 00 48 31 A1 12 72 04 04 00 48 1C 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 3A E9 35 02 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 45 1E 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [22:35:49]wFMCommunicate OK [22:35:49]wFMCommunicate request_size=4 [22:35:49]MH_SAM_APDU [22:35:49]CAPDU: 80 17 00 00 [22:35:49]Write to MH i2c: E2 08 00 05 0C 80 17 00 00 00 00 00 00 91 [22:35:49]Write i2c OK [22:35:49]MH_I2C_Read... [22:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:49]Read from MH i2c: E2 [22:35:49]MH_I2C_Read... [22:35:49]Read from MH i2c: E2 FD 00 [22:35:49]MH_I2C_Read... [22:35:49]Read from MH i2c: E2 FD 00 05 0C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 83 [22:35:49]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [22:35:49]wFMCommunicate OK [22:35:49]wFMCommunicate request_size=4 [22:35:49]MH_SAM_APDU [22:35:49]CAPDU: 80 17 00 00 [22:35:49]Write to MH i2c: E2 08 00 06 0C 80 17 00 00 00 00 00 00 92 [22:35:49]Write i2c OK [22:35:49]MH_I2C_Read... [22:35:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:49]Read from MH i2c: E2 [22:35:49]MH_I2C_Read... [22:35:49]Read from MH i2c: E2 FD 00 [22:35:49]MH_I2C_Read... [22:35:49]Read from MH i2c: E2 FD 00 06 0C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 36 [22:35:49]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [22:35:49]wFMCommunicate OK [22:35:49]wFMCommunicate request_size=4 [22:35:49]MH_SAM_APDU [22:35:49]CAPDU: 80 17 00 00 [22:35:49]Write to MH i2c: E2 08 00 07 0C 80 17 00 00 00 00 00 00 93 [22:35:49]Write i2c OK [22:35:49]MH_I2C_Read... [22:35:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:50]Read from MH i2c: E2 [22:35:50]MH_I2C_Read... [22:35:50]Read from MH i2c: E2 FD 00 [22:35:50]MH_I2C_Read... [22:35:50]Read from MH i2c: E2 FD 00 07 0C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 0D [22:35:50]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [22:35:50]wFMCommunicate OK [22:35:50]wFMCommunicate request_size=4 [22:35:50]MH_SAM_APDU [22:35:50]CAPDU: 80 17 00 00 [22:35:50]Write to MH i2c: E2 08 00 08 0C 80 17 00 00 00 00 00 00 94 [22:35:50]Write i2c OK [22:35:50]MH_I2C_Read... [22:35:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [22:35:50]Read from MH i2c: E2 [22:35:50]MH_I2C_Read... [22:35:50]Read from MH i2c: E2 DC 00 [22:35:50]MH_I2C_Read... [22:35:50]Read from MH i2c: E2 DC 00 08 0C 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 78 [22:35:50]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:35:50]wFMCommunicate OK [22:35:50]SAM_PROTO_GetFMData done [22:35:50]requested_item fm.sale_refund.total is exist - process it [22:35:50]requested_item fm.buy.total is exist - process it [22:35:50]requested_item shift.sale.total is exist - process it [22:35:50]SAM_PROTO_GetShiftData [22:35:50]wFMCommunicate request_size=4 [22:35:50]MH_SAM_APDU [22:35:50]CAPDU: 80 13 02 00 [22:35:50]Write to MH i2c: E2 08 00 09 0C 80 13 02 00 00 00 00 00 93 [22:35:50]Write i2c OK [22:35:50]MH_I2C_Read... [22:35:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:35:50]Read from MH i2c: E2 [22:35:50]MH_I2C_Read... [22:35:50]Read from MH i2c: E2 FD 00 [22:35:50]MH_I2C_Read... [22:35:50]Read from MH i2c: E2 FD 00 09 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 74 43 0C 70 04 03 00 B0 A9 0A 72 04 03 00 C4 99 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5D 4D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C6 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 D6 [22:35:50]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 74 43 0C 70 04 03 00 B0 A9 0A 72 04 03 00 C4 99 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 5D 4D 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C6 1B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [22:35:50]wFMCommunicate OK [22:35:50]wFMCommunicate request_size=4 [22:35:50]MH_SAM_APDU [22:35:50]CAPDU: 80 17 00 00 [22:35:50]Write to MH i2c: E2 08 00 0A 0C 80 17 00 00 00 00 00 00 96 [22:35:50]Write i2c OK [22:35:50]MH_I2C_Read... [22:35:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:51]Read from MH i2c: E2 [22:35:51]MH_I2C_Read... [22:35:51]Read from MH i2c: E2 FD 00 [22:35:51]MH_I2C_Read... [22:35:51]Read from MH i2c: E2 FD 00 0A 0C 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 B8 [22:35:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:35:51]wFMCommunicate OK [22:35:51]wFMCommunicate request_size=4 [22:35:51]MH_SAM_APDU [22:35:51]CAPDU: 80 17 00 00 [22:35:51]Write to MH i2c: E2 08 00 0B 0C 80 17 00 00 00 00 00 00 97 [22:35:51]Write i2c OK [22:35:51]MH_I2C_Read... [22:35:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:51]Read from MH i2c: E2 [22:35:51]MH_I2C_Read... [22:35:51]Read from MH i2c: E2 FD 00 [22:35:51]MH_I2C_Read... [22:35:51]Read from MH i2c: E2 FD 00 0B 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 4E [22:35:51]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:35:51]wFMCommunicate OK [22:35:51]wFMCommunicate request_size=4 [22:35:51]MH_SAM_APDU [22:35:51]CAPDU: 80 17 00 00 [22:35:51]Write to MH i2c: E2 08 00 0C 0C 80 17 00 00 00 00 00 00 98 [22:35:51]Write i2c OK [22:35:51]MH_I2C_Read... [22:35:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:35:51]Read from MH i2c: E2 [22:35:51]MH_I2C_Read... [22:35:51]Read from MH i2c: E2 FD 00 [22:35:51]MH_I2C_Read... [22:35:51]Read from MH i2c: E2 FD 00 0C 0C 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 0A [22:35:51]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [22:35:51]wFMCommunicate OK [22:35:51]wFMCommunicate request_size=4 [22:35:51]MH_SAM_APDU [22:35:51]CAPDU: 80 17 00 00 [22:35:51]Write to MH i2c: E2 08 00 0D 0C 80 17 00 00 00 00 00 00 99 [22:35:51]Write i2c OK [22:35:51]MH_I2C_Read... [22:35:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:35:52]Read from MH i2c: E2 [22:35:52]MH_I2C_Read... [22:35:52]Read from MH i2c: E2 CB 00 [22:35:52]MH_I2C_Read... [22:35:52]Read from MH i2c: E2 CB 00 0D 0C 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 82 [22:35:52]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:35:52]wFMCommunicate OK [22:35:52]SAM_PROTO_GetShiftData done [22:35:52]requested_item shift.sale.total_cash is exist - process it [22:35:52]requested_item shift.sale_refund.total is exist - process it [22:35:52]requested_item shift.sale_refund.total_cash is exist - process it [22:35:52]requested_item shift.buy.total is exist - process it [22:35:52]requested_item shift.buy.total_cash is exist - process it [22:35:52]produce_requested_data done [22:35:52]produce_requested_data return {"fm.sale.total":3492612.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":8037.00,"shift.sale.total_cash":6988.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} [22:35:52]process_action_free get_value [22:35:52]json_value_free [22:35:52]json_value_free done [22:35:52]process_json_proto returns [22:35:52]Send response to host [22:35:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3492612.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":8037.00,"shift.sale.total_cash":6988.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}}} [22:35:52]free response buf [22:35:52]execute_script done [22:35:52]execute_script returns [22:35:52]free content buf [22:35:52]Sock 9.Close socket [22:35:52]Sock 9.Thread stoped [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:19]accept exits with 8 [22:36:19]New connection [22:36:19]New thread 3067612516 created [22:36:19]Thread 3067469156 joined [22:36:19]Waiting for new connection... [22:36:19] Sock 8.Parse request [22:36:19]Sock 8.Check first char [22:36:19]Sock 8.First char is OK [22:36:19]request: POST /json_proto HTTP/1.0 [22:36:19]Method: POST [22:36:19]URL: /json_proto [22:36:19]Method is POST - this is cgi request [22:36:19]url: /json_proto [22:36:19]query_string will be loaded in cgi processing [22:36:19]execute_cgi json_proto POST (null) [22:36:19]execute_cgi path=json_proto method=POST [22:36:19]POST find Content-Length [22:36:19]Host: 172.17.53.196:8080 [22:36:19]Content-Length: 620 [22:36:19]Content-Type: application/json [22:36:19] [22:36:19]POST finish read [22:36:19]Found Content-Length = 620 [22:36:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34795", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:19]execute_script... [22:36:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34795", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:36:19]POST & json_proto [22:36:19]process_json_proto [22:36:19]json parsed OK: [22:36:19]protocol is kg_v1.0 [22:36:19]action value=close_receipt [22:36:19]process_action close_receipt [22:36:19]cmd_close_receipt [22:36:19]MH_GetDate [22:36:19]Write to MH i2c: F0 00 00 0E 0C 09 [22:36:19]Write i2c OK [22:36:19]MH_I2C_Read... [22:36:19]Read from MH i2c: F0 [22:36:19]MH_I2C_Read... [22:36:19]Read from MH i2c: F0 09 00 [22:36:19]MH_I2C_Read... [22:36:19]Read from MH i2c: F0 09 00 0E 0C 00 E5 28 18 67 4F CD 9A 65 B9 [22:36:19]GetLastDocTimeStamp 1729635302 [22:36:19]current date 1729636581 [22:36:19]FM_GetShiftState [22:36:19]SAM_PROTO_GetShiftState [22:36:19]wFMCommunicate request_size=4 [22:36:19]MH_SAM_APDU [22:36:19]CAPDU: 80 13 01 00 [22:36:19]Write to MH i2c: E2 08 00 0F 0C 80 13 01 00 00 00 00 00 98 [22:36:19]Write i2c OK [22:36:19]MH_I2C_Read... [22:36:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:19]Read from MH i2c: E2 [22:36:19]MH_I2C_Read... [22:36:19]Read from MH i2c: E2 0E 00 [22:36:19]MH_I2C_Read... [22:36:19]Read from MH i2c: E2 0E 00 0F 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E9 [22:36:19]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:36:19]wFMCommunicate OK [22:36:19]SAM_PROTO_GetShiftState done [22:36:19]FM_GetShiftState done [22:36:19]opened in 1729556951 [22:36:19]opened+sec_in_day 1729643351 [22:36:19]quantity*price = 28800 [22:36:19]sum+1 = 28801 [22:36:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 58 22.10.2024 22:36 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25037 ФПД: 253000950169664 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T223622&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25037&fm=253000950169664&tin=02508201610067®Number=0000000000098147&sum=28800 0 [22:36:20]StoreToDocumentArchive [22:36:20]shift 457 fd 25037 [22:36:20]save to /storage/0457/doc_00025037 [22:36:20]save last doc name /storage/0457/doc_00025037 to /storage/kkm_last_doc_name [22:36:20]save OK [22:36:20]Clear old archive folders... [22:36:20]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:36:20]tlvbuf is 00AD9C30 [22:36:20]SAM_PROTO_ClearQueue [22:36:20]wFMCommunicate request_size=4 [22:36:20]MH_SAM_APDU [22:36:20]CAPDU: 80 09 00 00 [22:36:20]Write to MH i2c: E2 08 00 1C 0C 80 09 00 00 00 00 00 00 9A [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:36:20]Read from MH i2c: E2 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 1C 0C 00 90 00 9C [22:36:20]RAPDU: 90 00 [22:36:20]wFMCommunicate OK [22:36:20]SAM_PROTO_ClearQueue done [22:36:20]KKMCreateOFDPacket [22:36:20]OFDProtocolAddRootSTLVToBuf [22:36:20]FM_MakeSignedData [22:36:20]FM_MakeSignedData [22:36:20]SAM_PROTO_SignData [22:36:20]wFMCommunicate request_size=4 [22:36:20]MH_SAM_APDU [22:36:20]CAPDU: 80 0D 01 02 [22:36:20]Write to MH i2c: E2 08 00 1D 0C 80 0D 01 02 00 00 00 00 A2 [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:36:20]Read from MH i2c: E2 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 1D 0C 00 90 00 9D [22:36:20]RAPDU: 90 00 [22:36:20]wFMCommunicate OK [22:36:20]wFMCommunicate request_size=255 [22:36:20]MH_SAM_APDU [22:36:20]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E6 28 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [22:36:20]Write to MH i2c: E2 02 01 1E 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E6 28 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 74 [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:20]Read from MH i2c: E2 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 1E 0C 00 90 00 9E [22:36:20]RAPDU: 90 00 [22:36:20]wFMCommunicate OK [22:36:20]wFMCommunicate request_size=32 [22:36:20]MH_SAM_APDU [22:36:20]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 CD 61 00 00 35 04 06 00 E6 1A 5F C3 40 40 [22:36:20]Write to MH i2c: E2 23 00 1F 0C 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 CD 61 00 00 35 04 06 00 E6 1A 5F C3 40 40 00 00 D6 [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:36:20]Read from MH i2c: E2 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 03 00 1F 0C 00 90 00 9F [22:36:20]RAPDU: 90 00 [22:36:20]wFMCommunicate OK [22:36:20]wFMCommunicate request_size=4 [22:36:20]MH_SAM_APDU [22:36:20]CAPDU: 80 0D 03 02 [22:36:20]Write to MH i2c: E2 08 00 20 0C 80 0D 03 02 00 00 00 00 A7 [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:36:20]Read from MH i2c: E2 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 0B 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 0B 00 20 0C 00 DE FB FB 36 33 47 7C 44 90 00 EC [22:36:20]RAPDU: DE FB FB 36 33 47 7C 44 90 00 [22:36:20]wFMCommunicate OK [22:36:20]SAM_PROTO_SignData done [22:36:20]FM_MakeSignedData done [22:36:20]CreateOFDProtocolMessage [22:36:20]wFMCommunicate request_size=4 [22:36:20]MH_SAM_APDU [22:36:20]CAPDU: 80 11 00 00 [22:36:20]Write to MH i2c: E2 08 00 21 0C 80 11 00 00 00 00 00 00 A7 [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:20]Read from MH i2c: E2 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 17 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: E2 17 00 21 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 FE [22:36:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:36:20]wFMCommunicate OK [22:36:20]CreateOFDProtocolMessage done [22:36:20]OFDSenderStorePacket 25037 [22:36:20]StoreOFDPacket docnum=25037 [22:36:20]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 F8 64 1D 01 47 0D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E6 28 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CD 61 00 00 35 04 06 00 E6 1A 5F C3 40 40 DE FB FB 36 33 47 7C 44 [22:36:20]CheckFolder [22:36:20]dirname=/storage/ofd_packets [22:36:20]CheckFolder done [22:36:20]ProducePacketName [22:36:20]name=ofd_packets/00025037 [22:36:20]NVStorageSaveData ofd_packets/00025037 [22:36:20]File name is /storage/ofd_packets/00025037 [22:36:20]Write 323 bytes [22:36:20]NVStorageSaveData done [22:36:20]OFDSenderStorePacket done [22:36:20]KKMCreateOFDPacket done [22:36:20]NVStorageSaveData kkm_last_timestamp [22:36:20]File name is /storage/kkm_last_timestamp [22:36:20]Write 4 bytes [22:36:20]NVStorageSaveData done [22:36:20]ExternCall_PrintAddStr [22:36:20]wPrintStart [22:36:20]Write to MH i2c: 01 00 00 22 0C 2E [22:36:20]Write i2c OK [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: 01 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: 01 07 00 [22:36:20]MH_I2C_Read... [22:36:20]Read from MH i2c: 01 07 00 22 0C 00 00 00 00 00 FF 0F 43 [22:36:20]RasterBufferAndPrint [22:36:20]line Счет N : (3)34795 [22:36:20]line ИНН: 02508201610067 [22:36:20]line Контрольно-Кассовый Чек [22:36:20]line ПРОДАЖА [22:36:20]line Товар: 48743570 [22:36:20]line Сигареты Winston XStyle Blue [22:36:20]line 2.000 * 144.00 [22:36:20]line = 288.00 [22:36:20]line НДС 12% НСП 1% [22:36:20]line > о реализуемом товаре [22:36:20]line ИТОГО: 288.00 [22:36:20]line НСП 1% : 2.55 [22:36:20]line НДС 12% : 30.58 [22:36:20]line Наличными: 288.00 [22:36:20]line Безнал.: 0.00 [22:36:20]line Место: АЗС № 161 "Партнер Нефть" [22:36:20]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [22:36:20]line СНО: Общий режим [22:36:20]line Чек 58 22.10.2024 22:36 [22:36:20]line Смена: 457 ФФД: 1.0 [22:36:20]line ЗНМ: 0300000240 [22:36:20]line РНМ: 0000000000098147 [22:36:20]line Версия ККМ: 001 [22:36:20]line ФМ: 0000000000965376 [22:36:20]line ФД: 25037 [22:36:20]line ФПД: 253000950169664 [22:36:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T223622&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25037&fm=253000950169664&tin=02508201610067®Number=0000000000098147&sum=28800 [22:36:20]line 0 [22:36:20]written 0, free lines is 4095 [22:36:20]OFD Sender: Processing packet 25037 [packets to send 5, broken 4] [22:36:20]ProducePacketName [22:36:20]name=ofd_packets/00025037 [22:36:20]OFD Sender: To server: pG, [22:36:20]CommunicateWithHost lk.salyk.kg:30040 [22:36:20]ConnectInit lk.salyk.kg [22:36:21]Connected sock=11 [22:36:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 F8 64 1D 01 47 0D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 E6 28 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CD 61 00 00 35 04 06 00 E6 1A 5F C3 40 40 DE FB FB 36 33 47 7C 44 [22:36:21]Write to MH i2c: 01 00 00 4A 0C 56 [22:36:21]Write i2c OK [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: 01 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: 01 07 00 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: 01 07 00 4A 0C 00 00 00 00 00 D1 0C 3A [22:36:21]RasterBufferAndPrint [22:36:21]line [22:36:21]line [22:36:21]line [22:36:21]line [22:36:21]line [22:36:21]written 0, free lines is 3286 [22:36:21]process_action close_receipt done [22:36:21]requested_data is exist [22:36:21]produce_requested_data [22:36:21]requested_item fm.sn is exist - process it [22:36:21]wFMCommunicate request_size=4 [22:36:21]MH_SAM_APDU [22:36:21]CAPDU: 80 11 00 00 [22:36:21]Write to MH i2c: E2 08 00 51 0C 80 11 00 00 00 00 00 00 D7 [22:36:21]Write i2c OK [22:36:21]MH_I2C_Read... [22:36:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:36:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C8 E4 47 00 A4 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CD 61 00 00 F4 03 04 00 5F D1 17 67 B6 04 01 00 00 4F 38 E9 71 28 16 33 66 [22:36:21]CommunicateWithHost err = 0 [22:36:21]CheckOFDResponse [22:36:21]1017 (14) - 77093643461234 [22:36:21]1041 (16) - 0000000000965376 [22:36:21]1040 (4) - 25037 [22:36:21]1012 (4) - 22.10.2024 16:22 [22:36:21]1206 (1) - 0 [22:36:21]OFD Sender: Remove packet 25037 [22:36:21]ProducePacketName [22:36:21]name=ofd_packets/00025037 [22:36:21]NVStorageDeleteData [22:36:21]Read from MH i2c: E2 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: E2 17 00 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: E2 17 00 51 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 2E [22:36:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:36:21]wFMCommunicate OK [22:36:21]requested_item fd.num is exist - process it [22:36:21]SAM_PROTO_GetFieldsCounters [22:36:21]wFMCommunicate request_size=4 [22:36:21]MH_SAM_APDU [22:36:21]CAPDU: 80 13 00 00 [22:36:21]Write to MH i2c: E2 08 00 52 0C 80 13 00 00 00 00 00 00 DA [22:36:21]Write i2c OK [22:36:21]MH_I2C_Read... [22:36:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:36:21]Read from MH i2c: E2 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: E2 62 00 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: E2 62 00 52 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CD 61 00 00 0E 04 04 00 C9 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 A9 [22:36:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CD 61 00 00 0E 04 04 00 C9 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 [22:36:21]wFMCommunicate OK [22:36:21]SAM_PROTO_GetFieldsCounters done [22:36:21]requested_item shift.num is exist - process it [22:36:21]requested_item shift.opened is exist - process it [22:36:21]req_shift_opened [22:36:21]FM_GetShiftState [22:36:21]SAM_PROTO_GetShiftState [22:36:21]wFMCommunicate request_size=4 [22:36:21]MH_SAM_APDU [22:36:21]CAPDU: 80 13 01 00 [22:36:21]Write to MH i2c: E2 08 00 53 0C 80 13 01 00 00 00 00 00 DC [22:36:21]Write i2c OK [22:36:21]MH_I2C_Read... [22:36:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:36:21]Read from MH i2c: E2 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: E2 0E 00 [22:36:21]MH_I2C_Read... [22:36:21]Read from MH i2c: E2 0E 00 53 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 2D [22:36:21]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:36:21]wFMCommunicate OK [22:36:21]SAM_PROTO_GetShiftState done [22:36:21]FM_GetShiftState done [22:36:21]req_shift_opened done [22:36:21]requested_item shift.open_date is exist - process it [22:36:21]req_shift_open_date [22:36:21]req_shift_open_date done [22:36:21]produce_requested_data done [22:36:21]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25037,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [22:36:21]process_action_free close_receipt [22:36:21]json_value_free [22:36:21]json_value_free done [22:36:21]process_json_proto returns [22:36:21]Send response to host [22:36:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25037,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [22:36:21]free response buf [22:36:21]execute_script done [22:36:21]execute_script returns [22:36:21]free content buf [22:36:21]Sock 8.Close socket [22:36:21]Sock 8.Thread stoped [22:36:21]OFD Sender: No OFD packet to send [22:36:26]OFD Sender: No OFD packet to send [22:36:31]OFD Sender: No OFD packet to send [22:36:36]OFD Sender: No OFD packet to send [22:36:41]OFD Sender: No OFD packet to send [22:36:46]OFD Sender: No OFD packet to send [22:36:51]OFD Sender: No OFD packet to send [22:36:56]OFD Sender: No OFD packet to send [22:37:01]OFD Sender: No OFD packet to send [22:37:06]OFD Sender: No OFD packet to send [22:37:11]OFD Sender: No OFD packet to send [22:37:16]OFD Sender: No OFD packet to send [22:37:21]OFD Sender: No OFD packet to send [22:37:26]OFD Sender: No OFD packet to send [22:37:31]OFD Sender: No OFD packet to send [22:37:36]OFD Sender: No OFD packet to send [22:37:41]OFD Sender: No OFD packet to send [22:37:46]OFD Sender: No OFD packet to send [22:37:51]OFD Sender: No OFD packet to send [22:37:56]OFD Sender: No OFD packet to send [22:38:01]OFD Sender: No OFD packet to send [22:38:06]OFD Sender: No OFD packet to send [22:38:11]OFD Sender: No OFD packet to send [22:38:16]OFD Sender: No OFD packet to send [22:38:21]OFD Sender: No OFD packet to send [22:38:26]OFD Sender: No OFD packet to send [22:38:31]OFD Sender: No OFD packet to send [22:38:36]OFD Sender: No OFD packet to send [22:38:41]OFD Sender: No OFD packet to send [22:38:46]OFD Sender: No OFD packet to send [22:38:51]OFD Sender: No OFD packet to send [22:38:56]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [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:57]OFD Sender: No OFD packet to send [22:47:02]OFD Sender: No OFD packet to send [22:47:07]OFD Sender: No OFD packet to send [22:47:12]OFD Sender: No OFD packet to send [22:47:17]OFD Sender: No OFD packet to send [22:47:22]OFD Sender: No OFD packet to send [22:47:27]OFD Sender: No OFD packet to send [22:47:32]OFD Sender: No OFD packet to send [22:47:37]OFD Sender: No OFD packet to send [22:47:42]OFD Sender: No OFD packet to send [22:47:47]OFD Sender: No OFD packet to send [22:47:52]OFD Sender: No OFD packet to send [22:47:57]OFD Sender: No OFD packet to send [22:48:02]OFD Sender: No OFD packet to send [22:48:07]OFD Sender: No OFD packet to send [22:48:12]OFD Sender: No OFD packet to send [22:48:17]OFD Sender: No OFD packet to send [22:48:22]OFD Sender: No OFD packet to send [22:48:27]OFD Sender: No OFD packet to send [22:48:32]OFD Sender: No OFD packet to send [22:48:37]OFD Sender: No OFD packet to send [22:48:42]OFD Sender: No OFD packet to send [22:48:47]OFD Sender: No OFD packet to send [22:48:52]OFD Sender: No OFD packet to send [22:48:57]OFD Sender: No OFD packet to send [22:49:02]OFD Sender: No OFD packet to send [22:49:07]OFD Sender: No OFD packet to send [22:49:12]OFD Sender: No OFD packet to send [22:49:17]OFD Sender: No OFD packet to send [22:49:22]OFD Sender: No OFD packet to send [22:49:27]OFD Sender: No OFD packet to send [22:49:32]OFD Sender: No OFD packet to send [22:49:37]OFD Sender: No OFD packet to send [22:49:42]OFD Sender: No OFD packet to send [22:49:47]OFD Sender: No OFD packet to send [22:49:52]OFD Sender: No OFD packet to send [22:49:57]OFD Sender: No OFD packet to send [22:50:02]OFD Sender: No OFD packet to send [22:50:07]OFD Sender: No OFD packet to send [22:50:12]OFD Sender: No OFD packet to send [22:50:17]OFD Sender: No OFD packet to send [22:50:22]OFD Sender: No OFD packet to send [22:50:27]OFD Sender: No OFD packet to send [22:50:32]OFD Sender: No OFD packet to send [22:50:37]OFD Sender: No OFD packet to send [22:50:42]OFD Sender: No OFD packet to send [22:50:47]OFD Sender: No OFD packet to send [22:50:52]OFD Sender: No OFD packet to send [22:50:57]OFD Sender: No OFD packet to send [22:51:02]OFD Sender: No OFD packet to send [22:51:07]OFD Sender: No OFD packet to send [22:51:12]OFD Sender: No OFD packet to send [22:51:17]OFD Sender: No OFD packet to send [22:51:22]OFD Sender: No OFD packet to send [22:51:27]OFD Sender: No OFD packet to send [22:51:32]OFD Sender: No OFD packet to send [22:51:37]OFD Sender: No OFD packet to send [22:51:42]OFD Sender: No OFD packet to send [22:51:47]OFD Sender: No OFD packet to send [22:51:52]OFD Sender: No OFD packet to send [22:51:57]OFD Sender: No OFD packet to send [22:52:02]OFD Sender: No OFD packet to send [22:52:07]OFD Sender: No OFD packet to send [22:52:12]OFD Sender: No OFD packet to send [22:52:17]OFD Sender: No OFD packet to send [22:52:22]OFD Sender: No OFD packet to send [22:52:27]OFD Sender: No OFD packet to send [22:52:32]OFD Sender: No OFD packet to send [22:52:37]OFD Sender: No OFD packet to send [22:52:42]OFD Sender: No OFD packet to send [22:52:47]OFD Sender: No OFD packet to send [22:52:52]OFD Sender: No OFD packet to send [22:52:57]OFD Sender: No OFD packet to send [22:53:02]OFD Sender: No OFD packet to send [22:53:07]OFD Sender: No OFD packet to send [22:53:12]OFD Sender: No OFD packet to send [22:53:17]OFD Sender: No OFD packet to send [22:53:22]OFD Sender: No OFD packet to send [22:53:27]OFD Sender: No OFD packet to send [22:53:32]OFD Sender: No OFD packet to send [22:53:37]OFD Sender: No OFD packet to send [22:53:42]OFD Sender: No OFD packet to send [22:53:47]OFD Sender: No OFD packet to send [22:53:52]OFD Sender: No OFD packet to send [22:53:57]OFD Sender: No OFD packet to send [22:54:02]OFD Sender: No OFD packet to send [22:54:07]OFD Sender: No OFD packet to send [22:54:12]OFD Sender: No OFD packet to send [22:54:17]OFD Sender: No OFD packet to send [22:54:22]OFD Sender: No OFD packet to send [22:54:27]OFD Sender: No OFD packet to send [22:54:32]OFD Sender: No OFD packet to send [22:54:37]OFD Sender: No OFD packet to send [22:54:42]OFD Sender: No OFD packet to send [22:54:47]OFD Sender: No OFD packet to send [22:54:52]OFD Sender: No OFD packet to send [22:54:57]OFD Sender: No OFD packet to send [22:55:02]OFD Sender: No OFD packet to send [22:55:07]OFD Sender: No OFD packet to send [22:55:12]OFD Sender: No OFD packet to send [22:55:17]OFD Sender: No OFD packet to send [22:55:22]OFD Sender: No OFD packet to send [22:55:27]OFD Sender: No OFD packet to send [22:55:32]OFD Sender: No OFD packet to send [22:55:37]OFD Sender: No OFD packet to send [22:55:42]OFD Sender: No OFD packet to send [22:55:47]OFD Sender: No OFD packet to send [22:55:52]OFD Sender: No OFD packet to send [22:55:57]OFD Sender: No OFD packet to send [22:56:02]OFD Sender: No OFD packet to send [22:56:07]OFD Sender: No OFD packet to send [22:56:12]OFD Sender: No OFD packet to send [22:56:17]OFD Sender: No OFD packet to send [22:56:22]OFD Sender: No OFD packet to send [22:56:27]OFD Sender: No OFD packet to send [22:56:32]OFD Sender: No OFD packet to send [22:56:37]OFD Sender: No OFD packet to send [22:56:42]OFD Sender: No OFD packet to send [22:56:47]OFD Sender: No OFD packet to send [22:56:52]OFD Sender: No OFD packet to send [22:56:57]OFD Sender: No OFD packet to send [22:57:02]OFD Sender: No OFD packet to send [22:57:07]OFD Sender: No OFD packet to send [22:57:12]OFD Sender: No OFD packet to send [22:57:17]OFD Sender: No OFD packet to send [22:57:22]OFD Sender: No OFD packet to send [22:57:27]OFD Sender: No OFD packet to send [22:57:32]OFD Sender: No OFD packet to send [22:57:37]OFD Sender: No OFD packet to send [22:57:42]OFD Sender: No OFD packet to send [22:57:47]OFD Sender: No OFD packet to send [22:57:52]OFD Sender: No OFD packet to send [22:57:57]OFD Sender: No OFD packet to send [22:58:02]OFD Sender: No OFD packet to send [22:58:07]OFD Sender: No OFD packet to send [22:58:12]OFD Sender: No OFD packet to send [22:58:17]OFD Sender: No OFD packet to send [22:58:22]OFD Sender: No OFD packet to send [22:58:27]OFD Sender: No OFD packet to send [22:58:32]OFD Sender: No OFD packet to send [22:58:37]OFD Sender: No OFD packet to send [22:58:42]OFD Sender: No OFD packet to send [22:58:47]OFD Sender: No OFD packet to send [22:58:52]OFD Sender: No OFD packet to send [22:58:57]OFD Sender: No OFD packet to send [22:59:02]OFD Sender: No OFD packet to send [22:59:07]OFD Sender: No OFD packet to send [22:59:12]OFD Sender: No OFD packet to send [22:59:17]OFD Sender: No OFD packet to send [22:59:22]OFD Sender: No OFD packet to send [22:59:27]accept exits with 9 [22:59:27]New connection [22:59:27]New thread 3067469156 created [22:59:27]Thread 3067612516 joined [22:59:27]Waiting for new connection... [22:59:27] Sock 9.Parse request [22:59:27]Sock 9.Check first char [22:59:27]Sock 9.First char is OK [22:59:27]request: POST /json_proto HTTP/1.0 [22:59:27]Method: POST [22:59:27]URL: /json_proto [22:59:27]Method is POST - this is cgi request [22:59:27]url: /json_proto [22:59:27]query_string will be loaded in cgi processing [22:59:27]execute_cgi json_proto POST (null) [22:59:27]execute_cgi path=json_proto method=POST [22:59:27]POST find Content-Length [22:59:27]Host: 172.17.53.196:8080 [22:59:27]Content-Length: 215 [22:59:27]Content-Type: application/json [22:59:27] [22:59:27]POST finish read [22:59:27]Found Content-Length = 215 [22:59:27]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" ] } } [22:59:27]execute_script... [22:59:27]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" ] } } [22:59:27]POST & json_proto [22:59:27]process_json_proto [22:59:27]json parsed OK: [22:59:27]protocol is kg_v1.0 [22:59:27]action value=get_value [22:59:27]process_action get_value [22:59:27]cmd_get_value [22:59:27]process_action get_value done [22:59:27]requested_data is exist [22:59:27]produce_requested_data [22:59:27]requested_item kkm.sn is exist - process it [22:59:27]requested_item kkm.ver is exist - process it [22:59:27]requested_item fm.sn is exist - process it [22:59:27]wFMCommunicate request_size=4 [22:59:27]MH_SAM_APDU [22:59:27]CAPDU: 80 11 00 00 [22:59:27]Write to MH i2c: E2 08 00 54 0C 80 11 00 00 00 00 00 00 DA [22:59:27]Write i2c OK [22:59:27]MH_I2C_Read... [22:59:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:59:27]Read from MH i2c: E2 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 17 00 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 17 00 54 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 31 [22:59:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [22:59:27]wFMCommunicate OK [22:59:27]requested_item fd.num is exist - process it [22:59:27]SAM_PROTO_GetFieldsCounters [22:59:27]wFMCommunicate request_size=4 [22:59:27]MH_SAM_APDU [22:59:27]CAPDU: 80 13 00 00 [22:59:27]Write to MH i2c: E2 08 00 55 0C 80 13 00 00 00 00 00 00 DD [22:59:27]Write i2c OK [22:59:27]MH_I2C_Read... [22:59:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:59:27]Read from MH i2c: E2 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 62 00 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 62 00 55 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CD 61 00 00 0E 04 04 00 C9 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 AC [22:59:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CD 61 00 00 0E 04 04 00 C9 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 [22:59:27]wFMCommunicate OK [22:59:27]SAM_PROTO_GetFieldsCounters done [22:59:27]requested_item shift.num is exist - process it [22:59:27]requested_item shift.opened is exist - process it [22:59:27]req_shift_opened [22:59:27]FM_GetShiftState [22:59:27]SAM_PROTO_GetShiftState [22:59:27]wFMCommunicate request_size=4 [22:59:27]MH_SAM_APDU [22:59:27]CAPDU: 80 13 01 00 [22:59:27]Write to MH i2c: E2 08 00 56 0C 80 13 01 00 00 00 00 00 DF [22:59:27]Write i2c OK [22:59:27]MH_I2C_Read... [22:59:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:59:27]Read from MH i2c: E2 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 0E 00 [22:59:27]MH_I2C_Read... [22:59:27]Read from MH i2c: E2 0E 00 56 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 30 [22:59:27]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [22:59:27]wFMCommunicate OK [22:59:27]SAM_PROTO_GetShiftState done [22:59:27]FM_GetShiftState done [22:59:27]req_shift_opened done [22:59:27]requested_item shift.open_date is exist - process it [22:59:27]req_shift_open_date [22:59:27]req_shift_open_date done [22:59:27]produce_requested_data done [22:59:27]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25037,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [22:59:27]process_action_free get_value [22:59:27]json_value_free [22:59:27]json_value_free done [22:59:27]process_json_proto returns [22:59:27]Send response to host [22:59:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25037,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [22:59:27]free response buf [22:59:27]execute_script done [22:59:27]execute_script returns [22:59:27]free content buf [22:59:27]Sock 9.Close socket [22:59:27]Sock 9.Thread stoped [22:59:27]accept exits with 8 [22:59:27]New connection [22:59:27]New thread 3067612516 created [22:59:27]Thread 3067469156 joined [22:59:27]Waiting for new connection... [22:59:27] Sock 8.Parse request [22:59:27]Sock 8.Check first char [22:59:27]Sock 8.First char is OK [22:59:27]request: POST /json_proto HTTP/1.0 [22:59:27]Method: POST [22:59:27]URL: /json_proto [22:59:27]Method is POST - this is cgi request [22:59:27]url: /json_proto [22:59:27]query_string will be loaded in cgi processing [22:59:27]execute_cgi json_proto POST (null) [22:59:27]execute_cgi path=json_proto method=POST [22:59:27]POST find Content-Length [22:59:27]Host: 172.17.53.196:8080 [22:59:27]Content-Length: 331 [22:59:27]Content-Type: application/json [22:59:27] [22:59:27]POST finish read [22:59:27]Found Content-Length = 331 [22:59:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:59:27]execute_script... [22:59:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [22:59:27]POST & json_proto [22:59:27]process_json_proto [22:59:27]json parsed OK: [22:59:27]protocol is kg_v1.0 [22:59:27]action value=get_value [22:59:27]process_action get_value [22:59:27]cmd_get_value [22:59:27]process_action get_value done [22:59:27]requested_data is exist [22:59:27]produce_requested_data [22:59:27]requested_item fm.sale.total is exist - process it [22:59:27]SAM_PROTO_GetFMData [22:59:27]wFMCommunicate request_size=4 [22:59:27]MH_SAM_APDU [22:59:27]CAPDU: 80 13 03 00 [22:59:27]Write to MH i2c: E2 08 00 57 0C 80 13 03 00 00 00 00 00 E2 [22:59:27]Write i2c OK [22:59:27]MH_I2C_Read... [22:59:27]OFD Sender: No OFD packet to send [22:59:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [22:59:28]Read from MH i2c: E2 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 57 0C 00 BF 04 85 04 BB 04 6E 04 04 00 3B 5E 00 00 69 04 A0 00 6F 04 04 00 2D 5E 00 00 B1 04 04 00 10 BE D1 14 70 04 04 00 C8 A1 A1 12 72 04 04 00 48 1C 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2C F5 35 02 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 44 1F 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 D2 [22:59:28]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 3B 5E 00 00 69 04 A0 00 6F 04 04 00 2D 5E 00 00 B1 04 04 00 10 BE D1 14 70 04 04 00 C8 A1 A1 12 72 04 04 00 48 1C 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 2C F5 35 02 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 44 1F 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [22:59:28]wFMCommunicate OK [22:59:28]wFMCommunicate request_size=4 [22:59:28]MH_SAM_APDU [22:59:28]CAPDU: 80 17 00 00 [22:59:28]Write to MH i2c: E2 08 00 58 0C 80 17 00 00 00 00 00 00 E4 [22:59:28]Write i2c OK [22:59:28]MH_I2C_Read... [22:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:59:28]Read from MH i2c: E2 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 58 0C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 D6 [22:59:28]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [22:59:28]wFMCommunicate OK [22:59:28]wFMCommunicate request_size=4 [22:59:28]MH_SAM_APDU [22:59:28]CAPDU: 80 17 00 00 [22:59:28]Write to MH i2c: E2 08 00 59 0C 80 17 00 00 00 00 00 00 E5 [22:59:28]Write i2c OK [22:59:28]MH_I2C_Read... [22:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:59:28]Read from MH i2c: E2 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 59 0C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 89 [22:59:28]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [22:59:28]wFMCommunicate OK [22:59:28]wFMCommunicate request_size=4 [22:59:28]MH_SAM_APDU [22:59:28]CAPDU: 80 17 00 00 [22:59:28]Write to MH i2c: E2 08 00 5A 0C 80 17 00 00 00 00 00 00 E6 [22:59:28]Write i2c OK [22:59:28]MH_I2C_Read... [22:59:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:59:28]Read from MH i2c: E2 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 [22:59:28]MH_I2C_Read... [22:59:28]Read from MH i2c: E2 FD 00 5A 0C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 60 [22:59:28]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [22:59:28]wFMCommunicate OK [22:59:28]wFMCommunicate request_size=4 [22:59:28]MH_SAM_APDU [22:59:28]CAPDU: 80 17 00 00 [22:59:28]Write to MH i2c: E2 08 00 5B 0C 80 17 00 00 00 00 00 00 E7 [22:59:28]Write i2c OK [22:59:28]MH_I2C_Read... [22:59:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [22:59:29]Read from MH i2c: E2 [22:59:29]MH_I2C_Read... [22:59:29]Read from MH i2c: E2 DC 00 [22:59:29]MH_I2C_Read... [22:59:29]Read from MH i2c: E2 DC 00 5B 0C 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 CB [22:59:29]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:59:29]wFMCommunicate OK [22:59:29]SAM_PROTO_GetFMData done [22:59:29]requested_item fm.sale_refund.total is exist - process it [22:59:29]requested_item fm.buy.total is exist - process it [22:59:29]requested_item shift.sale.total is exist - process it [22:59:29]SAM_PROTO_GetShiftData [22:59:29]wFMCommunicate request_size=4 [22:59:29]MH_SAM_APDU [22:59:29]CAPDU: 80 13 02 00 [22:59:29]Write to MH i2c: E2 08 00 5C 0C 80 13 02 00 00 00 00 00 E6 [22:59:29]Write i2c OK [22:59:29]MH_I2C_Read... [22:59:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:59:29]Read from MH i2c: E2 [22:59:29]MH_I2C_Read... [22:59:29]Read from MH i2c: E2 FD 00 [22:59:29]MH_I2C_Read... [22:59:29]Read from MH i2c: E2 FD 00 5C 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 F4 B3 0C 70 04 03 00 30 1A 0B 72 04 03 00 C4 99 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4F 59 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C5 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0B [22:59:29]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 F4 B3 0C 70 04 03 00 30 1A 0B 72 04 03 00 C4 99 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4F 59 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C5 1C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 [22:59:29]wFMCommunicate OK [22:59:29]wFMCommunicate request_size=4 [22:59:29]MH_SAM_APDU [22:59:29]CAPDU: 80 17 00 00 [22:59:29]Write to MH i2c: E2 08 00 5D 0C 80 17 00 00 00 00 00 00 E9 [22:59:29]Write i2c OK [22:59:29]MH_I2C_Read... [22:59:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:59:29]Read from MH i2c: E2 [22:59:29]MH_I2C_Read... [22:59:29]Read from MH i2c: E2 FD 00 [22:59:29]MH_I2C_Read... [22:59:29]Read from MH i2c: E2 FD 00 5D 0C 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 0B [22:59:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [22:59:29]wFMCommunicate OK [22:59:29]wFMCommunicate request_size=4 [22:59:29]MH_SAM_APDU [22:59:29]CAPDU: 80 17 00 00 [22:59:29]Write to MH i2c: E2 08 00 5E 0C 80 17 00 00 00 00 00 00 EA [22:59:29]Write i2c OK [22:59:29]MH_I2C_Read... [22:59:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:59:30]Read from MH i2c: E2 [22:59:30]MH_I2C_Read... [22:59:30]Read from MH i2c: E2 FD 00 [22:59:30]MH_I2C_Read... [22:59:30]Read from MH i2c: E2 FD 00 5E 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 A1 [22:59:30]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [22:59:30]wFMCommunicate OK [22:59:30]wFMCommunicate request_size=4 [22:59:30]MH_SAM_APDU [22:59:30]CAPDU: 80 17 00 00 [22:59:30]Write to MH i2c: E2 08 00 5F 0C 80 17 00 00 00 00 00 00 EB [22:59:30]Write i2c OK [22:59:30]MH_I2C_Read... [22:59:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:59:30]Read from MH i2c: E2 [22:59:30]MH_I2C_Read... [22:59:30]Read from MH i2c: E2 FD 00 [22:59:30]MH_I2C_Read... [22:59:30]Read from MH i2c: E2 FD 00 5F 0C 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 5D [22:59:30]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 [22:59:30]wFMCommunicate OK [22:59:30]wFMCommunicate request_size=4 [22:59:30]MH_SAM_APDU [22:59:30]CAPDU: 80 17 00 00 [22:59:30]Write to MH i2c: E2 08 00 60 0C 80 17 00 00 00 00 00 00 EC [22:59:30]Write i2c OK [22:59:30]MH_I2C_Read... [22:59:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [22:59:30]Read from MH i2c: E2 [22:59:30]MH_I2C_Read... [22:59:30]Read from MH i2c: E2 CB 00 [22:59:30]MH_I2C_Read... [22:59:30]Read from MH i2c: E2 CB 00 60 0C 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 D5 [22:59:30]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:59:30]wFMCommunicate OK [22:59:30]SAM_PROTO_GetShiftData done [22:59:30]requested_item shift.sale.total_cash is exist - process it [22:59:30]requested_item shift.sale_refund.total is exist - process it [22:59:30]requested_item shift.sale_refund.total_cash is exist - process it [22:59:30]requested_item shift.buy.total is exist - process it [22:59:30]requested_item shift.buy.total_cash is exist - process it [22:59:30]produce_requested_data done [22:59:30]produce_requested_data return {"fm.sale.total":3492900.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":8325.00,"shift.sale.total_cash":7276.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} [22:59:30]process_action_free get_value [22:59:30]json_value_free [22:59:30]json_value_free done [22:59:30]process_json_proto returns [22:59:30]Send response to host [22:59:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3492900.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":8325.00,"shift.sale.total_cash":7276.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}}} [22:59:30]free response buf [22:59:30]execute_script done [22:59:30]execute_script returns [22:59:30]free content buf [22:59:30]Sock 8.Close socket [22:59:30]Sock 8.Thread stoped [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:01]accept exits with 9 [23:00:01]New connection [23:00:01]New thread 3067469156 created [23:00:01]Thread 3067612516 joined [23:00:01]Waiting for new connection... [23:00:01] Sock 9.Parse request [23:00:01]Sock 9.Check first char [23:00:01]Sock 9.First char is OK [23:00:01]request: POST /json_proto HTTP/1.0 [23:00:01]Method: POST [23:00:01]URL: /json_proto [23:00:01]Method is POST - this is cgi request [23:00:01]url: /json_proto [23:00:01]query_string will be loaded in cgi processing [23:00:01]execute_cgi json_proto POST (null) [23:00:01]execute_cgi path=json_proto method=POST [23:00:01]POST find Content-Length [23:00:01]Host: 172.17.53.196:8080 [23:00:01]Content-Length: 620 [23:00:01]Content-Type: application/json [23:00:01] [23:00:01]POST finish read [23:00:01]Found Content-Length = 620 [23:00:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34796", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:00:01]execute_script... [23:00:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34796", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:00:01]POST & json_proto [23:00:01]process_json_proto [23:00:01]json parsed OK: [23:00:01]protocol is kg_v1.0 [23:00:01]action value=close_receipt [23:00:01]process_action close_receipt [23:00:01]cmd_close_receipt [23:00:01]MH_GetDate [23:00:01]Write to MH i2c: F0 00 00 61 0C 5C [23:00:01]Write i2c OK [23:00:01]MH_I2C_Read... [23:00:01]Read from MH i2c: F0 [23:00:01]MH_I2C_Read... [23:00:01]Read from MH i2c: F0 09 00 [23:00:01]MH_I2C_Read... [23:00:01]Read from MH i2c: F0 09 00 61 0C 00 74 2E 18 67 4F CD 9A 65 A1 [23:00:01]GetLastDocTimeStamp 1729636582 [23:00:01]current date 1729638004 [23:00:01]FM_GetShiftState [23:00:01]SAM_PROTO_GetShiftState [23:00:01]wFMCommunicate request_size=4 [23:00:01]MH_SAM_APDU [23:00:01]CAPDU: 80 13 01 00 [23:00:01]Write to MH i2c: E2 08 00 62 0C 80 13 01 00 00 00 00 00 EB [23:00:01]Write i2c OK [23:00:01]MH_I2C_Read... [23:00:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:02]Read from MH i2c: E2 [23:00:02]MH_I2C_Read... [23:00:02]Read from MH i2c: E2 0E 00 [23:00:02]MH_I2C_Read... [23:00:02]Read from MH i2c: E2 0E 00 62 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 3C [23:00:02]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:00:02]wFMCommunicate OK [23:00:02]SAM_PROTO_GetShiftState done [23:00:02]FM_GetShiftState done [23:00:02]opened in 1729556951 [23:00:02]opened+sec_in_day 1729643351 [23:00:02]quantity*price = 14400 [23:00:02]sum+1 = 14401 [23:00:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 59 22.10.2024 23:00 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25038 ФПД: 112641040446848 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T230004&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25038&fm=112641040446848&tin=02508201610067®Number=0000000000098147&sum=14400 0 [23:00:03]StoreToDocumentArchive [23:00:03]shift 457 fd 25038 [23:00:03]save to /storage/0457/doc_00025038 [23:00:03]save last doc name /storage/0457/doc_00025038 to /storage/kkm_last_doc_name [23:00:03]save OK [23:00:03]Clear old archive folders... [23:00:03]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:00:03]tlvbuf is 00A95DE0 [23:00:03]SAM_PROTO_ClearQueue [23:00:03]wFMCommunicate request_size=4 [23:00:03]MH_SAM_APDU [23:00:03]CAPDU: 80 09 00 00 [23:00:03]Write to MH i2c: E2 08 00 6F 0C 80 09 00 00 00 00 00 00 ED [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:00:03]Read from MH i2c: E2 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 6F 0C 00 90 00 EF [23:00:03]RAPDU: 90 00 [23:00:03]wFMCommunicate OK [23:00:03]SAM_PROTO_ClearQueue done [23:00:03]KKMCreateOFDPacket [23:00:03]OFDProtocolAddRootSTLVToBuf [23:00:03]FM_MakeSignedData [23:00:03]FM_MakeSignedData [23:00:03]SAM_PROTO_SignData [23:00:03]wFMCommunicate request_size=4 [23:00:03]MH_SAM_APDU [23:00:03]CAPDU: 80 0D 01 02 [23:00:03]Write to MH i2c: E2 08 00 70 0C 80 0D 01 02 00 00 00 00 F5 [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:00:03]Read from MH i2c: E2 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 70 0C 00 90 00 F0 [23:00:03]RAPDU: 90 00 [23:00:03]wFMCommunicate OK [23:00:03]wFMCommunicate request_size=255 [23:00:03]MH_SAM_APDU [23:00:03]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 74 2E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [23:00:03]Write to MH i2c: E2 02 01 71 0C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 74 2E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 89 [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:03]Read from MH i2c: E2 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 71 0C 00 90 00 F1 [23:00:03]RAPDU: 90 00 [23:00:03]wFMCommunicate OK [23:00:03]wFMCommunicate request_size=32 [23:00:03]MH_SAM_APDU [23:00:03]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 CE 61 00 00 35 04 06 00 66 72 49 33 F5 80 [23:00:03]Write to MH i2c: E2 23 00 72 0C 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 CE 61 00 00 35 04 06 00 66 72 49 33 F5 80 00 00 51 [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:03]Read from MH i2c: E2 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 03 00 72 0C 00 90 00 F2 [23:00:03]RAPDU: 90 00 [23:00:03]wFMCommunicate OK [23:00:03]wFMCommunicate request_size=4 [23:00:03]MH_SAM_APDU [23:00:03]CAPDU: 80 0D 03 02 [23:00:03]Write to MH i2c: E2 08 00 73 0C 80 0D 03 02 00 00 00 00 FA [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:00:03]Read from MH i2c: E2 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 0B 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 0B 00 73 0C 00 BC C1 5E 39 63 5E 0C DD 90 00 B9 [23:00:03]RAPDU: BC C1 5E 39 63 5E 0C DD 90 00 [23:00:03]wFMCommunicate OK [23:00:03]SAM_PROTO_SignData done [23:00:03]FM_MakeSignedData done [23:00:03]CreateOFDProtocolMessage [23:00:03]wFMCommunicate request_size=4 [23:00:03]MH_SAM_APDU [23:00:03]CAPDU: 80 11 00 00 [23:00:03]Write to MH i2c: E2 08 00 74 0C 80 11 00 00 00 00 00 00 FA [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:03]Read from MH i2c: E2 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 17 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: E2 17 00 74 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 51 [23:00:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:00:03]wFMCommunicate OK [23:00:03]CreateOFDProtocolMessage done [23:00:03]OFDSenderStorePacket 25038 [23:00:03]StoreOFDPacket docnum=25038 [23:00:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 01 D9 1D 01 67 42 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 74 2E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CE 61 00 00 35 04 06 00 66 72 49 33 F5 80 BC C1 5E 39 63 5E 0C DD [23:00:03]CheckFolder [23:00:03]dirname=/storage/ofd_packets [23:00:03]CheckFolder done [23:00:03]ProducePacketName [23:00:03]name=ofd_packets/00025038 [23:00:03]NVStorageSaveData ofd_packets/00025038 [23:00:03]File name is /storage/ofd_packets/00025038 [23:00:03]Write 323 bytes [23:00:03]NVStorageSaveData done [23:00:03]OFDSenderStorePacket done [23:00:03]KKMCreateOFDPacket done [23:00:03]NVStorageSaveData kkm_last_timestamp [23:00:03]File name is /storage/kkm_last_timestamp [23:00:03]Write 4 bytes [23:00:03]NVStorageSaveData done [23:00:03]ExternCall_PrintAddStr [23:00:03]wPrintStart [23:00:03]Write to MH i2c: 01 00 00 75 0C 81 [23:00:03]Write i2c OK [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: 01 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: 01 07 00 [23:00:03]MH_I2C_Read... [23:00:03]Read from MH i2c: 01 07 00 75 0C 00 00 00 00 00 FF 0F 96 [23:00:03]RasterBufferAndPrint [23:00:03]line Счет N : (3)34796 [23:00:03]line ИНН: 02508201610067 [23:00:03]line Контрольно-Кассовый Чек [23:00:03]line ПРОДАЖА [23:00:03]line Товар: 48743570 [23:00:03]line Сигареты Winston XStyle Blue [23:00:03]line 1.000 * 144.00 [23:00:03]line = 144.00 [23:00:03]line НДС 12% НСП 1% [23:00:03]line > о реализуемом товаре [23:00:03]line ИТОГО: 144.00 [23:00:03]line НСП 1% : 1.27 [23:00:03]line НДС 12% : 15.29 [23:00:03]line Наличными: 144.00 [23:00:03]line Безнал.: 0.00 [23:00:03]line Место: АЗС № 161 "Партнер Нефть" [23:00:03]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [23:00:03]line СНО: Общий режим [23:00:03]line Чек 59 22.10.2024 23:00 [23:00:03]line Смена: 457 ФФД: 1.0 [23:00:03]line ЗНМ: 0300000240 [23:00:03]line РНМ: 0000000000098147 [23:00:03]line Версия ККМ: 001 [23:00:03]line ФМ: 0000000000965376 [23:00:03]line ФД: 25038 [23:00:03]line ФПД: 112641040446848 [23:00:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T230004&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25038&fm=112641040446848&tin=02508201610067®Number=0000000000098147&sum=14400 [23:00:04]OFD Sender: Processing packet 25038 [packets to send 5, broken 4] [23:00:04]ProducePacketName [23:00:04]name=ofd_packets/00025038 [23:00:04]OFD Sender: To server: pG, [23:00:04]CommunicateWithHost lk.salyk.kg:30040 [23:00:04]ConnectInit lk.salyk.kg [23:00:04]line 0 [23:00:04]written 0, free lines is 4095 [23:00:04]Connected sock=10 [23:00:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 01 D9 1D 01 67 42 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 74 2E 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CE 61 00 00 35 04 06 00 66 72 49 33 F5 80 BC C1 5E 39 63 5E 0C DD [23:00:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 4E BC 47 00 40 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CE 61 00 00 F4 03 04 00 EE D6 17 67 B6 04 01 00 00 88 63 84 A2 CD 11 F3 3C [23:00:04]CommunicateWithHost err = 0 [23:00:04]CheckOFDResponse [23:00:04]1017 (14) - 77093643461234 [23:00:04]1041 (16) - 0000000000965376 [23:00:04]1040 (4) - 25038 [23:00:04]1012 (4) - 22.10.2024 16:46 [23:00:04]1206 (1) - 0 [23:00:04]OFD Sender: Remove packet 25038 [23:00:04]ProducePacketName [23:00:04]name=ofd_packets/00025038 [23:00:04]NVStorageDeleteData [23:00:04]Write to MH i2c: 01 00 00 9D 0C A9 [23:00:04]Write i2c OK [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: 01 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: 01 07 00 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: 01 07 00 9D 0C 00 00 00 00 00 D7 0C 93 [23:00:04]RasterBufferAndPrint [23:00:04]line [23:00:04]line [23:00:04]line [23:00:04]line [23:00:04]line [23:00:04]written 0, free lines is 3295 [23:00:04]process_action close_receipt done [23:00:04]requested_data is exist [23:00:04]produce_requested_data [23:00:04]requested_item fm.sn is exist - process it [23:00:04]wFMCommunicate request_size=4 [23:00:04]MH_SAM_APDU [23:00:04]CAPDU: 80 11 00 00 [23:00:04]Write to MH i2c: E2 08 00 A4 0C 80 11 00 00 00 00 00 00 2A [23:00:04]Write i2c OK [23:00:04]MH_I2C_Read... [23:00:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:04]Read from MH i2c: E2 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: E2 17 00 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: E2 17 00 A4 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 81 [23:00:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:00:04]wFMCommunicate OK [23:00:04]requested_item fd.num is exist - process it [23:00:04]SAM_PROTO_GetFieldsCounters [23:00:04]wFMCommunicate request_size=4 [23:00:04]MH_SAM_APDU [23:00:04]CAPDU: 80 13 00 00 [23:00:04]Write to MH i2c: E2 08 00 A5 0C 80 13 00 00 00 00 00 00 2D [23:00:04]Write i2c OK [23:00:04]MH_I2C_Read... [23:00:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:00:04]Read from MH i2c: E2 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: E2 62 00 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: E2 62 00 A5 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CE 61 00 00 0E 04 04 00 C9 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 00 [23:00:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CE 61 00 00 0E 04 04 00 C9 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 [23:00:04]wFMCommunicate OK [23:00:04]SAM_PROTO_GetFieldsCounters done [23:00:04]requested_item shift.num is exist - process it [23:00:04]requested_item shift.opened is exist - process it [23:00:04]req_shift_opened [23:00:04]FM_GetShiftState [23:00:04]SAM_PROTO_GetShiftState [23:00:04]wFMCommunicate request_size=4 [23:00:04]MH_SAM_APDU [23:00:04]CAPDU: 80 13 01 00 [23:00:04]Write to MH i2c: E2 08 00 A6 0C 80 13 01 00 00 00 00 00 2F [23:00:04]Write i2c OK [23:00:04]MH_I2C_Read... [23:00:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:04]Read from MH i2c: E2 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: E2 0E 00 [23:00:04]MH_I2C_Read... [23:00:04]Read from MH i2c: E2 0E 00 A6 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 80 [23:00:04]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:00:04]wFMCommunicate OK [23:00:04]SAM_PROTO_GetShiftState done [23:00:04]FM_GetShiftState done [23:00:04]req_shift_opened done [23:00:04]requested_item shift.open_date is exist - process it [23:00:04]req_shift_open_date [23:00:04]req_shift_open_date done [23:00:04]produce_requested_data done [23:00:04]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25038,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [23:00:04]process_action_free close_receipt [23:00:04]json_value_free [23:00:04]json_value_free done [23:00:04]process_json_proto returns [23:00:04]Send response to host [23:00:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25038,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [23:00:04]free response buf [23:00:04]execute_script done [23:00:04]execute_script returns [23:00:04]free content buf [23:00:04]Sock 9.Close socket [23:00:04]Sock 9.Thread stoped [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:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:35]OFD Sender: No OFD packet to send [23:12:40]OFD Sender: No OFD packet to send [23:12:45]OFD Sender: No OFD packet to send [23:12:50]OFD Sender: No OFD packet to send [23:12:55]OFD Sender: No OFD packet to send [23:13:00]OFD Sender: No OFD packet to send [23:13:05]OFD Sender: No OFD packet to send [23:13:10]OFD Sender: No OFD packet to send [23:13:15]OFD Sender: No OFD packet to send [23:13:20]OFD Sender: No OFD packet to send [23:13:25]OFD Sender: No OFD packet to send [23:13:30]OFD Sender: No OFD packet to send [23:13:35]OFD Sender: No OFD packet to send [23:13:40]OFD Sender: No OFD packet to send [23:13:45]OFD Sender: No OFD packet to send [23:13:50]OFD Sender: No OFD packet to send [23:13:55]OFD Sender: No OFD packet to send [23:14:00]OFD Sender: No OFD packet to send [23:14:05]OFD Sender: No OFD packet to send [23:14:10]OFD Sender: No OFD packet to send [23:14:15]OFD Sender: No OFD packet to send [23:14:20]OFD Sender: No OFD packet to send [23:14:25]OFD Sender: No OFD packet to send [23:14:30]OFD Sender: No OFD packet to send [23:14:35]OFD Sender: No OFD packet to send [23:14:40]OFD Sender: No OFD packet to send [23:14:45]OFD Sender: No OFD packet to send [23:14:50]OFD Sender: No OFD packet to send [23:14:55]OFD Sender: No OFD packet to send [23:15:00]OFD Sender: No OFD packet to send [23:15:05]OFD Sender: No OFD packet to send [23:15:10]OFD Sender: No OFD packet to send [23:15:15]OFD Sender: No OFD packet to send [23:15:20]OFD Sender: No OFD packet to send [23:15:25]OFD Sender: No OFD packet to send [23:15:30]OFD Sender: No OFD packet to send [23:15:35]OFD Sender: No OFD packet to send [23:15:40]OFD Sender: No OFD packet to send [23:15:45]OFD Sender: No OFD packet to send [23:15:50]OFD Sender: No OFD packet to send [23:15:55]OFD Sender: No OFD packet to send [23:16:00]OFD Sender: No OFD packet to send [23:16:05]OFD Sender: No OFD packet to send [23:16:10]OFD Sender: No OFD packet to send [23:16:15]OFD Sender: No OFD packet to send [23:16:20]OFD Sender: No OFD packet to send [23:16:25]OFD Sender: No OFD packet to send [23:16:30]OFD Sender: No OFD packet to send [23:16:35]OFD Sender: No OFD packet to send [23:16:40]OFD Sender: No OFD packet to send [23:16:45]OFD Sender: No OFD packet to send [23:16:50]OFD Sender: No OFD packet to send [23:16:55]OFD Sender: No OFD packet to send [23:17:00]OFD Sender: No OFD packet to send [23:17:05]OFD Sender: No OFD packet to send [23:17:10]OFD Sender: No OFD packet to send [23:17:15]OFD Sender: No OFD packet to send [23:17:20]OFD Sender: No OFD packet to send [23:17:25]OFD Sender: No OFD packet to send [23:17:30]OFD Sender: No OFD packet to send [23:17:35]OFD Sender: No OFD packet to send [23:17:40]OFD Sender: No OFD packet to send [23:17:45]OFD Sender: No OFD packet to send [23:17:50]OFD Sender: No OFD packet to send [23:17:55]OFD Sender: No OFD packet to send [23:18:00]OFD Sender: No OFD packet to send [23:18:05]OFD Sender: No OFD packet to send [23:18:10]OFD Sender: No OFD packet to send [23:18:15]OFD Sender: No OFD packet to send [23:18:20]OFD Sender: No OFD packet to send [23:18:25]OFD Sender: No OFD packet to send [23:18:30]OFD Sender: No OFD packet to send [23:18:35]OFD Sender: No OFD packet to send [23:18:40]OFD Sender: No OFD packet to send [23:18:45]OFD Sender: No OFD packet to send [23:18:50]OFD Sender: No OFD packet to send [23:18:55]OFD Sender: No OFD packet to send [23:19:00]OFD Sender: No OFD packet to send [23:19:05]OFD Sender: No OFD packet to send [23:19:10]OFD Sender: No OFD packet to send [23:19:15]OFD Sender: No OFD packet to send [23:19:20]OFD Sender: No OFD packet to send [23:19:25]OFD Sender: No OFD packet to send [23:19:30]OFD Sender: No OFD packet to send [23:19:35]OFD Sender: No OFD packet to send [23:19:40]OFD Sender: No OFD packet to send [23:19:45]OFD Sender: No OFD packet to send [23:19:50]OFD Sender: No OFD packet to send [23:19:55]OFD Sender: No OFD packet to send [23:20:00]OFD Sender: No OFD packet to send [23:20:05]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:11]OFD Sender: No OFD packet to send [23:23:16]OFD Sender: No OFD packet to send [23:23:21]OFD Sender: No OFD packet to send [23:23:26]OFD Sender: No OFD packet to send [23:23:31]OFD Sender: No OFD packet to send [23:23:36]OFD Sender: No OFD packet to send [23:23:41]OFD Sender: No OFD packet to send [23:23:46]OFD Sender: No OFD packet to send [23:23:51]OFD Sender: No OFD packet to send [23:23:56]OFD Sender: No OFD packet to send [23:24:01]OFD Sender: No OFD packet to send [23:24:06]OFD Sender: No OFD packet to send [23:24:11]OFD Sender: No OFD packet to send [23:24:16]OFD Sender: No OFD packet to send [23:24:21]OFD Sender: No OFD packet to send [23:24:26]OFD Sender: No OFD packet to send [23:24:31]OFD Sender: No OFD packet to send [23:24:36]OFD Sender: No OFD packet to send [23:24:41]OFD Sender: No OFD packet to send [23:24:46]OFD Sender: No OFD packet to send [23:24:51]OFD Sender: No OFD packet to send [23:24:56]OFD Sender: No OFD packet to send [23:25:01]OFD Sender: No OFD packet to send [23:25:06]OFD Sender: No OFD packet to send [23:25:11]OFD Sender: No OFD packet to send [23:25:16]OFD Sender: No OFD packet to send [23:25:21]OFD Sender: No OFD packet to send [23:25:26]OFD Sender: No OFD packet to send [23:25:31]OFD Sender: No OFD packet to send [23:25:36]OFD Sender: No OFD packet to send [23:25:41]OFD Sender: No OFD packet to send [23:25:46]OFD Sender: No OFD packet to send [23:25:51]OFD Sender: No OFD packet to send [23:25:56]OFD Sender: No OFD packet to send [23:26:01]OFD Sender: No OFD packet to send [23:26:06]OFD Sender: No OFD packet to send [23:26:11]OFD Sender: No OFD packet to send [23:26:16]OFD Sender: No OFD packet to send [23:26:21]OFD Sender: No OFD packet to send [23:26:26]OFD Sender: No OFD packet to send [23:26:31]OFD Sender: No OFD packet to send [23:26:36]OFD Sender: No OFD packet to send [23:26:41]OFD Sender: No OFD packet to send [23:26:46]OFD Sender: No OFD packet to send [23:26:51]OFD Sender: No OFD packet to send [23:26:56]OFD Sender: No OFD packet to send [23:27:01]OFD Sender: No OFD packet to send [23:27:06]OFD Sender: No OFD packet to send [23:27:11]OFD Sender: No OFD packet to send [23:27:16]OFD Sender: No OFD packet to send [23:27:21]OFD Sender: No OFD packet to send [23:27:26]OFD Sender: No OFD packet to send [23:27:31]OFD Sender: No OFD packet to send [23:27:36]OFD Sender: No OFD packet to send [23:27:41]OFD Sender: No OFD packet to send [23:27:46]OFD Sender: No OFD packet to send [23:27:51]OFD Sender: No OFD packet to send [23:27:56]OFD Sender: No OFD packet to send [23:28:01]OFD Sender: No OFD packet to send [23:28:06]OFD Sender: No OFD packet to send [23:28:11]OFD Sender: No OFD packet to send [23:28:16]OFD Sender: No OFD packet to send [23:28:21]OFD Sender: No OFD packet to send [23:28:26]OFD Sender: No OFD packet to send [23:28:31]OFD Sender: No OFD packet to send [23:28:36]OFD Sender: No OFD packet to send [23:28:41]OFD Sender: No OFD packet to send [23:28:46]OFD Sender: No OFD packet to send [23:28:51]OFD Sender: No OFD packet to send [23:28:56]OFD Sender: No OFD packet to send [23:29:01]OFD Sender: No OFD packet to send [23:29:06]OFD Sender: No OFD packet to send [23:29:11]OFD Sender: No OFD packet to send [23:29:16]OFD Sender: No OFD packet to send [23:29:21]OFD Sender: No OFD packet to send [23:29:26]OFD Sender: No OFD packet to send [23:29:31]OFD Sender: No OFD packet to send [23:29:36]OFD Sender: No OFD packet to send [23:29:41]OFD Sender: No OFD packet to send [23:29:46]OFD Sender: No OFD packet to send [23:29:51]OFD Sender: No OFD packet to send [23:29:56]OFD Sender: No OFD packet to send [23:30:01]OFD Sender: No OFD packet to send [23:30:06]OFD Sender: No OFD packet to send [23:30:11]OFD Sender: No OFD packet to send [23:30:16]OFD Sender: No OFD packet to send [23:30:21]OFD Sender: No OFD packet to send [23:30:26]OFD Sender: No OFD packet to send [23:30:31]OFD Sender: No OFD packet to send [23:30:36]OFD Sender: No OFD packet to send [23:30:41]OFD Sender: No OFD packet to send [23:30:46]OFD Sender: No OFD packet to send [23:30:51]OFD Sender: No OFD packet to send [23:30:56]OFD Sender: No OFD packet to send [23:31:01]OFD Sender: No OFD packet to send [23:31:06]OFD Sender: No OFD packet to send [23:31:11]OFD Sender: No OFD packet to send [23:31:16]OFD Sender: No OFD packet to send [23:31:21]OFD Sender: No OFD packet to send [23:31:26]OFD Sender: No OFD packet to send [23:31:31]OFD Sender: No OFD packet to send [23:31:36]OFD Sender: No OFD packet to send [23:31:41]OFD Sender: No OFD packet to send [23:31:46]OFD Sender: No OFD packet to send [23:31:51]OFD Sender: No OFD packet to send [23:31:56]OFD Sender: No OFD packet to send [23:32:01]OFD Sender: No OFD packet to send [23:32:06]OFD Sender: No OFD packet to send [23:32:11]OFD Sender: No OFD packet to send [23:32:16]OFD Sender: No OFD packet to send [23:32:21]OFD Sender: No OFD packet to send [23:32:26]OFD Sender: No OFD packet to send [23:32:31]OFD Sender: No OFD packet to send [23:32:36]OFD Sender: No OFD packet to send [23:32:41]OFD Sender: No OFD packet to send [23:32:46]OFD Sender: No OFD packet to send [23:32:51]OFD Sender: No OFD packet to send [23:32:56]OFD Sender: No OFD packet to send [23:33:01]OFD Sender: No OFD packet to send [23:33:06]OFD Sender: No OFD packet to send [23:33:11]OFD Sender: No OFD packet to send [23:33:16]OFD Sender: No OFD packet to send [23:33:21]OFD Sender: No OFD packet to send [23:33:26]OFD Sender: No OFD packet to send [23:33:31]OFD Sender: No OFD packet to send [23:33:36]OFD Sender: No OFD packet to send [23:33:36]accept exits with 8 [23:33:36]New connection [23:33:36]New thread 3067612516 created [23:33:36]Thread 3067469156 joined [23:33:36]Waiting for new connection... [23:33:36] Sock 8.Parse request [23:33:36]Sock 8.Check first char [23:33:36]Sock 8.First char is OK [23:33:36]request: POST /json_proto HTTP/1.0 [23:33:36]Method: POST [23:33:36]URL: /json_proto [23:33:36]Method is POST - this is cgi request [23:33:36]url: /json_proto [23:33:36]query_string will be loaded in cgi processing [23:33:36]execute_cgi json_proto POST (null) [23:33:36]execute_cgi path=json_proto method=POST [23:33:36]POST find Content-Length [23:33:36]Host: 172.17.53.196:8080 [23:33:36]Content-Length: 802 [23:33:36]Content-Type: application/json [23:33:36] [23:33:36]POST finish read [23:33:36]Found Content-Length = 802 [23:33:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34797", "tax_sys" : 0, "items" : [ { "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:36]execute_script... [23:33:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34797", "tax_sys" : 0, "items" : [ { "code": "4700003241276", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041C\u043E\u043B\u043E\u0447\u043D\u044B\u0439 \u0422\u0410\u041D 1\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:36]POST & json_proto [23:33:36]process_json_proto [23:33:36]json parsed OK: [23:33:36]protocol is kg_v1.0 [23:33:36]action value=close_receipt [23:33:36]process_action close_receipt [23:33:36]cmd_close_receipt [23:33:36]MH_GetDate [23:33:36]Write to MH i2c: F0 00 00 A7 0C A2 [23:33:36]Write i2c OK [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: F0 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: F0 09 00 [23:33:36]MH_I2C_Read... [23:33:36]Read from MH i2c: F0 09 00 A7 0C 00 54 36 18 67 4F CD 9A 65 CF [23:33:36]GetLastDocTimeStamp 1729638004 [23:33:36]current date 1729640020 [23:33:36]FM_GetShiftState [23:33:36]SAM_PROTO_GetShiftState [23:33:36]wFMCommunicate request_size=4 [23:33:36]MH_SAM_APDU [23:33:36]CAPDU: 80 13 01 00 [23:33:36]Write to MH i2c: E2 08 00 A8 0C 80 13 01 00 00 00 00 00 31 [23:33:36]Write i2c OK [23:33:36]MH_I2C_Read... [23:33:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:37]Read from MH i2c: E2 [23:33:37]MH_I2C_Read... [23:33:37]Read from MH i2c: E2 0E 00 [23:33:37]MH_I2C_Read... [23:33:37]Read from MH i2c: E2 0E 00 A8 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 82 [23:33:37]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:33:37]wFMCommunicate OK [23:33:37]SAM_PROTO_GetShiftState done [23:33:37]FM_GetShiftState done [23:33:37]opened in 1729556951 [23:33:37]opened+sec_in_day 1729643351 [23:33:37]quantity*price = 11000 [23:33:37]sum+1 = 11001 [23:33:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 60 22.10.2024 23:33 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965376 ФД: 25039 ФПД: 9888317835811 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T233340&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25039&fm=9888317835811&tin=02508201610067®Number=0000000000098147&sum=11000 0 [23:33:38]StoreToDocumentArchive [23:33:38]shift 457 fd 25039 [23:33:38]save to /storage/0457/doc_00025039 [23:33:38]save last doc name /storage/0457/doc_00025039 to /storage/kkm_last_doc_name [23:33:38]save OK [23:33:38]Clear old archive folders... [23:33:38]ProcessDocumentItem done err = 0, tmpTLVsize=284 [23:33:38]tlvbuf is 00AD1730 [23:33:38]SAM_PROTO_ClearQueue [23:33:38]wFMCommunicate request_size=4 [23:33:38]MH_SAM_APDU [23:33:38]CAPDU: 80 09 00 00 [23:33:38]Write to MH i2c: E2 08 00 B5 0C 80 09 00 00 00 00 00 00 33 [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:33:38]Read from MH i2c: E2 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 B5 0C 00 90 00 35 [23:33:38]RAPDU: 90 00 [23:33:38]wFMCommunicate OK [23:33:38]SAM_PROTO_ClearQueue done [23:33:38]KKMCreateOFDPacket [23:33:38]OFDProtocolAddRootSTLVToBuf [23:33:38]FM_MakeSignedData [23:33:38]FM_MakeSignedData [23:33:38]SAM_PROTO_SignData [23:33:38]wFMCommunicate request_size=4 [23:33:38]MH_SAM_APDU [23:33:38]CAPDU: 80 0D 01 02 [23:33:38]Write to MH i2c: E2 08 00 B6 0C 80 0D 01 02 00 00 00 00 3B [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:33:38]Read from MH i2c: E2 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 B6 0C 00 90 00 36 [23:33:38]RAPDU: 90 00 [23:33:38]wFMCommunicate OK [23:33:38]wFMCommunicate request_size=255 [23:33:38]MH_SAM_APDU [23:33:38]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 54 36 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [23:33:38]Write to MH i2c: E2 02 01 B7 0C 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 54 36 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 55 [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:38]Read from MH i2c: E2 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 B7 0C 00 90 00 37 [23:33:38]RAPDU: 90 00 [23:33:38]wFMCommunicate OK [23:33:38]wFMCommunicate request_size=43 [23:33:38]MH_SAM_APDU [23:33:38]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CF 61 00 00 35 04 06 00 08 FE 4D AC 0A 23 [23:33:38]Write to MH i2c: E2 2E 00 B8 0C 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CF 61 00 00 35 04 06 00 08 FE 4D AC 0A 23 00 00 86 [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:38]Read from MH i2c: E2 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 03 00 B8 0C 00 90 00 38 [23:33:38]RAPDU: 90 00 [23:33:38]wFMCommunicate OK [23:33:38]wFMCommunicate request_size=4 [23:33:38]MH_SAM_APDU [23:33:38]CAPDU: 80 0D 03 02 [23:33:38]Write to MH i2c: E2 08 00 B9 0C 80 0D 03 02 00 00 00 00 40 [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:33:38]Read from MH i2c: E2 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 0B 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 0B 00 B9 0C 00 7D B4 68 19 6B E8 B7 2A 90 00 27 [23:33:38]RAPDU: 7D B4 68 19 6B E8 B7 2A 90 00 [23:33:38]wFMCommunicate OK [23:33:38]SAM_PROTO_SignData done [23:33:38]FM_MakeSignedData done [23:33:38]CreateOFDProtocolMessage [23:33:38]wFMCommunicate request_size=4 [23:33:38]MH_SAM_APDU [23:33:38]CAPDU: 80 11 00 00 [23:33:38]Write to MH i2c: E2 08 00 BA 0C 80 11 00 00 00 00 00 00 40 [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:38]Read from MH i2c: E2 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 17 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: E2 17 00 BA 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 97 [23:33:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:33:38]wFMCommunicate OK [23:33:38]CreateOFDProtocolMessage done [23:33:38]OFDSenderStorePacket 25039 [23:33:38]StoreOFDPacket docnum=25039 [23:33:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 30 01 00 00 D7 98 28 01 6A E8 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 54 36 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CF 61 00 00 35 04 06 00 08 FE 4D AC 0A 23 7D B4 68 19 6B E8 B7 2A [23:33:38]CheckFolder [23:33:38]dirname=/storage/ofd_packets [23:33:38]CheckFolder done [23:33:38]ProducePacketName [23:33:38]name=ofd_packets/00025039 [23:33:38]NVStorageSaveData ofd_packets/00025039 [23:33:38]File name is /storage/ofd_packets/00025039 [23:33:38]Write 334 bytes [23:33:38]NVStorageSaveData done [23:33:38]OFDSenderStorePacket done [23:33:38]KKMCreateOFDPacket done [23:33:38]NVStorageSaveData kkm_last_timestamp [23:33:38]File name is /storage/kkm_last_timestamp [23:33:38]Write 4 bytes [23:33:38]NVStorageSaveData done [23:33:38]ExternCall_PrintAddStr [23:33:38]wPrintStart [23:33:38]Write to MH i2c: 01 00 00 BB 0C C7 [23:33:38]Write i2c OK [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: 01 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: 01 07 00 [23:33:38]MH_I2C_Read... [23:33:38]Read from MH i2c: 01 07 00 BB 0C 00 00 00 00 00 FF 0F DC [23:33:38]RasterBufferAndPrint [23:33:38]line Счет N : (3)34797 [23:33:38]line ИНН: 02508201610067 [23:33:38]line Контрольно-Кассовый Чек [23:33:38]line ПРОДАЖА [23:33:38]line Товар: 4700003241276 [23:33:38]line Напиток Молочный ТАН 1л [23:33:38]line 1.000 * 110.00 [23:33:38]line = 110.00 [23:33:38]line НДС 12% НСП 1% [23:33:38]line > о реализуемом товаре [23:33:38]line ИТОГО: 110.00 [23:33:38]line НСП 1% : 0.97 [23:33:38]line НДС 12% : 11.68 [23:33:38]line Наличными: 0.00 [23:33:38]line Безнал.: 110.00 [23:33:38]line Место: АЗС № 161 "Партнер Нефть" [23:33:38]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [23:33:38]line СНО: Общий режим [23:33:38]line Чек 60 22.10.2024 23:33 [23:33:38]line Смена: 457 ФФД: 1.0 [23:33:38]line ЗНМ: 0300000240 [23:33:38]line РНМ: 0000000000098147 [23:33:38]line Версия ККМ: 001 [23:33:38]line Платежная система: Mbank [23:33:38]line ФМ: 0000000000965376 [23:33:38]line ФД: 25039 [23:33:38]line ФПД: 9888317835811 [23:33:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T233340&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25039&fm=9888317835811&tin=02508201610067®Number=0000000000098147&sum=11000 [23:33:38]line 0 [23:33:38]OFD Sender: Processing packet 25039 [packets to send 5, broken 4] [23:33:38]ProducePacketName [23:33:38]name=ofd_packets/00025039 [23:33:38]OFD Sender: To server: pG, [23:33:38]CommunicateWithHost lk.salyk.kg:30040 [23:33:38]ConnectInit lk.salyk.kg [23:33:38]written 0, free lines is 4095 [23:33:39]Connected sock=10 [23:33:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 30 01 00 00 D7 98 28 01 6A E8 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 30 33 32 34 31 32 37 36 06 04 2A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9C D0 BE D0 BB D0 BE D1 87 D0 BD D1 8B D0 B9 20 D0 A2 D0 90 D0 9D 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 2A 00 00 00 00 13 04 06 00 F8 2A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 54 36 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 CF 61 00 00 35 04 06 00 08 FE 4D AC 0A 23 7D B4 68 19 6B E8 B7 2A [23:33:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 73 81 47 00 C8 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 39 36 35 33 37 36 10 04 04 00 CF 61 00 00 F4 03 04 00 CD DE 17 67 B6 04 01 00 00 EA 33 AD BE AD 83 F8 01 [23:33:39]CommunicateWithHost err = 0 [23:33:39]CheckOFDResponse [23:33:39]1017 (14) - 77093643461234 [23:33:39]1041 (16) - 0000000000965376 [23:33:39]1040 (4) - 25039 [23:33:39]1012 (4) - 22.10.2024 17:20 [23:33:39]1206 (1) - 0 [23:33:39]OFD Sender: Remove packet 25039 [23:33:39]ProducePacketName [23:33:39]name=ofd_packets/00025039 [23:33:39]NVStorageDeleteData [23:33:39]Write to MH i2c: 01 00 00 E4 0C F0 [23:33:39]Write i2c OK [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: 01 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: 01 07 00 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: 01 07 00 E4 0C 00 00 00 00 00 CA 0C CD [23:33:39]RasterBufferAndPrint [23:33:39]line [23:33:39]line [23:33:39]line [23:33:39]line [23:33:39]line [23:33:39]written 0, free lines is 3280 [23:33:39]process_action close_receipt done [23:33:39]requested_data is exist [23:33:39]produce_requested_data [23:33:39]requested_item fm.sn is exist - process it [23:33:39]wFMCommunicate request_size=4 [23:33:39]MH_SAM_APDU [23:33:39]CAPDU: 80 11 00 00 [23:33:39]Write to MH i2c: E2 08 00 EB 0C 80 11 00 00 00 00 00 00 71 [23:33:39]Write i2c OK [23:33:39]MH_I2C_Read... [23:33:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:39]Read from MH i2c: E2 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: E2 17 00 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: E2 17 00 EB 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C8 [23:33:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:33:39]wFMCommunicate OK [23:33:39]requested_item fd.num is exist - process it [23:33:39]SAM_PROTO_GetFieldsCounters [23:33:39]wFMCommunicate request_size=4 [23:33:39]MH_SAM_APDU [23:33:39]CAPDU: 80 13 00 00 [23:33:39]Write to MH i2c: E2 08 00 EC 0C 80 13 00 00 00 00 00 00 74 [23:33:39]Write i2c OK [23:33:39]MH_I2C_Read... [23:33:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:33:39]Read from MH i2c: E2 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: E2 62 00 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: E2 62 00 EC 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CF 61 00 00 0E 04 04 00 C9 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 4B [23:33:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CF 61 00 00 0E 04 04 00 C9 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 [23:33:39]wFMCommunicate OK [23:33:39]SAM_PROTO_GetFieldsCounters done [23:33:39]requested_item shift.num is exist - process it [23:33:39]requested_item shift.opened is exist - process it [23:33:39]req_shift_opened [23:33:39]FM_GetShiftState [23:33:39]SAM_PROTO_GetShiftState [23:33:39]wFMCommunicate request_size=4 [23:33:39]MH_SAM_APDU [23:33:39]CAPDU: 80 13 01 00 [23:33:39]Write to MH i2c: E2 08 00 ED 0C 80 13 01 00 00 00 00 00 76 [23:33:39]Write i2c OK [23:33:39]MH_I2C_Read... [23:33:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:39]Read from MH i2c: E2 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: E2 0E 00 [23:33:39]MH_I2C_Read... [23:33:39]Read from MH i2c: E2 0E 00 ED 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 C7 [23:33:39]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:33:39]wFMCommunicate OK [23:33:39]SAM_PROTO_GetShiftState done [23:33:39]FM_GetShiftState done [23:33:39]req_shift_opened done [23:33:39]requested_item shift.open_date is exist - process it [23:33:39]req_shift_open_date [23:33:39]req_shift_open_date done [23:33:39]produce_requested_data done [23:33:39]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25039,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [23:33:39]process_action_free close_receipt [23:33:39]json_value_free [23:33:39]json_value_free done [23:33:39]process_json_proto returns [23:33:39]Send response to host [23:33:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25039,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [23:33:39]free response buf [23:33:39]execute_script done [23:33:39]execute_script returns [23:33:39]free content buf [23:33:39]Sock 8.Close socket [23:33:39]Sock 8.Thread stoped [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:16]accept exits with 9 [23:35:16]New connection [23:35:16]New thread 3067469156 created [23:35:16]Thread 3067612516 joined [23:35:16]Waiting for new connection... [23:35:16] Sock 9.Parse request [23:35:16]Sock 9.Check first char [23:35:16]Sock 9.First char is OK [23:35:16]request: POST /json_proto HTTP/1.0 [23:35:16]Method: POST [23:35:16]URL: /json_proto [23:35:16]Method is POST - this is cgi request [23:35:16]url: /json_proto [23:35:16]query_string will be loaded in cgi processing [23:35:16]execute_cgi json_proto POST (null) [23:35:16]execute_cgi path=json_proto method=POST [23:35:16]POST find Content-Length [23:35:16]Host: 172.17.53.196:8080 [23:35:16]Content-Length: 215 [23:35:16]Content-Type: application/json [23:35:16] [23:35:16]POST finish read [23:35:16]Found Content-Length = 215 [23:35:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:35:16]execute_script... [23:35:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:35:16]POST & json_proto [23:35:16]process_json_proto [23:35:16]json parsed OK: [23:35:16]protocol is kg_v1.0 [23:35:16]action value=get_value [23:35:16]process_action get_value [23:35:16]cmd_get_value [23:35:16]process_action get_value done [23:35:16]requested_data is exist [23:35:16]produce_requested_data [23:35:16]requested_item kkm.sn is exist - process it [23:35:16]requested_item kkm.ver is exist - process it [23:35:17]requested_item fm.sn is exist - process it [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 11 00 00 [23:35:17]Write to MH i2c: E2 08 00 EE 0C 80 11 00 00 00 00 00 00 74 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 17 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 17 00 EE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 CB [23:35:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:35:17]wFMCommunicate OK [23:35:17]requested_item fd.num is exist - process it [23:35:17]SAM_PROTO_GetFieldsCounters [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 13 00 00 [23:35:17]Write to MH i2c: E2 08 00 EF 0C 80 13 00 00 00 00 00 00 77 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 62 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 62 00 EF 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CF 61 00 00 0E 04 04 00 C9 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 4E [23:35:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 CF 61 00 00 0E 04 04 00 C9 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 [23:35:17]wFMCommunicate OK [23:35:17]SAM_PROTO_GetFieldsCounters done [23:35:17]requested_item shift.num is exist - process it [23:35:17]requested_item shift.opened is exist - process it [23:35:17]req_shift_opened [23:35:17]FM_GetShiftState [23:35:17]SAM_PROTO_GetShiftState [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 13 01 00 [23:35:17]Write to MH i2c: E2 08 00 F0 0C 80 13 01 00 00 00 00 00 79 [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 0E 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 0E 00 F0 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 CA [23:35:17]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:35:17]wFMCommunicate OK [23:35:17]SAM_PROTO_GetShiftState done [23:35:17]FM_GetShiftState done [23:35:17]req_shift_opened done [23:35:17]requested_item shift.open_date is exist - process it [23:35:17]req_shift_open_date [23:35:17]req_shift_open_date done [23:35:17]produce_requested_data done [23:35:17]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25039,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [23:35:17]process_action_free get_value [23:35:17]json_value_free [23:35:17]json_value_free done [23:35:17]process_json_proto returns [23:35:17]Send response to host [23:35:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25039,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [23:35:17]free response buf [23:35:17]execute_script done [23:35:17]execute_script returns [23:35:17]free content buf [23:35:17]Sock 9.Close socket [23:35:17]Sock 9.Thread stoped [23:35:17]accept exits with 8 [23:35:17]New connection [23:35:17]New thread 3067612516 created [23:35:17]Thread 3067469156 joined [23:35:17]Waiting for new connection... [23:35:17] Sock 8.Parse request [23:35:17]Sock 8.Check first char [23:35:17]Sock 8.First char is OK [23:35:17]request: POST /json_proto HTTP/1.0 [23:35:17]Method: POST [23:35:17]URL: /json_proto [23:35:17]Method is POST - this is cgi request [23:35:17]url: /json_proto [23:35:17]query_string will be loaded in cgi processing [23:35:17]execute_cgi json_proto POST (null) [23:35:17]execute_cgi path=json_proto method=POST [23:35:17]POST find Content-Length [23:35:17]Host: 172.17.53.196:8080 [23:35:17]Content-Length: 331 [23:35:17]Content-Type: application/json [23:35:17] [23:35:17]POST finish read [23:35:17]Found Content-Length = 331 [23:35:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:35:17]execute_script... [23:35:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:35:17]POST & json_proto [23:35:17]process_json_proto [23:35:17]json parsed OK: [23:35:17]protocol is kg_v1.0 [23:35:17]action value=get_value [23:35:17]process_action get_value [23:35:17]cmd_get_value [23:35:17]process_action get_value done [23:35:17]requested_data is exist [23:35:17]produce_requested_data [23:35:17]requested_item fm.sale.total is exist - process it [23:35:17]SAM_PROTO_GetFMData [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 13 03 00 [23:35:17]Write to MH i2c: E2 08 00 F1 0C 80 13 03 00 00 00 00 00 7C [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:35:17]Read from MH i2c: E2 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 FD 00 [23:35:17]MH_I2C_Read... [23:35:17]Read from MH i2c: E2 FD 00 F1 0C 00 BF 04 85 04 BB 04 6E 04 04 00 3D 5E 00 00 69 04 A0 00 6F 04 04 00 2F 5E 00 00 B1 04 04 00 48 21 D2 14 70 04 04 00 08 DA A1 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B5 FF 35 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 24 20 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 1C [23:35:17]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 3D 5E 00 00 69 04 A0 00 6F 04 04 00 2F 5E 00 00 B1 04 04 00 48 21 D2 14 70 04 04 00 08 DA A1 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 B5 FF 35 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 24 20 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [23:35:17]wFMCommunicate OK [23:35:17]wFMCommunicate request_size=4 [23:35:17]MH_SAM_APDU [23:35:17]CAPDU: 80 17 00 00 [23:35:17]Write to MH i2c: E2 08 00 F2 0C 80 17 00 00 00 00 00 00 7E [23:35:17]Write i2c OK [23:35:17]MH_I2C_Read... [23:35:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:35:18]Read from MH i2c: E2 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: E2 FD 00 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: E2 FD 00 F2 0C 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 70 [23:35:18]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [23:35:18]wFMCommunicate OK [23:35:18]wFMCommunicate request_size=4 [23:35:18]MH_SAM_APDU [23:35:18]CAPDU: 80 17 00 00 [23:35:18]Write to MH i2c: E2 08 00 F3 0C 80 17 00 00 00 00 00 00 7F [23:35:18]Write i2c OK [23:35:18]MH_I2C_Read... [23:35:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:35:18]Read from MH i2c: E2 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: E2 FD 00 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: E2 FD 00 F3 0C 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 23 [23:35:18]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [23:35:18]wFMCommunicate OK [23:35:18]wFMCommunicate request_size=4 [23:35:18]MH_SAM_APDU [23:35:18]CAPDU: 80 17 00 00 [23:35:18]Write to MH i2c: E2 08 00 F4 0C 80 17 00 00 00 00 00 00 80 [23:35:18]Write i2c OK [23:35:18]MH_I2C_Read... [23:35:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:35:18]Read from MH i2c: E2 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: E2 FD 00 [23:35:18]MH_I2C_Read... [23:35:18]Read from MH i2c: E2 FD 00 F4 0C 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 FA [23:35:18]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [23:35:18]wFMCommunicate OK [23:35:18]wFMCommunicate request_size=4 [23:35:18]MH_SAM_APDU [23:35:18]CAPDU: 80 17 00 00 [23:35:18]Write to MH i2c: E2 08 00 F5 0C 80 17 00 00 00 00 00 00 81 [23:35:18]Write i2c OK [23:35:18]MH_I2C_Read... [23:35:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [23:35:19]Read from MH i2c: E2 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 DC 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 DC 00 F5 0C 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 65 [23:35:19]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:35:19]wFMCommunicate OK [23:35:19]SAM_PROTO_GetFMData done [23:35:19]requested_item fm.sale_refund.total is exist - process it [23:35:19]requested_item fm.buy.total is exist - process it [23:35:19]requested_item shift.sale.total is exist - process it [23:35:19]SAM_PROTO_GetShiftData [23:35:19]wFMCommunicate request_size=4 [23:35:19]MH_SAM_APDU [23:35:19]CAPDU: 80 13 02 00 [23:35:19]Write to MH i2c: E2 08 00 F6 0C 80 13 02 00 00 00 00 00 80 [23:35:19]Write i2c OK [23:35:19]MH_I2C_Read... [23:35:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:35:19]Read from MH i2c: E2 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 FD 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 FD 00 F6 0C 00 AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 2C 17 0D 70 04 03 00 70 52 0B 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D8 63 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A5 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 55 [23:35:19]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 2C 17 0D 70 04 03 00 70 52 0B 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 D8 63 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A5 1D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [23:35:19]wFMCommunicate OK [23:35:19]wFMCommunicate request_size=4 [23:35:19]MH_SAM_APDU [23:35:19]CAPDU: 80 17 00 00 [23:35:19]Write to MH i2c: E2 08 00 F7 0C 80 17 00 00 00 00 00 00 83 [23:35:19]Write i2c OK [23:35:19]MH_I2C_Read... [23:35:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:35:19]Read from MH i2c: E2 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 FD 00 [23:35:19]MH_I2C_Read... [23:35:19]Read from MH i2c: E2 FD 00 F7 0C 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 A5 [23:35:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:35:19]wFMCommunicate OK [23:35:19]wFMCommunicate request_size=4 [23:35:19]MH_SAM_APDU [23:35:19]CAPDU: 80 17 00 00 [23:35:19]Write to MH i2c: E2 08 00 F8 0C 80 17 00 00 00 00 00 00 84 [23:35:19]Write i2c OK [23:35:19]MH_I2C_Read... [23:35:19]OFD Sender: No OFD packet to send [23:35:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:35:20]Read from MH i2c: E2 [23:35:20]MH_I2C_Read... [23:35:20]Read from MH i2c: E2 FD 00 [23:35:20]MH_I2C_Read... [23:35:20]Read from MH i2c: E2 FD 00 F8 0C 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 3B [23:35:20]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:35:20]wFMCommunicate OK [23:35:20]wFMCommunicate request_size=4 [23:35:20]MH_SAM_APDU [23:35:20]CAPDU: 80 17 00 00 [23:35:20]Write to MH i2c: E2 08 00 F9 0C 80 17 00 00 00 00 00 00 85 [23:35:20]Write i2c OK [23:35:20]MH_I2C_Read... [23:35:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:35:20]Read from MH i2c: E2 [23:35:20]MH_I2C_Read... [23:35:20]Read from MH i2c: E2 FD 00 [23:35:20]MH_I2C_Read... [23:35:20]Read from MH i2c: E2 FD 00 F9 0C 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 F7 [23:35:20]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [23:35:20]wFMCommunicate OK [23:35:20]wFMCommunicate request_size=4 [23:35:20]MH_SAM_APDU [23:35:20]CAPDU: 80 17 00 00 [23:35:20]Write to MH i2c: E2 08 00 FA 0C 80 17 00 00 00 00 00 00 86 [23:35:20]Write i2c OK [23:35:20]MH_I2C_Read... [23:35:20]Read from MH i2c: E2 [23:35:20]MH_I2C_Read... [23:35:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:35:20]Read from MH i2c: E2 CB 00 [23:35:20]MH_I2C_Read... [23:35:20]Read from MH i2c: E2 CB 00 FA 0C 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 6F [23:35:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:35:20]wFMCommunicate OK [23:35:20]SAM_PROTO_GetShiftData done [23:35:20]requested_item shift.sale.total_cash is exist - process it [23:35:20]requested_item shift.sale_refund.total is exist - process it [23:35:20]requested_item shift.sale_refund.total_cash is exist - process it [23:35:20]requested_item shift.buy.total is exist - process it [23:35:20]requested_item shift.buy.total_cash is exist - process it [23:35:20]produce_requested_data done [23:35:20]produce_requested_data return {"fm.sale.total":3493154.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":8579.00,"shift.sale.total_cash":7420.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [23:35:20]process_action_free get_value [23:35:20]json_value_free [23:35:20]json_value_free done [23:35:20]process_json_proto returns [23:35:20]Send response to host [23:35:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3493154.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":8579.00,"shift.sale.total_cash":7420.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [23:35:20]free response buf [23:35:20]execute_script done [23:35:20]execute_script returns [23:35:20]free content buf [23:35:20]Sock 8.Close socket [23:35:20]Sock 8.Thread stoped [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:39]OFD Sender: No OFD packet to send [23:35:44]OFD Sender: No OFD packet to send [23:35:49]OFD Sender: No OFD packet to send [23:35:54]OFD Sender: No OFD packet to send [23:35:59]OFD Sender: No OFD packet to send [23:36:04]OFD Sender: No OFD packet to send [23:36:09]OFD Sender: No OFD packet to send [23:36:14]OFD Sender: No OFD packet to send [23:36:19]OFD Sender: No OFD packet to send [23:36:24]OFD Sender: No OFD packet to send [23:36:29]OFD Sender: No OFD packet to send [23:36:34]OFD Sender: No OFD packet to send [23:36:39]OFD Sender: No OFD packet to send [23:36:44]OFD Sender: No OFD packet to send [23:36:49]OFD Sender: No OFD packet to send [23:36:54]OFD Sender: No OFD packet to send [23:36:59]OFD Sender: No OFD packet to send [23:37:04]OFD Sender: No OFD packet to send [23:37:09]OFD Sender: No OFD packet to send [23:37: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:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:14]accept exits with 9 [23:45:14]New connection [23:45:14]New thread 3067469156 created [23:45:14]Thread 3067612516 joined [23:45:14]Waiting for new connection... [23:45:14] Sock 9.Parse request [23:45:14]Sock 9.Check first char [23:45:14]Sock 9.First char is OK [23:45:14]request: POST /json_proto HTTP/1.0 [23:45:14]Method: POST [23:45:14]URL: /json_proto [23:45:14]Method is POST - this is cgi request [23:45:14]url: /json_proto [23:45:14]query_string will be loaded in cgi processing [23:45:14]execute_cgi json_proto POST (null) [23:45:14]execute_cgi path=json_proto method=POST [23:45:14]POST find Content-Length [23:45:14]Host: 172.17.53.196:8080 [23:45:14]Content-Length: 622 [23:45:14]Content-Type: application/json [23:45:14] [23:45:14]POST finish read [23:45:14]Found Content-Length = 622 [23:45:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34798", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:14]execute_script... [23:45:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34798", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:45:14]POST & json_proto [23:45:14]process_json_proto [23:45:14]json parsed OK: [23:45:14]protocol is kg_v1.0 [23:45:14]action value=close_receipt [23:45:14]process_action close_receipt [23:45:14]cmd_close_receipt [23:45:14]MH_GetDate [23:45:14]Write to MH i2c: F0 00 00 FB 0C F6 [23:45:14]Write i2c OK [23:45:14]MH_I2C_Read... [23:45:14]Read from MH i2c: F0 [23:45:14]MH_I2C_Read... [23:45:14]Read from MH i2c: F0 09 00 [23:45:14]MH_I2C_Read... [23:45:14]Read from MH i2c: F0 09 00 FB 0C 00 0E 39 18 67 4F CD 9A 65 E0 [23:45:14]GetLastDocTimeStamp 1729640020 [23:45:14]current date 1729640718 [23:45:14]FM_GetShiftState [23:45:14]SAM_PROTO_GetShiftState [23:45:14]wFMCommunicate request_size=4 [23:45:14]MH_SAM_APDU [23:45:14]CAPDU: 80 13 01 00 [23:45:14]Write to MH i2c: E2 08 00 FC 0C 80 13 01 00 00 00 00 00 85 [23:45:14]Write i2c OK [23:45:14]MH_I2C_Read... [23:45:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:14]Read from MH i2c: E2 [23:45:14]MH_I2C_Read... [23:45:14]Read from MH i2c: E2 0E 00 [23:45:14]MH_I2C_Read... [23:45:14]Read from MH i2c: E2 0E 00 FC 0C 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 D6 [23:45:14]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:45:14]wFMCommunicate OK [23:45:14]SAM_PROTO_GetShiftState done [23:45:14]FM_GetShiftState done [23:45:14]opened in 1729556951 [23:45:14]opened+sec_in_day 1729643351 [23:45:14]quantity*price = 14400 [23:45:14]sum+1 = 14401 [23:45:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 61 22.10.2024 23:45 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25040 ФПД: 46540328894689 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T234518&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25040&fm=46540328894689&tin=02508201610067®Number=0000000000098147&sum=14400 0 [23:45:16]StoreToDocumentArchive [23:45:16]shift 457 fd 25040 [23:45:16]save to /storage/0457/doc_00025040 [23:45:16]save last doc name /storage/0457/doc_00025040 to /storage/kkm_last_doc_name [23:45:16]save OK [23:45:16]Clear old archive folders... [23:45:16]ProcessDocumentItem done err = 0, tmpTLVsize=275 [23:45:16]tlvbuf is 00AC1CB0 [23:45:16]SAM_PROTO_ClearQueue [23:45:16]wFMCommunicate request_size=4 [23:45:16]MH_SAM_APDU [23:45:16]CAPDU: 80 09 00 00 [23:45:16]Write to MH i2c: E2 08 00 09 0D 80 09 00 00 00 00 00 00 88 [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:45:16]Read from MH i2c: E2 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 09 0D 00 90 00 8A [23:45:16]RAPDU: 90 00 [23:45:16]wFMCommunicate OK [23:45:16]SAM_PROTO_ClearQueue done [23:45:16]KKMCreateOFDPacket [23:45:16]OFDProtocolAddRootSTLVToBuf [23:45:16]FM_MakeSignedData [23:45:16]FM_MakeSignedData [23:45:16]SAM_PROTO_SignData [23:45:16]wFMCommunicate request_size=4 [23:45:16]MH_SAM_APDU [23:45:16]CAPDU: 80 0D 01 02 [23:45:16]Write to MH i2c: E2 08 00 0A 0D 80 0D 01 02 00 00 00 00 90 [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:45:16]Read from MH i2c: E2 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 0A 0D 00 90 00 8B [23:45:16]RAPDU: 90 00 [23:45:16]wFMCommunicate OK [23:45:16]wFMCommunicate request_size=255 [23:45:16]MH_SAM_APDU [23:45:16]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 0E 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [23:45:16]Write to MH i2c: E2 02 01 0B 0D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 0E 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 66 [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:16]Read from MH i2c: E2 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 0B 0D 00 90 00 8C [23:45:16]RAPDU: 90 00 [23:45:16]wFMCommunicate OK [23:45:16]wFMCommunicate request_size=34 [23:45:16]MH_SAM_APDU [23:45:16]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D0 61 00 00 35 04 06 00 2A 54 03 C5 80 E1 [23:45:16]Write to MH i2c: E2 25 00 0C 0D 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D0 61 00 00 35 04 06 00 2A 54 03 C5 80 E1 00 00 30 [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:45:16]Read from MH i2c: E2 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 03 00 0C 0D 00 90 00 8D [23:45:16]RAPDU: 90 00 [23:45:16]wFMCommunicate OK [23:45:16]wFMCommunicate request_size=4 [23:45:16]MH_SAM_APDU [23:45:16]CAPDU: 80 0D 03 02 [23:45:16]Write to MH i2c: E2 08 00 0D 0D 80 0D 03 02 00 00 00 00 95 [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:45:16]Read from MH i2c: E2 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 0B 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 0B 00 0D 0D 00 83 18 36 D1 24 E3 08 C7 90 00 0E [23:45:16]RAPDU: 83 18 36 D1 24 E3 08 C7 90 00 [23:45:16]wFMCommunicate OK [23:45:16]SAM_PROTO_SignData done [23:45:16]FM_MakeSignedData done [23:45:16]CreateOFDProtocolMessage [23:45:16]wFMCommunicate request_size=4 [23:45:16]MH_SAM_APDU [23:45:16]CAPDU: 80 11 00 00 [23:45:16]Write to MH i2c: E2 08 00 0E 0D 80 11 00 00 00 00 00 00 95 [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:16]Read from MH i2c: E2 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 17 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: E2 17 00 0E 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EC [23:45:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:45:16]wFMCommunicate OK [23:45:16]CreateOFDProtocolMessage done [23:45:16]OFDSenderStorePacket 25040 [23:45:16]StoreOFDPacket docnum=25040 [23:45:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 6E 24 1F 01 B7 DF 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 0E 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D0 61 00 00 35 04 06 00 2A 54 03 C5 80 E1 83 18 36 D1 24 E3 08 C7 [23:45:16]CheckFolder [23:45:16]dirname=/storage/ofd_packets [23:45:16]CheckFolder done [23:45:16]ProducePacketName [23:45:16]name=ofd_packets/00025040 [23:45:16]NVStorageSaveData ofd_packets/00025040 [23:45:16]File name is /storage/ofd_packets/00025040 [23:45:16]Write 325 bytes [23:45:16]NVStorageSaveData done [23:45:16]OFDSenderStorePacket done [23:45:16]KKMCreateOFDPacket done [23:45:16]NVStorageSaveData kkm_last_timestamp [23:45:16]File name is /storage/kkm_last_timestamp [23:45:16]Write 4 bytes [23:45:16]NVStorageSaveData done [23:45:16]ExternCall_PrintAddStr [23:45:16]wPrintStart [23:45:16]Write to MH i2c: 01 00 00 0F 0D 1C [23:45:16]Write i2c OK [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: 01 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: 01 07 00 [23:45:16]MH_I2C_Read... [23:45:16]Read from MH i2c: 01 07 00 0F 0D 00 00 00 00 00 FF 0F 31 [23:45:16]RasterBufferAndPrint [23:45:16]line Счет N : (3)34798 [23:45:16]line ИНН: 02508201610067 [23:45:16]line Контрольно-Кассовый Чек [23:45:16]line ПРОДАЖА [23:45:16]line Товар: 48743587 [23:45:16]line Сигареты Winston XStyle Silver [23:45:16]line 1.000 * 144.00 [23:45:16]line = 144.00 [23:45:16]line НДС 12% НСП 1% [23:45:16]line > о реализуемом товаре [23:45:16]line ИТОГО: 144.00 [23:45:16]line НСП 1% : 1.27 [23:45:16]line НДС 12% : 15.29 [23:45:16]line Наличными: 144.00 [23:45:16]line Безнал.: 0.00 [23:45:16]line Место: АЗС № 161 "Партнер Нефть" [23:45:16]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [23:45:16]line СНО: Общий режим [23:45:16]line Чек 61 22.10.2024 23:45 [23:45:16]line Смена: 457 ФФД: 1.0 [23:45:16]line ЗНМ: 0300000240 [23:45:16]line РНМ: 0000000000098147 [23:45:16]line Версия ККМ: 001 [23:45:16]line ФМ: 0000000000965376 [23:45:16]line ФД: 25040 [23:45:16]line ФПД: 46540328894689 [23:45:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T234518&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25040&fm=46540328894689&tin=02508201610067®Number=0000000000098147&sum=14400 [23:45:16]line 0 [23:45:16]OFD Sender: Processing packet 25040 [packets to send 5, broken 4] [23:45:16]ProducePacketName [23:45:16]name=ofd_packets/00025040 [23:45:16]OFD Sender: To server: pG, [23:45:16]CommunicateWithHost lk.salyk.kg:30040 [23:45:16]ConnectInit lk.salyk.kg [23:45:16]written 0, free lines is 4095 [23:45:17]Connected sock=8 [23:45:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 6E 24 1F 01 B7 DF 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 0E 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D0 61 00 00 35 04 06 00 2A 54 03 C5 80 E1 83 18 36 D1 24 E3 08 C7 [23:45:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 56 F8 47 00 55 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D0 61 00 00 F4 03 04 00 87 E1 17 67 B6 04 01 00 00 9F DB 6F B0 CB 29 3F DF [23:45:17]CommunicateWithHost err = 0 [23:45:17]CheckOFDResponse [23:45:17]1017 (14) - 77093643461234 [23:45:17]1041 (16) - 0000000000965376 [23:45:17]1040 (4) - 25040 [23:45:17]1012 (4) - 22.10.2024 17:31 [23:45:17]1206 (1) - 0 [23:45:17]OFD Sender: Remove packet 25040 [23:45:17]ProducePacketName [23:45:17]name=ofd_packets/00025040 [23:45:17]NVStorageDeleteData [23:45:17]Write to MH i2c: 01 00 00 38 0D 45 [23:45:17]Write i2c OK [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: 01 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: 01 07 00 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: 01 07 00 38 0D 00 00 00 00 00 B4 0C 0C [23:45:17]RasterBufferAndPrint [23:45:17]line [23:45:17]line [23:45:17]line [23:45:17]line [23:45:17]line [23:45:17]written 0, free lines is 3257 [23:45:17]process_action close_receipt done [23:45:17]requested_data is exist [23:45:17]produce_requested_data [23:45:17]requested_item fm.sn is exist - process it [23:45:17]wFMCommunicate request_size=4 [23:45:17]MH_SAM_APDU [23:45:17]CAPDU: 80 11 00 00 [23:45:17]Write to MH i2c: E2 08 00 3F 0D 80 11 00 00 00 00 00 00 C6 [23:45:17]Write i2c OK [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: E2 [23:45:17]MH_I2C_Read... [23:45:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:45:17]Read from MH i2c: E2 17 00 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: E2 17 00 3F 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 1D [23:45:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:45:17]wFMCommunicate OK [23:45:17]requested_item fd.num is exist - process it [23:45:17]SAM_PROTO_GetFieldsCounters [23:45:17]wFMCommunicate request_size=4 [23:45:17]MH_SAM_APDU [23:45:17]CAPDU: 80 13 00 00 [23:45:17]Write to MH i2c: E2 08 00 40 0D 80 13 00 00 00 00 00 00 C9 [23:45:17]Write i2c OK [23:45:17]MH_I2C_Read... [23:45:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:45:17]Read from MH i2c: E2 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: E2 62 00 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: E2 62 00 40 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D0 61 00 00 0E 04 04 00 C9 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 A4 [23:45:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D0 61 00 00 0E 04 04 00 C9 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 [23:45:17]wFMCommunicate OK [23:45:17]SAM_PROTO_GetFieldsCounters done [23:45:17]requested_item shift.num is exist - process it [23:45:17]requested_item shift.opened is exist - process it [23:45:17]req_shift_opened [23:45:17]FM_GetShiftState [23:45:17]SAM_PROTO_GetShiftState [23:45:17]wFMCommunicate request_size=4 [23:45:17]MH_SAM_APDU [23:45:17]CAPDU: 80 13 01 00 [23:45:17]Write to MH i2c: E2 08 00 41 0D 80 13 01 00 00 00 00 00 CB [23:45:17]Write i2c OK [23:45:17]MH_I2C_Read... [23:45:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:45:17]Read from MH i2c: E2 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: E2 0E 00 [23:45:17]MH_I2C_Read... [23:45:17]Read from MH i2c: E2 0E 00 41 0D 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 1C [23:45:17]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:45:17]wFMCommunicate OK [23:45:17]SAM_PROTO_GetShiftState done [23:45:17]FM_GetShiftState done [23:45:17]req_shift_opened done [23:45:17]requested_item shift.open_date is exist - process it [23:45:17]req_shift_open_date [23:45:17]req_shift_open_date done [23:45:17]produce_requested_data done [23:45:17]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25040,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [23:45:17]process_action_free close_receipt [23:45:17]json_value_free [23:45:17]json_value_free done [23:45:17]process_json_proto returns [23:45:17]Send response to host [23:45:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25040,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [23:45:17]free response buf [23:45:17]execute_script done [23:45:17]execute_script returns [23:45:17]free content buf [23:45:17]Sock 9.Close socket [23:45:17]Sock 9.Thread stoped [23:45:17]OFD Sender: No OFD packet to send [23:45:22]OFD Sender: No OFD packet to send [23:45:27]OFD Sender: No OFD packet to send [23:45:32]OFD Sender: No OFD packet to send [23:45:37]OFD Sender: No OFD packet to send [23:45:42]OFD Sender: No OFD packet to send [23:45:47]OFD Sender: No OFD packet to send [23:45:52]OFD Sender: No OFD packet to send [23:45:57]OFD Sender: No OFD packet to send [23:46:02]OFD Sender: No OFD packet to send [23:46:07]OFD Sender: No OFD packet to send [23:46:07]accept exits with 10 [23:46:07]New connection [23:46:07]New thread 3067612516 created [23:46:07]Thread 3067469156 joined [23:46:07]Waiting for new connection... [23:46:07] Sock 10.Parse request [23:46:07]Sock 10.Check first char [23:46:07]Sock 10.First char is OK [23:46:07]request: POST /json_proto HTTP/1.0 [23:46:07]Method: POST [23:46:07]URL: /json_proto [23:46:07]Method is POST - this is cgi request [23:46:07]url: /json_proto [23:46:07]query_string will be loaded in cgi processing [23:46:07]execute_cgi json_proto POST (null) [23:46:07]execute_cgi path=json_proto method=POST [23:46:07]POST find Content-Length [23:46:07]Host: 172.17.53.196:8080 [23:46:07]Content-Length: 710 [23:46:07]Content-Type: application/json [23:46:07] [23:46:07]POST finish read [23:46:07]Found Content-Length = 710 [23:46:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34799", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:46:07]execute_script... [23:46:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34799", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:46:07]POST & json_proto [23:46:07]process_json_proto [23:46:07]json parsed OK: [23:46:07]protocol is kg_v1.0 [23:46:07]action value=close_receipt [23:46:07]process_action close_receipt [23:46:07]cmd_close_receipt [23:46:07]MH_GetDate [23:46:07]Write to MH i2c: F0 00 00 42 0D 3E [23:46:07]Write i2c OK [23:46:07]MH_I2C_Read... [23:46:07]Read from MH i2c: F0 [23:46:07]MH_I2C_Read... [23:46:07]Read from MH i2c: F0 09 00 [23:46:07]MH_I2C_Read... [23:46:07]Read from MH i2c: F0 09 00 42 0D 00 42 39 18 67 4F CD 9A 65 5C [23:46:07]GetLastDocTimeStamp 1729640718 [23:46:07]current date 1729640770 [23:46:07]FM_GetShiftState [23:46:07]SAM_PROTO_GetShiftState [23:46:07]wFMCommunicate request_size=4 [23:46:07]MH_SAM_APDU [23:46:07]CAPDU: 80 13 01 00 [23:46:07]Write to MH i2c: E2 08 00 43 0D 80 13 01 00 00 00 00 00 CD [23:46:07]Write i2c OK [23:46:07]MH_I2C_Read... [23:46:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:46:07]Read from MH i2c: E2 [23:46:07]MH_I2C_Read... [23:46:07]Read from MH i2c: E2 0E 00 [23:46:07]MH_I2C_Read... [23:46:07]Read from MH i2c: E2 0E 00 43 0D 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 1E [23:46:07]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:46:07]wFMCommunicate OK [23:46:07]SAM_PROTO_GetShiftState done [23:46:07]FM_GetShiftState done [23:46:07]opened in 1729556951 [23:46:07]opened+sec_in_day 1729643351 [23:46:07]quantity*price = 8400 [23:46:07]sum+1 = 8401 [23:46:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 62 22.10.2024 23:46 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25041 ФПД: 82435181933666 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T234611&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25041&fm=82435181933666&tin=02508201610067®Number=0000000000098147&sum=8400 0 [23:46:09]StoreToDocumentArchive [23:46:09]shift 457 fd 25041 [23:46:09]save to /storage/0457/doc_00025041 [23:46:09]save last doc name /storage/0457/doc_00025041 to /storage/kkm_last_doc_name [23:46:09]save OK [23:46:09]Clear old archive folders... [23:46:09]ProcessDocumentItem done err = 0, tmpTLVsize=302 [23:46:09]tlvbuf is 00AB7750 [23:46:09]SAM_PROTO_ClearQueue [23:46:09]wFMCommunicate request_size=4 [23:46:09]MH_SAM_APDU [23:46:09]CAPDU: 80 09 00 00 [23:46:09]Write to MH i2c: E2 08 00 50 0D 80 09 00 00 00 00 00 00 CF [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:46:09]Read from MH i2c: E2 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 50 0D 00 90 00 D1 [23:46:09]RAPDU: 90 00 [23:46:09]wFMCommunicate OK [23:46:09]SAM_PROTO_ClearQueue done [23:46:09]KKMCreateOFDPacket [23:46:09]OFDProtocolAddRootSTLVToBuf [23:46:09]FM_MakeSignedData [23:46:09]FM_MakeSignedData [23:46:09]SAM_PROTO_SignData [23:46:09]wFMCommunicate request_size=4 [23:46:09]MH_SAM_APDU [23:46:09]CAPDU: 80 0D 01 02 [23:46:09]Write to MH i2c: E2 08 00 51 0D 80 0D 01 02 00 00 00 00 D7 [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:46:09]Read from MH i2c: E2 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 51 0D 00 90 00 D2 [23:46:09]RAPDU: 90 00 [23:46:09]wFMCommunicate OK [23:46:09]wFMCommunicate request_size=255 [23:46:09]MH_SAM_APDU [23:46:09]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 43 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 [23:46:09]Write to MH i2c: E2 02 01 52 0D 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 43 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 00 00 78 [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:46:09]Read from MH i2c: E2 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 52 0D 00 90 00 D3 [23:46:09]RAPDU: 90 00 [23:46:09]wFMCommunicate OK [23:46:09]wFMCommunicate request_size=61 [23:46:09]MH_SAM_APDU [23:46:09]CAPDU: 80 0D 02 02 38 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D1 61 00 00 35 04 06 00 4A F9 6F BC 74 62 [23:46:09]Write to MH i2c: E2 40 00 53 0D 80 0D 02 02 38 00 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D1 61 00 00 35 04 06 00 4A F9 6F BC 74 62 00 00 8D [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:46:09]Read from MH i2c: E2 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 03 00 53 0D 00 90 00 D4 [23:46:09]RAPDU: 90 00 [23:46:09]wFMCommunicate OK [23:46:09]wFMCommunicate request_size=4 [23:46:09]MH_SAM_APDU [23:46:09]CAPDU: 80 0D 03 02 [23:46:09]Write to MH i2c: E2 08 00 54 0D 80 0D 03 02 00 00 00 00 DC [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:46:09]Read from MH i2c: E2 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 0B 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 0B 00 54 0D 00 97 0D 6A 4C 38 BC 7A 4C 90 00 F1 [23:46:09]RAPDU: 97 0D 6A 4C 38 BC 7A 4C 90 00 [23:46:09]wFMCommunicate OK [23:46:09]SAM_PROTO_SignData done [23:46:09]FM_MakeSignedData done [23:46:09]CreateOFDProtocolMessage [23:46:09]wFMCommunicate request_size=4 [23:46:09]MH_SAM_APDU [23:46:09]CAPDU: 80 11 00 00 [23:46:09]Write to MH i2c: E2 08 00 55 0D 80 11 00 00 00 00 00 00 DC [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:46:09]Read from MH i2c: E2 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 17 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: E2 17 00 55 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 33 [23:46:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:46:09]wFMCommunicate OK [23:46:09]CreateOFDProtocolMessage done [23:46:09]OFDSenderStorePacket 25041 [23:46:09]StoreOFDPacket docnum=25041 [23:46:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 42 01 00 00 85 55 3A 01 A1 97 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 43 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D1 61 00 00 35 04 06 00 4A F9 6F BC 74 62 97 0D 6A 4C 38 BC 7A 4C [23:46:09]CheckFolder [23:46:09]dirname=/storage/ofd_packets [23:46:09]CheckFolder done [23:46:09]ProducePacketName [23:46:09]name=ofd_packets/00025041 [23:46:09]NVStorageSaveData ofd_packets/00025041 [23:46:09]File name is /storage/ofd_packets/00025041 [23:46:09]Write 352 bytes [23:46:09]NVStorageSaveData done [23:46:09]OFDSenderStorePacket done [23:46:09]KKMCreateOFDPacket done [23:46:09]NVStorageSaveData kkm_last_timestamp [23:46:09]File name is /storage/kkm_last_timestamp [23:46:09]Write 4 bytes [23:46:09]NVStorageSaveData done [23:46:09]ExternCall_PrintAddStr [23:46:09]wPrintStart [23:46:09]Write to MH i2c: 01 00 00 56 0D 63 [23:46:09]Write i2c OK [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: 01 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: 01 07 00 [23:46:09]MH_I2C_Read... [23:46:09]Read from MH i2c: 01 07 00 56 0D 00 00 00 00 00 FF 0F 78 [23:46:09]RasterBufferAndPrint [23:46:09]line Счет N : (3)34799 [23:46:09]line ИНН: 02508201610067 [23:46:09]line Контрольно-Кассовый Чек [23:46:09]line ПРОДАЖА [23:46:09]line Товар: 4870001571030 [23:46:09]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [23:46:09]line 1.000 * 84.00 [23:46:09]line = 84.00 [23:46:09]line НДС 12% НСП 1% [23:46:09]line > о реализуемом товаре [23:46:09]line ИТОГО: 84.00 [23:46:09]line НСП 1% : 0.74 [23:46:09]line НДС 12% : 8.92 [23:46:09]line Наличными: 84.00 [23:46:09]line Безнал.: 0.00 [23:46:09]line Место: АЗС № 161 "Партнер Нефть" [23:46:09]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [23:46:09]line СНО: Общий режим [23:46:09]line Чек 62 22.10.2024 23:46 [23:46:09]line Смена: 457 ФФД: 1.0 [23:46:09]line ЗНМ: 0300000240 [23:46:09]line РНМ: 0000000000098147 [23:46:09]line Версия ККМ: 001 [23:46:09]line ФМ: 0000000000965376 [23:46:09]line ФД: 25041 [23:46:09]line ФПД: 82435181933666 [23:46:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T234611&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25041&fm=82435181933666&tin=02508201610067®Number=0000000000098147&sum=8400 [23:46:09]line 0 [23:46:09]OFD Sender: Processing packet 25041 [packets to send 5, broken 4] [23:46:09]ProducePacketName [23:46:09]name=ofd_packets/00025041 [23:46:09]OFD Sender: To server: pG, [23:46:09]CommunicateWithHost lk.salyk.kg:30040 [23:46:09]ConnectInit lk.salyk.kg [23:46:09]written 0, free lines is 4095 [23:46:10]Connected sock=8 [23:46:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 42 01 00 00 85 55 3A 01 A1 97 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 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 43 39 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D1 61 00 00 35 04 06 00 4A F9 6F BC 74 62 97 0D 6A 4C 38 BC 7A 4C [23:46:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 30 E0 47 00 D0 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 39 36 35 33 37 36 10 04 04 00 D1 61 00 00 F4 03 04 00 BC E1 17 67 B6 04 01 00 00 AF F3 36 ED C6 B1 11 D5 [23:46:10]CommunicateWithHost err = 0 [23:46:10]CheckOFDResponse [23:46:10]1017 (14) - 77093643461234 [23:46:10]1041 (16) - 0000000000965376 [23:46:10]1040 (4) - 25041 [23:46:10]1012 (4) - 22.10.2024 17:32 [23:46:10]1206 (1) - 0 [23:46:10]OFD Sender: Remove packet 25041 [23:46:10]ProducePacketName [23:46:10]name=ofd_packets/00025041 [23:46:10]NVStorageDeleteData [23:46:10]Write to MH i2c: 01 00 00 7F 0D 8C [23:46:10]Write i2c OK [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: 01 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: 01 07 00 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: 01 07 00 7F 0D 00 00 00 00 00 B9 0C 58 [23:46:10]RasterBufferAndPrint [23:46:10]line [23:46:10]line [23:46:10]line [23:46:10]line [23:46:10]line [23:46:10]written 0, free lines is 3260 [23:46:10]process_action close_receipt done [23:46:10]requested_data is exist [23:46:10]produce_requested_data [23:46:10]requested_item fm.sn is exist - process it [23:46:10]wFMCommunicate request_size=4 [23:46:10]MH_SAM_APDU [23:46:10]CAPDU: 80 11 00 00 [23:46:10]Write to MH i2c: E2 08 00 86 0D 80 11 00 00 00 00 00 00 0D [23:46:10]Write i2c OK [23:46:10]MH_I2C_Read... [23:46:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:46:10]Read from MH i2c: E2 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: E2 17 00 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: E2 17 00 86 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 64 [23:46:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:46:10]wFMCommunicate OK [23:46:10]requested_item fd.num is exist - process it [23:46:10]SAM_PROTO_GetFieldsCounters [23:46:10]wFMCommunicate request_size=4 [23:46:10]MH_SAM_APDU [23:46:10]CAPDU: 80 13 00 00 [23:46:10]Write to MH i2c: E2 08 00 87 0D 80 13 00 00 00 00 00 00 10 [23:46:10]Write i2c OK [23:46:10]MH_I2C_Read... [23:46:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:46:10]Read from MH i2c: E2 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: E2 62 00 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: E2 62 00 87 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D1 61 00 00 0E 04 04 00 C9 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 EF [23:46:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D1 61 00 00 0E 04 04 00 C9 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 [23:46:10]wFMCommunicate OK [23:46:10]SAM_PROTO_GetFieldsCounters done [23:46:10]requested_item shift.num is exist - process it [23:46:10]requested_item shift.opened is exist - process it [23:46:10]req_shift_opened [23:46:10]FM_GetShiftState [23:46:10]SAM_PROTO_GetShiftState [23:46:10]wFMCommunicate request_size=4 [23:46:10]MH_SAM_APDU [23:46:10]CAPDU: 80 13 01 00 [23:46:10]Write to MH i2c: E2 08 00 88 0D 80 13 01 00 00 00 00 00 12 [23:46:10]Write i2c OK [23:46:10]MH_I2C_Read... [23:46:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:46:10]Read from MH i2c: E2 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: E2 0E 00 [23:46:10]MH_I2C_Read... [23:46:10]Read from MH i2c: E2 0E 00 88 0D 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 63 [23:46:10]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:46:10]wFMCommunicate OK [23:46:10]SAM_PROTO_GetShiftState done [23:46:10]FM_GetShiftState done [23:46:10]req_shift_opened done [23:46:10]requested_item shift.open_date is exist - process it [23:46:10]req_shift_open_date [23:46:10]req_shift_open_date done [23:46:10]produce_requested_data done [23:46:10]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25041,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [23:46:10]process_action_free close_receipt [23:46:10]json_value_free [23:46:10]json_value_free done [23:46:10]process_json_proto returns [23:46:10]Send response to host [23:46:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25041,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [23:46:10]free response buf [23:46:10]execute_script done [23:46:10]execute_script returns [23:46:10]free content buf [23:46:10]Sock 10.Close socket [23:46:10]Sock 10.Thread stoped [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50: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:31]OFD Sender: No OFD packet to send [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:16]OFD Sender: No OFD packet to send [23:56:21]OFD Sender: No OFD packet to send [23:56:26]OFD Sender: No OFD packet to send [23:56:31]OFD Sender: No OFD packet to send [23:56:36]OFD Sender: No OFD packet to send [23:56:41]OFD Sender: No OFD packet to send [23:56:46]OFD Sender: No OFD packet to send [23:56:51]OFD Sender: No OFD packet to send [23:56:56]OFD Sender: No OFD packet to send [23:57:01]OFD Sender: No OFD packet to send [23:57:06]OFD Sender: No OFD packet to send [23:57:11]OFD Sender: No OFD packet to send [23:57:16]OFD Sender: No OFD packet to send [23:57:21]OFD Sender: No OFD packet to send [23:57:26]OFD Sender: No OFD packet to send [23:57:31]OFD Sender: No OFD packet to send [23:57:36]OFD Sender: No OFD packet to send [23:57:41]OFD Sender: No OFD packet to send [23:57:46]OFD Sender: No OFD packet to send [23:57:51]OFD Sender: No OFD packet to send [23:57:56]OFD Sender: No OFD packet to send [23:58:01]OFD Sender: No OFD packet to send [23:58:06]OFD Sender: No OFD packet to send [23:58:11]OFD Sender: No OFD packet to send [23:58:16]OFD Sender: No OFD packet to send [23:58:21]OFD Sender: No OFD packet to send [23:58:26]OFD Sender: No OFD packet to send [23:58:31]OFD Sender: No OFD packet to send [23:58:36]OFD Sender: No OFD packet to send [23:58:41]OFD Sender: No OFD packet to send [23:58:46]OFD Sender: No OFD packet to send [23:58:51]OFD Sender: No OFD packet to send [23:58:56]OFD Sender: No OFD packet to send [23:59:01]OFD Sender: No OFD packet to send [23:59:06]OFD Sender: No OFD packet to send [23:59:11]OFD Sender: No OFD packet to send [23:59:16]OFD Sender: No OFD packet to send [23:59:21]OFD Sender: No OFD packet to send [23:59:26]OFD Sender: No OFD packet to send [23:59:31]OFD Sender: No OFD packet to send [23:59:32]accept exits with 9 [23:59:32]New connection [23:59:32]New thread 3067469156 created [23:59:32]Thread 3067612516 joined [23:59:32]Waiting for new connection... [23:59:32] Sock 9.Parse request [23:59:32]Sock 9.Check first char [23:59:32]Sock 9.First char is OK [23:59:32]request: POST /json_proto HTTP/1.0 [23:59:32]Method: POST [23:59:32]URL: /json_proto [23:59:32]Method is POST - this is cgi request [23:59:32]url: /json_proto [23:59:32]query_string will be loaded in cgi processing [23:59:32]execute_cgi json_proto POST (null) [23:59:32]execute_cgi path=json_proto method=POST [23:59:32]POST find Content-Length [23:59:32]Host: 172.17.53.196:8080 [23:59:32]Content-Length: 621 [23:59:32]Content-Type: application/json [23:59:32] [23:59:32]POST finish read [23:59:32]Found Content-Length = 621 [23:59:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34800", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:32]execute_script... [23:59:32]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34800", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:32]POST & json_proto [23:59:32]process_json_proto [23:59:32]json parsed OK: [23:59:32]protocol is kg_v1.0 [23:59:32]action value=close_receipt [23:59:32]process_action close_receipt [23:59:32]cmd_close_receipt [23:59:32]MH_GetDate [23:59:32]Write to MH i2c: F0 00 00 89 0D 85 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 09 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: F0 09 00 89 0D 00 68 3C 18 67 4F CD 9A 65 CC [23:59:32]GetLastDocTimeStamp 1729640771 [23:59:32]current date 1729641576 [23:59:32]FM_GetShiftState [23:59:32]SAM_PROTO_GetShiftState [23:59:32]wFMCommunicate request_size=4 [23:59:32]MH_SAM_APDU [23:59:32]CAPDU: 80 13 01 00 [23:59:32]Write to MH i2c: E2 08 00 8A 0D 80 13 01 00 00 00 00 00 14 [23:59:32]Write i2c OK [23:59:32]MH_I2C_Read... [23:59:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:32]Read from MH i2c: E2 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 0E 00 [23:59:32]MH_I2C_Read... [23:59:32]Read from MH i2c: E2 0E 00 8A 0D 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 65 [23:59:32]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:59:32]wFMCommunicate OK [23:59:32]SAM_PROTO_GetShiftState done [23:59:32]FM_GetShiftState done [23:59:32]opened in 1729556951 [23:59:32]opened+sec_in_day 1729643351 [23:59:32]quantity*price = 16000 [23:59:32]sum+1 = 16001 [23:59:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 63 22.10.2024 23:59 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25042 ФПД: 153802259600648 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T235936&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25042&fm=153802259600648&tin=02508201610067®Number=0000000000098147&sum=16000 0 [23:59:34]StoreToDocumentArchive [23:59:34]shift 457 fd 25042 [23:59:34]save to /storage/0457/doc_00025042 [23:59:34]save last doc name /storage/0457/doc_00025042 to /storage/kkm_last_doc_name [23:59:34]save OK [23:59:34]Clear old archive folders... [23:59:34]ProcessDocumentItem done err = 0, tmpTLVsize=274 [23:59:34]tlvbuf is 00AB5540 [23:59:34]SAM_PROTO_ClearQueue [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 09 00 00 [23:59:34]Write to MH i2c: E2 08 00 97 0D 80 09 00 00 00 00 00 00 16 [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 97 0D 00 90 00 18 [23:59:34]RAPDU: 90 00 [23:59:34]wFMCommunicate OK [23:59:34]SAM_PROTO_ClearQueue done [23:59:34]KKMCreateOFDPacket [23:59:34]OFDProtocolAddRootSTLVToBuf [23:59:34]FM_MakeSignedData [23:59:34]FM_MakeSignedData [23:59:34]SAM_PROTO_SignData [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 0D 01 02 [23:59:34]Write to MH i2c: E2 08 00 98 0D 80 0D 01 02 00 00 00 00 1E [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 98 0D 00 90 00 19 [23:59:34]RAPDU: 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=255 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 [23:59:34]Write to MH i2c: E2 02 01 99 0D 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 00 00 9F [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 99 0D 00 90 00 1A [23:59:34]RAPDU: 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=33 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D2 61 00 00 35 04 06 00 8B E1 E1 0C 95 08 [23:59:34]Write to MH i2c: E2 24 00 9A 0D 80 0D 02 02 1C 00 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D2 61 00 00 35 04 06 00 8B E1 E1 0C 95 08 00 00 DD [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 03 00 9A 0D 00 90 00 1B [23:59:34]RAPDU: 90 00 [23:59:34]wFMCommunicate OK [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 0D 03 02 [23:59:34]Write to MH i2c: E2 08 00 9B 0D 80 0D 03 02 00 00 00 00 23 [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 0B 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 0B 00 9B 0D 00 3E D4 A3 C3 43 06 0A 09 90 00 F8 [23:59:34]RAPDU: 3E D4 A3 C3 43 06 0A 09 90 00 [23:59:34]wFMCommunicate OK [23:59:34]SAM_PROTO_SignData done [23:59:34]FM_MakeSignedData done [23:59:34]CreateOFDProtocolMessage [23:59:34]wFMCommunicate request_size=4 [23:59:34]MH_SAM_APDU [23:59:34]CAPDU: 80 11 00 00 [23:59:34]Write to MH i2c: E2 08 00 9C 0D 80 11 00 00 00 00 00 00 23 [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:34]Read from MH i2c: E2 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 17 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: E2 17 00 9C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 7A [23:59:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:59:34]wFMCommunicate OK [23:59:34]CreateOFDProtocolMessage done [23:59:34]OFDSenderStorePacket 25042 [23:59:34]StoreOFDPacket docnum=25042 [23:59:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 C5 81 1E 01 43 C3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D2 61 00 00 35 04 06 00 8B E1 E1 0C 95 08 3E D4 A3 C3 43 06 0A 09 [23:59:34]CheckFolder [23:59:34]dirname=/storage/ofd_packets [23:59:34]CheckFolder done [23:59:34]ProducePacketName [23:59:34]name=ofd_packets/00025042 [23:59:34]NVStorageSaveData ofd_packets/00025042 [23:59:34]File name is /storage/ofd_packets/00025042 [23:59:34]Write 324 bytes [23:59:34]NVStorageSaveData done [23:59:34]OFDSenderStorePacket done [23:59:34]KKMCreateOFDPacket done [23:59:34]NVStorageSaveData kkm_last_timestamp [23:59:34]File name is /storage/kkm_last_timestamp [23:59:34]Write 4 bytes [23:59:34]NVStorageSaveData done [23:59:34]ExternCall_PrintAddStr [23:59:34]wPrintStart [23:59:34]Write to MH i2c: 01 00 00 9D 0D AA [23:59:34]Write i2c OK [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: 01 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: 01 07 00 [23:59:34]MH_I2C_Read... [23:59:34]Read from MH i2c: 01 07 00 9D 0D 00 00 00 00 00 FF 0F BF [23:59:34]RasterBufferAndPrint [23:59:34]line Счет N : (3)34800 [23:59:34]line ИНН: 02508201610067 [23:59:34]line Контрольно-Кассовый Чек [23:59:34]line ПРОДАЖА [23:59:34]line Товар: 48741958 [23:59:34]line Сигареты Parliament Aqua Blue [23:59:34]line 1.000 * 160.00 [23:59:34]line = 160.00 [23:59:34]line НДС 12% НСП 1% [23:59:34]line > о реализуемом товаре [23:59:34]line ИТОГО: 160.00 [23:59:34]line НСП 1% : 1.42 [23:59:34]line НДС 12% : 16.99 [23:59:34]line Наличными: 160.00 [23:59:34]line Безнал.: 0.00 [23:59:34]line Место: АЗС № 161 "Партнер Нефть" [23:59:34]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [23:59:34]line СНО: Общий режим [23:59:34]line Чек 63 22.10.2024 23:59 [23:59:34]line Смена: 457 ФФД: 1.0 [23:59:34]line ЗНМ: 0300000240 [23:59:34]line РНМ: 0000000000098147 [23:59:34]line Версия ККМ: 001 [23:59:34]line ФМ: 0000000000965376 [23:59:34]line ФД: 25042 [23:59:34]line ФПД: 153802259600648 [23:59:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T235936&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25042&fm=153802259600648&tin=02508201610067®Number=0000000000098147&sum=16000 [23:59:34]line 0 [23:59:34]written 0, free lines is 4095 [23:59:34]OFD Sender: Processing packet 25042 [packets to send 5, broken 4] [23:59:34]ProducePacketName [23:59:34]name=ofd_packets/00025042 [23:59:34]OFD Sender: To server: pG, [23:59:34]CommunicateWithHost lk.salyk.kg:30040 [23:59:34]ConnectInit lk.salyk.kg [23:59:35]Connected sock=10 [23:59:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 26 01 00 00 C5 81 1E 01 43 C3 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 68 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D2 61 00 00 35 04 06 00 8B E1 E1 0C 95 08 3E D4 A3 C3 43 06 0A 09 [23:59:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 AE FC 47 00 21 15 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D2 61 00 00 F4 03 04 00 E1 E4 17 67 B6 04 01 00 00 A0 8C 83 6A 5B 02 68 E6 [23:59:35]CommunicateWithHost err = 0 [23:59:35]CheckOFDResponse [23:59:35]1017 (14) - 77093643461234 [23:59:35]1041 (16) - 0000000000965376 [23:59:35]1040 (4) - 25042 [23:59:35]1012 (4) - 22.10.2024 17:46 [23:59:35]1206 (1) - 0 [23:59:35]OFD Sender: Remove packet 25042 [23:59:35]ProducePacketName [23:59:35]name=ofd_packets/00025042 [23:59:35]NVStorageDeleteData [23:59:35]Write to MH i2c: 01 00 00 C6 0D D3 [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: 01 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: 01 07 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: 01 07 00 C6 0D 00 00 00 00 00 B7 0C 9D [23:59:35]RasterBufferAndPrint [23:59:35]line [23:59:35]line [23:59:35]line [23:59:35]line [23:59:35]line [23:59:35]written 0, free lines is 3259 [23:59:35]process_action close_receipt done [23:59:35]requested_data is exist [23:59:35]produce_requested_data [23:59:35]requested_item fm.sn is exist - process it [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 11 00 00 [23:59:35]Write to MH i2c: E2 08 00 CD 0D 80 11 00 00 00 00 00 00 54 [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 17 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 17 00 CD 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 AB [23:59:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [23:59:35]wFMCommunicate OK [23:59:35]requested_item fd.num is exist - process it [23:59:35]SAM_PROTO_GetFieldsCounters [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 13 00 00 [23:59:35]Write to MH i2c: E2 08 00 CE 0D 80 13 00 00 00 00 00 00 57 [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 62 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 62 00 CE 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D2 61 00 00 0E 04 04 00 C9 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 3A [23:59:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D2 61 00 00 0E 04 04 00 C9 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 [23:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_GetFieldsCounters done [23:59:35]requested_item shift.num is exist - process it [23:59:35]requested_item shift.opened is exist - process it [23:59:35]req_shift_opened [23:59:35]FM_GetShiftState [23:59:35]SAM_PROTO_GetShiftState [23:59:35]wFMCommunicate request_size=4 [23:59:35]MH_SAM_APDU [23:59:35]CAPDU: 80 13 01 00 [23:59:35]Write to MH i2c: E2 08 00 CF 0D 80 13 01 00 00 00 00 00 59 [23:59:35]Write i2c OK [23:59:35]MH_I2C_Read... [23:59:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:35]Read from MH i2c: E2 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 0E 00 [23:59:35]MH_I2C_Read... [23:59:35]Read from MH i2c: E2 0E 00 CF 0D 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 AA [23:59:35]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [23:59:35]wFMCommunicate OK [23:59:35]SAM_PROTO_GetShiftState done [23:59:35]FM_GetShiftState done [23:59:35]req_shift_opened done [23:59:35]requested_item shift.open_date is exist - process it [23:59:35]req_shift_open_date [23:59:35]req_shift_open_date done [23:59:35]produce_requested_data done [23:59:35]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25042,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [23:59:35]process_action_free close_receipt [23:59:35]json_value_free [23:59:35]json_value_free done [23:59:35]process_json_proto returns [23:59:35]Send response to host [23:59:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25042,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [23:59:35]free response buf [23:59:35]execute_script done [23:59:35]execute_script returns [23:59:35]free content buf [23:59:35]Sock 9.Close socket [23:59:35]Sock 9.Thread stoped [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:42]accept exits with 8 [00:00:42]New connection [00:00:42]New thread 3067612516 created [00:00:42]Thread 3067469156 joined [00:00:42]Waiting for new connection... [00:00:42] Sock 8.Parse request [00:00:42]Sock 8.Check first char [00:00:42]Sock 8.First char is OK [00:00:42]request: POST /json_proto HTTP/1.0 [00:00:42]Method: POST [00:00:42]URL: /json_proto [00:00:42]Method is POST - this is cgi request [00:00:42]url: /json_proto [00:00:42]query_string will be loaded in cgi processing [00:00:42]execute_cgi json_proto POST (null) [00:00:42]execute_cgi path=json_proto method=POST [00:00:42]POST find Content-Length [00:00:42]Host: 172.17.53.196:8080 [00:00:42]Content-Length: 622 [00:00:42]Content-Type: application/json [00:00:42] [00:00:42]POST finish read [00:00:42]Found Content-Length = 622 [00:00:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34801", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:42]execute_script... [00:00:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34801", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:42]POST & json_proto [00:00:42]process_json_proto [00:00:42]json parsed OK: [00:00:42]protocol is kg_v1.0 [00:00:42]action value=close_receipt [00:00:42]process_action close_receipt [00:00:42]cmd_close_receipt [00:00:42]MH_GetDate [00:00:42]Write to MH i2c: F0 00 00 D0 0D CC [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: F0 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: F0 09 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: F0 09 00 D0 0D 00 AD 3C 18 67 4F CD 9A 65 58 [00:00:42]GetLastDocTimeStamp 1729641576 [00:00:42]current date 1729641645 [00:00:42]FM_GetShiftState [00:00:42]SAM_PROTO_GetShiftState [00:00:42]wFMCommunicate request_size=4 [00:00:42]MH_SAM_APDU [00:00:42]CAPDU: 80 13 01 00 [00:00:42]Write to MH i2c: E2 08 00 D1 0D 80 13 01 00 00 00 00 00 5B [00:00:42]Write i2c OK [00:00:42]MH_I2C_Read... [00:00:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:42]Read from MH i2c: E2 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 0E 00 [00:00:42]MH_I2C_Read... [00:00:42]Read from MH i2c: E2 0E 00 D1 0D 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 AC [00:00:42]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:00:42]wFMCommunicate OK [00:00:42]SAM_PROTO_GetShiftState done [00:00:42]FM_GetShiftState done [00:00:42]opened in 1729556951 [00:00:42]opened+sec_in_day 1729643351 [00:00:42]quantity*price = 14400 [00:00:42]sum+1 = 14401 [00:00:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 64 23.10.2024 00:00 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25043 ФПД: 215311283582855 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T000046&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25043&fm=215311283582855&tin=02508201610067®Number=0000000000098147&sum=14400 0 [00:00:43]StoreToDocumentArchive [00:00:43]shift 457 fd 25043 [00:00:43]save to /storage/0457/doc_00025043 [00:00:43]save last doc name /storage/0457/doc_00025043 to /storage/kkm_last_doc_name [00:00:43]save OK [00:00:43]Clear old archive folders... [00:00:43]ProcessDocumentItem done err = 0, tmpTLVsize=275 [00:00:43]tlvbuf is 00AD4C40 [00:00:43]SAM_PROTO_ClearQueue [00:00:43]wFMCommunicate request_size=4 [00:00:43]MH_SAM_APDU [00:00:43]CAPDU: 80 09 00 00 [00:00:43]Write to MH i2c: E2 08 00 DE 0D 80 09 00 00 00 00 00 00 5D [00:00:43]Write i2c OK [00:00:43]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 DE 0D 00 90 00 5F [00:00:44]RAPDU: 90 00 [00:00:44]wFMCommunicate OK [00:00:44]SAM_PROTO_ClearQueue done [00:00:44]KKMCreateOFDPacket [00:00:44]OFDProtocolAddRootSTLVToBuf [00:00:44]FM_MakeSignedData [00:00:44]FM_MakeSignedData [00:00:44]SAM_PROTO_SignData [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 0D 01 02 [00:00:44]Write to MH i2c: E2 08 00 DF 0D 80 0D 01 02 00 00 00 00 65 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 DF 0D 00 90 00 60 [00:00:44]RAPDU: 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=255 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 AE 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 [00:00:44]Write to MH i2c: E2 02 01 E0 0D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 AE 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 00 00 E1 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 E0 0D 00 90 00 61 [00:00:44]RAPDU: 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=34 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D3 61 00 00 35 04 06 00 C3 D3 10 92 F7 87 [00:00:44]Write to MH i2c: E2 25 00 E1 0D 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D3 61 00 00 35 04 06 00 C3 D3 10 92 F7 87 00 00 17 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 03 00 E1 0D 00 90 00 62 [00:00:44]RAPDU: 90 00 [00:00:44]wFMCommunicate OK [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 0D 03 02 [00:00:44]Write to MH i2c: E2 08 00 E2 0D 80 0D 03 02 00 00 00 00 6A [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 0B 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 0B 00 E2 0D 00 35 93 34 A0 62 59 9A 05 90 00 61 [00:00:44]RAPDU: 35 93 34 A0 62 59 9A 05 90 00 [00:00:44]wFMCommunicate OK [00:00:44]SAM_PROTO_SignData done [00:00:44]FM_MakeSignedData done [00:00:44]CreateOFDProtocolMessage [00:00:44]wFMCommunicate request_size=4 [00:00:44]MH_SAM_APDU [00:00:44]CAPDU: 80 11 00 00 [00:00:44]Write to MH i2c: E2 08 00 E3 0D 80 11 00 00 00 00 00 00 6A [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:44]Read from MH i2c: E2 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 17 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: E2 17 00 E3 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C1 [00:00:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:00:44]wFMCommunicate OK [00:00:44]CreateOFDProtocolMessage done [00:00:44]OFDSenderStorePacket 25043 [00:00:44]StoreOFDPacket docnum=25043 [00:00:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 70 33 1F 01 36 63 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 AE 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D3 61 00 00 35 04 06 00 C3 D3 10 92 F7 87 35 93 34 A0 62 59 9A 05 [00:00:44]CheckFolder [00:00:44]dirname=/storage/ofd_packets [00:00:44]CheckFolder done [00:00:44]ProducePacketName [00:00:44]name=ofd_packets/00025043 [00:00:44]NVStorageSaveData ofd_packets/00025043 [00:00:44]File name is /storage/ofd_packets/00025043 [00:00:44]Write 325 bytes [00:00:44]NVStorageSaveData done [00:00:44]OFDSenderStorePacket done [00:00:44]KKMCreateOFDPacket done [00:00:44]NVStorageSaveData kkm_last_timestamp [00:00:44]File name is /storage/kkm_last_timestamp [00:00:44]Write 4 bytes [00:00:44]NVStorageSaveData done [00:00:44]ExternCall_PrintAddStr [00:00:44]wPrintStart [00:00:44]Write to MH i2c: 01 00 00 E4 0D F1 [00:00:44]Write i2c OK [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: 01 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: 01 07 00 [00:00:44]MH_I2C_Read... [00:00:44]Read from MH i2c: 01 07 00 E4 0D 00 00 00 00 00 FF 0F 06 [00:00:44]RasterBufferAndPrint [00:00:44]line Счет N : (3)34801 [00:00:44]line ИНН: 02508201610067 [00:00:44]line Контрольно-Кассовый Чек [00:00:44]line ПРОДАЖА [00:00:44]line Товар: 48743587 [00:00:44]line Сигареты Winston XStyle Silver [00:00:44]line 1.000 * 144.00 [00:00:44]line = 144.00 [00:00:44]line НДС 12% НСП 1% [00:00:44]line > о реализуемом товаре [00:00:44]line ИТОГО: 144.00 [00:00:44]line НСП 1% : 1.27 [00:00:44]line НДС 12% : 15.29 [00:00:44]line Наличными: 144.00 [00:00:44]line Безнал.: 0.00 [00:00:44]line Место: АЗС № 161 "Партнер Нефть" [00:00:44]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:00:44]line СНО: Общий режим [00:00:44]line Чек 64 23.10.2024 00:00 [00:00:44]line Смена: 457 ФФД: 1.0 [00:00:44]line ЗНМ: 0300000240 [00:00:44]line РНМ: 0000000000098147 [00:00:44]line Версия ККМ: 001 [00:00:44]line ФМ: 0000000000965376 [00:00:44]line ФД: 25043 [00:00:44]line ФПД: 215311283582855 [00:00:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T000046&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25043&fm=215311283582855&tin=02508201610067®Number=0000000000098147&sum=14400 [00:00:44]line 0 [00:00:44]OFD Sender: Processing packet 25043 [packets to send 5, broken 4] [00:00:44]ProducePacketName [00:00:44]name=ofd_packets/00025043 [00:00:44]OFD Sender: To server: pG, [00:00:44]CommunicateWithHost lk.salyk.kg:30040 [00:00:44]ConnectInit lk.salyk.kg [00:00:44]written 0, free lines is 4095 [00:00:44]Connected sock=10 [00:00:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 27 01 00 00 70 33 1F 01 36 63 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 AE 3C 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D3 61 00 00 35 04 06 00 C3 D3 10 92 F7 87 35 93 34 A0 62 59 9A 05 [00:00:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 FB 2B 47 00 47 F2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D3 61 00 00 F4 03 04 00 27 E5 17 67 B6 04 01 00 00 E5 BC 5D FD 33 20 76 D2 [00:00:45]CommunicateWithHost err = 0 [00:00:45]CheckOFDResponse [00:00:45]1017 (14) - 77093643461234 [00:00:45]1041 (16) - 0000000000965376 [00:00:45]1040 (4) - 25043 [00:00:45]1012 (4) - 22.10.2024 17:47 [00:00:45]1206 (1) - 0 [00:00:45]OFD Sender: Remove packet 25043 [00:00:45]ProducePacketName [00:00:45]name=ofd_packets/00025043 [00:00:45]NVStorageDeleteData [00:00:45]Write to MH i2c: 01 00 00 0D 0E 1B [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 07 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: 01 07 00 0D 0E 00 00 00 00 00 BC 0C EA [00:00:45]RasterBufferAndPrint [00:00:45]line [00:00:45]line [00:00:45]line [00:00:45]line [00:00:45]line [00:00:45]written 0, free lines is 3266 [00:00:45]process_action close_receipt done [00:00:45]requested_data is exist [00:00:45]produce_requested_data [00:00:45]requested_item fm.sn is exist - process it [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 11 00 00 [00:00:45]Write to MH i2c: E2 08 00 14 0E 80 11 00 00 00 00 00 00 9C [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 17 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 17 00 14 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 F3 [00:00:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:00:45]wFMCommunicate OK [00:00:45]requested_item fd.num is exist - process it [00:00:45]SAM_PROTO_GetFieldsCounters [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 13 00 00 [00:00:45]Write to MH i2c: E2 08 00 15 0E 80 13 00 00 00 00 00 00 9F [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 62 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 62 00 15 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D3 61 00 00 0E 04 04 00 C9 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 86 [00:00:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D3 61 00 00 0E 04 04 00 C9 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 [00:00:45]wFMCommunicate OK [00:00:45]SAM_PROTO_GetFieldsCounters done [00:00:45]requested_item shift.num is exist - process it [00:00:45]requested_item shift.opened is exist - process it [00:00:45]req_shift_opened [00:00:45]FM_GetShiftState [00:00:45]SAM_PROTO_GetShiftState [00:00:45]wFMCommunicate request_size=4 [00:00:45]MH_SAM_APDU [00:00:45]CAPDU: 80 13 01 00 [00:00:45]Write to MH i2c: E2 08 00 16 0E 80 13 01 00 00 00 00 00 A1 [00:00:45]Write i2c OK [00:00:45]MH_I2C_Read... [00:00:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:45]Read from MH i2c: E2 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 0E 00 [00:00:45]MH_I2C_Read... [00:00:45]Read from MH i2c: E2 0E 00 16 0E 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 F2 [00:00:45]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:00:45]wFMCommunicate OK [00:00:45]SAM_PROTO_GetShiftState done [00:00:45]FM_GetShiftState done [00:00:45]req_shift_opened done [00:00:45]requested_item shift.open_date is exist - process it [00:00:45]req_shift_open_date [00:00:45]req_shift_open_date done [00:00:45]produce_requested_data done [00:00:45]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25043,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:00:45]process_action_free close_receipt [00:00:45]json_value_free [00:00:45]json_value_free done [00:00:45]process_json_proto returns [00:00:45]Send response to host [00:00:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25043,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:00:45]free response buf [00:00:45]execute_script done [00:00:45]execute_script returns [00:00:45]free content buf [00:00:45]Sock 8.Close socket [00:00:45]Sock 8.Thread stoped [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]OFD Sender: No OFD packet to send [00:05:30]OFD Sender: No OFD packet to send [00:05:35]OFD Sender: No OFD packet to send [00:05:40]OFD Sender: No OFD packet to send [00:05:45]OFD Sender: No OFD packet to send [00:05:50]OFD Sender: No OFD packet to send [00:05:55]OFD Sender: No OFD packet to send [00:06:00]OFD Sender: No OFD packet to send [00:06:05]OFD Sender: No OFD packet to send [00:06:10]OFD Sender: No OFD packet to send [00:06:15]OFD Sender: No OFD packet to send [00:06:20]OFD Sender: No OFD packet to send [00:06:25]OFD Sender: No OFD packet to send [00:06:30]OFD Sender: No OFD packet to send [00:06:35]OFD Sender: No OFD packet to send [00:06:40]OFD Sender: No OFD packet to send [00:06:45]OFD Sender: No OFD packet to send [00:06:50]OFD Sender: No OFD packet to send [00:06:55]OFD Sender: No OFD packet to send [00:07:00]OFD Sender: No OFD packet to send [00:07:05]OFD Sender: No OFD packet to send [00:07:10]OFD Sender: No OFD packet to send [00:07:15]OFD Sender: No OFD packet to send [00:07:20]OFD Sender: No OFD packet to send [00:07:25]OFD Sender: No OFD packet to send [00:07:30]OFD Sender: No OFD packet to send [00:07:35]OFD Sender: No OFD packet to send [00:07:40]OFD Sender: No OFD packet to send [00:07:45]OFD Sender: No OFD packet to send [00:07:50]OFD Sender: No OFD packet to send [00:07:55]OFD Sender: No OFD packet to send [00:08:01]OFD Sender: No OFD packet to send [00:08:06]OFD Sender: No OFD packet to send [00:08:11]OFD Sender: No OFD packet to send [00:08:16]OFD Sender: No OFD packet to send [00:08:21]OFD Sender: No OFD packet to send [00:08:26]OFD Sender: No OFD packet to send [00:08:31]OFD Sender: No OFD packet to send [00:08:36]OFD Sender: No OFD packet to send [00:08:41]OFD Sender: No OFD packet to send [00:08:46]OFD Sender: No OFD packet to send [00:08:51]OFD Sender: No OFD packet to send [00:08:56]OFD Sender: No OFD packet to send [00:09:01]OFD Sender: No OFD packet to send [00:09:06]OFD Sender: No OFD packet to send [00:09:11]OFD Sender: No OFD packet to send [00:09:16]OFD Sender: No OFD packet to send [00:09:21]OFD Sender: No OFD packet to send [00:09:26]OFD Sender: No OFD packet to send [00:09:31]OFD Sender: No OFD packet to send [00:09:36]OFD Sender: No OFD packet to send [00:09:41]OFD Sender: No OFD packet to send [00:09:46]OFD Sender: No OFD packet to send [00:09:51]OFD Sender: No OFD packet to send [00:09:56]OFD Sender: No OFD packet to send [00:10:01]OFD Sender: No OFD packet to send [00:10:06]OFD Sender: No OFD packet to send [00:10:11]OFD Sender: No OFD packet to send [00:10:16]OFD Sender: No OFD packet to send [00:10:21]OFD Sender: No OFD packet to send [00:10:26]OFD Sender: No OFD packet to send [00:10:31]OFD Sender: No OFD packet to send [00:10:36]OFD Sender: No OFD packet to send [00:10:41]OFD Sender: No OFD packet to send [00:10:46]OFD Sender: No OFD packet to send [00:10:51]OFD Sender: No OFD packet to send [00:10:56]OFD Sender: No OFD packet to send [00:11:01]OFD Sender: No OFD packet to send [00:11:04]accept exits with 9 [00:11:04]New connection [00:11:04]New thread 3067469156 created [00:11:04]Thread 3067612516 joined [00:11:04]Waiting for new connection... [00:11:04] Sock 9.Parse request [00:11:04]Sock 9.Check first char [00:11:04]Sock 9.First char is OK [00:11:04]request: POST /json_proto HTTP/1.0 [00:11:04]Method: POST [00:11:04]URL: /json_proto [00:11:04]Method is POST - this is cgi request [00:11:04]url: /json_proto [00:11:04]query_string will be loaded in cgi processing [00:11:04]execute_cgi json_proto POST (null) [00:11:04]execute_cgi path=json_proto method=POST [00:11:04]POST find Content-Length [00:11:04]Host: 172.17.53.196:8080 [00:11:04]Content-Length: 632 [00:11:04]Content-Type: application/json [00:11:04] [00:11:04]POST finish read [00:11:04]Found Content-Length = 632 [00:11:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34802", "tax_sys" : 0, "items" : [ { "code": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:04]execute_script... [00:11:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34802", "tax_sys" : 0, "items" : [ { "code": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:04]POST & json_proto [00:11:04]process_json_proto [00:11:04]json parsed OK: [00:11:04]protocol is kg_v1.0 [00:11:04]action value=close_receipt [00:11:04]process_action close_receipt [00:11:04]cmd_close_receipt [00:11:04]MH_GetDate [00:11:04]Write to MH i2c: F0 00 00 17 0E 14 [00:11:04]Write i2c OK [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: F0 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: F0 09 00 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: F0 09 00 17 0E 00 1B 3F 18 67 4F CD 9A 65 11 [00:11:04]GetLastDocTimeStamp 1729641646 [00:11:04]current date 1729642267 [00:11:04]FM_GetShiftState [00:11:04]SAM_PROTO_GetShiftState [00:11:04]wFMCommunicate request_size=4 [00:11:04]MH_SAM_APDU [00:11:04]CAPDU: 80 13 01 00 [00:11:04]Write to MH i2c: E2 08 00 18 0E 80 13 01 00 00 00 00 00 A3 [00:11:04]Write i2c OK [00:11:04]MH_I2C_Read... [00:11:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:04]Read from MH i2c: E2 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 0E 00 [00:11:04]MH_I2C_Read... [00:11:04]Read from MH i2c: E2 0E 00 18 0E 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 F4 [00:11:04]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:11:04]wFMCommunicate OK [00:11:04]SAM_PROTO_GetShiftState done [00:11:04]FM_GetShiftState done [00:11:04]opened in 1729556951 [00:11:04]opened+sec_in_day 1729643351 [00:11:04]quantity*price = 14700 [00:11:04]sum+1 = 14701 [00:11:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 65 23.10.2024 00:11 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25044 ФПД: 223506758044047 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001108&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25044&fm=223506758044047&tin=02508201610067®Number=0000000000098147&sum=14700 0 [00:11:05]StoreToDocumentArchive [00:11:05]shift 457 fd 25044 [00:11:05]save to /storage/0457/doc_00025044 [00:11:05]save last doc name /storage/0457/doc_00025044 to /storage/kkm_last_doc_name [00:11:05]save OK [00:11:05]Clear old archive folders... [00:11:05]ProcessDocumentItem done err = 0, tmpTLVsize=285 [00:11:05]tlvbuf is 00AD96A0 [00:11:05]SAM_PROTO_ClearQueue [00:11:05]wFMCommunicate request_size=4 [00:11:05]MH_SAM_APDU [00:11:05]CAPDU: 80 09 00 00 [00:11:05]Write to MH i2c: E2 08 00 25 0E 80 09 00 00 00 00 00 00 A5 [00:11:05]Write i2c OK [00:11:05]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 25 0E 00 90 00 A7 [00:11:06]RAPDU: 90 00 [00:11:06]wFMCommunicate OK [00:11:06]SAM_PROTO_ClearQueue done [00:11:06]KKMCreateOFDPacket [00:11:06]OFDProtocolAddRootSTLVToBuf [00:11:06]FM_MakeSignedData [00:11:06]FM_MakeSignedData [00:11:06]SAM_PROTO_SignData [00:11:06]wFMCommunicate request_size=4 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 0D 01 02 [00:11:06]Write to MH i2c: E2 08 00 26 0E 80 0D 01 02 00 00 00 00 AD [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 26 0E 00 90 00 A8 [00:11:06]RAPDU: 90 00 [00:11:06]wFMCommunicate OK [00:11:06]wFMCommunicate request_size=255 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 1C 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 [00:11:06]Write to MH i2c: E2 02 01 27 0E 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 1C 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 00 00 F1 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]OFD Sender: No OFD packet to send [00:11:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 27 0E 00 90 00 A9 [00:11:06]RAPDU: 90 00 [00:11:06]wFMCommunicate OK [00:11:06]wFMCommunicate request_size=44 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 0D 02 02 27 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D4 61 00 00 35 04 06 00 CB 47 38 EB 09 8F [00:11:06]Write to MH i2c: E2 2F 00 28 0E 80 0D 02 02 27 00 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D4 61 00 00 35 04 06 00 CB 47 38 EB 09 8F 00 00 D7 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 03 00 28 0E 00 90 00 AA [00:11:06]RAPDU: 90 00 [00:11:06]wFMCommunicate OK [00:11:06]wFMCommunicate request_size=4 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 0D 03 02 [00:11:06]Write to MH i2c: E2 08 00 29 0E 80 0D 03 02 00 00 00 00 B2 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 0B 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 0B 00 29 0E 00 E5 15 1E 08 F5 80 47 83 90 00 12 [00:11:06]RAPDU: E5 15 1E 08 F5 80 47 83 90 00 [00:11:06]wFMCommunicate OK [00:11:06]SAM_PROTO_SignData done [00:11:06]FM_MakeSignedData done [00:11:06]CreateOFDProtocolMessage [00:11:06]wFMCommunicate request_size=4 [00:11:06]MH_SAM_APDU [00:11:06]CAPDU: 80 11 00 00 [00:11:06]Write to MH i2c: E2 08 00 2A 0E 80 11 00 00 00 00 00 00 B2 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:06]Read from MH i2c: E2 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 17 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: E2 17 00 2A 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 09 [00:11:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:11:06]wFMCommunicate OK [00:11:06]CreateOFDProtocolMessage done [00:11:06]OFDSenderStorePacket 25044 [00:11:06]StoreOFDPacket docnum=25044 [00:11:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 D6 DA 29 01 69 7D 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 1C 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D4 61 00 00 35 04 06 00 CB 47 38 EB 09 8F E5 15 1E 08 F5 80 47 83 [00:11:06]CheckFolder [00:11:06]dirname=/storage/ofd_packets [00:11:06]CheckFolder done [00:11:06]ProducePacketName [00:11:06]name=ofd_packets/00025044 [00:11:06]NVStorageSaveData ofd_packets/00025044 [00:11:06]File name is /storage/ofd_packets/00025044 [00:11:06]Write 335 bytes [00:11:06]NVStorageSaveData done [00:11:06]OFDSenderStorePacket done [00:11:06]KKMCreateOFDPacket done [00:11:06]NVStorageSaveData kkm_last_timestamp [00:11:06]File name is /storage/kkm_last_timestamp [00:11:06]Write 4 bytes [00:11:06]NVStorageSaveData done [00:11:06]ExternCall_PrintAddStr [00:11:06]wPrintStart [00:11:06]Write to MH i2c: 01 00 00 2B 0E 39 [00:11:06]Write i2c OK [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: 01 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: 01 07 00 [00:11:06]MH_I2C_Read... [00:11:06]Read from MH i2c: 01 07 00 2B 0E 00 00 00 00 00 FF 0F 4E [00:11:06]RasterBufferAndPrint [00:11:06]line Счет N : (3)34802 [00:11:06]line ИНН: 02508201610067 [00:11:06]line Контрольно-Кассовый Чек [00:11:06]line ПРОДАЖА [00:11:06]line Товар: 48746717 [00:11:06]line Сигареты Winston XStyle Caster + Dream M [00:11:06]line 1.000 * 147.00 [00:11:06]line = 147.00 [00:11:06]line НДС 12% НСП 1% [00:11:06]line > о реализуемом товаре [00:11:06]line ИТОГО: 147.00 [00:11:06]line НСП 1% : 1.30 [00:11:06]line НДС 12% : 15.61 [00:11:06]line Наличными: 147.00 [00:11:06]line Безнал.: 0.00 [00:11:06]line Место: АЗС № 161 "Партнер Нефть" [00:11:06]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:11:06]line СНО: Общий режим [00:11:06]line Чек 65 23.10.2024 00:11 [00:11:06]line Смена: 457 ФФД: 1.0 [00:11:06]line ЗНМ: 0300000240 [00:11:06]line РНМ: 0000000000098147 [00:11:06]line Версия ККМ: 001 [00:11:06]line ФМ: 0000000000965376 [00:11:06]line ФД: 25044 [00:11:06]line ФПД: 223506758044047 [00:11:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001108&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25044&fm=223506758044047&tin=02508201610067®Number=0000000000098147&sum=14700 [00:11:06]line 0 [00:11:06]OFD Sender: Processing packet 25044 [packets to send 5, broken 4] [00:11:06]ProducePacketName [00:11:06]name=ofd_packets/00025044 [00:11:06]OFD Sender: To server: pG, [00:11:06]CommunicateWithHost lk.salyk.kg:30040 [00:11:06]ConnectInit lk.salyk.kg [00:11:06]written 0, free lines is 4095 [00:11:07]Write to MH i2c: 01 00 00 54 0E 62 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: 01 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: 01 07 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: 01 07 00 54 0E 00 00 00 00 00 B9 0C 2E [00:11:07]RasterBufferAndPrint [00:11:07]line [00:11:07]line [00:11:07]line [00:11:07]line [00:11:07]line [00:11:07]written 0, free lines is 3259 [00:11:07]process_action close_receipt done [00:11:07]requested_data is exist [00:11:07]produce_requested_data [00:11:07]requested_item fm.sn is exist - process it [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 11 00 00 [00:11:07]Write to MH i2c: E2 08 00 5B 0E 80 11 00 00 00 00 00 00 E3 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 17 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 17 00 5B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3A [00:11:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:11:07]wFMCommunicate OK [00:11:07]requested_item fd.num is exist - process it [00:11:07]SAM_PROTO_GetFieldsCounters [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 13 00 00 [00:11:07]Write to MH i2c: E2 08 00 5C 0E 80 13 00 00 00 00 00 00 E6 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 62 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 62 00 5C 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D4 61 00 00 0E 04 04 00 C9 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 D1 [00:11:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D4 61 00 00 0E 04 04 00 C9 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 [00:11:07]wFMCommunicate OK [00:11:07]SAM_PROTO_GetFieldsCounters done [00:11:07]requested_item shift.num is exist - process it [00:11:07]requested_item shift.opened is exist - process it [00:11:07]req_shift_opened [00:11:07]FM_GetShiftState [00:11:07]SAM_PROTO_GetShiftState [00:11:07]wFMCommunicate request_size=4 [00:11:07]MH_SAM_APDU [00:11:07]CAPDU: 80 13 01 00 [00:11:07]Write to MH i2c: E2 08 00 5D 0E 80 13 01 00 00 00 00 00 E8 [00:11:07]Write i2c OK [00:11:07]MH_I2C_Read... [00:11:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:07]Read from MH i2c: E2 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 0E 00 [00:11:07]MH_I2C_Read... [00:11:07]Read from MH i2c: E2 0E 00 5D 0E 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 39 [00:11:07]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:11:07]wFMCommunicate OK [00:11:07]SAM_PROTO_GetShiftState done [00:11:07]FM_GetShiftState done [00:11:07]req_shift_opened done [00:11:07]requested_item shift.open_date is exist - process it [00:11:07]req_shift_open_date [00:11:07]req_shift_open_date done [00:11:07]produce_requested_data done [00:11:07]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25044,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:11:07]process_action_free close_receipt [00:11:07]json_value_free [00:11:07]json_value_free done [00:11:07]process_json_proto returns [00:11:07]Send response to host [00:11:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25044,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:11:07]free response buf [00:11:07]execute_script done [00:11:07]execute_script returns [00:11:07]free content buf [00:11:07]Sock 9.Close socket [00:11:07]Sock 9.Thread stoped [00:11:41]accept exits with 8 [00:11:41]New connection [00:11:41]New thread 3067612516 created [00:11:41]Thread 3067469156 joined [00:11:41]Waiting for new connection... [00:11:41] Sock 8.Parse request [00:11:41]Sock 8.Check first char [00:11:41]Sock 8.First char is OK [00:11:41]request: POST /json_proto HTTP/1.0 [00:11:41]Method: POST [00:11:41]URL: /json_proto [00:11:41]Method is POST - this is cgi request [00:11:41]url: /json_proto [00:11:41]query_string will be loaded in cgi processing [00:11:41]execute_cgi json_proto POST (null) [00:11:41]execute_cgi path=json_proto method=POST [00:11:41]POST find Content-Length [00:11:41]Host: 172.17.53.196:8080 [00:11:41]Content-Length: 882 [00:11:41]Content-Type: application/json [00:11:41] [00:11:41]POST finish read [00:11:41]Found Content-Length = 882 [00:11:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34803", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 223.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:41]execute_script... [00:11:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34803", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 223.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:41]POST & json_proto [00:11:41]process_json_proto [00:11:41]json parsed OK: [00:11:41]protocol is kg_v1.0 [00:11:41]action value=close_receipt [00:11:41]process_action close_receipt [00:11:41]cmd_close_receipt [00:11:41]MH_GetDate [00:11:41]Write to MH i2c: F0 00 00 5E 0E 5B [00:11:41]Write i2c OK [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: F0 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: F0 09 00 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: F0 09 00 5E 0E 00 40 3F 18 67 4F CD 9A 65 7D [00:11:41]GetLastDocTimeStamp 1729642268 [00:11:41]current date 1729642304 [00:11:41]FM_GetShiftState [00:11:41]SAM_PROTO_GetShiftState [00:11:41]wFMCommunicate request_size=4 [00:11:41]MH_SAM_APDU [00:11:41]CAPDU: 80 13 01 00 [00:11:41]Write to MH i2c: E2 08 00 5F 0E 80 13 01 00 00 00 00 00 EA [00:11:41]Write i2c OK [00:11:41]MH_I2C_Read... [00:11:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:41]Read from MH i2c: E2 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: E2 0E 00 [00:11:41]MH_I2C_Read... [00:11:41]Read from MH i2c: E2 0E 00 5F 0E 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 3B [00:11:41]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:11:41]wFMCommunicate OK [00:11:41]SAM_PROTO_GetShiftState done [00:11:41]FM_GetShiftState done [00:11:41]opened in 1729556951 [00:11:41]opened+sec_in_day 1729643351 [00:11:41]quantity*price = 7900 [00:11:41]sum+1 = 7901 [00:11:41]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 223.00 НСП 1% : 1.97 НДС 12% : 23.68 Наличными: 223.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 66 23.10.2024 00:11 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25045 ФПД: 122971104038431 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001144&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25045&fm=122971104038431&tin=02508201610067®Number=0000000000098147&sum=22300 0 [00:11:42]StoreToDocumentArchive [00:11:42]shift 457 fd 25045 [00:11:42]save to /storage/0457/doc_00025045 [00:11:42]save last doc name /storage/0457/doc_00025045 to /storage/kkm_last_doc_name [00:11:42]save OK [00:11:42]Clear old archive folders... [00:11:42]ProcessDocumentItem done err = 0, tmpTLVsize=379 [00:11:42]tlvbuf is 00A95EF0 [00:11:42]SAM_PROTO_ClearQueue [00:11:42]wFMCommunicate request_size=4 [00:11:42]MH_SAM_APDU [00:11:42]CAPDU: 80 09 00 00 [00:11:42]Write to MH i2c: E2 08 00 6C 0E 80 09 00 00 00 00 00 00 EC [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:42]Read from MH i2c: E2 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 6C 0E 00 90 00 EE [00:11:42]RAPDU: 90 00 [00:11:42]wFMCommunicate OK [00:11:42]SAM_PROTO_ClearQueue done [00:11:42]KKMCreateOFDPacket [00:11:42]OFDProtocolAddRootSTLVToBuf [00:11:42]FM_MakeSignedData [00:11:42]FM_MakeSignedData [00:11:42]SAM_PROTO_SignData [00:11:42]wFMCommunicate request_size=4 [00:11:42]MH_SAM_APDU [00:11:42]CAPDU: 80 0D 01 02 [00:11:42]Write to MH i2c: E2 08 00 6D 0E 80 0D 01 02 00 00 00 00 F4 [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:42]Read from MH i2c: E2 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 6D 0E 00 90 00 EF [00:11:42]RAPDU: 90 00 [00:11:42]wFMCommunicate OK [00:11:42]wFMCommunicate request_size=255 [00:11:42]MH_SAM_APDU [00:11:42]CAPDU: 80 0D 02 02 FA 03 00 7B 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 [00:11:42]Write to MH i2c: E2 02 01 6E 0E 80 0D 02 02 FA 00 03 00 7B 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 00 2E [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:42]Read from MH i2c: E2 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 6E 0E 00 90 00 F0 [00:11:42]RAPDU: 90 00 [00:11:42]wFMCommunicate OK [00:11:42]wFMCommunicate request_size=138 [00:11:42]MH_SAM_APDU [00:11:42]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 40 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D5 61 00 00 35 04 06 00 6F D7 70 F9 4E 1F [00:11:42]Write to MH i2c: E2 8D 00 6F 0E 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 40 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D5 61 00 00 35 04 06 00 6F D7 70 F9 4E 1F 00 00 4E [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:42]Read from MH i2c: E2 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 03 00 6F 0E 00 90 00 F1 [00:11:42]RAPDU: 90 00 [00:11:42]wFMCommunicate OK [00:11:42]wFMCommunicate request_size=4 [00:11:42]MH_SAM_APDU [00:11:42]CAPDU: 80 0D 03 02 [00:11:42]Write to MH i2c: E2 08 00 70 0E 80 0D 03 02 00 00 00 00 F9 [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:42]Read from MH i2c: E2 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 0B 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 0B 00 70 0E 00 33 9E B8 6F F5 B9 C7 67 90 00 CE [00:11:42]RAPDU: 33 9E B8 6F F5 B9 C7 67 90 00 [00:11:42]wFMCommunicate OK [00:11:42]SAM_PROTO_SignData done [00:11:42]FM_MakeSignedData done [00:11:42]CreateOFDProtocolMessage [00:11:42]wFMCommunicate request_size=4 [00:11:42]MH_SAM_APDU [00:11:42]CAPDU: 80 11 00 00 [00:11:42]Write to MH i2c: E2 08 00 71 0E 80 11 00 00 00 00 00 00 F9 [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:42]Read from MH i2c: E2 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 17 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: E2 17 00 71 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 50 [00:11:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:11:42]wFMCommunicate OK [00:11:42]CreateOFDProtocolMessage done [00:11:42]OFDSenderStorePacket 25045 [00:11:42]StoreOFDPacket docnum=25045 [00:11:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8F 01 00 00 23 A7 87 01 AE 01 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 40 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D5 61 00 00 35 04 06 00 6F D7 70 F9 4E 1F 33 9E B8 6F F5 B9 C7 67 [00:11:42]CheckFolder [00:11:42]dirname=/storage/ofd_packets [00:11:42]CheckFolder done [00:11:42]ProducePacketName [00:11:42]name=ofd_packets/00025045 [00:11:42]NVStorageSaveData ofd_packets/00025045 [00:11:42]File name is /storage/ofd_packets/00025045 [00:11:42]Write 429 bytes [00:11:42]NVStorageSaveData done [00:11:42]OFDSenderStorePacket done [00:11:42]KKMCreateOFDPacket done [00:11:42]NVStorageSaveData kkm_last_timestamp [00:11:42]File name is /storage/kkm_last_timestamp [00:11:42]Write 4 bytes [00:11:42]NVStorageSaveData done [00:11:42]ExternCall_PrintAddStr [00:11:42]wPrintStart [00:11:42]Write to MH i2c: 01 00 00 72 0E 80 [00:11:42]Write i2c OK [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: 01 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: 01 07 00 [00:11:42]MH_I2C_Read... [00:11:42]Read from MH i2c: 01 07 00 72 0E 00 00 00 00 00 FF 0F 95 [00:11:42]RasterBufferAndPrint [00:11:42]line Счет N : (3)34803 [00:11:42]line ИНН: 02508201610067 [00:11:42]line Контрольно-Кассовый Чек [00:11:42]line ПРОДАЖА [00:11:42]line Товар: 4700000310043 [00:11:42]line Вода Жалалабат 27 1л [00:11:42]line 1.000 * 79.00 [00:11:42]line = 79.00 [00:11:42]line НДС 12% НСП 1% [00:11:42]line > о реализуемом товаре [00:11:42]line Товар: 48743570 [00:11:42]line Сигареты Winston XStyle Blue [00:11:42]line 1.000 * 144.00 [00:11:42]line = 144.00 [00:11:42]line НДС 12% НСП 1% [00:11:42]line > о реализуемом товаре [00:11:42]line ИТОГО: 223.00 [00:11:42]line НСП 1% : 1.97 [00:11:42]line НДС 12% : 23.68 [00:11:42]line Наличными: 223.00 [00:11:42]line Безнал.: 0.00 [00:11:42]line Место: АЗС № 161 "Партнер Нефть" [00:11:43]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:11:43]line СНО: Общий режим [00:11:43]line Чек 66 23.10.2024 00:11 [00:11:43]line Смена: 457 ФФД: 1.0 [00:11:43]line ЗНМ: 0300000240 [00:11:43]line РНМ: 0000000000098147 [00:11:43]line Версия ККМ: 001 [00:11:43]line ФМ: 0000000000965376 [00:11:43]line ФД: 25045 [00:11:43]line ФПД: 122971104038431 [00:11:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001144&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25045&fm=122971104038431&tin=02508201610067®Number=0000000000098147&sum=22300 [00:11:43]line 0 [00:11:43]written 0, free lines is 4095 [00:11:43]Write to MH i2c: 01 00 00 A0 0E AE [00:11:43]Write i2c OK [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: 01 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: 01 07 00 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: 01 07 00 A0 0E 00 00 00 00 00 5B 0C 1C [00:11:43]RasterBufferAndPrint [00:11:43]line [00:11:43]line [00:11:43]line [00:11:43]line [00:11:43]line [00:11:43]written 0, free lines is 3167 [00:11:43]process_action close_receipt done [00:11:43]requested_data is exist [00:11:43]produce_requested_data [00:11:43]requested_item fm.sn is exist - process it [00:11:43]wFMCommunicate request_size=4 [00:11:43]MH_SAM_APDU [00:11:43]CAPDU: 80 11 00 00 [00:11:43]Write to MH i2c: E2 08 00 A7 0E 80 11 00 00 00 00 00 00 2F [00:11:43]Write i2c OK [00:11:43]MH_I2C_Read... [00:11:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:43]Read from MH i2c: E2 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 17 00 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 17 00 A7 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 86 [00:11:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:11:43]wFMCommunicate OK [00:11:43]requested_item fd.num is exist - process it [00:11:43]SAM_PROTO_GetFieldsCounters [00:11:43]wFMCommunicate request_size=4 [00:11:43]MH_SAM_APDU [00:11:43]CAPDU: 80 13 00 00 [00:11:43]Write to MH i2c: E2 08 00 A8 0E 80 13 00 00 00 00 00 00 32 [00:11:43]Write i2c OK [00:11:43]MH_I2C_Read... [00:11:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:43]Read from MH i2c: E2 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 62 00 [00:11:43]MH_I2C_Read... [00:11:43]Read from MH i2c: E2 62 00 A8 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D5 61 00 00 0E 04 04 00 C9 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 21 [00:11:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D5 61 00 00 0E 04 04 00 C9 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 [00:11:43]wFMCommunicate OK [00:11:43]SAM_PROTO_GetFieldsCounters done [00:11:43]requested_item shift.num is exist - process it [00:11:43]requested_item shift.opened is exist - process it [00:11:43]req_shift_opened [00:11:43]FM_GetShiftState [00:11:43]SAM_PROTO_GetShiftState [00:11:43]wFMCommunicate request_size=4 [00:11:43]MH_SAM_APDU [00:11:43]CAPDU: 80 13 01 00 [00:11:43]Write to MH i2c: E2 08 00 A9 0E 80 13 01 00 00 00 00 00 34 [00:11:43]Write i2c OK [00:11:43]MH_I2C_Read... [00:11:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:44]Read from MH i2c: E2 [00:11:44]MH_I2C_Read... [00:11:44]Read from MH i2c: E2 0E 00 [00:11:44]MH_I2C_Read... [00:11:44]Read from MH i2c: E2 0E 00 A9 0E 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 85 [00:11:44]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:11:44]wFMCommunicate OK [00:11:44]SAM_PROTO_GetShiftState done [00:11:44]FM_GetShiftState done [00:11:44]req_shift_opened done [00:11:44]requested_item shift.open_date is exist - process it [00:11:44]req_shift_open_date [00:11:44]req_shift_open_date done [00:11:44]produce_requested_data done [00:11:44]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25045,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:11:44]process_action_free close_receipt [00:11:44]json_value_free [00:11:44]json_value_free done [00:11:44]process_json_proto returns [00:11:44]Send response to host [00:11:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25045,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:11:44]free response buf [00:11:44]execute_script done [00:11:44]execute_script returns [00:11:44]free content buf [00:11:44]Sock 8.Close socket [00:11:44]Sock 8.Thread stoped [00:13:16]ConnectInit Can't connect to host [00:13:16]CommunicateWithHost connect error [00:13:16]CommunicateWithHost err = -1 [00:13:16]OFD Sender: Server communicate error [00:13:16]OFD Sender: Processing packet 25044 [packets to send 6, broken 4] [00:13:16]ProducePacketName [00:13:16]name=ofd_packets/00025044 [00:13:16]OFD Sender: To server: pG, [00:13:16]CommunicateWithHost lk.salyk.kg:30040 [00:13:16]ConnectInit lk.salyk.kg [00:13:16]Connected sock=8 [00:13:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 D6 DA 29 01 69 7D 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 1C 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D4 61 00 00 35 04 06 00 CB 47 38 EB 09 8F E5 15 1E 08 F5 80 47 83 [00:13:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 4E DF 47 00 6C AE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D4 61 00 00 F4 03 04 00 16 E8 17 67 B6 04 01 00 00 46 C4 B5 FE 94 77 CA F9 [00:13:16]CommunicateWithHost err = 0 [00:13:16]CheckOFDResponse [00:13:16]1017 (14) - 77093643461234 [00:13:16]1041 (16) - 0000000000965376 [00:13:16]1040 (4) - 25044 [00:13:16]1012 (4) - 22.10.2024 17:59 [00:13:16]1206 (1) - 0 [00:13:16]OFD Sender: Remove packet 25044 [00:13:16]ProducePacketName [00:13:16]name=ofd_packets/00025044 [00:13:16]NVStorageDeleteData [00:13:17]OFD Sender: Processing packet 25045 [packets to send 5, broken 4] [00:13:17]ProducePacketName [00:13:17]name=ofd_packets/00025045 [00:13:17]OFD Sender: To server: pG, [00:13:17]CommunicateWithHost lk.salyk.kg:30040 [00:13:17]ConnectInit lk.salyk.kg [00:13:17]Connected sock=8 [00:13:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 8F 01 00 00 23 A7 87 01 AE 01 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 40 09 00 00 00 00 07 04 06 00 1C 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 40 3F 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D5 61 00 00 35 04 06 00 6F D7 70 F9 4E 1F 33 9E B8 6F F5 B9 C7 67 [00:13:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 8F DD 47 00 D3 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 39 36 35 33 37 36 10 04 04 00 D5 61 00 00 F4 03 04 00 17 E8 17 67 B6 04 01 00 00 A9 9D CA 72 F2 9E 6F 1A [00:13:17]CommunicateWithHost err = 0 [00:13:17]CheckOFDResponse [00:13:17]1017 (14) - 77093643461234 [00:13:17]1041 (16) - 0000000000965376 [00:13:17]1040 (4) - 25045 [00:13:17]1012 (4) - 22.10.2024 17:59 [00:13:17]1206 (1) - 0 [00:13:17]OFD Sender: Remove packet 25045 [00:13:17]ProducePacketName [00:13:17]name=ofd_packets/00025045 [00:13:17]NVStorageDeleteData [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]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:13]OFD Sender: No OFD packet to send [00:14:18]OFD Sender: No OFD packet to send [00:14:23]OFD Sender: No OFD packet to send [00:14:28]OFD Sender: No OFD packet to send [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:58]OFD Sender: No OFD packet to send [00:15:03]OFD Sender: No OFD packet to send [00:15:06]accept exits with 9 [00:15:06]New connection [00:15:06]New thread 3067469156 created [00:15:06]Thread 3067612516 joined [00:15:06]Waiting for new connection... [00:15:06] Sock 9.Parse request [00:15:06]Sock 9.Check first char [00:15:06]Sock 9.First char is OK [00:15:06]request: POST /json_proto HTTP/1.0 [00:15:06]Method: POST [00:15:06]URL: /json_proto [00:15:06]Method is POST - this is cgi request [00:15:06]url: /json_proto [00:15:06]query_string will be loaded in cgi processing [00:15:06]execute_cgi json_proto POST (null) [00:15:06]execute_cgi path=json_proto method=POST [00:15:06]POST find Content-Length [00:15:06]Host: 172.17.53.196:8080 [00:15:06]Content-Length: 694 [00:15:06]Content-Type: application/json [00:15:06] [00:15:06]POST finish read [00:15:06]Found Content-Length = 694 [00:15:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34804", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:06]execute_script... [00:15:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34804", "tax_sys" : 0, "items" : [ { "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 15.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:15:06]POST & json_proto [00:15:06]process_json_proto [00:15:06]json parsed OK: [00:15:06]protocol is kg_v1.0 [00:15:06]action value=close_receipt [00:15:06]process_action close_receipt [00:15:06]cmd_close_receipt [00:15:06]MH_GetDate [00:15:06]Write to MH i2c: F0 00 00 AA 0E A7 [00:15:06]Write i2c OK [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: F0 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: F0 09 00 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: F0 09 00 AA 0E 00 0E 40 18 67 4F CD 9A 65 98 [00:15:06]GetLastDocTimeStamp 1729642304 [00:15:06]current date 1729642510 [00:15:06]FM_GetShiftState [00:15:06]SAM_PROTO_GetShiftState [00:15:06]wFMCommunicate request_size=4 [00:15:06]MH_SAM_APDU [00:15:06]CAPDU: 80 13 01 00 [00:15:06]Write to MH i2c: E2 08 00 AB 0E 80 13 01 00 00 00 00 00 36 [00:15:06]Write i2c OK [00:15:06]MH_I2C_Read... [00:15:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:06]Read from MH i2c: E2 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: E2 0E 00 [00:15:06]MH_I2C_Read... [00:15:06]Read from MH i2c: E2 0E 00 AB 0E 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 87 [00:15:06]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:15:06]wFMCommunicate OK [00:15:06]SAM_PROTO_GetShiftState done [00:15:06]FM_GetShiftState done [00:15:06]opened in 1729556951 [00:15:06]opened+sec_in_day 1729643351 [00:15:06]quantity*price = 1500 [00:15:06]sum+1 = 1501 [00:15:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 15.00 НСП 1% : 0.13 НДС 12% : 1.59 Наличными: 15.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 67 23.10.2024 00:15 Смена: 457 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25046 ФПД: 54643683648270 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001510&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25046&fm=54643683648270&tin=02508201610067®Number=0000000000098147&sum=1500 0 [00:15:08]StoreToDocumentArchive [00:15:08]shift 457 fd 25046 [00:15:08]save to /storage/0457/doc_00025046 [00:15:08]save last doc name /storage/0457/doc_00025046 to /storage/kkm_last_doc_name [00:15:08]save OK [00:15:08]Clear old archive folders... [00:15:08]OFD Sender: No OFD packet to send [00:15:08]ProcessDocumentItem done err = 0, tmpTLVsize=290 [00:15:08]tlvbuf is 00AD9F40 [00:15:08]SAM_PROTO_ClearQueue [00:15:08]wFMCommunicate request_size=4 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 09 00 00 [00:15:08]Write to MH i2c: E2 08 00 B8 0E 80 09 00 00 00 00 00 00 38 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 B8 0E 00 90 00 3A [00:15:08]RAPDU: 90 00 [00:15:08]wFMCommunicate OK [00:15:08]SAM_PROTO_ClearQueue done [00:15:08]KKMCreateOFDPacket [00:15:08]OFDProtocolAddRootSTLVToBuf [00:15:08]FM_MakeSignedData [00:15:08]FM_MakeSignedData [00:15:08]SAM_PROTO_SignData [00:15:08]wFMCommunicate request_size=4 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 0D 01 02 [00:15:08]Write to MH i2c: E2 08 00 B9 0E 80 0D 01 02 00 00 00 00 40 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 B9 0E 00 90 00 3B [00:15:08]RAPDU: 90 00 [00:15:08]wFMCommunicate OK [00:15:08]wFMCommunicate request_size=255 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 0D 02 02 FA 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 0E 40 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 [00:15:08]Write to MH i2c: E2 02 01 BA 0E 80 0D 02 02 FA 00 03 00 22 01 1E 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9F 00 00 00 00 00 07 04 06 00 DC 05 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 0E 40 18 67 0E 04 04 00 C9 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 D8 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 BA 0E 00 90 00 3C [00:15:08]RAPDU: 90 00 [00:15:08]wFMCommunicate OK [00:15:08]wFMCommunicate request_size=49 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 0D 02 02 2C 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D6 61 00 00 35 04 06 00 31 B2 B9 5A 63 0E [00:15:08]Write to MH i2c: E2 34 00 BB 0E 80 0D 02 02 2C 00 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D6 61 00 00 35 04 06 00 31 B2 B9 5A 63 0E 00 00 16 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 03 00 BB 0E 00 90 00 3D [00:15:08]RAPDU: 90 00 [00:15:08]wFMCommunicate OK [00:15:08]wFMCommunicate request_size=4 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 0D 03 02 [00:15:08]Write to MH i2c: E2 08 00 BC 0E 80 0D 03 02 00 00 00 00 45 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 0B 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 0B 00 BC 0E 00 B6 49 39 DB 2F 50 D2 80 90 00 2A [00:15:08]RAPDU: B6 49 39 DB 2F 50 D2 80 90 00 [00:15:08]wFMCommunicate OK [00:15:08]SAM_PROTO_SignData done [00:15:08]FM_MakeSignedData done [00:15:08]CreateOFDProtocolMessage [00:15:08]wFMCommunicate request_size=4 [00:15:08]MH_SAM_APDU [00:15:08]CAPDU: 80 11 00 00 [00:15:08]Write to MH i2c: E2 08 00 BD 0E 80 11 00 00 00 00 00 00 45 [00:15:08]Write i2c OK [00:15:08]MH_I2C_Read... [00:15:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:08]Read from MH i2c: E2 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 17 00 [00:15:08]MH_I2C_Read... [00:15:08]Read from MH i2c: E2 17 00 BD 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 9C [00:15:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:15:08]wFMCommunicate OK [00:15:08]CreateOFDProtocolMessage done [00:15:08]OFDSenderStorePacket 25046 [00:15:08]StoreOFDPacket docnum=25046 [00:00:11] *** EcrCore started. Build 196 *** [00:00:11]/dev/ttyS4 opened [00:00:11]MH_InterfaceInit /dev/i2c-1 [00:00:11]Malloc ok [00:00:11]MH_GetMetrics [00:00:11]Write to MH i2c: 00 00 00 01 00 00 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 73 [00:00:11]Are we in boot? [00:00:11]We are in boot - try to switch [00:00:11]Write to MH i2c: A0 00 00 02 00 A1 [00:00:11]Write i2c OK [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: A0 01 00 [00:00:11]MH_I2C_Read... [00:00:11]Read from MH i2c: *** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:11]A0 01 *** [00:00:11]00 02 00 00 A2 [00:00:11]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:11]*** Waiting for read because exit forced [00:00:11]*** 10 ms more... [00:00:11]*** MH1903S init start (LINUX_LIGHT) [00:00:11]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:11]*** Serial: 3139303353513838 54000000005725CE (1903SQ88T) [00:00:11]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:11]*** step 0: 5000 (2650, 2350 REF) [00:00:11]*** step 1: 4835 (2500, 2335 REF) [00:00:11]*** step 2: 4676 (2440, 2236 REF) [00:00:11]*** step 3: 4523 (2280, 2243 REF) [00:00:11]*** step 4: 4376 (2160, 2216 REF) [00:00:11]*** step 5: 4235 (2050, 2185 REF) [00:00:11]*** step 6: 4098 (1950, 2148 REF) [00:00:11]*** step 7: 3967 (1870, 2097 REF) [00:00:11]*** step 8: 3840 (1828, 2012 REF) [00:00:11]*** step 9: 3719 (1728, 1991 REF) [00:00:11]*** step 10: 3601 (1675, 1926 REF) [00:00:11]*** step 11: 3488 (1635, 1853 REF) [00:00:11]*** step 12: 3379 (1595, 1784 REF) [00:00:11]*** step 13: 3275 (1565, 1710 REF) [00:00:11]*** step 14: 3174 (1543, 1631 REF) [00:00:11]*** step 15: 3077 (1523, 1554 REF) [00:00:11]*** step 16: 2983 (1503, 1480 REF) [00:00:11]*** step 17: 2893 (1486, 1407 REF) [00:00:11]*** step 18: 2806 (1466, 1340 REF) [00:00:11]*** step 19: 2723 (1426, 1297 REF) [00:00:11]*** step 20: 2642 (1406, 1236 REF) [00:00:11]*** step 21: 2565 (1384, 1181 REF) [00:00:11]*** step 22: 2490 (1364, 1126 REF) [00:00:11]*** step 23: 2418 (1344, 1074 REF) [00:00:11]*** step 24: 2349 (1322, 1027 REF) [00:00:11]*** step 25: 2283 (1302, 981 REF) [00:00:11]*** step 26: 2218 (1282, 936 REF) [00:00:11]*** step 27: 2157 (1262, 895 REF) [00:00:11]*** step 28: 2097 (1242, 855 REF) [00:00:11]*** step 29: 2040 (1222, 818 REF) [00:00:11]*** step 30: 1985 (1202, 783 REF) [00:00:11]*** step 31: 1932 (1191, 741 REF) [00:00:11]*** step 32: 1880 (1181, 699 REF) [00:00:11]*** step 33: 1831 (1171, 660 REF) [00:00:11]*** step 34: 1784 (1161, 623 REF) [00:00:11]*** step 35: 1738 (1151, 587 REF) [00:00:11]*** step 36: 1694 (1141, 553 REF) [00:00:11]*** step 37: 1652 (1131, 521 REF) [00:00:11]*** step 38: 1611 (1121, 490 REF) [00:00:11]*** step 39: 1572 (1111, 461 REF) [00:00:11]*** step 40: 1534 (1103, 431 REF) [00:00:11]*** step 41: 1497 (1093, 404 REF) [00:00:11]*** step 42: 1462 (1083, 379 REF) [00:00:11]*** step 43: 1428 (1073, 355 REF) [00:00:11]*** step 44: 1396 (1063, 333 REF) [00:00:11]*** step 45: 1365 (1053, 312 REF) [00:00:11]*** step 46: 1334 (1043, 291 REF) [00:00:11]*** step 47: 1305 (1033, 272 REF) [00:00:11]*** step 48: 1277 (1023, 254 REF) [00:00:11]*** step 49: 1250 (1013, 237 REF) [00:00:11]*** step 50: 1224 (990, 234 REF) [00:00:11]*** step 51: 1199 (980, 219 REF) [00:00:11]*** step 52: 1175 (970, 205 REF) [00:00:11]*** step 53: 1152 (960, 192 REF) [00:00:11]*** step 54: 1130 (950, 180 REF) [00:00:11]*** step 55: 1108 (940, 168 REF) [00:00:11]*** step 56: 1088 (930, 158 REF) [00:00:11]*** step 57: 1068 (920, 148 REF) [00:00:11]*** step 58: 1049 (910, 139 REF) [00:00:11]*** step 59: 1030 (900, 130 REF) [00:00:11]*** step 60: 1012 (890, 122 REF) [00:00:11]*** step 61: 995 (880, 115 REF) [00:00:11]*** step 62: 979 (870, 109 REF) [00:00:11]*** step 63: 963 (860, 103 REF) [00:00:11]*** step 64: 948 (850, 98 REF) [00:00:11]*** step 65: 933 (840, 93 REF) [00:00:11]*** step 66: 919 (830, 89 REF) [00:00:11]*** step 67: 905 (820, 85 REF) [00:00:11]*** step 68: 892 (810, 82 REF) [00:00:11]*** step 69: 879 (800, 79 REF) [00:00:11]*** step 70: 867 (790, 77 REF) [00:00:11]*** step 71: 855 (780, 75 REF) [00:00:11]*** step 72: 844 (770, 74 REF) [00:00:11]*** step 73: 833 (760, 73 REF) [00:00:11]*** step 74: 822 (750, 72 REF) [00:00:11]*** step 75: 812 (740, 72 REF) [00:00:11]*** step 76: 803 (730, 73 REF) [00:00:11]*** step 77: 793 (720, 73 REF) [00:00:11]*** step 78: 784 (710, 74 REF) [00:00:11]*** step 79: 776 (700, 76 REF) [00:00:11]*** step 80: 767 (690, 77 REF) [00:00:11]*** step 81: 759 (680, 79 REF) [00:00:11]*** step 82: 751 (670, 81 REF) [00:00:11]*** step 83: 744 (660, 84 REF) [00:00:11]*** step 84: 737 (650, 87 REF) [00:00:11]*** step 85: 730 (640, 90 REF) [00:00:11]*** step 86: 723 (630, 93 REF) [00:00:11]*** step 87: 717 (620, 97 REF) [00:00:11]*** step 88: 710 (610, 100 REF) [00:00:11]*** step 89: 705 (600, 105 REF) [00:00:11]*** step 90: 699 [00:00:11]*** step 91: 693 [00:00:11]*** step 92: 688 [00:00:11]*** step 93: 683 [00:00:11]*** step 94: 678 [00:00:11]*** step 95: 673 [00:00:11]*** step 96: 669 [00:00:11]*** step 97: 664 [00:00:11]*** step 98: 660 [00:00:11]*** step 99: 656 [00:00:11]*** step 100: 652 [00:00:11]*** step 101: 648 [00:00:11]*** step 102: 644 [00:00:11]*** step 103: 641 [00:00:11]*** step 104: 638 [00:00:11]*** step 105: 634 [00:00:11]*** step 106: 631 [00:00:11]*** step 107: 628 [00:00:11]*** step 108: 625 [00:00:11]*** step 109: 622 [00:00:11]*** step 110: 620 [00:00:11]*** step 111: 617 [00:00:11]*** step 112: 615 [00:00:11]*** step 113: 612 [00:00:11]*** step 114: 610 [00:00:11]*** step 115: 608 [00:00:11]*** step 116: 605 [00:00:11]*** step 117: 603 [00:00:11]*** step 118: 601 [00:00:11]*** step 119: 599 [00:00:11]*** printer: Printer HW initialized [00:00:11]*** initSamCard finished [00:00:11]*** RTC: 24998611+1704643919=1729642530 [00:00:11]*** BPK Status Register BPK_RDY = 0x0 [00:00:11]*** SEN State Register SEN_STATE = 0xff [00:00:11]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:11]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:11]*** Is cutter blocked? [00:00:12]MH_GetMetrics [00:00:12]Write to MH i2c: 00 00 00 03 00 02 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 CE FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 74 [00:00:12]Are we in boot? [00:00:12]We are not in boot now [00:00:12]Write to MH i2c: 01 00 00 04 00 04 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:12]Model is 3 [00:00:12]MH firmware is 30620 [00:00:12]MH boot firmware is 3 [00:00:12]MH_SetPrinterDots 448 [00:00:12]HeadWidthInBytes 56 [00:00:12]maxmasksize 7 [00:00:12]Write to MH i2c: D6 06 00 05 00 41 00 38 00 FF FF 57 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:12]Write to MH i2c: D5 00 00 06 00 DA [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]LoadDictionaryFromArray [00:00:12]Load OK [00:00:12]ExternCall_SetCallbacks [00:00:12]NVStorageInit [00:00:12]MH_GetDate [00:00:12]Write to MH i2c: F0 00 00 07 00 F6 [00:00:12]Write i2c OK [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 [00:00:12]MH_I2C_Read... [00:00:12]Read from MH i2c: F0 09 00 07 00 00 23 40 18 67 4F CD 9A 65 FC [00:15:31]Current date/time: 23.10.2024 00:15 [00:15:31]FM_Init [00:15:31]wFMConnect [00:15:31]MH_SAM_On [00:15:31]Write to MH i2c: E0 00 00 08 00 E7 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_init finished! [00:15:31]*** atr: [00:15:31]*** 0F 3B D5 18 FF 81 91 FE [00:15:31]*** 1F C3 80 73 C8 21 10 0A [00:15:31]*** 00 00 00 00 00 00 00 00 [00:15:31]*** 00 00 00 00 00 00 00 00 [00:15:31]*** 00 00 00 00 00 00 00 00 [00:15:31]*** 00 00 00 00 00 00 00 00 [00:15:31]*** 00 00 00 00 00 00 00 00 [00:15:31]*** 00 00 00 00 00 00 00 00 [00:15:31]Read from MH i2c: E0 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E0 10 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [00:15:31]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:15:31]wFMCommunicate request_size=10 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:15:31]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:15:31]RAPDU: 90 00 [00:15:31]wFMCommunicate OK [00:15:31]wFMCommunicate request_size=4 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 11 00 00 [00:15:31]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 17 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DB [00:15:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:15:31]wFMCommunicate OK [00:15:31]Detected FM SN is 0000000000965376 [00:15:31]Stored FM SN is 0000000000965376 [00:15:31]wFMCommunicate request_size=9 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 16 00 00 04 9B 09 01 00 [00:15:31]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 9B 09 01 00 00 00 37 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:15:31]RAPDU: 90 00 [00:15:31]wFMCommunicate OK [00:15:31]FM PIN OK [00:15:31]wFMCommunicate request_size=8 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 14 04 00 03 02 00 01 [00:15:31]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:15:31]RAPDU: 90 00 [00:15:31]wFMCommunicate OK [00:15:31]wFMCommunicate request_size=13 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:15:31]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:15:31]RAPDU: 90 00 [00:15:31]wFMCommunicate OK [00:15:31]wFMCommunicate request_size=4 [00:15:31]MH_SAM_APDU [00:15:31]CAPDU: 80 11 00 00 [00:15:31]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:31]Read from MH i2c: E2 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 17 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 DF [00:15:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:15:31]wFMCommunicate OK [00:15:31]DocumentArchiveInit [00:15:31]Start Httpd... [00:15:31]Httpd thread 3067751780 created [00:15:31]Write to MH i2c: 01 00 00 0F 00 0F [00:15:31]Write i2c OK [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: 01 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: 01 07 00 [00:15:31]MH_I2C_Read... [00:15:31]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:15:31]MH Int Process started [00:15:31]Allocated Socket 8 [00:15:31]Bind OK [00:15:31]Listen OK [00:15:31]httpd running on port 8080 [00:15:31]Waiting for new connection... [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:36]accept exits with 9 [00:15:36]New connection [00:15:36]New thread 3067465060 created [00:15:36]Waiting for new connection... [00:15:36] Sock 9.Parse request [00:15:36]Sock 9.Check first char [00:15:36]Sock 9.First char is OK [00:15:36]request: POST /json_proto HTTP/1.0 [00:15:36]Method: POST [00:15:36]URL: /json_proto [00:15:36]Method is POST - this is cgi request [00:15:36]url: /json_proto [00:15:36]query_string will be loaded in cgi processing [00:15:36]execute_cgi json_proto POST (null) [00:15:36]execute_cgi path=json_proto method=POST [00:15:36]POST find Content-Length [00:15:36]Host: 172.17.53.196:8080 [00:15:36]Content-Length: 215 [00:15:36]Content-Type: application/json [00:15:36] [00:15:36]POST finish read [00:15:36]Found Content-Length = 215 [00:15:36]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:15:36]execute_script... [00:15:36]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:15:36]POST & json_proto [00:15:36]process_json_proto [00:15:36]json parsed OK: [00:15:36]protocol is kg_v1.0 [00:15:36]action value=get_value [00:15:36]process_action get_value [00:15:36]cmd_get_value [00:15:36]process_action get_value done [00:15:36]requested_data is exist [00:15:36]produce_requested_data [00:15:36]requested_item kkm.sn is exist - process it [00:15:36]requested_item kkm.ver is exist - process it [00:15:36]requested_item fm.sn is exist - process it [00:15:36]wFMCommunicate request_size=4 [00:15:36]MH_SAM_APDU [00:15:36]CAPDU: 80 11 00 00 [00:15:36]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:15:36]Write i2c OK [00:15:36]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 [00:15:37]MH_I2C_Read... [00:15:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:15:37]Read from MH i2c: E2 17 00 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 E1 [00:15:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:15:37]wFMCommunicate OK [00:15:37]requested_item fd.num is exist - process it [00:15:37]SAM_PROTO_GetFieldsCounters [00:15:37]wFMCommunicate request_size=4 [00:15:37]MH_SAM_APDU [00:15:37]CAPDU: 80 13 00 00 [00:15:37]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:15:37]Write i2c OK [00:15:37]MH_I2C_Read... [00:15:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:15:37]Read from MH i2c: E2 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 62 00 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 80 [00:15:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 [00:15:37]wFMCommunicate OK [00:15:37]SAM_PROTO_GetFieldsCounters done [00:15:37]requested_item shift.num is exist - process it [00:15:37]requested_item shift.opened is exist - process it [00:15:37]req_shift_opened [00:15:37]FM_GetShiftState [00:15:37]SAM_PROTO_GetShiftState [00:15:37]wFMCommunicate request_size=4 [00:15:37]MH_SAM_APDU [00:15:37]CAPDU: 80 13 01 00 [00:15:37]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:15:37]Write i2c OK [00:15:37]MH_I2C_Read... [00:15:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:15:37]Read from MH i2c: E2 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 0E 00 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 E0 [00:15:37]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:15:37]wFMCommunicate OK [00:15:37]SAM_PROTO_GetShiftState done [00:15:37]FM_GetShiftState done [00:15:37]req_shift_opened done [00:15:37]requested_item shift.open_date is exist - process it [00:15:37]req_shift_open_date [00:15:37]req_shift_open_date done [00:15:37]produce_requested_data done [00:15:37]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:15:37]process_action_free get_value [00:15:37]json_value_free [00:15:37]json_value_free done [00:15:37]process_json_proto returns [00:15:37]Send response to host [00:15:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:15:37]free response buf [00:15:37]execute_script done [00:15:37]execute_script returns [00:15:37]free content buf [00:15:37]Sock 9.Close socket [00:15:37]Sock 9.Thread stoped [00:15:37]accept exits with 7 [00:15:37]New connection [00:15:37]New thread 3067321700 created [00:15:37]Thread 3067465060 joined [00:15:37]Waiting for new connection... [00:15:37] Sock 7.Parse request [00:15:37]Sock 7.Check first char [00:15:37]Sock 7.First char is OK [00:15:37]request: POST /json_proto HTTP/1.0 [00:15:37]Method: POST [00:15:37]URL: /json_proto [00:15:37]Method is POST - this is cgi request [00:15:37]url: /json_proto [00:15:37]query_string will be loaded in cgi processing [00:15:37]execute_cgi json_proto POST (null) [00:15:37]execute_cgi path=json_proto method=POST [00:15:37]POST find Content-Length [00:15:37]Host: 172.17.53.196:8080 [00:15:37]Content-Length: 331 [00:15:37]Content-Type: application/json [00:15:37] [00:15:37]POST finish read [00:15:37]Found Content-Length = 331 [00:15:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:15:37]execute_script... [00:15:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:15:37]POST & json_proto [00:15:37]process_json_proto [00:15:37]json parsed OK: [00:15:37]protocol is kg_v1.0 [00:15:37]action value=get_value [00:15:37]process_action get_value [00:15:37]cmd_get_value [00:15:37]process_action get_value done [00:15:37]requested_data is exist [00:15:37]produce_requested_data [00:15:37]requested_item fm.sale.total is exist - process it [00:15:37]SAM_PROTO_GetFMData [00:15:37]wFMCommunicate request_size=4 [00:15:37]MH_SAM_APDU [00:15:37]CAPDU: 80 13 03 00 [00:15:37]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:15:37]Write i2c OK [00:15:37]MH_I2C_Read... [00:15:37]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:15:37]Read from MH i2c: E2 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 FD 00 [00:15:37]MH_I2C_Read... [00:15:37]Read from MH i2c: E2 FD 00 13 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 D4 [00:15:37]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:15:37]wFMCommunicate OK [00:15:37]wFMCommunicate request_size=4 [00:15:37]MH_SAM_APDU [00:15:37]CAPDU: 80 17 00 00 [00:15:37]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:15:37]Write i2c OK [00:15:37]MH_I2C_Read... [00:15:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:38]Read from MH i2c: E2 [00:15:38]MH_I2C_Read... [00:15:38]Read from MH i2c: E2 FD 00 [00:15:38]MH_I2C_Read... [00:15:38]Read from MH i2c: E2 FD 00 14 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 86 [00:15:38]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:15:38]wFMCommunicate OK [00:15:38]wFMCommunicate request_size=4 [00:15:38]MH_SAM_APDU [00:15:38]CAPDU: 80 17 00 00 [00:15:38]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:15:38]Write i2c OK [00:15:38]MH_I2C_Read... [00:15:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:38]Read from MH i2c: E2 [00:15:38]MH_I2C_Read... [00:15:38]Read from MH i2c: E2 FD 00 [00:15:38]MH_I2C_Read... [00:15:38]Read from MH i2c: E2 FD 00 15 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 39 [00:15:38]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:15:38]wFMCommunicate OK [00:15:38]wFMCommunicate request_size=4 [00:15:38]MH_SAM_APDU [00:15:38]CAPDU: 80 17 00 00 [00:15:38]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:15:38]Write i2c OK [00:15:38]MH_I2C_Read... [00:15:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:38]Read from MH i2c: E2 [00:15:38]MH_I2C_Read... [00:15:38]Read from MH i2c: E2 FD 00 [00:15:38]MH_I2C_Read... [00:15:38]Read from MH i2c: E2 FD 00 16 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 10 [00:15:38]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:15:38]wFMCommunicate OK [00:15:38]wFMCommunicate request_size=4 [00:15:38]MH_SAM_APDU [00:15:38]CAPDU: 80 17 00 00 [00:15:38]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:15:38]Write i2c OK [00:15:38]MH_I2C_Read... [00:15:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:15:39]Read from MH i2c: E2 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 DC 00 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 DC 00 17 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 7B [00:15:39]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:39]wFMCommunicate OK [00:15:39]SAM_PROTO_GetFMData done [00:15:39]requested_item fm.sale_refund.total is exist - process it [00:15:39]requested_item fm.buy.total is exist - process it [00:15:39]requested_item shift.sale.total is exist - process it [00:15:39]SAM_PROTO_GetShiftData [00:15:39]wFMCommunicate request_size=4 [00:15:39]MH_SAM_APDU [00:15:39]CAPDU: 80 13 02 00 [00:15:39]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:15:39]Write i2c OK [00:15:39]MH_I2C_Read... [00:15:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:15:39]Read from MH i2c: E2 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 FD 00 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 FD 00 18 00 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 0B [00:15:39]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:15:39]wFMCommunicate OK [00:15:39]wFMCommunicate request_size=4 [00:15:39]MH_SAM_APDU [00:15:39]CAPDU: 80 17 00 00 [00:15:39]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:15:39]Write i2c OK [00:15:39]MH_I2C_Read... [00:15:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:39]Read from MH i2c: E2 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 FD 00 [00:15:39]MH_I2C_Read... [00:15:39]Read from MH i2c: E2 FD 00 19 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 BB [00:15:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:15:39]wFMCommunicate OK [00:15:39]wFMCommunicate request_size=4 [00:15:39]MH_SAM_APDU [00:15:39]CAPDU: 80 17 00 00 [00:15:39]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:15:39]Write i2c OK [00:15:39]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 FD 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 FD 00 1A 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 51 [00:15:40]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:15:40]wFMCommunicate OK [00:15:40]wFMCommunicate request_size=4 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 17 00 00 [00:15:40]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 FD 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 0D [00:15:40]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:15:40]wFMCommunicate OK [00:15:40]wFMCommunicate request_size=4 [00:15:40]MH_SAM_APDU [00:15:40]CAPDU: 80 17 00 00 [00:15:40]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:15:40]Write i2c OK [00:15:40]MH_I2C_Read... [00:15:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:15:40]Read from MH i2c: E2 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 CB 00 [00:15:40]MH_I2C_Read... [00:15:40]Read from MH i2c: E2 CB 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:15:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:15:40]wFMCommunicate OK [00:15:40]SAM_PROTO_GetShiftData done [00:15:40]requested_item shift.sale.total_cash is exist - process it [00:15:40]requested_item shift.sale_refund.total is exist - process it [00:15:40]requested_item shift.sale_refund.total_cash is exist - process it [00:15:40]requested_item shift.buy.total is exist - process it [00:15:40]requested_item shift.buy.total_cash is exist - process it [00:15:40]produce_requested_data done [00:15:40]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:15:40]process_action_free get_value [00:15:40]json_value_free [00:15:40]json_value_free done [00:15:40]process_json_proto returns [00:15:40]Send response to host [00:15:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:15:40]free response buf [00:15:40]execute_script done [00:15:40]execute_script returns [00:15:40]free content buf [00:15:40]Sock 7.Close socket [00:15:40]Sock 7.Thread stoped [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]accept exits with 9 [00:17:51]New connection [00:17:51]New thread 3067465060 created [00:17:51]Thread 3067321700 joined [00:17:51]Waiting for new connection... [00:17:51] Sock 9.Parse request [00:17:51]Sock 9.Check first char [00:17:51]Sock 9.First char is OK [00:17:51]request: POST /json_proto HTTP/1.0 [00:17:51]Method: POST [00:17:51]URL: /json_proto [00:17:51]Method is POST - this is cgi request [00:17:51]url: /json_proto [00:17:51]query_string will be loaded in cgi processing [00:17:51]execute_cgi json_proto POST (null) [00:17:51]execute_cgi path=json_proto method=POST [00:17:51]POST find Content-Length [00:17:51]Host: 172.17.53.196:8080 [00:17:51]Content-Length: 215 [00:17:51]Content-Type: application/json [00:17:51] [00:17:51]POST finish read [00:17:51]Found Content-Length = 215 [00:17:51]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:17:51]execute_script... [00:17:51]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:17:51]POST & json_proto [00:17:51]process_json_proto [00:17:51]json parsed OK: [00:17:51]protocol is kg_v1.0 [00:17:51]action value=get_value [00:17:51]process_action get_value [00:17:51]cmd_get_value [00:17:51]process_action get_value done [00:17:51]requested_data is exist [00:17:51]produce_requested_data [00:17:51]requested_item kkm.sn is exist - process it [00:17:51]requested_item kkm.ver is exist - process it [00:17:51]requested_item fm.sn is exist - process it [00:17:51]wFMCommunicate request_size=4 [00:17:51]MH_SAM_APDU [00:17:51]CAPDU: 80 11 00 00 [00:17:51]Write to MH i2c: E2 08 00 1D 00 80 11 00 00 00 00 00 00 97 [00:17:51]Write i2c OK [00:17:51]MH_I2C_Read... [00:17:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:51]Read from MH i2c: E2 [00:17:51]MH_I2C_Read... [00:17:51]Read from MH i2c: E2 17 00 [00:17:51]MH_I2C_Read... [00:17:51]Read from MH i2c: E2 17 00 1D 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EE [00:17:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:17:51]wFMCommunicate OK [00:17:51]requested_item fd.num is exist - process it [00:17:51]SAM_PROTO_GetFieldsCounters [00:17:51]wFMCommunicate request_size=4 [00:17:51]MH_SAM_APDU [00:17:51]CAPDU: 80 13 00 00 [00:17:51]Write to MH i2c: E2 08 00 1E 00 80 13 00 00 00 00 00 00 9A [00:17:51]Write i2c OK [00:17:51]MH_I2C_Read... [00:17:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:51]Read from MH i2c: E2 [00:17:51]MH_I2C_Read... [00:17:51]Read from MH i2c: E2 62 00 [00:17:51]MH_I2C_Read... [00:17:51]Read from MH i2c: E2 62 00 1E 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 8D [00:17:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 [00:17:51]wFMCommunicate OK [00:17:51]SAM_PROTO_GetFieldsCounters done [00:17:51]requested_item shift.num is exist - process it [00:17:51]requested_item shift.opened is exist - process it [00:17:51]req_shift_opened [00:17:51]FM_GetShiftState [00:17:51]SAM_PROTO_GetShiftState [00:17:51]wFMCommunicate request_size=4 [00:17:51]MH_SAM_APDU [00:17:51]CAPDU: 80 13 01 00 [00:17:51]Write to MH i2c: E2 08 00 1F 00 80 13 01 00 00 00 00 00 9C [00:17:51]Write i2c OK [00:17:51]MH_I2C_Read... [00:17:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:51]Read from MH i2c: E2 [00:17:51]MH_I2C_Read... [00:17:51]Read from MH i2c: E2 0E 00 [00:17:51]MH_I2C_Read... [00:17:51]Read from MH i2c: E2 0E 00 1F 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 ED [00:17:51]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:17:51]wFMCommunicate OK [00:17:51]SAM_PROTO_GetShiftState done [00:17:51]FM_GetShiftState done [00:17:51]req_shift_opened done [00:17:51]requested_item shift.open_date is exist - process it [00:17:51]req_shift_open_date [00:17:51]req_shift_open_date done [00:17:51]produce_requested_data done [00:17:51]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:17:51]process_action_free get_value [00:17:51]json_value_free [00:17:51]json_value_free done [00:17:51]process_json_proto returns [00:17:51]Send response to host [00:17:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:17:51]free response buf [00:17:51]execute_script done [00:17:51]execute_script returns [00:17:51]free content buf [00:17:51]Sock 9.Close socket [00:17:51]Sock 9.Thread stoped [00:17:51]accept exits with 7 [00:17:51]New connection [00:17:51]New thread 3067321700 created [00:17:51]Thread 3067465060 joined [00:17:51]Waiting for new connection... [00:17:51] Sock 7.Parse request [00:17:51]Sock 7.Check first char [00:17:51]Sock 7.First char is OK [00:17:51]request: POST /json_proto HTTP/1.0 [00:17:51]Method: POST [00:17:51]URL: /json_proto [00:17:51]Method is POST - this is cgi request [00:17:51]url: /json_proto [00:17:51]query_string will be loaded in cgi processing [00:17:51]execute_cgi json_proto POST (null) [00:17:51]execute_cgi path=json_proto method=POST [00:17:51]POST find Content-Length [00:17:51]Host: 172.17.53.196:8080 [00:17:51]Content-Length: 331 [00:17:51]Content-Type: application/json [00:17:51] [00:17:51]POST finish read [00:17:51]Found Content-Length = 331 [00:17:51]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:17:51]execute_script... [00:17:51]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:17:51]POST & json_proto [00:17:51]process_json_proto [00:17:51]json parsed OK: [00:17:51]protocol is kg_v1.0 [00:17:51]action value=get_value [00:17:52]process_action get_value [00:17:52]cmd_get_value [00:17:52]process_action get_value done [00:17:52]requested_data is exist [00:17:52]produce_requested_data [00:17:52]requested_item fm.sale.total is exist - process it [00:17:52]SAM_PROTO_GetFMData [00:17:52]wFMCommunicate request_size=4 [00:17:52]MH_SAM_APDU [00:17:52]CAPDU: 80 13 03 00 [00:17:52]Write to MH i2c: E2 08 00 20 00 80 13 03 00 00 00 00 00 9F [00:17:52]OFD Sender: No OFD packet to send [00:17:52]Write i2c OK [00:17:52]MH_I2C_Read... [00:17:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:17:52]Read from MH i2c: E2 [00:17:52]MH_I2C_Read... [00:17:52]Read from MH i2c: E2 FD 00 [00:17:52]MH_I2C_Read... [00:17:52]Read from MH i2c: E2 FD 00 20 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 E1 [00:17:52]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:17:52]wFMCommunicate OK [00:17:52]wFMCommunicate request_size=4 [00:17:52]MH_SAM_APDU [00:17:52]CAPDU: 80 17 00 00 [00:17:52]Write to MH i2c: E2 08 00 21 00 80 17 00 00 00 00 00 00 A1 [00:17:52]Write i2c OK [00:17:52]MH_I2C_Read... [00:17:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:52]Read from MH i2c: E2 [00:17:52]MH_I2C_Read... [00:17:52]Read from MH i2c: E2 FD 00 [00:17:52]MH_I2C_Read... [00:17:52]Read from MH i2c: E2 FD 00 21 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 93 [00:17:52]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:17:52]wFMCommunicate OK [00:17:52]wFMCommunicate request_size=4 [00:17:52]MH_SAM_APDU [00:17:52]CAPDU: 80 17 00 00 [00:17:52]Write to MH i2c: E2 08 00 22 00 80 17 00 00 00 00 00 00 A2 [00:17:52]Write i2c OK [00:17:52]MH_I2C_Read... [00:17:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:52]Read from MH i2c: E2 [00:17:52]MH_I2C_Read... [00:17:52]Read from MH i2c: E2 FD 00 [00:17:52]MH_I2C_Read... [00:17:52]Read from MH i2c: E2 FD 00 22 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 46 [00:17:52]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:17:52]wFMCommunicate OK [00:17:52]wFMCommunicate request_size=4 [00:17:52]MH_SAM_APDU [00:17:52]CAPDU: 80 17 00 00 [00:17:52]Write to MH i2c: E2 08 00 23 00 80 17 00 00 00 00 00 00 A3 [00:17:52]Write i2c OK [00:17:52]MH_I2C_Read... [00:17:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:53]Read from MH i2c: E2 [00:17:53]MH_I2C_Read... [00:17:53]Read from MH i2c: E2 FD 00 [00:17:53]MH_I2C_Read... [00:17:53]Read from MH i2c: E2 FD 00 23 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 1D [00:17:53]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:17:53]wFMCommunicate OK [00:17:53]wFMCommunicate request_size=4 [00:17:53]MH_SAM_APDU [00:17:53]CAPDU: 80 17 00 00 [00:17:53]Write to MH i2c: E2 08 00 24 00 80 17 00 00 00 00 00 00 A4 [00:17:53]Write i2c OK [00:17:53]MH_I2C_Read... [00:17:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:17:53]Read from MH i2c: E2 [00:17:53]MH_I2C_Read... [00:17:53]Read from MH i2c: E2 DC 00 [00:17:53]MH_I2C_Read... [00:17:53]Read from MH i2c: E2 DC 00 24 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 88 [00:17:53]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:17:53]wFMCommunicate OK [00:17:53]SAM_PROTO_GetFMData done [00:17:53]requested_item fm.sale_refund.total is exist - process it [00:17:53]requested_item fm.buy.total is exist - process it [00:17:53]requested_item shift.sale.total is exist - process it [00:17:53]SAM_PROTO_GetShiftData [00:17:53]wFMCommunicate request_size=4 [00:17:53]MH_SAM_APDU [00:17:53]CAPDU: 80 13 02 00 [00:17:53]Write to MH i2c: E2 08 00 25 00 80 13 02 00 00 00 00 00 A3 [00:17:53]Write i2c OK [00:17:53]MH_I2C_Read... [00:17:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:17:53]Read from MH i2c: E2 [00:17:53]MH_I2C_Read... [00:17:53]Read from MH i2c: E2 FD 00 [00:17:53]MH_I2C_Read... [00:17:53]Read from MH i2c: E2 FD 00 25 00 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 18 [00:17:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:17:53]wFMCommunicate OK [00:17:53]wFMCommunicate request_size=4 [00:17:53]MH_SAM_APDU [00:17:53]CAPDU: 80 17 00 00 [00:17:53]Write to MH i2c: E2 08 00 26 00 80 17 00 00 00 00 00 00 A6 [00:17:53]Write i2c OK [00:17:53]MH_I2C_Read... [00:17:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:54]Read from MH i2c: E2 [00:17:54]MH_I2C_Read... [00:17:54]Read from MH i2c: E2 FD 00 [00:17:54]MH_I2C_Read... [00:17:54]Read from MH i2c: E2 FD 00 26 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 C8 [00:17:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:17:54]wFMCommunicate OK [00:17:54]wFMCommunicate request_size=4 [00:17:54]MH_SAM_APDU [00:17:54]CAPDU: 80 17 00 00 [00:17:54]Write to MH i2c: E2 08 00 27 00 80 17 00 00 00 00 00 00 A7 [00:17:54]Write i2c OK [00:17:54]MH_I2C_Read... [00:17:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:54]Read from MH i2c: E2 [00:17:54]MH_I2C_Read... [00:17:54]Read from MH i2c: E2 FD 00 [00:17:54]MH_I2C_Read... [00:17:54]Read from MH i2c: E2 FD 00 27 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 5E [00:17:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:17:54]wFMCommunicate OK [00:17:54]wFMCommunicate request_size=4 [00:17:54]MH_SAM_APDU [00:17:54]CAPDU: 80 17 00 00 [00:17:54]Write to MH i2c: E2 08 00 28 00 80 17 00 00 00 00 00 00 A8 [00:17:54]Write i2c OK [00:17:54]MH_I2C_Read... [00:17:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:54]Read from MH i2c: E2 [00:17:54]MH_I2C_Read... [00:17:54]Read from MH i2c: E2 FD 00 [00:17:54]MH_I2C_Read... [00:17:54]Read from MH i2c: E2 FD 00 28 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 1A [00:17:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:17:54]wFMCommunicate OK [00:17:54]wFMCommunicate request_size=4 [00:17:54]MH_SAM_APDU [00:17:54]CAPDU: 80 17 00 00 [00:17:54]Write to MH i2c: E2 08 00 29 00 80 17 00 00 00 00 00 00 A9 [00:17:54]Write i2c OK [00:17:54]MH_I2C_Read... [00:17:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:17:55]Read from MH i2c: E2 [00:17:55]MH_I2C_Read... [00:17:55]Read from MH i2c: E2 CB 00 [00:17:55]MH_I2C_Read... [00:17:55]Read from MH i2c: E2 CB 00 29 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [00:17:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:17:55]wFMCommunicate OK [00:17:55]SAM_PROTO_GetShiftData done [00:17:55]requested_item shift.sale.total_cash is exist - process it [00:17:55]requested_item shift.sale_refund.total is exist - process it [00:17:55]requested_item shift.sale_refund.total_cash is exist - process it [00:17:55]requested_item shift.buy.total is exist - process it [00:17:55]requested_item shift.buy.total_cash is exist - process it [00:17:55]produce_requested_data done [00:17:55]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:17:55]process_action_free get_value [00:17:55]json_value_free [00:17:55]json_value_free done [00:17:55]process_json_proto returns [00:17:55]Send response to host [00:17:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:17:55]free response buf [00:17:55]execute_script done [00:17:55]execute_script returns [00:17:55]free content buf [00:17:55]Sock 7.Close socket [00:17:55]Sock 7.Thread stoped [00:17:55]accept exits with 9 [00:17:55]New connection [00:17:55]New thread 3067465060 created [00:17:55]Thread 3067321700 joined [00:17:55]Waiting for new connection... [00:17:55] Sock 9.Parse request [00:17:55]Sock 9.Check first char [00:17:55]Sock 9.First char is OK [00:17:55]request: POST /json_proto HTTP/1.0 [00:17:55]Method: POST [00:17:55]URL: /json_proto [00:17:55]Method is POST - this is cgi request [00:17:55]url: /json_proto [00:17:55]query_string will be loaded in cgi processing [00:17:55]execute_cgi json_proto POST (null) [00:17:55]execute_cgi path=json_proto method=POST [00:17:55]POST find Content-Length [00:17:55]Host: 172.17.53.196:8080 [00:17:55]Content-Length: 331 [00:17:55]Content-Type: application/json [00:17:55] [00:17:55]POST finish read [00:17:55]Found Content-Length = 331 [00:17:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:17:55]execute_script... [00:17:55]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:17:55]POST & json_proto [00:17:55]process_json_proto [00:17:55]json parsed OK: [00:17:55]protocol is kg_v1.0 [00:17:55]action value=get_value [00:17:55]process_action get_value [00:17:55]cmd_get_value [00:17:55]process_action get_value done [00:17:55]requested_data is exist [00:17:55]produce_requested_data [00:17:55]requested_item fm.sale.total is exist - process it [00:17:55]SAM_PROTO_GetFMData [00:17:55]wFMCommunicate request_size=4 [00:17:55]MH_SAM_APDU [00:17:55]CAPDU: 80 13 03 00 [00:17:55]Write to MH i2c: E2 08 00 2A 00 80 13 03 00 00 00 00 00 A9 [00:17:55]Write i2c OK [00:17:55]MH_I2C_Read... [00:17:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:17:55]Read from MH i2c: E2 [00:17:55]MH_I2C_Read... [00:17:55]Read from MH i2c: E2 FD 00 [00:17:55]MH_I2C_Read... [00:17:55]Read from MH i2c: E2 FD 00 2A 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 EB [00:17:55]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:17:55]wFMCommunicate OK [00:17:55]wFMCommunicate request_size=4 [00:17:55]MH_SAM_APDU [00:17:55]CAPDU: 80 17 00 00 [00:17:55]Write to MH i2c: E2 08 00 2B 00 80 17 00 00 00 00 00 00 AB [00:17:55]Write i2c OK [00:17:55]MH_I2C_Read... [00:17:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:55]Read from MH i2c: E2 [00:17:55]MH_I2C_Read... [00:17:55]Read from MH i2c: E2 FD 00 [00:17:55]MH_I2C_Read... [00:17:55]Read from MH i2c: E2 FD 00 2B 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 9D [00:17:56]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:17:56]wFMCommunicate OK [00:17:56]wFMCommunicate request_size=4 [00:17:56]MH_SAM_APDU [00:17:56]CAPDU: 80 17 00 00 [00:17:56]Write to MH i2c: E2 08 00 2C 00 80 17 00 00 00 00 00 00 AC [00:17:56]Write i2c OK [00:17:56]MH_I2C_Read... [00:17:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:56]Read from MH i2c: E2 [00:17:56]MH_I2C_Read... [00:17:56]Read from MH i2c: E2 FD 00 [00:17:56]MH_I2C_Read... [00:17:56]Read from MH i2c: E2 FD 00 2C 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 50 [00:17:56]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:17:56]wFMCommunicate OK [00:17:56]wFMCommunicate request_size=4 [00:17:56]MH_SAM_APDU [00:17:56]CAPDU: 80 17 00 00 [00:17:56]Write to MH i2c: E2 08 00 2D 00 80 17 00 00 00 00 00 00 AD [00:17:56]Write i2c OK [00:17:56]MH_I2C_Read... [00:17:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:56]Read from MH i2c: E2 [00:17:56]MH_I2C_Read... [00:17:56]Read from MH i2c: E2 FD 00 [00:17:56]MH_I2C_Read... [00:17:56]Read from MH i2c: E2 FD 00 2D 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 27 [00:17:56]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:17:56]wFMCommunicate OK [00:17:56]wFMCommunicate request_size=4 [00:17:56]MH_SAM_APDU [00:17:56]CAPDU: 80 17 00 00 [00:17:56]Write to MH i2c: E2 08 00 2E 00 80 17 00 00 00 00 00 00 AE [00:17:56]Write i2c OK [00:17:56]MH_I2C_Read... [00:17:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:17:57]Read from MH i2c: E2 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 DC 00 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 DC 00 2E 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 92 [00:17:57]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 OFD Sender: No OFD packet to send [00:17:57]00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:17:57]wFMCommunicate OK [00:17:57]SAM_PROTO_GetFMData done [00:17:57]requested_item fm.sale_refund.total is exist - process it [00:17:57]requested_item fm.buy.total is exist - process it [00:17:57]requested_item shift.sale.total is exist - process it [00:17:57]SAM_PROTO_GetShiftData [00:17:57]wFMCommunicate request_size=4 [00:17:57]MH_SAM_APDU [00:17:57]CAPDU: 80 13 02 00 [00:17:57]Write to MH i2c: E2 08 00 2F 00 80 13 02 00 00 00 00 00 AD [00:17:57]Write i2c OK [00:17:57]MH_I2C_Read... [00:17:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:17:57]Read from MH i2c: E2 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 FD 00 [00:17:57]MH_I2C_Read... [00:17:57]Read from MH i2c: E2 FD 00 2F 00 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 22 [00:17:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:17:57]wFMCommunicate OK [00:17:57]wFMCommunicate request_size=4 [00:17:57]MH_SAM_APDU [00:17:57]CAPDU: 80 17 00 00 [00:17:57]Write to MH i2c: E2 08 00 30 00 80 17 00 00 00 00 00 00 B0 [00:17:57]Write i2c OK [00:17:57]MH_I2C_Read... [00:17:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:58]Read from MH i2c: E2 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 30 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 D2 [00:17:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:17:58]wFMCommunicate OK [00:17:58]wFMCommunicate request_size=4 [00:17:58]MH_SAM_APDU [00:17:58]CAPDU: 80 17 00 00 [00:17:58]Write to MH i2c: E2 08 00 31 00 80 17 00 00 00 00 00 00 B1 [00:17:58]Write i2c OK [00:17:58]MH_I2C_Read... [00:17:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:58]Read from MH i2c: E2 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 31 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 68 [00:17:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:17:58]wFMCommunicate OK [00:17:58]wFMCommunicate request_size=4 [00:17:58]MH_SAM_APDU [00:17:58]CAPDU: 80 17 00 00 [00:17:58]Write to MH i2c: E2 08 00 32 00 80 17 00 00 00 00 00 00 B2 [00:17:58]Write i2c OK [00:17:58]MH_I2C_Read... [00:17:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:17:58]Read from MH i2c: E2 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 [00:17:58]MH_I2C_Read... [00:17:58]Read from MH i2c: E2 FD 00 32 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 24 [00:17:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:17:58]wFMCommunicate OK [00:17:58]wFMCommunicate request_size=4 [00:17:58]MH_SAM_APDU [00:17:58]CAPDU: 80 17 00 00 [00:17:58]Write to MH i2c: E2 08 00 33 00 80 17 00 00 00 00 00 00 B3 [00:17:58]Write i2c OK [00:17:58]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 CB 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 CB 00 33 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9C [00:17:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:17:59]wFMCommunicate OK [00:17:59]SAM_PROTO_GetShiftData done [00:17:59]requested_item shift.sale.total_cash is exist - process it [00:17:59]requested_item shift.sale_refund.total is exist - process it [00:17:59]requested_item shift.sale_refund.total_cash is exist - process it [00:17:59]requested_item shift.buy.total is exist - process it [00:17:59]requested_item shift.buy.total_cash is exist - process it [00:17:59]produce_requested_data done [00:17:59]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:17:59]process_action_free get_value [00:17:59]json_value_free [00:17:59]json_value_free done [00:17:59]process_json_proto returns [00:17:59]Send response to host [00:17:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:17:59]free response buf [00:17:59]execute_script done [00:17:59]execute_script returns [00:17:59]free content buf [00:17:59]Sock 9.Close socket [00:17:59]Sock 9.Thread stoped [00:17:59]accept exits with 7 [00:17:59]New connection [00:17:59]New thread 3067321700 created [00:17:59]Thread 3067465060 joined [00:17:59]Waiting for new connection... [00:17:59] Sock 7.Parse request [00:17:59]Sock 7.Check first char [00:17:59]Sock 7.First char is OK [00:17:59]request: POST /json_proto HTTP/1.0 [00:17:59]Method: POST [00:17:59]URL: /json_proto [00:17:59]Method is POST - this is cgi request [00:17:59]url: /json_proto [00:17:59]query_string will be loaded in cgi processing [00:17:59]execute_cgi json_proto POST (null) [00:17:59]execute_cgi path=json_proto method=POST [00:17:59]POST find Content-Length [00:17:59]Host: 172.17.53.196:8080 [00:17:59]Content-Length: 245 [00:17:59]Content-Type: application/json [00:17:59] [00:17:59]POST finish read [00:17:59]Found Content-Length = 245 [00:17:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0430\u043B\u0438\u0435\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:59]execute_script... [00:17:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u0430\u043B\u0438\u0435\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:59]POST & json_proto [00:17:59]process_json_proto [00:17:59]json parsed OK: [00:17:59]protocol is kg_v1.0 [00:17:59]action value=x_report [00:17:59]process_action x_report [00:17:59]cmd_x_report [00:17:59]MH_GetDate [00:17:59]Write to MH i2c: F0 00 00 34 00 23 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 09 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 09 00 34 00 00 B7 40 18 67 4F CD 9A 65 BD [00:17:59]GetLastDocTimeStamp 112 [00:17:59]current date 1729642679 [00:17:59]FM_GetShiftState [00:17:59]SAM_PROTO_GetShiftState [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 13 01 00 [00:17:59]Write to MH i2c: E2 08 00 35 00 80 13 01 00 00 00 00 00 B2 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 0E 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 0E 00 35 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 03 [00:17:59]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:17:59]wFMCommunicate OK [00:17:59]SAM_PROTO_GetShiftState done [00:17:59]FM_GetShiftState done [00:17:59]KKMCreateXReportDocument [00:17:59]Load OK [00:17:59]Malloc new data [00:17:59]MH_GetDate [00:17:59]Write to MH i2c: F0 00 00 36 00 25 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 09 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 09 00 36 00 00 B7 40 18 67 4F CD 9A 65 BF [00:17:59]Malloc new data [00:17:59]Malloc new data [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 11 00 00 [00:17:59]Write to MH i2c: E2 08 00 37 00 80 11 00 00 00 00 00 00 B1 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 17 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 17 00 37 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 08 [00:17:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:17:59]wFMCommunicate OK [00:17:59]SAM_PROTO_GetFieldsCounters [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 13 00 00 [00:17:59]Write to MH i2c: E2 08 00 38 00 80 13 00 00 00 00 00 00 B4 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 62 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 62 00 38 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 A7 [00:17:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 [00:17:59]wFMCommunicate OK [00:17:59]SAM_PROTO_GetFieldsCounters done [00:17:59]Malloc new data [00:17:59]Malloc new data [00:17:59]Malloc new data [00:17:59]KKMCreateXReportDocument OK [00:17:59]KKMSetXReportData OK [00:17:59]KKMPrepareXReportFMData [00:17:59]SAM_PROTO_GetShiftData [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 13 02 00 [00:17:59]Write to MH i2c: E2 08 00 39 00 80 13 02 00 00 00 00 00 B7 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 39 00 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2C [00:18:00]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 17 00 00 [00:18:00]Write to MH i2c: E2 08 00 3A 00 80 17 00 00 00 00 00 00 BA [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: *** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:00]E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 3A 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 DC [00:18:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 17 00 00 [00:18:00]Write to MH i2c: E2 08 00 3B 00 80 17 00 00 00 00 00 00 BB [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 FD 00 3B 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 72 [00:18:00]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:18:01]wFMCommunicate OK [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 17 00 00 [00:18:01]Write to MH i2c: E2 08 00 3C 00 80 17 00 00 00 00 00 00 BC [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 FD 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 FD 00 3C 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 2E [00:18:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:18:01]wFMCommunicate OK [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 17 00 00 [00:18:01]Write to MH i2c: E2 08 00 3D 00 80 17 00 00 00 00 00 00 BD [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 CB 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 CB 00 3D 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [00:18:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:01]wFMCommunicate OK [00:18:01]SAM_PROTO_GetShiftData done [00:18:01]1194 (1194) - счетчики итогов смены [00:18:01] 1134 (4) - 67 - количество чеков со всеми признаками расчетов [00:18:01] 1129 (155) - счетчики операций «приход» [00:18:01] 1135 (4) - 67 - количество чеков по признаку расчетов [00:18:01] 1201 (3) - 9496.00 - общая итоговая сумма в чеках [00:18:01] 1136 (3) - 8337.00 - итоговая сумма в чеках наличными [00:18:01] 1138 (3) - 1159.00 - итоговая сумма в чеках безналичными [00:18:01] 1024 (122) - суммы налогов [00:18:01] 1006 (9) - суммы НДС [00:18:01] 1010 (1) - 0% - код ставки НДС [00:18:01] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:01] 1006 (12) - суммы НДС [00:18:01] 1010 (1) - 12% - код ставки НДС [00:18:01] 1011 (3) - 1008.33 - сумма НДС по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 0% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1007 (11) - суммы НСП [00:18:01] 1014 (1) - 1% - код ставки НСП [00:18:01] 1015 (2) - 83.99 - сумма НСП по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 2% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 3% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 5% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 0,50% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 1,50% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1130 (141) - счетчики операций «возврат прихода» [00:18:01] 1135 (4) - 0 - количество чеков по признаку расчетов [00:18:01] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:18:01] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:18:01] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:18:01] 1024 (117) - суммы налогов [00:18:01] 1006 (9) - суммы НДС [00:18:01] 1010 (1) - 0% - код ставки НДС [00:18:01] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:01] 1006 (9) - суммы НДС [00:18:01] 1010 (1) - 12% - код ставки НДС [00:18:01] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 0% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:01] 1007 (9) - суммы НСП [00:18:01] 1014 (1) - 1% - код ставки НСП [00:18:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 2% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 3% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 5% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 0,50% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 1,50% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1131 (141) - счетчики операций «расход» [00:18:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:18:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:18:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:18:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:18:02] 1024 (117) - суммы налогов [00:18:02] 1006 (9) - суммы НДС [00:18:02] 1010 (1) - 0% - код ставки НДС [00:18:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:02] 1006 (9) - суммы НДС [00:18:02] 1010 (1) - 12% - код ставки НДС [00:18:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 0% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 1% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 2% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 3% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 5% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 0,50% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 1,50% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1132 (141) - счетчики операций «возврат расхода» [00:18:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:18:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:18:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:18:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:18:02] 1024 (117) - суммы налогов [00:18:02] 1006 (9) - суммы НДС [00:18:02] 1010 (1) - 0% - код ставки НДС [00:18:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:02] 1006 (9) - суммы НДС [00:18:02] 1010 (1) - 12% - код ставки НДС [00:18:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 0% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 1% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 2% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 3% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 5% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 0,50% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1007 (9) - суммы НСП [00:18:02] 1014 (1) - 1,50% - код ставки НСП [00:18:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:02] 1133 (588) - - счетчики коррекции - не используются [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1194 (04AA) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1134 (046E) [00:18:02]Malloc new data [00:18:02]Processing tag 1129 (0469) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1135 (046F) [00:18:02]Malloc new data [00:18:02]Processing tag 1201 (04B1) [00:18:02]Malloc new data [00:18:02]Processing tag 1136 (0470) [00:18:02]Malloc new data [00:18:02]Processing tag 1138 (0472) [00:18:02]Malloc new data [00:18:02]Processing tag 1024 (0400) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1006 (03EE) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1010 (03F2) [00:18:02]Malloc new data [00:18:02]Processing tag 1011 (03F3) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1006 (03EE) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1010 (03F2) [00:18:02]Malloc new data [00:18:02]Processing tag 1011 (03F3) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]OFD Sender: No OFD packet to send [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]SetTLVBufToDocument err=0 [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1130 (046A) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1135 (046F) [00:18:02]Malloc new data [00:18:02]Processing tag 1201 (04B1) [00:18:02]Malloc new data [00:18:02]Processing tag 1136 (0470) [00:18:02]Malloc new data [00:18:02]Processing tag 1138 (0472) [00:18:02]Malloc new data [00:18:02]Processing tag 1024 (0400) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1006 (03EE) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1010 (03F2) [00:18:02]Malloc new data [00:18:02]Processing tag 1011 (03F3) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1006 (03EE) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1010 (03F2) [00:18:02]Malloc new data [00:18:02]Processing tag 1011 (03F3) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]SetTLVBufToDocument err=0 [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1131 (046B) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1135 (046F) [00:18:02]Malloc new data [00:18:02]Processing tag 1201 (04B1) [00:18:02]Malloc new data [00:18:02]Processing tag 1136 (0470) [00:18:02]Malloc new data [00:18:02]Processing tag 1138 (0472) [00:18:02]Malloc new data [00:18:02]Processing tag 1024 (0400) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1006 (03EE) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1010 (03F2) [00:18:02]Malloc new data [00:18:02]Processing tag 1011 (03F3) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1006 (03EE) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1010 (03F2) [00:18:02]Malloc new data [00:18:02]Processing tag 1011 (03F3) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1007 (03EF) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1014 (03F6) [00:18:02]Malloc new data [00:18:02]Processing tag 1015 (03F7) [00:18:02]Malloc new data [00:18:02]SetTLVBufToDocument err=0 [00:18:02]SetTLVBufToDocument err=0 [00:18:02]SetTLVBufToDocument err=0 [00:18:02]Processing tag 1132 (046C) [00:18:02]Load OK [00:18:02]SetTLVBufToDocument [00:18:02]Processing tag 1135 (046F) [00:18:02]Malloc new data [00:18:02]Processing tag 1201 (04B1) [00:18:02]Malloc new data [00:18:02]Processing tag 1136 (0470) [00:18:02]Malloc new data [00:18:03]Processing tag 1138 (0472) [00:18:03]Malloc new data [00:18:03]Processing tag 1024 (0400) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1006 (03EE) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1010 (03F2) [00:18:03]Malloc new data [00:18:03]Processing tag 1011 (03F3) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1006 (03EE) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1010 (03F2) [00:18:03]Malloc new data [00:18:03]Processing tag 1011 (03F3) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1007 (03EF) [00:18:03]Load OK [00:18:03]SetTLVBufToDocument [00:18:03]Processing tag 1014 (03F6) [00:18:03]Malloc new data [00:18:03]Processing tag 1015 (03F7) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]SetTLVBufToDocument err=0 [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Processing tag 1133 (046D) [00:18:03]Malloc new data [00:18:03]SetTLVBufToDocument err=0 [00:18:03]SetTLVBufToDocument err=0 [00:18:03]Malloc new data [00:18:03]SAM_PROTO_GetFMData [00:18:03]wFMCommunicate request_size=4 [00:18:03]MH_SAM_APDU [00:18:03]CAPDU: 80 13 03 00 [00:18:03]Write to MH i2c: E2 08 00 3E 00 80 13 03 00 00 00 00 00 BD [00:18:03]Write i2c OK [00:18:03]MH_I2C_Read... [00:18:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:03]Read from MH i2c: E2 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 FD 00 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 FD 00 3E 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 FF [00:18:03]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:18:03]wFMCommunicate OK [00:18:03]wFMCommunicate request_size=4 [00:18:03]MH_SAM_APDU [00:18:03]CAPDU: 80 17 00 00 [00:18:03]Write to MH i2c: E2 08 00 3F 00 80 17 00 00 00 00 00 00 BF [00:18:03]Write i2c OK [00:18:03]MH_I2C_Read... [00:18:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:03]Read from MH i2c: E2 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 FD 00 [00:18:03]MH_I2C_Read... [00:18:03]Read from MH i2c: E2 FD 00 3F 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 B1 [00:18:04]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:18:04]wFMCommunicate OK [00:18:04]wFMCommunicate request_size=4 [00:18:04]MH_SAM_APDU [00:18:04]CAPDU: 80 17 00 00 [00:18:04]Write to MH i2c: E2 08 00 40 00 80 17 00 00 00 00 00 00 C0 [00:18:04]Write i2c OK [00:18:04]MH_I2C_Read... [00:18:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:04]Read from MH i2c: E2 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 40 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 64 [00:18:04]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:18:04]wFMCommunicate OK [00:18:04]wFMCommunicate request_size=4 [00:18:04]MH_SAM_APDU [00:18:04]CAPDU: 80 17 00 00 [00:18:04]Write to MH i2c: E2 08 00 41 00 80 17 00 00 00 00 00 00 C1 [00:18:04]Write i2c OK [00:18:04]MH_I2C_Read... [00:18:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:04]Read from MH i2c: E2 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 [00:18:04]MH_I2C_Read... [00:18:04]Read from MH i2c: E2 FD 00 41 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 3B [00:18:05]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:18:05]wFMCommunicate OK [00:18:05]wFMCommunicate request_size=4 [00:18:05]MH_SAM_APDU [00:18:05]CAPDU: 80 17 00 00 [00:18:05]Write to MH i2c: E2 08 00 42 00 80 17 00 00 00 00 00 00 C2 [00:18:05]Write i2c OK [00:18:05]MH_I2C_Read... [00:18:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:18:05]Read from MH i2c: E2 [00:18:05]MH_I2C_Read... [00:18:05]Read from MH i2c: E2 DC 00 [00:18:05]MH_I2C_Read... [00:18:05]Read from MH i2c: E2 DC 00 42 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [00:18:05]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:18:05]wFMCommunicate OK [00:18:05]SAM_PROTO_GetFMData done [00:18:05]FM_GetFMData:85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 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 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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:18:06]oper:6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:18:06]total:7C 87 D3 14 [00:18:06]Malloc new data [00:18:06]oper:6F 04 04 00 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 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 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:18:06]total:1C 7E 06 [00:18:06]Malloc new data [00:18:06]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:18:06]total: [00:18:06]Malloc new data [00:18:06]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:18:06]total: [00:18:06]Malloc new data [00:18:06]KKMPrepareXReportFMData err=0 [00:18:06]Х отчет ИНН: 02508201610067 Кассир: Салиев Э. 23.10.2024 00:17 Смена: 266 РНМ: 0000000000098147 ЗНМ: 0300000240 СНО: Общий режим Всего чеков: 67 ИТОГИ ПРИХОД Чеков: 67 Общий итог: 9496.00 Итого наличными: 8337.00 Итого безнал.: 1159.00 НДС 0% : 0.00 НДС 12% : 1008.33 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 83.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 8337.00 НС Приход: 3494071.00 НС Возвр.Прихода: 4255.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965376 [00:18:06]StoreToDocumentArchive [00:18:06]MH_GetDate [00:18:06]Write to MH i2c: F0 00 00 43 00 32 [00:18:06]Write i2c OK [00:18:06]MH_I2C_Read... [00:18:06]Read from MH i2c: F0 [00:18:06]MH_I2C_Read... [00:18:06]Read from MH i2c: F0 09 00 [00:18:06]MH_I2C_Read... [00:18:06]Read from MH i2c: F0 09 00 43 00 00 BE 40 18 67 4F CD 9A 65 D3 [00:18:06]shift 266 fd 1729642686 [00:18:06]Create dir for shift 0266 [00:18:06]save to /storage/0266/doc_1729642686 [00:18:06]save last doc name /storage/0266/doc_1729642686 to /storage/kkm_last_doc_name [00:18:06]save OK [00:18:06]Clear old archive folders... [00:18:06]NVStorageSaveData kkm_last_timestamp [00:18:06]File name is /storage/kkm_last_timestamp [00:18:06]Write 4 bytes [00:18:06]NVStorageSaveData done [00:18:06]ExternCall_PrintAddStr [00:18:06]wPrintStart [00:18:06]Write to MH i2c: 01 00 00 44 00 44 [00:18:06]Write i2c OK [00:18:06]MH_I2C_Read... [00:18:06]Read from MH i2c: 01 [00:18:06]MH_I2C_Read... [00:18:06]Read from MH i2c: 01 07 00 [00:18:06]MH_I2C_Read... [00:18:06]Read from MH i2c: 01 07 00 44 00 00 00 00 00 00 FF 0F 59 [00:18:06]RasterBufferAndPrint [00:18:06]line Х отчет [00:18:06]line ИНН: 02508201610067 [00:18:06]line Кассир: Салиев Э. [00:18:06]line 23.10.2024 00:17 [00:18:06]line Смена: 266 [00:18:06]line РНМ: 0000000000098147 [00:18:06]line ЗНМ: 0300000240 [00:18:06]line СНО: Общий режим [00:18:06]line Всего чеков: 67 [00:18:06]line ИТОГИ ПРИХОД [00:18:06]line Чеков: 67 [00:18:06]line Общий итог: 9496.00 [00:18:06]line Итого наличными: 8337.00 [00:18:06]line Итого безнал.: 1159.00 [00:18:06]line НДС 0% : 0.00 [00:18:06]line НДС 12% : 1008.33 [00:18:06]line НСП 0% : 0.00 [00:18:06]line НСП 1,50% : 0.00 [00:18:06]line НСП 0,50% : 0.00 [00:18:06]line НСП 5% : 0.00 [00:18:06]line НСП 3% : 0.00 [00:18:06]line НСП 2% : 0.00 [00:18:06]line НСП 1% : 83.99 [00:18:06]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:18:06]line Чеков: 0 [00:18:06]line Общий итог: 0.00 [00:18:06]line Итого наличными: 0.00 [00:18:06]line Итого безнал.: 0.00 [00:18:06]line НДС 0% : 0.00 [00:18:06]line НДС 12% : 0.00 [00:18:06]line НСП 0% : 0.00 [00:18:06]line НСП 1,50% : 0.00 [00:18:06]line НСП 0,50% : 0.00 [00:18:06]line НСП 5% : 0.00 [00:18:06]line НСП 3% : 0.00 [00:18:06]line НСП 2% : 0.00 [00:18:06]line НСП 1% : 0.00 [00:18:06]line ИТОГИ РАСХОД [00:18:06]line Чеков: 0 [00:18:06]line Общий итог: 0.00 [00:18:06]line Итого наличными: 0.00 [00:18:06]line Итого безнал.: 0.00 [00:18:06]line НДС 0% : 0.00 [00:18:06]line НДС 12% : 0.00 [00:18:06]line НСП 0% : 0.00 [00:18:06]line НСП 1,50% : 0.00 [00:18:06]line НСП 0,50% : 0.00 [00:18:06]line НСП 5% : 0.00 [00:18:06]line НСП 3% : 0.00 [00:18:06]line НСП 2% : 0.00 [00:18:06]line НСП 1% : 0.00 [00:18:06]line ИТОГИ ВОЗВРАТ РАСХОДА [00:18:06]line Чеков: 0 [00:18:06]line Общий итог: 0.00 [00:18:06]line Итого наличными: 0.00 [00:18:06]line Итого безнал.: 0.00 [00:18:06]line НДС 0% : 0.00 [00:18:06]line НДС 12% : 0.00 [00:18:06]line НСП 0% : 0.00 [00:18:06]line НСП 1,50% : 0.00 [00:18:06]line НСП 0,50% : 0.00 [00:18:06]line НСП 5% : 0.00 [00:18:06]line НСП 3% : 0.00 [00:18:06]line НСП 2% : 0.00 [00:18:06]line НСП 1% : 0.00 [00:18:06]line Сумма внесений: 0.00 [00:18:06]line Сумма выплат: 0.00 [00:18:06]line Нал. в кассе: 8337.00 [00:18:06]line НС Приход: 3494071.00 [00:18:06]line НС Возвр.Прихода: 4255.00 [00:18:06]line НС Расход: 0.00 [00:18:06]line НС Возвр.Расхода: 0.00 [00:18:06]line ФМ: 0000000000965376 [00:18:06]written 0, free lines is 4095 [00:18:07]Write to MH i2c: 01 00 00 8F 00 8F [00:18:07]Write i2c OK [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: 01 [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: 01 07 00 [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: 01 07 00 8F 00 00 00 00 00 00 84 0A 24 [00:18:07]RasterBufferAndPrint [00:18:07]line [00:18:07]line [00:18:07]line [00:18:07]line [00:18:07]line [00:18:07]written 0, free lines is 2719 [00:18:07]process_action x_report done [00:18:07]requested_data is exist [00:18:07]produce_requested_data [00:18:07]requested_item fd.num is exist - process it [00:18:07]SAM_PROTO_GetFieldsCounters [00:18:07]wFMCommunicate request_size=4 [00:18:07]MH_SAM_APDU [00:18:07]CAPDU: 80 13 00 00 [00:18:07]Write to MH i2c: E2 08 00 96 00 80 13 00 00 00 00 00 00 12 [00:18:07]Write i2c OK [00:18:07]MH_I2C_Read... [00:18:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:07]Read from MH i2c: E2 [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: E2 62 00 [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: E2 62 00 96 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 05 [00:18:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 [00:18:07]wFMCommunicate OK [00:18:07]SAM_PROTO_GetFieldsCounters done [00:18:07]requested_item shift.num is exist - process it [00:18:07]requested_item shift.opened is exist - process it [00:18:07]req_shift_opened [00:18:07]FM_GetShiftState [00:18:07]SAM_PROTO_GetShiftState [00:18:07]wFMCommunicate request_size=4 [00:18:07]MH_SAM_APDU [00:18:07]CAPDU: 80 13 01 00 [00:18:07]Write to MH i2c: E2 08 00 97 00 80 13 01 00 00 00 00 00 14 [00:18:07]OFD Sender: No OFD packet to send [00:18:07]Write i2c OK [00:18:07]MH_I2C_Read... [00:18:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:07]Read from MH i2c: E2 [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: E2 0E 00 [00:18:07]MH_I2C_Read... [00:18:07]Read from MH i2c: E2 0E 00 97 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 65 [00:18:07]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:18:07]wFMCommunicate OK [00:18:07]SAM_PROTO_GetShiftState done [00:18:07]FM_GetShiftState done [00:18:07]req_shift_opened done [00:18:07]requested_item shift.open_date is exist - process it [00:18:07]req_shift_open_date [00:18:07]req_shift_open_date done [00:18:07]produce_requested_data done [00:18:07]produce_requested_data return {"fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:18:07]process_action_free x_report [00:18:07]json_value_free [00:18:07]json_value_free done [00:18:07]process_json_proto returns [00:18:07]Send response to host [00:18:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:18:07]free response buf [00:18:07]execute_script done [00:18:07]execute_script returns [00:18:07]free content buf [00:18:07]Sock 7.Close socket [00:18:07]Sock 7.Thread stoped [00:18:12]int [00:18:12]Write to MH i2c: 01 00 00 98 00 98 [00:18:12]*** FLAG_PRN_KEY set [00:18:12]Write i2c OK [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 98 00 00 08 00 00 00 FF 0F B5 [00:18:12]state=0 [00:18:12]Key pressed [00:18:12]Feed [00:18:12]Write to MH i2c: D8 00 00 99 00 70 [00:18:12]Write i2c OK [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: D8 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: D8 01 00 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: D8 01 00 99 00 00 71 [00:18:12]int line is 0 - check status [00:18:12]Write to MH i2c: 01 00 00 9A 00 9A [00:18:12]Write i2c OK [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 9A 00 00 48 00 00 00 3C 00 25 [00:18:12]state=2 [00:18:12]Key pressed [00:18:12]int [00:18:12]Write to MH i2c: 01 00 00 9B 00 9B [00:18:12]Write i2c OK [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 9B 00 00 48 00 00 00 3C 00 26 [00:18:12]state=2 [00:18:12]Key pressed [00:18:12]int [00:18:12]Write to MH i2c: 01 00 00 9C 00 9C [00:18:12]*** FLAG_PRN_KEY reset [00:18:12]Write i2c OK [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 9C 00 00 00 00 00 00 FF 0F B1 [00:18:12]state=2 [00:18:12]Stop feed [00:18:12]OFD Sender: No OFD packet to send [00:18:12]int [00:18:12]Write to MH i2c: 01 00 00 9D 00 9D [00:18:12]*** FLAG_PRN_KEY set [00:18:12]Write i2c OK [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 [00:18:12]MH_I2C_Read... [00:18:12]Read from MH i2c: 01 07 00 9D 00 00 08 00 00 00 FF 0F BA [00:18:12]state=0 [00:18:12]Key pressed [00:18:12]Feed [00:18:12]Write to MH i2c: D8 00 00 9E 00 75 [00:18:13]Write i2c OK [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: D8 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: D8 01 00 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: D8 01 00 9E 00 00 76 [00:18:13]int line is 0 - check status [00:18:13]Write to MH i2c: 01 00 00 9F 00 9F [00:18:13]Write i2c OK [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 07 00 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 07 00 9F 00 00 48 00 00 00 3C 00 2A [00:18:13]state=2 [00:18:13]Key pressed [00:18:13]int [00:18:13]Write to MH i2c: 01 00 00 A0 00 A0 [00:18:13]Write i2c OK [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 07 00 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 07 00 A0 00 00 48 00 00 00 3C 00 2B [00:18:13]state=2 [00:18:13]Key pressed [00:18:13]int [00:18:13]Write to MH i2c: 01 00 00 A1 00 A1 [00:18:13]*** FLAG_PRN_KEY reset [00:18:13]Write i2c OK [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 07 00 [00:18:13]MH_I2C_Read... [00:18:13]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 FF 0F B6 [00:18:13]state=2 [00:18:13]Stop feed [00:18:17]OFD Sender: No OFD packet to send [00:18:22]OFD Sender: No OFD packet to send [00:18:27]OFD Sender: No OFD packet to send [00:18:32]OFD Sender: No OFD packet to send [00:18:37]OFD Sender: No OFD packet to send [00:18:42]OFD Sender: No OFD packet to send [00:18:45]accept exits with 9 [00:18:45]New connection [00:18:45]New thread 3067465060 created [00:18:45]Thread 3067321700 joined [00:18:45]Waiting for new connection... [00:18:45] Sock 9.Parse request [00:18:45]Sock 9.Check first char [00:18:45]Sock 9.First char is OK [00:18:45]request: POST /json_proto HTTP/1.0 [00:18:45]Method: POST [00:18:45]URL: /json_proto [00:18:45]Method is POST - this is cgi request [00:18:45]url: /json_proto [00:18:45]query_string will be loaded in cgi processing [00:18:45]execute_cgi json_proto POST (null) [00:18:45]execute_cgi path=json_proto method=POST [00:18:45]POST find Content-Length [00:18:45]Host: 172.17.53.196:8080 [00:18:45]Content-Length: 215 [00:18:45]Content-Type: application/json [00:18:45] [00:18:45]POST finish read [00:18:45]Found Content-Length = 215 [00:18:45]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:18:45]execute_script... [00:18:45]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:18:45]POST & json_proto [00:18:45]process_json_proto [00:18:45]json parsed OK: [00:18:45]protocol is kg_v1.0 [00:18:45]action value=get_value [00:18:45]process_action get_value [00:18:45]cmd_get_value [00:18:45]process_action get_value done [00:18:45]requested_data is exist [00:18:45]produce_requested_data [00:18:45]requested_item kkm.sn is exist - process it [00:18:45]requested_item kkm.ver is exist - process it [00:18:45]requested_item fm.sn is exist - process it [00:18:45]wFMCommunicate request_size=4 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 11 00 00 [00:18:45]Write to MH i2c: E2 08 00 A2 00 80 11 00 00 00 00 00 00 1C [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 17 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 17 00 A2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 73 [00:18:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:18:45]wFMCommunicate OK [00:18:45]requested_item fd.num is exist - process it [00:18:45]SAM_PROTO_GetFieldsCounters [00:18:45]wFMCommunicate request_size=4 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 13 00 00 [00:18:45]Write to MH i2c: E2 08 00 A3 00 80 13 00 00 00 00 00 00 1F [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 62 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 62 00 A3 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 12 [00:18:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D6 61 00 00 0E 04 04 00 C9 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 [00:18:45]wFMCommunicate OK [00:18:45]SAM_PROTO_GetFieldsCounters done [00:18:45]requested_item shift.num is exist - process it [00:18:45]requested_item shift.opened is exist - process it [00:18:45]req_shift_opened [00:18:45]FM_GetShiftState [00:18:45]SAM_PROTO_GetShiftState [00:18:45]wFMCommunicate request_size=4 [00:18:45]MH_SAM_APDU [00:18:45]CAPDU: 80 13 01 00 [00:18:45]Write to MH i2c: E2 08 00 A4 00 80 13 01 00 00 00 00 00 21 [00:18:45]Write i2c OK [00:18:45]MH_I2C_Read... [00:18:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:45]Read from MH i2c: E2 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 0E 00 [00:18:45]MH_I2C_Read... [00:18:45]Read from MH i2c: E2 0E 00 A4 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 72 [00:18:45]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:18:45]wFMCommunicate OK [00:18:45]SAM_PROTO_GetShiftState done [00:18:45]FM_GetShiftState done [00:18:45]req_shift_opened done [00:18:45]requested_item shift.open_date is exist - process it [00:18:45]req_shift_open_date [00:18:45]req_shift_open_date done [00:18:45]produce_requested_data done [00:18:45]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951} [00:18:45]process_action_free get_value [00:18:45]json_value_free [00:18:45]json_value_free done [00:18:45]process_json_proto returns [00:18:45]Send response to host [00:18:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25046,"shift.num":457,"shift.opened":1,"shift.open_date":1729556951}}} [00:18:45]free response buf [00:18:45]execute_script done [00:18:45]execute_script returns [00:18:45]free content buf [00:18:45]Sock 9.Close socket [00:18:45]Sock 9.Thread stoped [00:18:45]accept exits with 10 [00:18:45]New connection [00:18:45]New thread 3067321700 created [00:18:45]Thread 3067465060 joined [00:18:45]Waiting for new connection... [00:18:45] Sock 10.Parse request [00:18:45]Sock 10.Check first char [00:18:45]Sock 10.First char is OK [00:18:45]request: POST /json_proto HTTP/1.0 [00:18:45]Method: POST [00:18:45]URL: /json_proto [00:18:45]Method is POST - this is cgi request [00:18:45]url: /json_proto [00:18:45]query_string will be loaded in cgi processing [00:18:45]execute_cgi json_proto POST (null) [00:18:45]execute_cgi path=json_proto method=POST [00:18:45]POST find Content-Length [00:18:45]Host: 172.17.53.196:8080 [00:18:45]Content-Length: 331 [00:18:45]Content-Type: application/json [00:18:45] [00:18:45]POST finish read [00:18:45]Found Content-Length = 331 [00:18:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:45]execute_script... [00:18:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:45]POST & json_proto [00:18:45]process_json_proto [00:18:45]json parsed OK: [00:18:45]protocol is kg_v1.0 [00:18:46]action value=get_value [00:18:46]process_action get_value [00:18:46]cmd_get_value [00:18:46]process_action get_value done [00:18:46]requested_data is exist [00:18:46]produce_requested_data [00:18:46]requested_item fm.sale.total is exist - process it [00:18:46]SAM_PROTO_GetFMData [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 13 03 00 [00:18:46]Write to MH i2c: E2 08 00 A5 00 80 13 03 00 00 00 00 00 24 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 FD 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 FD 00 A5 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 66 [00:18:46]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 17 00 00 [00:18:46]Write to MH i2c: E2 08 00 A6 00 80 17 00 00 00 00 00 00 26 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 FD 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 FD 00 A6 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 18 [00:18:46]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 17 00 00 [00:18:46]Write to MH i2c: E2 08 00 A7 00 80 17 00 00 00 00 00 00 27 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:46]Read from MH i2c: E2 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 FD 00 [00:18:46]MH_I2C_Read... [00:18:46]Read from MH i2c: E2 FD 00 A7 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 CB [00:18:46]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:18:46]wFMCommunicate OK [00:18:46]wFMCommunicate request_size=4 [00:18:46]MH_SAM_APDU [00:18:46]CAPDU: 80 17 00 00 [00:18:46]Write to MH i2c: E2 08 00 A8 00 80 17 00 00 00 00 00 00 28 [00:18:46]Write i2c OK [00:18:46]MH_I2C_Read... [00:18:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 FD 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 FD 00 A8 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 A2 [00:18:47]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:18:47]wFMCommunicate OK [00:18:47]wFMCommunicate request_size=4 [00:18:47]MH_SAM_APDU [00:18:47]CAPDU: 80 17 00 00 [00:18:47]Write to MH i2c: E2 08 00 A9 00 80 17 00 00 00 00 00 00 29 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 DC 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 DC 00 A9 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0D [00:18:47]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:18:47]wFMCommunicate OK [00:18:47]SAM_PROTO_GetFMData done [00:18:47]requested_item fm.sale_refund.total is exist - process it [00:18:47]requested_item fm.buy.total is exist - process it [00:18:47]requested_item shift.sale.total is exist - process it [00:18:47]SAM_PROTO_GetShiftData [00:18:47]wFMCommunicate request_size=4 [00:18:47]MH_SAM_APDU [00:18:47]CAPDU: 80 13 02 00 [00:18:47]Write to MH i2c: E2 08 00 AA 00 80 13 02 00 00 00 00 00 28 [00:18:47]Write i2c OK [00:18:47]MH_I2C_Read... [00:18:47]OFD Sender: No OFD packet to send [00:18:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:18:47]Read from MH i2c: E2 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 FD 00 [00:18:47]MH_I2C_Read... [00:18:47]Read from MH i2c: E2 FD 00 AA 00 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 9D [00:18:47]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:18:48]wFMCommunicate OK [00:18:48]wFMCommunicate request_size=4 [00:18:48]MH_SAM_APDU [00:18:48]CAPDU: 80 17 00 00 [00:18:48]Write to MH i2c: E2 08 00 AB 00 80 17 00 00 00 00 00 00 2B [00:18:48]Write i2c OK [00:18:48]MH_I2C_Read... [00:18:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:48]Read from MH i2c: E2 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: E2 FD 00 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: E2 FD 00 AB 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 4D [00:18:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:18:48]wFMCommunicate OK [00:18:48]wFMCommunicate request_size=4 [00:18:48]MH_SAM_APDU [00:18:48]CAPDU: 80 17 00 00 [00:18:48]Write to MH i2c: E2 08 00 AC 00 80 17 00 00 00 00 00 00 2C [00:18:48]Write i2c OK [00:18:48]MH_I2C_Read... [00:18:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:48]Read from MH i2c: E2 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: E2 FD 00 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: E2 FD 00 AC 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 E3 [00:18:48]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:18:48]wFMCommunicate OK [00:18:48]wFMCommunicate request_size=4 [00:18:48]MH_SAM_APDU [00:18:48]CAPDU: 80 17 00 00 [00:18:48]Write to MH i2c: E2 08 00 AD 00 80 17 00 00 00 00 00 00 2D [00:18:48]Write i2c OK [00:18:48]MH_I2C_Read... [00:18:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:48]Read from MH i2c: E2 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: E2 FD 00 [00:18:48]MH_I2C_Read... [00:18:48]Read from MH i2c: E2 FD 00 AD 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 9F [00:18:48]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:18:49]wFMCommunicate OK [00:18:49]wFMCommunicate request_size=4 [00:18:49]MH_SAM_APDU [00:18:49]CAPDU: 80 17 00 00 [00:18:49]Write to MH i2c: E2 08 00 AE 00 80 17 00 00 00 00 00 00 2E [00:18:49]Write i2c OK [00:18:49]MH_I2C_Read... [00:18:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:18:49]Read from MH i2c: E2 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 CB 00 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 CB 00 AE 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 17 [00:18:49]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:18:49]wFMCommunicate OK [00:18:49]SAM_PROTO_GetShiftData done [00:18:49]requested_item shift.sale.total_cash is exist - process it [00:18:49]requested_item shift.sale_refund.total is exist - process it [00:18:49]requested_item shift.sale_refund.total_cash is exist - process it [00:18:49]requested_item shift.buy.total is exist - process it [00:18:49]requested_item shift.buy.total_cash is exist - process it [00:18:49]produce_requested_data done [00:18:49]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:18:49]process_action_free get_value [00:18:49]json_value_free [00:18:49]json_value_free done [00:18:49]process_json_proto returns [00:18:49]Send response to host [00:18:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:18:49]free response buf [00:18:49]execute_script done [00:18:49]execute_script returns [00:18:49]free content buf [00:18:49]Sock 10.Close socket [00:18:49]Sock 10.Thread stoped [00:18:49]accept exits with 7 [00:18:49]New connection [00:18:49]New thread 3067465060 created [00:18:49]Thread 3067321700 joined [00:18:49]Waiting for new connection... [00:18:49] Sock 7.Parse request [00:18:49]Sock 7.Check first char [00:18:49]Sock 7.First char is OK [00:18:49]request: POST /json_proto HTTP/1.0 [00:18:49]Method: POST [00:18:49]URL: /json_proto [00:18:49]Method is POST - this is cgi request [00:18:49]url: /json_proto [00:18:49]query_string will be loaded in cgi processing [00:18:49]execute_cgi json_proto POST (null) [00:18:49]execute_cgi path=json_proto method=POST [00:18:49]POST find Content-Length [00:18:49]Host: 172.17.53.196:8080 [00:18:49]Content-Length: 331 [00:18:49]Content-Type: application/json [00:18:49] [00:18:49]POST finish read [00:18:49]Found Content-Length = 331 [00:18:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:49]execute_script... [00:18:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:18:49]POST & json_proto [00:18:49]process_json_proto [00:18:49]json parsed OK: [00:18:49]protocol is kg_v1.0 [00:18:49]action value=get_value [00:18:49]process_action get_value [00:18:49]cmd_get_value [00:18:49]process_action get_value done [00:18:49]requested_data is exist [00:18:49]produce_requested_data [00:18:49]requested_item fm.sale.total is exist - process it [00:18:49]SAM_PROTO_GetFMData [00:18:49]wFMCommunicate request_size=4 [00:18:49]MH_SAM_APDU [00:18:49]CAPDU: 80 13 03 00 [00:18:49]Write to MH i2c: E2 08 00 AF 00 80 13 03 00 00 00 00 00 2E [00:18:49]Write i2c OK [00:18:49]MH_I2C_Read... [00:18:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:49]Read from MH i2c: E2 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 FD 00 [00:18:49]MH_I2C_Read... [00:18:49]Read from MH i2c: E2 FD 00 AF 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 70 [00:18:49]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:18:49]wFMCommunicate OK [00:18:49]wFMCommunicate request_size=4 [00:18:49]MH_SAM_APDU [00:18:49]CAPDU: 80 17 00 00 [00:18:49]Write to MH i2c: E2 08 00 B0 00 80 17 00 00 00 00 00 00 30 [00:18:50]Write i2c OK [00:18:50]MH_I2C_Read... [00:18:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:50]Read from MH i2c: E2 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 B0 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 22 [00:18:50]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:18:50]wFMCommunicate OK [00:18:50]wFMCommunicate request_size=4 [00:18:50]MH_SAM_APDU [00:18:50]CAPDU: 80 17 00 00 [00:18:50]Write to MH i2c: E2 08 00 B1 00 80 17 00 00 00 00 00 00 31 [00:18:50]Write i2c OK [00:18:50]MH_I2C_Read... [00:18:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:50]Read from MH i2c: E2 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 [00:18:50]MH_I2C_Read... [00:18:50]Read from MH i2c: E2 FD 00 B1 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 D5 [00:18:50]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:18:50]wFMCommunicate OK [00:18:50]wFMCommunicate request_size=4 [00:18:50]MH_SAM_APDU [00:18:50]CAPDU: 80 17 00 00 [00:18:50]Write to MH i2c: E2 08 00 B2 00 80 17 00 00 00 00 00 00 32 [00:18:50]Write i2c OK [00:18:50]MH_I2C_Read... [00:18:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:51]Read from MH i2c: E2 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 FD 00 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 FD 00 B2 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 AC [00:18:51]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:18:51]wFMCommunicate OK [00:18:51]wFMCommunicate request_size=4 [00:18:51]MH_SAM_APDU [00:18:51]CAPDU: 80 17 00 00 [00:18:51]Write to MH i2c: E2 08 00 B3 00 80 17 00 00 00 00 00 00 33 [00:18:51]Write i2c OK [00:18:51]MH_I2C_Read... [00:18:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:18:51]Read from MH i2c: E2 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 DC 00 [00:18:51]MH_I2C_Read... [00:18:51]Read from MH i2c: E2 DC 00 B3 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 17 [00:18:51]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:18:51]wFMCommunicate OK [00:18:51]SAM_PROTO_GetFMData done [00:18:51]requested_item fm.sale_refund.total is exist - process it [00:18:51]requested_item fm.buy.total is exist - process it [00:18:51]requested_item shift.sale.total is exist - process it [00:18:51]SAM_PROTO_GetShiftData [00:18:51]wFMCommunicate request_size=4 [00:18:51]MH_SAM_APDU [00:18:51]CAPDU: 80 13 02 00 [00:18:51]Write to MH i2c: E2 08 00 B4 00 80 13 02 00 00 00 00 00 32 [00:18:51]Write i2c OK [00:18:51]MH_I2C_Read... [00:18:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:18:52]Read from MH i2c: E2 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 B4 00 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A7 [00:18:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:18:52]wFMCommunicate OK [00:18:52]wFMCommunicate request_size=4 [00:18:52]MH_SAM_APDU [00:18:52]CAPDU: 80 17 00 00 [00:18:52]Write to MH i2c: E2 08 00 B5 00 80 17 00 00 00 00 00 00 35 [00:18:52]Write i2c OK [00:18:52]MH_I2C_Read... [00:18:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:52]Read from MH i2c: E2 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 B5 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 57 [00:18: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 [00:18:52]wFMCommunicate OK [00:18:52]wFMCommunicate request_size=4 [00:18:52]MH_SAM_APDU [00:18:52]CAPDU: 80 17 00 00 [00:18:52]Write to MH i2c: E2 08 00 B6 00 80 17 00 00 00 00 00 00 36 [00:18:52]Write i2c OK [00:18:52]MH_I2C_Read... [00:18:52]OFD Sender: No OFD packet to send [00:18:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:52]Read from MH i2c: E2 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 [00:18:52]MH_I2C_Read... [00:18:52]Read from MH i2c: E2 FD 00 B6 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 ED [00:18:53]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 17 00 00 [00:18:53]Write to MH i2c: E2 08 00 B7 00 80 17 00 00 00 00 00 00 37 [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 FD 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 FD 00 B7 00 00 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 A9 [00:18:53]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:18:53]wFMCommunicate OK [00:18:53]wFMCommunicate request_size=4 [00:18:53]MH_SAM_APDU [00:18:53]CAPDU: 80 17 00 00 [00:18:53]Write to MH i2c: E2 08 00 B8 00 80 17 00 00 00 00 00 00 38 [00:18:53]Write i2c OK [00:18:53]MH_I2C_Read... [00:18:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:18:53]Read from MH i2c: E2 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 CB 00 [00:18:53]MH_I2C_Read... [00:18:53]Read from MH i2c: E2 CB 00 B8 00 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 21 [00:18: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 [00:18:54]wFMCommunicate OK [00:18:54]SAM_PROTO_GetShiftData done [00:18:54]requested_item shift.sale.total_cash is exist - process it [00:18:54]requested_item shift.sale_refund.total is exist - process it [00:18:54]requested_item shift.sale_refund.total_cash is exist - process it [00:18:54]requested_item shift.buy.total is exist - process it [00:18:54]requested_item shift.buy.total_cash is exist - process it [00:18:54]produce_requested_data done [00:18:54]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:18:54]process_action_free get_value [00:18:54]json_value_free [00:18:54]json_value_free done [00:18:54]process_json_proto returns [00:18:54]Send response to host [00:18:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:18:54]free response buf [00:18:54]execute_script done [00:18:54]execute_script returns [00:18:54]free content buf [00:18:54]Sock 7.Close socket [00:18:54]Sock 7.Thread stoped [00:18:54]accept exits with 9 [00:18:54]New connection [00:18:54]New thread 3067321700 created [00:18:54]Thread 3067465060 joined [00:18:54]Waiting for new connection... [00:18:54] Sock 9.Parse request [00:18:54]Sock 9.Check first char [00:18:54]Sock 9.First char is OK [00:18:54]request: POST /json_proto HTTP/1.0 [00:18:54]Method: POST [00:18:54]URL: /json_proto [00:18:54]Method is POST - this is cgi request [00:18:54]url: /json_proto [00:18:54]query_string will be loaded in cgi processing [00:18:54]execute_cgi json_proto POST (null) [00:18:54]execute_cgi path=json_proto method=POST [00:18:54]POST find Content-Length [00:18:54]Host: 172.17.53.196:8080 [00:18:54]Content-Length: 248 [00:18:54]Content-Type: application/json [00:18:54] [00:18:54]POST finish read [00:18:54]Found Content-Length = 248 [00:18:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0430\u043B\u0438\u0435\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:54]execute_script... [00:18:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u0430\u043B\u0438\u0435\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:18:54]POST & json_proto [00:18:54]process_json_proto [00:18:54]json parsed OK: [00:18:54]protocol is kg_v1.0 [00:18:54]action value=close_shift [00:18:54]process_action close_shift [00:18:54]cmd_close_shift [00:18:54]MH_GetDate [00:18:54]Write to MH i2c: F0 00 00 B9 00 A8 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: F0 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: F0 09 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: F0 09 00 B9 00 00 EE 40 18 67 4F CD 9A 65 79 [00:18:54]GetLastDocTimeStamp 1729642679 [00:18:54]current date 1729642734 [00:18:54]FM_GetShiftState [00:18:54]SAM_PROTO_GetShiftState [00:18:54]wFMCommunicate request_size=4 [00:18:54]MH_SAM_APDU [00:18:54]CAPDU: 80 13 01 00 [00:18:54]Write to MH i2c: E2 08 00 BA 00 80 13 01 00 00 00 00 00 37 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:54]Read from MH i2c: E2 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 0E 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 0E 00 BA 00 00 09 00 01 D7 F1 16 67 00 00 00 00 90 00 88 [00:18:54]RAPDU: 09 00 01 D7 F1 16 67 00 00 00 00 90 00 [00:18:54]wFMCommunicate OK [00:18:54]SAM_PROTO_GetShiftState done [00:18:54]FM_GetShiftState done [00:18:54]KKMCreateCloseShiftDocument [00:18:54]Load OK [00:18:54]Malloc new data [00:18:54]MH_GetDate [00:18:54]Write to MH i2c: F0 00 00 BB 00 AA [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: F0 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: F0 09 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: F0 09 00 BB 00 00 EE 40 18 67 4F CD 9A 65 7B [00:18:54]Malloc new data [00:18:54]Malloc new data [00:18:54]Malloc new data [00:18:54]Malloc new data [00:18:54]KKMCreateCloseShiftDocument OK [00:18:54]KKMSetCloseShiftData OK [00:18:54]ProcessDocumentItem done err = 0, tmpTLVsize=67 [00:18:54]tlvbuf is 00289A70 [00:18:54]KKMLoadAndSignCloseShiftData [00:18:54]SAM_PROTO_ProcessDocument [00:18:54]wFMCommunicate request_size=9 [00:18:54]MH_SAM_APDU [00:18:54]CAPDU: 80 15 01 00 04 05 00 43 00 [00:18:54]Write to MH i2c: E2 0C 00 BC 00 80 15 01 00 04 00 05 00 43 00 00 00 8B [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:18:54]Read from MH i2c: E2 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [00:18:54]RAPDU: 90 00 [00:18:54]wFMCommunicate OK [00:18:54]wFMCommunicate request_size=23 [00:18:54]MH_SAM_APDU [00:18:54]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:18:54]Write to MH i2c: E2 1A 00 BD 00 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 32 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:54]Read from MH i2c: E2 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [00:18:54]RAPDU: 90 00 [00:18:54]wFMCommunicate OK [00:18:54]wFMCommunicate request_size=26 [00:18:54]MH_SAM_APDU [00:18:54]CAPDU: 80 15 02 00 15 FD 03 11 00 D0 A1 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 AD 2E 20 [00:18:54]Write to MH i2c: E2 1D 00 BE 00 80 15 02 00 15 00 FD 03 11 00 D0 A1 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 AD 2E 20 00 00 6F [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:54]Read from MH i2c: E2 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [00:18:54]RAPDU: 90 00 [00:18:54]wFMCommunicate OK [00:18:54]wFMCommunicate request_size=13 [00:18:54]MH_SAM_APDU [00:18:54]CAPDU: 80 15 02 00 08 F4 03 04 00 EE 40 18 67 [00:18:54]Write to MH i2c: E2 10 00 BF 00 80 15 02 00 08 00 F4 03 04 00 EE 40 18 67 00 00 F7 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:54]Read from MH i2c: E2 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 BF 00 00 90 00 33 [00:18:54]RAPDU: 90 00 [00:18:54]wFMCommunicate OK [00:18:54]wFMCommunicate request_size=25 [00:18:54]MH_SAM_APDU [00:18:54]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [00:18:54]Write to MH i2c: E2 1C 00 C0 00 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 A6 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:54]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:18:54]Read from MH i2c: E2 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 [00:18:54]MH_I2C_Read... [00:18:54]Read from MH i2c: E2 03 00 C0 00 00 90 00 34 [00:18:54]RAPDU: 90 00 [00:18:54]wFMCommunicate OK [00:18:54]wFMCommunicate request_size=4 [00:18:54]MH_SAM_APDU [00:18:54]CAPDU: 80 15 03 00 [00:18:54]Write to MH i2c: E2 08 00 C1 00 80 15 03 00 00 00 00 00 42 [00:18:54]Write i2c OK [00:18:54]MH_I2C_Read... [00:18:55]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:18:55]Read from MH i2c: E2 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 FD 00 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 FD 00 C1 00 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D7 61 00 00 0E 04 04 00 C9 01 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 E4 [00:18:55]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D7 61 00 00 0E 04 04 00 C9 01 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:18:55]wFMCommunicate OK [00:18:55]SAM_PROTO_ProcessDocument answer len = 1265 [00:18:55]SAM_PROTO_ProcessDocument remain to read = 1017 [00:18:55]wFMCommunicate request_size=4 [00:18:55]MH_SAM_APDU [00:18:55]CAPDU: 80 17 00 00 [00:18:55]Write to MH i2c: E2 08 00 C2 00 80 17 00 00 00 00 00 00 42 [00:18:55]Write i2c OK [00:18:55]MH_I2C_Read... [00:18:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:55]Read from MH i2c: E2 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 FD 00 [00:18:55]MH_I2C_Read... [00:18:55]Read from MH i2c: E2 FD 00 C2 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 8B [00:18:55]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:18:56]wFMCommunicate OK [00:18:56]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:18:56]SAM_PROTO_ProcessDocument remain to read = 767 [00:18:56]wFMCommunicate request_size=4 [00:18:56]MH_SAM_APDU [00:18:56]CAPDU: 80 17 00 00 [00:18:56]Write to MH i2c: E2 08 00 C3 00 80 17 00 00 00 00 00 00 43 [00:18:56]Write i2c OK [00:18:56]MH_I2C_Read... [00:18:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:56]Read from MH i2c: E2 [00:18:56]MH_I2C_Read... [00:18:56]Read from MH i2c: E2 FD 00 [00:18:56]MH_I2C_Read... [00:18:56]Read from MH i2c: E2 FD 00 C3 00 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 A5 [00:18:56]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:18:56]wFMCommunicate OK [00:18:56]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:18:56]SAM_PROTO_ProcessDocument remain to read = 517 [00:18:56]wFMCommunicate request_size=4 [00:18:56]MH_SAM_APDU [00:18:56]CAPDU: 80 17 00 00 [00:18:56]Write to MH i2c: E2 08 00 C4 00 80 17 00 00 00 00 00 00 44 [00:18:56]Write i2c OK [00:18:56]MH_I2C_Read... [00:18:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:56]Read from MH i2c: E2 [00:18:56]MH_I2C_Read... [00:18:56]Read from MH i2c: E2 FD 00 [00:18:56]MH_I2C_Read... [00:18:56]Read from MH i2c: E2 FD 00 C4 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 CE [00:18:56]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:18:57]wFMCommunicate OK [00:18:57]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:18:57]SAM_PROTO_ProcessDocument remain to read = 267 [00:18:57]wFMCommunicate request_size=4 [00:18:57]MH_SAM_APDU [00:18:57]CAPDU: 80 17 00 00 [00:18:57]Write to MH i2c: E2 08 00 C5 00 80 17 00 00 00 00 00 00 45 [00:18:57]Write i2c OK [00:18:57]MH_I2C_Read... [00:18:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:57]Read from MH i2c: E2 [00:18:57]MH_I2C_Read... [00:18:57]Read from MH i2c: E2 FD 00 [00:18:57]MH_I2C_Read... [00:18:57]Read from MH i2c: E2 FD 00 C5 00 00 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 0D [00:18:57]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:18:57]wFMCommunicate OK [00:18:57]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:18:57]SAM_PROTO_ProcessDocument remain to read = 17 [00:18:57]wFMCommunicate request_size=4 [00:18:57]MH_SAM_APDU [00:18:57]CAPDU: 80 17 00 00 [00:18:57]Write to MH i2c: E2 08 00 C6 00 80 17 00 00 00 00 00 00 46 [00:18:57]Write i2c OK [00:18:57]MH_I2C_Read... [00:18:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:18:57]Read from MH i2c: E2 [00:18:57]MH_I2C_Read... [00:18:57]Read from MH i2c: E2 14 00 [00:18:57]MH_I2C_Read... [00:18:57]Read from MH i2c: E2 14 00 C6 00 00 01 00 06 F7 03 00 00 35 04 06 00 7C AE 40 59 FD 6A 90 00 B5 [00:18:57]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 7C AE 40 59 FD 6A 90 00 [00:18:57]wFMCommunicate OK [00:18:57]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:18:57]SAM_PROTO_ProcessDocument done [00:18:57]1209 (1) - 1.0 - номер версии ФФД [00:18:57]1041 (16) - 0000000000965376 - номер ФМ [00:18:57]1040 (4) - 25047 - номер ФД [00:18:57]1038 (4) - 457 - номер смены [00:18:57]1118 (4) - 67 - количество кассовых чеков за смену [00:18:57]1111 (4) - 69 - общее количество ФД за смену [00:18:57]1194 (1194) - счетчики итогов смены [00:18:57] 1134 (4) - 67 - количество чеков со всеми признаками расчетов [00:18:57] 1129 (155) - счетчики операций «приход» [00:18:57] 1135 (4) - 67 - количество чеков по признаку расчетов [00:18:57] 1201 (3) - 9496.00 - общая итоговая сумма в чеках [00:18:57] 1136 (3) - 8337.00 - итоговая сумма в чеках наличными [00:18:57] 1138 (3) - 1159.00 - итоговая сумма в чеках безналичными [00:18:57] 1024 (122) - суммы налогов [00:18:57] 1006 (9) - суммы НДС [00:18:57] 1010 (1) - 0% - код ставки НДС [00:18:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:57] 1006 (12) - суммы НДС [00:18:57] 1010 (1) - 12% - код ставки НДС [00:18:57] 1011 (3) - 1008.33 - сумма НДС по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 0% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (11) - суммы НСП [00:18:57] 1014 (1) - 1% - код ставки НСП [00:18:57] 1015 (2) - 83.99 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 2% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 3% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 5% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 0,50% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 1,50% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1130 (141) - счетчики операций «возврат прихода» [00:18:57] 1135 (4) - 0 - количество чеков по признаку расчетов [00:18:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:18:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:18:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:18:57] 1024 (117) - суммы налогов [00:18:57] 1006 (9) - суммы НДС [00:18:57] 1010 (1) - 0% - код ставки НДС [00:18:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:57] 1006 (9) - суммы НДС [00:18:57] 1010 (1) - 12% - код ставки НДС [00:18:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 0% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 1% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 2% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 3% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 5% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 0,50% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 1,50% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1131 (141) - счетчики операций «расход» [00:18:57] 1135 (4) - 0 - количество чеков по признаку расчетов [00:18:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:18:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:18:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:18:57] 1024 (117) - суммы налогов [00:18:57] 1006 (9) - суммы НДС [00:18:57] 1010 (1) - 0% - код ставки НДС [00:18:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:57] 1006 (9) - суммы НДС [00:18:57] 1010 (1) - 12% - код ставки НДС [00:18:57] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 0% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 1% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 2% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 3% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 5% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 0,50% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1007 (9) - суммы НСП [00:18:57] 1014 (1) - 1,50% - код ставки НСП [00:18:57] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:57] 1132 (141) - счетчики операций «возврат расхода» [00:18:57] 1135 (4) - 0 - количество чеков по признаку расчетов [00:18:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:18:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:18:58] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:18:58] 1024 (117) - суммы налогов [00:18:58] 1006 (9) - суммы НДС [00:18:58] 1010 (1) - 0% - код ставки НДС [00:18:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:58] 1006 (9) - суммы НДС [00:18:58] 1010 (1) - 12% - код ставки НДС [00:18:58] 1011 (0) - 0.00 - сумма НДС по ставке [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 0% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 1% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 2% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 3% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] OFD Sender: No OFD packet to send [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 5% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 0,50% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] 1007 (9) - суммы НСП [00:18:58] 1014 (1) - 1,50% - код ставки НСП [00:18:58] 1015 (0) - 0.00 - сумма НСП по ставке [00:18:58] 1133 (588) - - счетчики коррекции - не используются [00:18:58]1077 (6) - 137087845793130 - ФПД [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1209 (04B9) [00:18:58]Malloc new data [00:18:58]Processing tag 1041 (0411) [00:18:58]Processing tag 1040 (0410) [00:18:58]Malloc new data [00:18:58]Processing tag 1038 (040E) [00:18:58]Malloc new data [00:18:58]Processing tag 1118 (045E) [00:18:58]Malloc new data [00:18:58]Processing tag 1111 (0457) [00:18:58]Malloc new data [00:18:58]Processing tag 1194 (04AA) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1134 (046E) [00:18:58]Malloc new data [00:18:58]Processing tag 1129 (0469) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1135 (046F) [00:18:58]Malloc new data [00:18:58]Processing tag 1201 (04B1) [00:18:58]Malloc new data [00:18:58]Processing tag 1136 (0470) [00:18:58]Malloc new data [00:18:58]Processing tag 1138 (0472) [00:18:58]Malloc new data [00:18:58]Processing tag 1024 (0400) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1130 (046A) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1135 (046F) [00:18:58]Malloc new data [00:18:58]Processing tag 1201 (04B1) [00:18:58]Malloc new data [00:18:58]Processing tag 1136 (0470) [00:18:58]Malloc new data [00:18:58]Processing tag 1138 (0472) [00:18:58]Malloc new data [00:18:58]Processing tag 1024 (0400) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1131 (046B) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1135 (046F) [00:18:58]Malloc new data [00:18:58]Processing tag 1201 (04B1) [00:18:58]Malloc new data [00:18:58]Processing tag 1136 (0470) [00:18:58]Malloc new data [00:18:58]Processing tag 1138 (0472) [00:18:58]Malloc new data [00:18:58]Processing tag 1024 (0400) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1132 (046C) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1135 (046F) [00:18:58]Malloc new data [00:18:58]Processing tag 1201 (04B1) [00:18:58]Malloc new data [00:18:58]Processing tag 1136 (0470) [00:18:58]Malloc new data [00:18:58]Processing tag 1138 (0472) [00:18:58]Malloc new data [00:18:58]Processing tag 1024 (0400) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1006 (03EE) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1010 (03F2) [00:18:58]Malloc new data [00:18:58]Processing tag 1011 (03F3) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1007 (03EF) [00:18:58]Load OK [00:18:58]SetTLVBufToDocument [00:18:58]Processing tag 1014 (03F6) [00:18:58]Malloc new data [00:18:58]Processing tag 1015 (03F7) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1133 (046D) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Processing tag 1077 (0435) [00:18:58]Malloc new data [00:18:58]SetTLVBufToDocument err=0 [00:18:58]Malloc new data [00:18:58]SAM_PROTO_GetFMData [00:18:58]wFMCommunicate request_size=4 [00:18:58]MH_SAM_APDU [00:18:58]CAPDU: 80 13 03 00 [00:18:58]Write to MH i2c: E2 08 00 C7 00 80 13 03 00 00 00 00 00 46 [00:18:58]Write i2c OK [00:18:58]MH_I2C_Read... [00:18:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:18:59]Read from MH i2c: E2 [00:18:59]MH_I2C_Read... [00:18:59]Read from MH i2c: E2 FD 00 [00:18:59]MH_I2C_Read... [00:18:59]Read from MH i2c: E2 FD 00 C7 00 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 88 [00:18:59]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:18:59]wFMCommunicate OK [00:18:59]wFMCommunicate request_size=4 [00:18:59]MH_SAM_APDU [00:18:59]CAPDU: 80 17 00 00 [00:18:59]Write to MH i2c: E2 08 00 C8 00 80 17 00 00 00 00 00 00 48 [00:18:59]Write i2c OK [00:18:59]MH_I2C_Read... [00:18:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:18:59]Read from MH i2c: E2 [00:18:59]MH_I2C_Read... [00:18:59]Read from MH i2c: E2 FD 00 [00:18:59]MH_I2C_Read... [00:18:59]Read from MH i2c: E2 FD 00 C8 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 3A [00:18:59]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:19:00]wFMCommunicate OK [00:19:00]wFMCommunicate request_size=4 [00:19:00]MH_SAM_APDU [00:19:00]CAPDU: 80 17 00 00 [00:19:00]Write to MH i2c: E2 08 00 C9 00 80 17 00 00 00 00 00 00 49 [00:19:00]Write i2c OK [00:19:00]MH_I2C_Read... [00:19:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:00]Read from MH i2c: E2 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 FD 00 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 FD 00 C9 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 ED [00:19:00]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:19:00]wFMCommunicate OK [00:19:00]wFMCommunicate request_size=4 [00:19:00]MH_SAM_APDU [00:19:00]CAPDU: 80 17 00 00 [00:19:00]Write to MH i2c: E2 08 00 CA 00 80 17 00 00 00 00 00 00 4A [00:19:00]Write i2c OK [00:19:00]MH_I2C_Read... [00:19:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:19:00]Read from MH i2c: E2 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 FD 00 [00:19:00]MH_I2C_Read... [00:19:00]Read from MH i2c: E2 FD 00 CA 00 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 C4 [00:19:01]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:19:01]wFMCommunicate OK [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 17 00 00 [00:19:01]Write to MH i2c: E2 08 00 CB 00 80 17 00 00 00 00 00 00 4B [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:19:01]Read from MH i2c: E2 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 DC 00 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 DC 00 CB 00 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2F [00:19:01]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:19:01]wFMCommunicate OK [00:19:01]SAM_PROTO_GetFMData done [00:19:01]Malloc new data [00:19:01]Malloc new data [00:19:01]Malloc new data [00:19:01]Malloc new data [00:19:01]KKMLoadAndSignCloseShiftData err=0 [00:19:01]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Салиев Э. 23.10.2024 00:18 Смена: 457 РНМ: 0000000000098147 ЗНМ: 0300000240 СНО: Общий режим Чеков за смену: 67 ФД за смену: 69 Всего чеков: 67 ИТОГИ ПРИХОД Чеков: 67 Общий итог: 9496.00 Итого наличными: 8337.00 Итого безнал.: 1159.00 НДС 0% : 0.00 НДС 12% : 1008.33 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 83.99 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ РАСХОД Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 ИТОГИ ВОЗВРАТ РАСХОДА Чеков: 0 Общий итог: 0.00 Итого наличными: 0.00 Итого безнал.: 0.00 НДС 0% : 0.00 НДС 12% : 0.00 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 0.00 Сумма внесений: 0.00 Сумма выплат: 0.00 Нал. в кассе: 8337.00 НС Приход: 3494071.00 НС Возвр.Прихода: 4255.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 25047 ФМ: 0000000000965376 ФПД: 137087845793130 [00:19:01]StoreToDocumentArchive [00:19:01]shift 457 fd 25047 [00:19:01]save to /storage/0457/doc_00025047 [00:19:01]save last doc name /storage/0457/doc_00025047 to /storage/kkm_last_doc_name [00:19:01]save OK [00:19:01]Clear old archive folders... [00:19:01]Remove dir /storage/0266 [00:19:01]opendir ok [00:19:01]file . [00:19:01]file .. [00:19:01]file doc_1729642686 [00:19:01]remove file /storage/0266/doc_1729642686 [00:19:01]remove dir /storage/0266 [00:19:01]NVStorageSaveData kkm_registers [00:19:01]File name is /storage/kkm_registers [00:19:01]Write 24 bytes [00:19:01]NVStorageSaveData done [00:19:01]NVStorageSaveData kkm_registers [00:19:01]File name is /storage/kkm_registers [00:19:01]Write 24 bytes [00:19:01]NVStorageSaveData done [00:19:01]ProcessDocumentItem done err = 0, tmpTLVsize=1375 [00:19:01]tlvbuf is 002F2970 [00:19:01]SAM_PROTO_ClearQueue [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 09 00 00 [00:19:01]Write to MH i2c: E2 08 00 CC 00 80 09 00 00 00 00 00 00 3E [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:19:01]Read from MH i2c: E2 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 03 00 [00:19:01]MH_I2C_Read... [00:19:01]Read from MH i2c: E2 03 00 CC 00 00 90 00 40 [00:19:01]RAPDU: 90 00 [00:19:01]wFMCommunicate OK [00:19:01]SAM_PROTO_ClearQueue done [00:19:01]KKMCreateOFDPacket [00:19:01]OFDProtocolAddRootSTLVToBuf [00:19:01]FM_MakeSignedData [00:19:01]FM_MakeSignedData [00:19:01]SAM_PROTO_SignData [00:19:01]wFMCommunicate request_size=4 [00:19:01]MH_SAM_APDU [00:19:01]CAPDU: 80 0D 01 02 [00:19:01]Write to MH i2c: E2 08 00 CD 00 80 0D 01 02 00 00 00 00 46 [00:19:01]Write i2c OK [00:19:01]MH_I2C_Read... [00:19:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:19:02]Read from MH i2c: E2 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 03 00 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 03 00 CD 00 00 90 00 41 [00:19:02]RAPDU: 90 00 [00:19:02]wFMCommunicate OK [00:19:02]wFMCommunicate request_size=255 [00:19:02]MH_SAM_APDU [00:19:02]CAPDU: 80 0D 02 02 FA 05 00 5F 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 11 00 D0 A1 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 AD 2E 20 F4 03 04 00 EE 40 18 67 0E 04 04 00 C9 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 D5 04 6E 04 04 00 43 00 00 00 69 04 A2 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF [00:19:02]Write to MH i2c: E2 02 01 CE 00 80 0D 02 02 FA 00 05 00 5F 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 11 00 D0 A1 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 AD 2E 20 F4 03 04 00 EE 40 18 67 0E 04 04 00 C9 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 D5 04 6E 04 04 00 43 00 00 00 69 04 A2 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 00 00 50 [00:19:02]Write i2c OK [00:19:02]MH_I2C_Read... [00:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:02]Read from MH i2c: E2 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 03 00 [00:19:02]MH_I2C_Read... [00:19:02]Read from MH i2c: E2 03 00 CE 00 00 90 00 42 [00:19:02]RAPDU: 90 00 [00:19:02]wFMCommunicate OK [00:19:02]wFMCommunicate request_size=255 [00:19:02]MH_SAM_APDU [00:19:02]CAPDU: 80 0D 02 02 FA 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 CF 20 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 [00:19:02]Write to MH i2c: E2 02 01 CF 00 80 0D 02 02 FA 00 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 CF 20 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 00 00 AD [00:19:02]Write i2c OK [00:19:02]MH_I2C_Read... [00:19:03]OFD Sender: No OFD packet to send [00:19:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:03]Read from MH i2c: E2 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 03 00 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 03 00 CF 00 00 90 00 43 [00:19:03]RAPDU: 90 00 [00:19:03]wFMCommunicate OK [00:19:03]wFMCommunicate request_size=255 [00:19:03]MH_SAM_APDU [00:19:03]CAPDU: 80 0D 02 02 FA 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 [00:19:03]Write to MH i2c: E2 02 01 D0 00 80 0D 02 02 FA 00 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 00 00 84 [00:19:03]Write i2c OK [00:19:03]MH_I2C_Read... [00:19:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:03]Read from MH i2c: E2 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 03 00 [00:19:03]MH_I2C_Read... [00:19:03]Read from MH i2c: E2 03 00 D0 00 00 90 00 44 [00:19:03]RAPDU: 90 00 [00:19:03]wFMCommunicate OK [00:19:03]wFMCommunicate request_size=255 [00:19:03]MH_SAM_APDU [00:19:03]CAPDU: 80 0D 02 02 FA 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:19:04]Write to MH i2c: E2 02 01 D1 00 80 0D 02 02 FA 00 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 92 [00:19:04]Write i2c OK [00:19:04]MH_I2C_Read... [00:19:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:04]Read from MH i2c: E2 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 03 00 [00:19:04]MH_I2C_Read... [00:19:04]Read from MH i2c: E2 03 00 D1 00 00 90 00 45 [00:19:04]RAPDU: 90 00 [00:19:04]wFMCommunicate OK [00:19:04]wFMCommunicate request_size=255 [00:19:04]MH_SAM_APDU [00:19:04]CAPDU: 80 0D 02 02 FA 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 [00:19:04]Write to MH i2c: E2 02 01 D2 00 80 0D 02 02 FA 00 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 00 00 E3 [00:19:04]Write i2c OK [00:19:04]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 03 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 03 00 D2 00 00 90 00 46 [00:19:05]RAPDU: 90 00 [00:19:05]wFMCommunicate OK [00:19:05]wFMCommunicate request_size=134 [00:19:05]MH_SAM_APDU [00:19:05]CAPDU: 80 0D 02 02 81 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 7C AE 40 59 FD 6A [00:19:05]Write to MH i2c: E2 89 00 D3 00 80 0D 02 02 81 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 7C AE 40 59 FD 6A 00 00 EF [00:19:05]Write i2c OK [00:19:05]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 03 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 03 00 D3 00 00 90 00 47 [00:19:05]RAPDU: 90 00 [00:19:05]wFMCommunicate OK [00:19:05]wFMCommunicate request_size=4 [00:19:05]MH_SAM_APDU [00:19:05]CAPDU: 80 0D 03 02 [00:19:05]Write to MH i2c: E2 08 00 D4 00 80 0D 03 02 00 00 00 00 4F [00:19:05]Write i2c OK [00:19:05]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 0B 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 0B 00 D4 00 00 6A 09 F7 19 FB D9 35 19 90 00 F5 [00:19:05]RAPDU: 6A 09 F7 19 FB D9 35 19 90 00 [00:19:05]wFMCommunicate OK [00:19:05]SAM_PROTO_SignData done [00:19:05]FM_MakeSignedData done [00:19:05]CreateOFDProtocolMessage [00:19:05]wFMCommunicate request_size=4 [00:19:05]MH_SAM_APDU [00:19:05]CAPDU: 80 11 00 00 [00:19:05]Write to MH i2c: E2 08 00 D5 00 80 11 00 00 00 00 00 00 4F [00:19:05]Write i2c OK [00:19:05]MH_I2C_Read... [00:19:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:19:05]Read from MH i2c: E2 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 17 00 [00:19:05]MH_I2C_Read... [00:19:05]Read from MH i2c: E2 17 00 D5 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A6 [00:19:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:19:05]wFMCommunicate OK [00:19:05]CreateOFDProtocolMessage done [00:19:05]OFDSenderStorePacket 25047 [00:19:05]StoreOFDPacket docnum=25047 [00:19:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 73 05 00 00 9A 64 6B 05 BB AE 5A 05 01 00 05 00 5F 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 11 00 D0 A1 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 AD 2E 20 F4 03 04 00 EE 40 18 67 0E 04 04 00 C9 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 D5 04 6E 04 04 00 43 00 00 00 69 04 A2 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 D7 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 7C AE 40 59 FD 6A 6A 09 F7 19 FB D9 35 19 [00:19:06]CheckFolder [00:19:06]dirname=/storage/ofd_packets [00:19:06]CheckFolder done [00:19:06]ProducePacketName [00:19:06]name=ofd_packets/00025047 [00:19:06]NVStorageSaveData ofd_packets/00025047 [00:19:06]File name is /storage/ofd_packets/00025047 [00:19:06]Write 1425 bytes [00:19:06]NVStorageSaveData done [00:19:06]OFDSenderStorePacket done [00:19:06]KKMCreateOFDPacket done [00:19:06]NVStorageSaveData kkm_last_timestamp [00:19:06]File name is /storage/kkm_last_timestamp [00:19:06]Write 4 bytes [00:19:06]NVStorageSaveData done [00:19:06]ExternCall_PrintAddStr [00:19:06]wPrintStart [00:19:06]Write to MH i2c: 01 00 00 D6 00 D6 [00:19:06]Write i2c OK [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: 01 [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: 01 07 00 [00:19:06]MH_I2C_Read... [00:19:06]Read from MH i2c: 01 07 00 D6 00 00 00 00 00 00 FF 0F EB [00:19:06]RasterBufferAndPrint [00:19:06]line Отчет о закрытии смены [00:19:06]line ФФД: 1.0 [00:19:06]line ИНН: 02508201610067 [00:19:06]line Кассир: Салиев Э. [00:19:06]line 23.10.2024 00:18 [00:19:06]line Смена: 457 [00:19:06]line РНМ: 0000000000098147 [00:19:06]line ЗНМ: 0300000240 [00:19:06]line СНО: Общий режим [00:19:06]line Чеков за смену: 67 [00:19:06]line ФД за смену: 69 [00:19:06]line Всего чеков: 67 [00:19:06]line ИТОГИ ПРИХОД [00:19:06]line Чеков: 67 [00:19:06]line Общий итог: 9496.00 [00:19:06]line Итого наличными: 8337.00 [00:19:06]line Итого безнал.: 1159.00 [00:19:06]line НДС 0% : 0.00 [00:19:06]line НДС 12% : 1008.33 [00:19:06]line НСП 0% : 0.00 [00:19:06]line НСП 1,50% : 0.00 [00:19:06]line НСП 0,50% : 0.00 [00:19:06]line НСП 5% : 0.00 [00:19:06]line НСП 3% : 0.00 [00:19:06]line НСП 2% : 0.00 [00:19:06]line НСП 1% : 83.99 [00:19:06]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:19:06]line Чеков: 0 [00:19:06]line Общий итог: 0.00 [00:19:06]line Итого наличными: 0.00 [00:19:06]line Итого безнал.: 0.00 [00:19:06]line НДС 0% : 0.00 [00:19:06]line НДС 12% : 0.00 [00:19:06]line НСП 0% : 0.00 [00:19:06]line НСП 1,50% : 0.00 [00:19:06]line НСП 0,50% : 0.00 [00:19:06]line НСП 5% : 0.00 [00:19:06]line НСП 3% : 0.00 [00:19:06]line НСП 2% : 0.00 [00:19:06]line НСП 1% : 0.00 [00:19:06]line ИТОГИ РАСХОД [00:19:06]line Чеков: 0 [00:19:06]line Общий итог: 0.00 [00:19:06]line Итого наличными: 0.00 [00:19:06]line Итого безнал.: 0.00 [00:19:06]line НДС 0% : 0.00 [00:19:06]line НДС 12% : 0.00 [00:19:06]line НСП 0% : 0.00 [00:19:06]line НСП 1,50% : 0.00 [00:19:06]line НСП 0,50% : 0.00 [00:19:06]line НСП 5% : 0.00 [00:19:06]line НСП 3% : 0.00 [00:19:06]line НСП 2% : 0.00 [00:19:06]line НСП 1% : 0.00 [00:19:06]line ИТОГИ ВОЗВРАТ РАСХОДА [00:19:06]line Чеков: 0 [00:19:06]line Общий итог: 0.00 [00:19:06]line Итого наличными: 0.00 [00:19:06]line Итого безнал.: 0.00 [00:19:06]line НДС 0% : 0.00 [00:19:06]line НДС 12% : 0.00 [00:19:06]line НСП 0% : 0.00 [00:19:06]line НСП 1,50% : 0.00 [00:19:06]line НСП 0,50% : 0.00 [00:19:06]line НСП 5% : 0.00 [00:19:06]line НСП 3% : 0.00 [00:19:06]line НСП 2% : 0.00 [00:19:06]line НСП 1% : 0.00 [00:19:06]line Сумма внесений: 0.00 [00:19:06]line Сумма выплат: 0.00 [00:19:06]line Нал. в кассе: 8337.00 [00:19:06]line НС Приход: 3494071.00 [00:19:06]line НС Возвр.Прихода: 4255.00 [00:19:06]line НС Расход: 0.00 [00:19:06]line НС Возвр.Расхода: 0.00 [00:19:06]line ФД: 25047 [00:19:06]line ФМ: 0000000000965376 [00:19:06]line ФПД: 137087845793130 [00:19:06]OFD Sender: Processing packet 25047 [packets to send 5, broken 4] [00:19:06]ProducePacketName [00:19:06]name=ofd_packets/00025047 [00:19:06]OFD Sender: To server: pG, [00:19:06]CommunicateWithHost lk.salyk.kg:30040 [00:19:06]ConnectInit lk.salyk.kg [00:19:06]written 0, free lines is 4095 [00:19:06]Connected sock=10 [00:19:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 73 05 00 00 9A 64 6B 05 BB AE 5A 05 01 00 05 00 5F 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 11 00 D0 A1 D0 B0 D0 BB D0 B8 D0 B5 D0 B2 20 D0 AD 2E 20 F4 03 04 00 EE 40 18 67 0E 04 04 00 C9 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 AA 04 D5 04 6E 04 04 00 43 00 00 00 69 04 A2 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 Write to MH i2c: 01 01 00 00 04 00 F7 26 03 01 27 01 [00:19:07]00 Write i2c OK [00:19:07]00 MH_I2C_Read... [00:19:07]EF Read from MH i2c: 03 01 0A [00:19:07]00 MH_I2C_Read... [00:19:07]F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 Read from MH i2c: 03 01 01 07 00 00 02 [00:19:07]F7 MH_I2C_Read... [00:19:07]03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 Read from MH i2c: 00 01 6D 07 04 00 4C 26 02 01 78 00 04 00 04 00 00 00 00 00 00 03 00 0B 00 3C [00:19:07]RasterBufferAndPrint [00:19:07]line [00:19:07]line [00:19:07]line [00:19:07]line [00:19:07]line [00:19:07]79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 written 0, free lines is 2925 [00:19:07]F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 process_action close_shift done [00:19:07]04 requested_data is exist [00:19:07]75 produce_requested_data [00:19:07]00 requested_item fd.num is exist - process it [00:19:07]EE SAM_PROTO_GetFieldsCounters [00:19:07]03 wFMCommunicate request_size=4 [00:19:07]09 00 F2 03 01 00 00 F3 03 00 MH_SAM_APDU [00:19:07]00 CAPDU: EE 80 13 00 00 [00:19:07]Write to MH i2c: E2 08 00 2D 01 80 13 00 00 00 00 00 00 AA [00:19:07]03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:19:07]EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 Write i2c OK [00:19:07]00 MH_I2C_Read... [00:19:07]00 F3 03 00 00 EE 03 09 00 F2 03 Read from MH i2c: 01 E2 00 [00:19:07]01 MH_I2C_Read... [00:19:07]F3 03 00 00 EF 03 09 Read from MH i2c: 00 E2 F6 62 03 00 01 [00:19:07]00 MH_I2C_Read... [00:19:07]00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 Read from MH i2c: 01 E2 00 62 01 00 F3 2D 03 01 00 00 00 5D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 00 09 B9 00 04 F6 01 03 00 01 01 00 11 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 04 03 10 00 00 00 30 EF 30 03 30 09 30 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 30 03 30 01 30 00 30 04 30 F7 30 03 39 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 36 EF 35 03 33 09 37 00 36 F6 0D 03 04 01 10 00 00 06 30 F7 30 03 30 00 30 00 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D7 61 00 00 0E 04 04 00 C9 01 00 00 12 10 04 04 04 04 00 00 43 D7 00 61 00 00 00 00 5E 11 04 04 04 10 00 00 43 30 00 30 00 30 00 30 57 30 04 30 04 30 00 30 45 30 00 30 00 39 00 36 19 35 04 33 04 37 00 36 00 35 00 04 00 06 00 00 90 7C 00 AE 9F [00:19:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 40 30 59 30 FD 30 6A 30 6A 30 09 30 F7 30 19 30 FB 30 D9 39 35 36 19 35 [00:19:08]33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D7 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:19:08]wFMCommunicate OK [00:19:08]SAM_PROTO_GetFieldsCounters done [00:19:08]requested_item shift.num is exist - process it [00:19:08]requested_item shift.opened is exist - process it [00:19:08]req_shift_opened [00:19:08]FM_GetShiftState [00:19:08]SAM_PROTO_GetShiftState [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 13 01 00 [00:19:08]Write to MH i2c: E2 08 00 2E 01 80 13 01 00 00 00 00 00 AC [00:19:08]Write i2c OK [00:19:08]MH_I2C_Read... [00:19:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:08]Read from MH i2c: E2 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 0E 00 [00:19:08]MH_I2C_Read... [00:19:08]Read from MH i2c: E2 0E 00 2E 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B7 [00:19:08]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:19:08]wFMCommunicate OK [00:19:08]SAM_PROTO_GetShiftState done [00:19:08]FM_GetShiftState done [00:19:08]req_shift_opened done [00:19:08]requested_item shift.open_date is exist - process it [00:19:08]req_shift_open_date [00:19:08]FM_GetShiftState [00:19:08]SAM_PROTO_GetShiftState [00:19:08]wFMCommunicate request_size=4 [00:19:08]MH_SAM_APDU [00:19:08]CAPDU: 80 13 01 00 [00:19:08]Write to MH i2c: E2 08 00 2F 01 80 Received data: 13 87 01 95 00 F6 00 70 00 47 00 2C 00 01 AD 00 [00:19:08]30 30 30 30 30 30 Write i2c OK [00:19:08]30 MH_I2C_Read... [00:19:08]30 30 30 39 36 35 33 37 36 4F 00 00 00 82 E6 47 00 CE C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:19:08]30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D7 61 00 00 F4 03 04 00 73 E9 Read from MH i2c: 17 E2 67 [00:19:08]B6 MH_I2C_Read... [00:19:08]04 Read from MH i2c: 01 E2 00 0E 00 00 68 [00:19:08]17 MH_I2C_Read... [00:19:08]11 C0 46 53 6F 3F [00:19:08]CommunicateWithHost err = 0 [00:19:08]CheckOFDResponse [00:19:08]1017 (14) - 77093643461234 [00:19:08]1041 (16) - 0000000000965376 [00:19:08]1040 (4) - 25047 [00:19:08]1012 (4) - 22.10.2024 18:05 [00:19:08]1206 (1) - 0 [00:19:08]OFD Sender: Remove packet 25047 [00:19:08]ProducePacketName [00:19:08]name=ofd_packets/00025047 [00:19:08]NVStorageDeleteData [00:19:08]Read from MH i2c: E2 0E 00 2F 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 B8 [00:19:08]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:19:08]wFMCommunicate OK [00:19:08]SAM_PROTO_GetShiftState done [00:19:08]FM_GetShiftState done [00:19:08]req_shift_open_date done [00:19:08]produce_requested_data done [00:19:08]produce_requested_data return {"fd.num":25047,"shift.num":457,"shift.opened":0,"shift.open_date":0} [00:19:08]process_action_free close_shift [00:19:08]json_value_free [00:19:08]json_value_free done [00:19:08]process_json_proto returns [00:19:08]Send response to host [00:19:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":25047,"shift.num":457,"shift.opened":0,"shift.open_date":0}}} [00:19:08]free response buf [00:19:08]execute_script done [00:19:08]execute_script returns [00:19:08]free content buf [00:19:08]Sock 9.Close socket [00:19:08]Sock 9.Thread stoped [00:19:09]OFD Sender: No OFD packet to send [00:19:14]OFD Sender: No OFD packet to send [00:19:19]OFD Sender: No OFD packet to send [00:19:24]OFD Sender: No OFD packet to send [00:19:29]OFD Sender: No OFD packet to send [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:39]OFD Sender: No OFD packet to send [00:23:44]OFD Sender: No OFD packet to send [00:23:49]OFD Sender: No OFD packet to send [00:23:54]OFD Sender: No OFD packet to send [00:23:59]OFD Sender: No OFD packet to send [00:24:04]OFD Sender: No OFD packet to send [00:24:09]OFD Sender: No OFD packet to send [00:24:14]OFD Sender: No OFD packet to send [00:24:19]OFD Sender: No OFD packet to send [00:24:24]OFD Sender: No OFD packet to send [00:24:29]OFD Sender: No OFD packet to send [00:24:34]OFD Sender: No OFD packet to send [00:24:39]OFD Sender: No OFD packet to send [00:24:44]OFD Sender: No OFD packet to send [00:24:49]OFD Sender: No OFD packet to send [00:24:54]OFD Sender: No OFD packet to send [00:24:59]OFD Sender: No OFD packet to send [00:25:04]OFD Sender: No OFD packet to send [00:25:09]OFD Sender: No OFD packet to send [00:25:14]OFD Sender: No OFD packet to send [00:25:19]OFD Sender: No OFD packet to send [00:25:24]OFD Sender: No OFD packet to send [00:25:29]OFD Sender: No OFD packet to send [00:25:34]OFD Sender: No OFD packet to send [00:25:39]OFD Sender: No OFD packet to send [00:25:44]OFD Sender: No OFD packet to send [00:25:49]OFD Sender: No OFD packet to send [00:25:54]OFD Sender: No OFD packet to send [00:25:59]OFD Sender: No OFD packet to send [00:26:04]OFD Sender: No OFD packet to send [00:26:09]OFD Sender: No OFD packet to send [00:26:14]OFD Sender: No OFD packet to send [00:26:19]OFD Sender: No OFD packet to send [00:26:24]OFD Sender: No OFD packet to send [00:26:29]OFD Sender: No OFD packet to send [00:26:34]OFD Sender: No OFD packet to send [00:26:39]OFD Sender: No OFD packet to send [00:26:44]OFD Sender: No OFD packet to send [00:26:49]OFD Sender: No OFD packet to send [00:26:54]OFD Sender: No OFD packet to send [00:26:59]OFD Sender: No OFD packet to send [00:27:04]OFD Sender: No OFD packet to send [00:27:09]OFD Sender: No OFD packet to send [00:27:14]OFD Sender: No OFD packet to send [00:27:19]OFD Sender: No OFD packet to send [00:27:24]OFD Sender: No OFD packet to send [00:27:29]OFD Sender: No OFD packet to send [00:27:34]OFD Sender: No OFD packet to send [00:27:34]accept exits with 7 [00:27:34]New connection [00:27:34]New thread 3067465060 created [00:27:34]Thread 3067321700 joined [00:27:34]Waiting for new connection... [00:27:34] Sock 7.Parse request [00:27:34]Sock 7.Check first char [00:27:34]Sock 7.First char is OK [00:27:34]request: POST /json_proto HTTP/1.0 [00:27:34]Method: POST [00:27:34]URL: /json_proto [00:27:34]Method is POST - this is cgi request [00:27:34]url: /json_proto [00:27:34]query_string will be loaded in cgi processing [00:27:34]execute_cgi json_proto POST (null) [00:27:34]execute_cgi path=json_proto method=POST [00:27:34]POST find Content-Length [00:27:34]Host: 172.17.53.196:8080 [00:27:34]Content-Length: 215 [00:27:34]Content-Type: application/json [00:27:34] [00:27:34]POST finish read [00:27:34]Found Content-Length = 215 [00:27:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:34]execute_script... [00:27:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:34]POST & json_proto [00:27:34]process_json_proto [00:27:34]json parsed OK: [00:27:34]protocol is kg_v1.0 [00:27:34]action value=get_value [00:27:34]process_action get_value [00:27:34]cmd_get_value [00:27:34]process_action get_value done [00:27:34]requested_data is exist [00:27:34]produce_requested_data [00:27:34]requested_item kkm.sn is exist - process it [00:27:34]requested_item kkm.ver is exist - process it [00:27:34]requested_item fm.sn is exist - process it [00:27:34]wFMCommunicate request_size=4 [00:27:34]MH_SAM_APDU [00:27:34]CAPDU: 80 11 00 00 [00:27:34]Write to MH i2c: E2 08 00 30 01 80 11 00 00 00 00 00 00 AB [00:27:34]Write i2c OK [00:27:34]MH_I2C_Read... [00:27:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:34]Read from MH i2c: E2 [00:27:34]MH_I2C_Read... [00:27:34]Read from MH i2c: E2 17 00 [00:27:34]MH_I2C_Read... [00:27:34]Read from MH i2c: E2 17 00 30 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 02 [00:27:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:27:34]wFMCommunicate OK [00:27:34]requested_item fd.num is exist - process it [00:27:34]SAM_PROTO_GetFieldsCounters [00:27:34]wFMCommunicate request_size=4 [00:27:34]MH_SAM_APDU [00:27:34]CAPDU: 80 13 00 00 [00:27:34]Write to MH i2c: E2 08 00 31 01 80 13 00 00 00 00 00 00 AE [00:27:34]Write i2c OK [00:27:34]MH_I2C_Read... [00:27:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:35]Read from MH i2c: E2 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 62 00 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 62 00 31 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D7 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [00:27:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D7 61 00 00 0E 04 04 00 C9 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:35]wFMCommunicate OK [00:27:35]SAM_PROTO_GetFieldsCounters done [00:27:35]requested_item shift.num is exist - process it [00:27:35]requested_item shift.opened is exist - process it [00:27:35]req_shift_opened [00:27:35]FM_GetShiftState [00:27:35]SAM_PROTO_GetShiftState [00:27:35]wFMCommunicate request_size=4 [00:27:35]MH_SAM_APDU [00:27:35]CAPDU: 80 13 01 00 [00:27:35]Write to MH i2c: E2 08 00 32 01 80 13 01 00 00 00 00 00 B0 [00:27:35]Write i2c OK [00:27:35]MH_I2C_Read... [00:27:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:35]Read from MH i2c: E2 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 0E 00 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 0E 00 32 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BB [00:27:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:27:35]wFMCommunicate OK [00:27:35]SAM_PROTO_GetShiftState done [00:27:35]FM_GetShiftState done [00:27:35]req_shift_opened done [00:27:35]requested_item shift.open_date is exist - process it [00:27:35]req_shift_open_date [00:27:35]FM_GetShiftState [00:27:35]SAM_PROTO_GetShiftState [00:27:35]wFMCommunicate request_size=4 [00:27:35]MH_SAM_APDU [00:27:35]CAPDU: 80 13 01 00 [00:27:35]Write to MH i2c: E2 08 00 33 01 80 13 01 00 00 00 00 00 B1 [00:27:35]Write i2c OK [00:27:35]MH_I2C_Read... [00:27:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:35]Read from MH i2c: E2 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 0E 00 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 0E 00 33 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 BC [00:27:35]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:27:35]wFMCommunicate OK [00:27:35]SAM_PROTO_GetShiftState done [00:27:35]FM_GetShiftState done [00:27:35]req_shift_open_date done [00:27:35]produce_requested_data done [00:27:35]produce_requested_data return {"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25047,"shift.num":457,"shift.opened":0,"shift.open_date":0} [00:27:35]process_action_free get_value [00:27:35]json_value_free [00:27:35]json_value_free done [00:27:35]process_json_proto returns [00:27:35]Send response to host [00:27:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000240","kkm.ver":"001","fm.sn":"0000000000965376","fd.num":25047,"shift.num":457,"shift.opened":0,"shift.open_date":0}}} [00:27:35]free response buf [00:27:35]execute_script done [00:27:35]execute_script returns [00:27:35]free content buf [00:27:35]Sock 7.Close socket [00:27:35]Sock 7.Thread stoped [00:27:35]accept exits with 10 [00:27:35]New connection [00:27:35]New thread 3067321700 created [00:27:35]Thread 3067465060 joined [00:27:35]Waiting for new connection... [00:27:35] Sock 10.Parse request [00:27:35]Sock 10.Check first char [00:27:35]Sock 10.First char is OK [00:27:35]request: POST /json_proto HTTP/1.0 [00:27:35]Method: POST [00:27:35]URL: /json_proto [00:27:35]Method is POST - this is cgi request [00:27:35]url: /json_proto [00:27:35]query_string will be loaded in cgi processing [00:27:35]execute_cgi json_proto POST (null) [00:27:35]execute_cgi path=json_proto method=POST [00:27:35]POST find Content-Length [00:27:35]Host: 172.17.53.196:8080 [00:27:35]Content-Length: 331 [00:27:35]Content-Type: application/json [00:27:35] [00:27:35]POST finish read [00:27:35]Found Content-Length = 331 [00:27:35]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:27:35]execute_script... [00:27:35]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:27:35]POST & json_proto [00:27:35]process_json_proto [00:27:35]json parsed OK: [00:27:35]protocol is kg_v1.0 [00:27:35]action value=get_value [00:27:35]process_action get_value [00:27:35]cmd_get_value [00:27:35]process_action get_value done [00:27:35]requested_data is exist [00:27:35]produce_requested_data [00:27:35]requested_item fm.sale.total is exist - process it [00:27:35]SAM_PROTO_GetFMData [00:27:35]wFMCommunicate request_size=4 [00:27:35]MH_SAM_APDU [00:27:35]CAPDU: 80 13 03 00 [00:27:35]Write to MH i2c: E2 08 00 34 01 80 13 03 00 00 00 00 00 B4 [00:27:35]Write i2c OK [00:27:35]MH_I2C_Read... [00:27:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:35]Read from MH i2c: E2 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 FD 00 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 FD 00 34 01 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 F6 [00:27:35]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:27:35]wFMCommunicate OK [00:27:35]wFMCommunicate request_size=4 [00:27:35]MH_SAM_APDU [00:27:35]CAPDU: 80 17 00 00 [00:27:35]Write to MH i2c: E2 08 00 35 01 80 17 00 00 00 00 00 00 B6 [00:27:35]Write i2c OK [00:27:35]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 FD 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 FD 00 35 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 A8 [00:27:36]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:27:36]wFMCommunicate OK [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 17 00 00 [00:27:36]Write to MH i2c: E2 08 00 36 01 80 17 00 00 00 00 00 00 B7 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 FD 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 FD 00 36 01 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 5B [00:27:36]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:27:36]wFMCommunicate OK [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 17 00 00 [00:27:36]Write to MH i2c: E2 08 00 37 01 80 17 00 00 00 00 00 00 B8 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 FD 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 FD 00 37 01 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 32 [00:27:36]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:36]wFMCommunicate OK [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 17 00 00 [00:27:36]Write to MH i2c: E2 08 00 38 01 80 17 00 00 00 00 00 00 B9 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 DC 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 DC 00 38 01 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 9D [00:27:36]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:27:36]wFMCommunicate OK [00:27:36]SAM_PROTO_GetFMData done [00:27:36]requested_item fm.sale_refund.total is exist - process it [00:27:36]requested_item fm.buy.total is exist - process it [00:27:36]requested_item shift.sale.total is exist - process it [00:27:36]SAM_PROTO_GetShiftData [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 13 02 00 [00:27:36]Write to MH i2c: E2 08 00 39 01 80 13 02 00 00 00 00 00 B8 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:37]Read from MH i2c: E2 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 FD 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 FD 00 39 01 00 AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2D [00:27:37]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 60 7D 0E 70 04 03 00 A4 B8 0C 72 04 03 00 BC C4 01 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E1 89 01 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 CF 20 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:27:37]wFMCommunicate OK [00:27:37]wFMCommunicate request_size=4 [00:27:37]MH_SAM_APDU [00:27:37]CAPDU: 80 17 00 00 [00:27:37]Write to MH i2c: E2 08 00 3A 01 80 17 00 00 00 00 00 00 BB [00:27:37]Write i2c OK [00:27:37]MH_I2C_Read... [00:27:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:37]Read from MH i2c: E2 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 FD 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 FD 00 3A 01 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 DD [00:27:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:27:37]wFMCommunicate OK [00:27:37]wFMCommunicate request_size=4 [00:27:37]MH_SAM_APDU [00:27:37]CAPDU: 80 17 00 00 [00:27:37]Write to MH i2c: E2 08 00 3B 01 80 17 00 00 00 00 00 00 BC [00:27:37]Write i2c OK [00:27:37]MH_I2C_Read... [00:27:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:37]Read from MH i2c: E2 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 FD 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 FD 00 3B 01 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 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 73 [00:27:38]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:27:38]wFMCommunicate OK [00:27:38]wFMCommunicate request_size=4 [00:27:38]MH_SAM_APDU [00:27:38]CAPDU: 80 17 00 00 [00:27:38]Write to MH i2c: E2 08 00 3C 01 80 17 00 00 00 00 00 00 BD [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:38]Read from MH i2c: E2 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 FD 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 FD 00 3C 01 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 2F [00:27:38]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:27:38]wFMCommunicate OK [00:27:38]wFMCommunicate request_size=4 [00:27:38]MH_SAM_APDU [00:27:38]CAPDU: 80 17 00 00 [00:27:38]Write to MH i2c: E2 08 00 3D 01 80 17 00 00 00 00 00 00 BE [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:27:38]Read from MH i2c: E2 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 CB 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 CB 00 3D 01 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 A7 [00:27:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:27:38]wFMCommunicate OK [00:27:38]SAM_PROTO_GetShiftData done [00:27:38]requested_item shift.sale.total_cash is exist - process it [00:27:38]requested_item shift.sale_refund.total is exist - process it [00:27:38]requested_item shift.sale_refund.total_cash is exist - process it [00:27:38]requested_item shift.buy.total is exist - process it [00:27:38]requested_item shift.buy.total_cash is exist - process it [00:27:38]produce_requested_data done [00:27:38]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:27:38]process_action_free get_value [00:27:38]json_value_free [00:27:38]json_value_free done [00:27:38]process_json_proto returns [00:27:38]Send response to host [00:27:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.00,"fm.buy.total":0.00,"shift.sale.total":9496.00,"shift.sale.total_cash":8337.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:27:38]free response buf [00:27:38]execute_script done [00:27:38]execute_script returns [00:27:38]free content buf [00:27:38]Sock 10.Close socket [00:27:38]Sock 10.Thread stoped [00:27:38]accept exits with 7 [00:27:38]New connection [00:27:38]New thread 3067465060 created [00:27:38]Thread 3067321700 joined [00:27:38]Waiting for new connection... [00:27:38] Sock 7.Parse request [00:27:38]Sock 7.Check first char [00:27:38]Sock 7.First char is OK [00:27:38]request: POST /json_proto HTTP/1.0 [00:27:38]Method: POST [00:27:38]URL: /json_proto [00:27:38]Method is POST - this is cgi request [00:27:38]url: /json_proto [00:27:38]query_string will be loaded in cgi processing [00:27:38]execute_cgi json_proto POST (null) [00:27:38]execute_cgi path=json_proto method=POST [00:27:38]POST find Content-Length [00:27:38]Host: 172.17.53.196:8080 [00:27:38]Content-Length: 265 [00:27:38]Content-Type: application/json [00:27:38] [00:27:38]POST finish read [00:27:38]Found Content-Length = 265 [00:27:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u043B\u044B\u043A\u0443\u043B\u043E\u0432\u0430 \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:38]execute_script... [00:27:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u043B\u044B\u043A\u0443\u043B\u043E\u0432\u0430 \u041A. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:38]POST & json_proto [00:27:38]process_json_proto [00:27:38]json parsed OK: [00:27:38]protocol is kg_v1.0 [00:27:38]action value=open_shift [00:27:38]process_action open_shift [00:27:38]cmd_open_shift [00:27:38]MH_GetDate [00:27:38]Write to MH i2c: F0 00 00 3E 01 2E [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: F0 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: F0 09 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: F0 09 00 3E 01 00 FB 42 18 67 4F CD 9A 65 0E [00:27:38]GetLastDocTimeStamp 1729642734 [00:27:38]current date 1729643259 [00:27:38]FM_GetShiftState [00:27:38]SAM_PROTO_GetShiftState [00:27:38]wFMCommunicate request_size=4 [00:27:38]MH_SAM_APDU [00:27:38]CAPDU: 80 13 01 00 [00:27:38]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:38]Read from MH i2c: E2 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 0E 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 0E 00 3F 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 C8 [00:27:38]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:27:38]wFMCommunicate OK [00:27:38]SAM_PROTO_GetShiftState done [00:27:38]FM_GetShiftState done [00:27:38]KKMCreateOpenShiftDocument [00:27:38]Load OK [00:27:38]Malloc new data [00:27:38]MH_GetDate [00:27:38]Write to MH i2c: F0 00 00 40 01 30 [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: F0 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: F0 09 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: F0 09 00 40 01 00 FB 42 18 67 4F CD 9A 65 10 [00:27:38]Malloc new data [00:27:38]KKMCreateOpenShiftDocument OK [00:27:38]KKMSetOpenShiftData OK [00:27:38]ProcessDocumentItem done err = 0, tmpTLVsize=206 [00:27:38]tlvbuf is 00287350 [00:27:38]KKMLoadAndSignOpenShiftData [00:27:38]SAM_PROTO_ProcessDocument [00:27:38]wFMCommunicate request_size=9 [00:27:38]MH_SAM_APDU [00:27:38]CAPDU: 80 15 01 00 04 02 00 CE 00 [00:27:38]Write to MH i2c: E2 0C 00 41 01 80 15 01 00 04 00 02 00 CE 00 00 00 99 [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:27:38]Read from MH i2c: E2 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 03 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 03 00 41 01 00 90 00 B6 [00:27:38]RAPDU: 90 00 [00:27:38]wFMCommunicate OK [00:27:38]wFMCommunicate request_size=23 [00:27:38]MH_SAM_APDU [00:27:38]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:27:38]Write to MH i2c: E2 1A 00 42 01 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 B8 [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:38]Read from MH i2c: E2 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 03 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 03 00 42 01 00 90 00 B7 [00:27:38]RAPDU: 90 00 [00:27:38]wFMCommunicate OK [00:27:38]wFMCommunicate request_size=32 [00:27:38]MH_SAM_APDU [00:27:38]CAPDU: 80 15 02 00 1B FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 [00:27:38]Write to MH i2c: E2 23 00 43 01 80 15 02 00 1B 00 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 00 00 29 [00:27:38]Write i2c OK [00:27:38]MH_I2C_Read... [00:27:38]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:38]Read from MH i2c: E2 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 03 00 [00:27:38]MH_I2C_Read... [00:27:38]Read from MH i2c: E2 03 00 43 01 00 90 00 B8 [00:27:39]RAPDU: 90 00 [00:27:39]wFMCommunicate OK [00:27:39]wFMCommunicate request_size=92 [00:27:39]MH_SAM_APDU [00:27:39]CAPDU: 80 15 02 00 57 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 [00:27:39]Write to MH i2c: E2 5F 00 44 01 80 15 02 00 57 00 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 00 00 2B [00:27:39]Write i2c OK [00:27:39]MH_I2C_Read... [00:27:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:39]Read from MH i2c: E2 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 44 01 00 90 00 B9 [00:27:39]RAPDU: 90 00 [00:27:39]wFMCommunicate OK [00:27:39]wFMCommunicate request_size=51 [00:27:39]MH_SAM_APDU [00:27:39]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 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:27:39]Write to MH i2c: E2 36 00 45 01 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 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 70 [00:27:39]Write i2c OK [00:27:39]MH_I2C_Read... [00:27:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:39]Read from MH i2c: E2 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 45 01 00 90 00 BA [00:27:39]RAPDU: 90 00 [00:27:39]wFMCommunicate OK [00:27:39]wFMCommunicate request_size=13 [00:27:39]MH_SAM_APDU [00:27:39]CAPDU: 80 15 02 00 08 F4 03 04 00 FB 42 18 67 [00:27:39]Write to MH i2c: E2 10 00 46 01 80 15 02 00 08 00 F4 03 04 00 FB 42 18 67 00 00 8E [00:27:39]Write i2c OK [00:27:39]MH_I2C_Read... [00:27:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:39]Read from MH i2c: E2 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 46 01 00 90 00 BB [00:27:39]RAPDU: 90 00 [00:27:39]wFMCommunicate OK [00:27:39]wFMCommunicate request_size=25 [00:27:39]MH_SAM_APDU [00:27:39]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 [00:27:39]Write to MH i2c: E2 1C 00 47 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 00 00 2E [00:27:39]Write i2c OK [00:27:39]MH_I2C_Read... [00:27:39]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:27:39]Read from MH i2c: E2 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 03 00 47 01 00 90 00 BC [00:27:39]RAPDU: 90 00 [00:27:39]wFMCommunicate OK [00:27:39]wFMCommunicate request_size=4 [00:27:39]MH_SAM_APDU [00:27:39]CAPDU: 80 15 03 00 [00:27:39]Write to MH i2c: E2 08 00 48 01 80 15 03 00 00 00 00 00 CA [00:27:39]Write i2c OK [00:27:39]MH_I2C_Read... [00:27:39]OFD Sender: No OFD packet to send [00:27:39]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:27:39]Read from MH i2c: E2 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 38 00 [00:27:39]MH_I2C_Read... [00:27:39]Read from MH i2c: E2 38 00 48 01 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D8 61 00 00 0E 04 04 00 CA 01 00 00 35 04 06 00 D4 52 D6 0C 32 2D 90 00 05 [00:27:39]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D8 61 00 00 0E 04 04 00 CA 01 00 00 35 04 06 00 D4 52 D6 0C 32 2D 90 00 [00:27:39]wFMCommunicate OK [00:27:39]SAM_PROTO_ProcessDocument answer len = 51 [00:27:39]SAM_PROTO_ProcessDocument done [00:27:39]SetTLVBufToDocument [00:27:39]Processing tag 1209 (04B9) [00:27:39]Malloc new data [00:27:39]Processing tag 1041 (0411) [00:27:39]Processing tag 1040 (0410) [00:27:39]Malloc new data [00:27:39]Processing tag 1038 (040E) [00:27:39]Malloc new data [00:27:39]Processing tag 1077 (0435) [00:27:39]Malloc new data [00:27:39]SetTLVBufToDocument err=0 [00:27:39]KKMLoadAndSignOpenShiftData store KKM data [00:27:39]KKMLoadAndSignOpenShiftData err=0 [00:27:39]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Алыкулова К. Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 Место: АЗС № 161 "Партнер Нефть" 23.10.2024 00:27 Смена: 458 РНМ: 0000000000098147 ЗНМ: 0300000240 ФД: 25048 ФМ: 0000000000965376 ФПД: 233452243530285 [00:27:39]StoreToDocumentArchive [00:27:39]shift 458 fd 25048 [00:27:39]Create dir for shift 0458 [00:27:39]save to /storage/0458/doc_00025048 [00:27:39]save last doc name /storage/0458/doc_00025048 to /storage/kkm_last_doc_name [00:27:39]save OK [00:27:39]Clear old archive folders... [00:27:39]Remove dir /storage/0457 [00:27:39]opendir ok [00:27:39]file . [00:27:39]file .. [00:27:39]file doc_00024979 [00:27:39]remove file /storage/0457/doc_00024979 [00:27:39]file doc_00024980 [00:27:39]remove file /storage/0457/doc_00024980 [00:27:39]file doc_00024981 [00:27:39]remove file /storage/0457/doc_00024981 [00:27:39]file doc_00024982 [00:27:39]remove file /storage/0457/doc_00024982 [00:27:39]file doc_00024983 [00:27:39]remove file /storage/0457/doc_00024983 [00:27:39]file doc_00024984 [00:27:39]remove file /storage/0457/doc_00024984 [00:27:39]file doc_00024985 [00:27:39]remove file /storage/0457/doc_00024985 [00:27:39]file doc_00024986 [00:27:39]remove file /storage/0457/doc_00024986 [00:27:39]file doc_00024987 [00:27:39]remove file /storage/0457/doc_00024987 [00:27:39]file doc_00024988 [00:27:39]remove file /storage/0457/doc_00024988 [00:27:39]file doc_00024989 [00:27:39]remove file /storage/0457/doc_00024989 [00:27:39]file doc_00024990 [00:27:39]remove file /storage/0457/doc_00024990 [00:27:39]file doc_00024991 [00:27:39]remove file /storage/0457/doc_00024991 [00:27:39]file doc_00024992 [00:27:39]remove file /storage/0457/doc_00024992 [00:27:39]file doc_00024993 [00:27:39]remove file /storage/0457/doc_00024993 [00:27:39]file doc_00024994 [00:27:39]remove file /storage/0457/doc_00024994 [00:27:39]file doc_00024995 [00:27:39]remove file /storage/0457/doc_00024995 [00:27:39]file doc_00024996 [00:27:39]remove file /storage/0457/doc_00024996 [00:27:39]file doc_00024997 [00:27:39]remove file /storage/0457/doc_00024997 [00:27:39]file doc_00024998 [00:27:39]remove file /storage/0457/doc_00024998 [00:27:39]file doc_00024999 [00:27:39]remove file /storage/0457/doc_00024999 [00:27:39]file doc_00025000 [00:27:39]remove file /storage/0457/doc_00025000 [00:27:39]file doc_00025001 [00:27:39]remove file /storage/0457/doc_00025001 [00:27:39]file doc_00025002 [00:27:39]remove file /storage/0457/doc_00025002 [00:27:39]file doc_00025003 [00:27:39]remove file /storage/0457/doc_00025003 [00:27:39]file doc_00025004 [00:27:39]remove file /storage/0457/doc_00025004 [00:27:39]file doc_00025005 [00:27:39]remove file /storage/0457/doc_00025005 [00:27:39]file doc_00025006 [00:27:39]remove file /storage/0457/doc_00025006 [00:27:39]file doc_00025007 [00:27:39]remove file /storage/0457/doc_00025007 [00:27:39]file doc_00025008 [00:27:39]remove file /storage/0457/doc_00025008 [00:27:39]file doc_00025009 [00:27:39]remove file /storage/0457/doc_00025009 [00:27:39]file doc_00025010 [00:27:39]remove file /storage/0457/doc_00025010 [00:27:39]file doc_00025011 [00:27:39]remove file /storage/0457/doc_00025011 [00:27:39]file doc_00025012 [00:27:39]remove file /storage/0457/doc_00025012 [00:27:39]file doc_00025013 [00:27:39]remove file /storage/0457/doc_00025013 [00:27:39]file doc_00025014 [00:27:39]remove file /storage/0457/doc_00025014 [00:27:39]file doc_00025015 [00:27:39]remove file /storage/0457/doc_00025015 [00:27:39]file doc_00025016 [00:27:39]remove file /storage/0457/doc_00025016 [00:27:39]file doc_00025017 [00:27:39]remove file /storage/0457/doc_00025017 [00:27:39]file doc_00025018 [00:27:39]remove file /storage/0457/doc_00025018 [00:27:39]file doc_00025019 [00:27:39]remove file /storage/0457/doc_00025019 [00:27:39]file doc_00025020 [00:27:39]remove file /storage/0457/doc_00025020 [00:27:39]file doc_00025021 [00:27:39]remove file /storage/0457/doc_00025021 [00:27:39]file doc_00025022 [00:27:39]remove file /storage/0457/doc_00025022 [00:27:39]file doc_00025023 [00:27:39]remove file /storage/0457/doc_00025023 [00:27:39]file doc_00025024 [00:27:39]remove file /storage/0457/doc_00025024 [00:27:39]file doc_00025025 [00:27:39]remove file /storage/0457/doc_00025025 [00:27:39]file doc_00025026 [00:27:39]remove file /storage/0457/doc_00025026 [00:27:39]file doc_00025027 [00:27:39]remove file /storage/0457/doc_00025027 [00:27:39]file doc_00025028 [00:27:39]remove file /storage/0457/doc_00025028 [00:27:39]file doc_00025029 [00:27:39]remove file /storage/0457/doc_00025029 [00:27:39]file doc_00025030 [00:27:39]remove file /storage/0457/doc_00025030 [00:27:39]file doc_00025031 [00:27:39]remove file /storage/0457/doc_00025031 [00:27:39]file doc_00025032 [00:27:39]remove file /storage/0457/doc_00025032 [00:27:39]file doc_00025033 [00:27:39]remove file /storage/0457/doc_00025033 [00:27:39]file doc_00025034 [00:27:39]remove file /storage/0457/doc_00025034 [00:27:39]file doc_00025035 [00:27:39]remove file /storage/0457/doc_00025035 [00:27:39]file doc_00025036 [00:27:39]remove file /storage/0457/doc_00025036 [00:27:39]file doc_00025037 [00:27:39]remove file /storage/0457/doc_00025037 [00:27:39]file doc_00025038 [00:27:39]remove file /storage/0457/doc_00025038 [00:27:39]file doc_00025039 [00:27:39]remove file /storage/0457/doc_00025039 [00:27:39]file doc_00025040 [00:27:39]remove file /storage/0457/doc_00025040 [00:27:39]file doc_00025041 [00:27:39]remove file /storage/0457/doc_00025041 [00:27:39]file doc_00025042 [00:27:39]remove file /storage/0457/doc_00025042 [00:27:39]file doc_00025043 [00:27:39]remove file /storage/0457/doc_00025043 [00:27:39]file doc_00025044 [00:27:39]remove file /storage/0457/doc_00025044 [00:27:39]file doc_00025045 [00:27:39]remove file /storage/0457/doc_00025045 [00:27:39]file doc_00025046 [00:27:39]remove file /storage/0457/doc_00025046 [00:27:39]file doc_00025047 [00:27:39]remove file /storage/0457/doc_00025047 [00:27:40]remove dir /storage/0457 [00:27:40]ProcessDocumentItem done err = 0, tmpTLVsize=257 [00:27:40]tlvbuf is B6FD2C60 [00:27:40]SAM_PROTO_ClearQueue [00:27:40]wFMCommunicate request_size=4 [00:27:40]MH_SAM_APDU [00:27:40]CAPDU: 80 09 00 00 [00:27:40]Write to MH i2c: E2 08 00 49 01 80 09 00 00 00 00 00 00 BC [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:27:40]Read from MH i2c: E2 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 49 01 00 90 00 BE [00:27:40]RAPDU: 90 00 [00:27:40]wFMCommunicate OK [00:27:40]SAM_PROTO_ClearQueue done [00:27:40]KKMCreateOFDPacket [00:27:40]OFDProtocolAddRootSTLVToBuf [00:27:40]FM_MakeSignedData [00:27:40]FM_MakeSignedData [00:27:40]SAM_PROTO_SignData [00:27:40]wFMCommunicate request_size=4 [00:27:40]MH_SAM_APDU [00:27:40]CAPDU: 80 0D 01 02 [00:27:40]Write to MH i2c: E2 08 00 4A 01 80 0D 01 02 00 00 00 00 C4 [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:27:40]Read from MH i2c: E2 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 4A 01 00 90 00 BF [00:27:40]RAPDU: 90 00 [00:27:40]wFMCommunicate OK [00:27:40]wFMCommunicate request_size=255 [00:27:40]MH_SAM_APDU [00:27:40]CAPDU: 80 0D 02 02 FA 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 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 FB 42 18 67 0E 04 04 00 CA 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D8 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 [00:27:40]Write to MH i2c: E2 02 01 4B 01 80 0D 02 02 FA 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 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 FB 42 18 67 0E 04 04 00 CA 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D8 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 00 00 BE [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:40]Read from MH i2c: E2 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 4B 01 00 90 00 C0 [00:27:40]RAPDU: 90 00 [00:27:40]wFMCommunicate OK [00:27:40]wFMCommunicate request_size=16 [00:27:40]MH_SAM_APDU [00:27:40]CAPDU: 80 0D 02 02 0B 36 35 04 06 00 D4 52 D6 0C 32 2D [00:27:40]Write to MH i2c: E2 13 00 4C 01 80 0D 02 02 0B 00 36 35 04 06 00 D4 52 D6 0C 32 2D 00 00 B9 [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:40]Read from MH i2c: E2 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [00:27:40]RAPDU: 90 00 [00:27:40]wFMCommunicate OK [00:27:40]wFMCommunicate request_size=4 [00:27:40]MH_SAM_APDU [00:27:40]CAPDU: 80 0D 03 02 [00:27:40]Write to MH i2c: E2 08 00 4D 01 80 0D 03 02 00 00 00 00 C9 [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:27:40]Read from MH i2c: E2 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 0B 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 0B 00 4D 01 00 88 D2 56 9B E2 83 79 0E 90 00 01 [00:27:40]RAPDU: 88 D2 56 9B E2 83 79 0E 90 00 [00:27:40]wFMCommunicate OK [00:27:40]SAM_PROTO_SignData done [00:27:40]FM_MakeSignedData done [00:27:40]CreateOFDProtocolMessage [00:27:40]wFMCommunicate request_size=4 [00:27:40]MH_SAM_APDU [00:27:40]CAPDU: 80 11 00 00 [00:27:40]Write to MH i2c: E2 08 00 4E 01 80 11 00 00 00 00 00 00 C9 [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:40]Read from MH i2c: E2 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 17 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: E2 17 00 4E 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 20 [00:27:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:27:40]wFMCommunicate OK [00:27:40]CreateOFDProtocolMessage done [00:27:40]OFDSenderStorePacket 25048 [00:27:40]StoreOFDPacket docnum=25048 [00:27:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 15 01 00 00 E7 71 0D 01 82 3F 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 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 FB 42 18 67 0E 04 04 00 CA 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D8 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 D4 52 D6 0C 32 2D 88 D2 56 9B E2 83 79 0E [00:27:40]CheckFolder [00:27:40]dirname=/storage/ofd_packets [00:27:40]CheckFolder done [00:27:40]ProducePacketName [00:27:40]name=ofd_packets/00025048 [00:27:40]NVStorageSaveData ofd_packets/00025048 [00:27:40]File name is /storage/ofd_packets/00025048 [00:27:40]Write 307 bytes [00:27:40]NVStorageSaveData done [00:27:40]OFDSenderStorePacket done [00:27:40]KKMCreateOFDPacket done [00:27:40]NVStorageSaveData kkm_last_timestamp [00:27:40]File name is /storage/kkm_last_timestamp [00:27:40]Write 4 bytes [00:27:40]NVStorageSaveData done [00:27:40]ExternCall_PrintAddStr [00:27:40]wPrintStart [00:27:40]Write to MH i2c: 01 00 00 4F 01 50 [00:27:40]Write i2c OK [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: 01 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: 01 07 00 [00:27:40]MH_I2C_Read... [00:27:40]Read from MH i2c: 01 07 00 4F 01 00 00 00 00 00 FF 0F 65 [00:27:40]RasterBufferAndPrint [00:27:40]line Отчет об открытии смены [00:27:40]line ФФД: 1.0 [00:27:40]line ИНН: 02508201610067 [00:27:40]line Кассир: Алыкулова К. [00:27:40]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:27:40]line Место: АЗС № 161 "Партнер Нефть" [00:27:40]line 23.10.2024 00:27 [00:27:40]line Смена: 458 [00:27:40]line РНМ: 0000000000098147 [00:27:40]line ЗНМ: 0300000240 [00:27:40]line ФД: 25048 [00:27:40]line ФМ: 0000000000965376 [00:27:40]line ФПД: 233452243530285 [00:27:40]written 0, free lines is 4095 [00:27:40]OFD Sender: Processing packet 25048 [packets to send 5, broken 4] [00:27:40]ProducePacketName [00:27:40]name=ofd_packets/00025048 [00:27:40]OFD Sender: To server: pG, [00:27:40]CommunicateWithHost lk.salyk.kg:30040 [00:27:40]ConnectInit lk.salyk.kg [00:27:41]Connected sock=10 [00:27:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 15 01 00 00 E7 71 0D 01 82 3F 5A 02 01 00 02 00 01 01 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 17 00 D0 90 D0 BB D1 8B D0 BA D1 83 D0 BB D0 BE D0 B2 D0 B0 20 D0 9A 2E 20 F1 03 53 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9C D0 B0 D1 81 D1 8B 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 20 35 32 31 20 D0 BA D0 BC 2C 20 34 31 2E 39 32 39 38 33 34 2C 20 37 32 2E 38 38 38 38 35 36 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 36 31 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 FB 42 18 67 0E 04 04 00 CA 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D8 61 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 35 04 06 00 D4 52 D6 0C 32 2D 88 D2 56 9B E2 83 79 0E [00:27:41]Write to MH i2c: 01 00 00 61 01 62 [00:27:41]Write i2c OK [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: 01 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: 01 07 00 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: 01 07 00 61 01 00 00 00 00 00 AE 0E 25 [00:27:41]RasterBufferAndPrint [00:27:41]line [00:27:41]line [00:27:41]line [00:27:41]line [00:27:41]line [00:27:41]written 0, free lines is 3770 [00:27:41]process_action open_shift done [00:27:41]requested_data is exist [00:27:41]produce_requested_data [00:27:41]requested_item fd.num is exist - process it [00:27:41]SAM_PROTO_GetFieldsCounters [00:27:41]wFMCommunicate request_size=4 [00:27:41]MH_SAM_APDU [00:27:41]CAPDU: 80 13 00 00 [00:27:41]Write to MH i2c: E2 08 00 68 01 80 13 00 00 00 00 00 00 E5 [00:27:41]Write i2c OK [00:27:41]MH_I2C_Read... [00:27:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:41]Read from MH i2c: E2 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: E2 62 00 [00:27:41]MH_I2C_Read... [00:27:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 C6 01 47 00 73 D2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D8 61 00 00 F4 03 04 00 74 EB 17 67 B6 04 01 00 00 D6 5D 7F 4A 97 86 CE 79 [00:27:41]CommunicateWithHost err = 0 [00:27:41]CheckOFDResponse [00:27:41]1017 (14) - 77093643461234 [00:27:41]1041 (16) - 0000000000965376 [00:27:41]1040 (4) - 25048 [00:27:41]1012 (4) - 22.10.2024 18:14 [00:27:41]1206 (1) - 0 [00:27:41]OFD Sender: Remove packet 25048 [00:27:41]ProducePacketName [00:27:41]name=ofd_packets/00025048 [00:27:41]NVStorageDeleteData [00:27:41]Read from MH i2c: E2 62 00 68 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D8 61 00 00 0E 04 04 00 CA 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 12 [00:27:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D8 61 00 00 0E 04 04 00 CA 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:27:41]wFMCommunicate OK [00:27:41]SAM_PROTO_GetFieldsCounters done [00:27:41]requested_item shift.num is exist - process it [00:27:41]requested_item shift.opened is exist - process it [00:27:41]req_shift_opened [00:27:41]FM_GetShiftState [00:27:41]SAM_PROTO_GetShiftState [00:27:41]wFMCommunicate request_size=4 [00:27:41]MH_SAM_APDU [00:27:41]CAPDU: 80 13 01 00 [00:27:41]Write to MH i2c: E2 08 00 69 01 80 13 01 00 00 00 00 00 E7 [00:27:41]Write i2c OK [00:27:41]MH_I2C_Read... [00:27:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:41]Read from MH i2c: E2 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: E2 0E 00 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: E2 0E 00 69 01 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 AF [00:27:41]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [00:27:41]wFMCommunicate OK [00:27:41]SAM_PROTO_GetShiftState done [00:27:41]FM_GetShiftState done [00:27:41]req_shift_opened done [00:27:41]requested_item shift.open_date is exist - process it [00:27:41]req_shift_open_date [00:27:41]req_shift_open_date done [00:27:41]produce_requested_data done [00:27:41]produce_requested_data return {"fd.num":25048,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [00:27:41]process_action_free open_shift [00:27:41]json_value_free [00:27:41]json_value_free done [00:27:41]process_json_proto returns [00:27:41]Send response to host [00:27:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":25048,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [00:27:41]free response buf [00:27:41]execute_script done [00:27:41]execute_script returns [00:27:41]free content buf [00:27:41]Sock 7.Close socket [00:27:41]Sock 7.Thread stoped [00:27:41]accept exits with 9 [00:27:41]New connection [00:27:41]New thread 3067321700 created [00:27:41]Thread 3067465060 joined [00:27:41]Waiting for new connection... [00:27:41] Sock 9.Parse request [00:27:41]Sock 9.Check first char [00:27:41]Sock 9.First char is OK [00:27:41]request: POST /json_proto HTTP/1.0 [00:27:41]Method: POST [00:27:41]URL: /json_proto [00:27:41]Method is POST - this is cgi request [00:27:41]url: /json_proto [00:27:41]query_string will be loaded in cgi processing [00:27:41]execute_cgi json_proto POST (null) [00:27:41]execute_cgi path=json_proto method=POST [00:27:41]POST find Content-Length [00:27:41]Host: 172.17.53.196:8080 [00:27:41]Content-Length: 331 [00:27:41]Content-Type: application/json [00:27:41] [00:27:41]POST finish read [00:27:41]Found Content-Length = 331 [00:27:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:27:41]execute_script... [00:27:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:27:41]POST & json_proto [00:27:41]process_json_proto [00:27:41]json parsed OK: [00:27:41]protocol is kg_v1.0 [00:27:41]action value=get_value [00:27:41]process_action get_value [00:27:41]cmd_get_value [00:27:41]process_action get_value done [00:27:41]requested_data is exist [00:27:41]produce_requested_data [00:27:41]requested_item fm.sale.total is exist - process it [00:27:41]SAM_PROTO_GetFMData [00:27:41]wFMCommunicate request_size=4 [00:27:41]MH_SAM_APDU [00:27:41]CAPDU: 80 13 03 00 [00:27:41]Write to MH i2c: E2 08 00 6A 01 80 13 03 00 00 00 00 00 EA [00:27:41]Write i2c OK [00:27:41]MH_I2C_Read... [00:27:41]OFD Sender: No OFD packet to send [00:27:41]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:27:41]Read from MH i2c: E2 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: E2 FD 00 [00:27:41]MH_I2C_Read... [00:27:41]Read from MH i2c: E2 FD 00 6A 01 00 BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 2C [00:27:42]RAPDU: BF 04 85 04 BB 04 6E 04 04 00 44 5E 00 00 69 04 A0 00 6F 04 04 00 36 5E 00 00 B1 04 04 00 7C 87 D3 14 70 04 04 00 3C 40 A3 12 72 04 04 00 40 47 30 02 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 BE 25 36 02 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 4E 23 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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 0E 00 00 00 B1 04 03 00 1C 7E 06 70 04 03 00 90 41 06 72 04 02 00 8C 3C 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 80 B0 EF 03 09 00 F6 03 01 00 90 00 [00:27:42]wFMCommunicate OK [00:27:42]wFMCommunicate request_size=4 [00:27:42]MH_SAM_APDU [00:27:42]CAPDU: 80 17 00 00 [00:27:42]Write to MH i2c: E2 08 00 6B 01 80 17 00 00 00 00 00 00 EC [00:27:42]Write i2c OK [00:27:42]MH_I2C_Read... [00:27:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:42]Read from MH i2c: E2 [00:27:42]MH_I2C_Read... [00:27:42]Read from MH i2c: E2 FD 00 [00:27:42]MH_I2C_Read... [00:27:42]Read from MH i2c: E2 FD 00 6B 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 DE [00:27:42]RAPDU: 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 B6 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 90 00 [00:27:42]wFMCommunicate OK [00:27:42]wFMCommunicate request_size=4 [00:27:42]MH_SAM_APDU [00:27:42]CAPDU: 80 17 00 00 [00:27:42]Write to MH i2c: E2 08 00 6C 01 80 17 00 00 00 00 00 00 ED [00:27:42]Write i2c OK [00:27:42]MH_I2C_Read... [00:27:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:42]Read from MH i2c: E2 [00:27:42]MH_I2C_Read... [00:27:42]Read from MH i2c: E2 FD 00 [00:27:42]MH_I2C_Read... [00:27:42]Read from MH i2c: E2 FD 00 6C 01 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 91 [00:27:42]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 90 00 [00:27:43]wFMCommunicate OK [00:27:43]wFMCommunicate request_size=4 [00:27:43]MH_SAM_APDU [00:27:43]CAPDU: 80 17 00 00 [00:27:43]Write to MH i2c: E2 08 00 6D 01 80 17 00 00 00 00 00 00 EE [00:27:43]Write i2c OK [00:27:43]MH_I2C_Read... [00:27:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:43]Read from MH i2c: E2 [00:27:43]MH_I2C_Read... [00:27:43]Read from MH i2c: E2 FD 00 [00:27:43]MH_I2C_Read... [00:27:43]Read from MH i2c: E2 FD 00 6D 01 00 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 68 [00:27:43]RAPDU: 00 04 F7 03 00 00 EF 03 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 90 00 [00:27:43]wFMCommunicate OK [00:27:43]wFMCommunicate request_size=4 [00:27:43]MH_SAM_APDU [00:27:43]CAPDU: 80 17 00 00 [00:27:43]Write to MH i2c: E2 08 00 6E 01 80 17 00 00 00 00 00 00 EF [00:27:43]Write i2c OK [00:27:43]MH_I2C_Read... [00:27:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 217! [00:27:43]Read from MH i2c: E2 [00:27:43]MH_I2C_Read... [00:27:43]Read from MH i2c: E2 DC 00 [00:27:43]MH_I2C_Read... [00:27:43]Read from MH i2c: E2 DC 00 6E 01 00 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D3 [00:27:43]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 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:27:43]wFMCommunicate OK [00:27:43]SAM_PROTO_GetFMData done [00:27:43]requested_item fm.sale_refund.total is exist - process it [00:27:43]requested_item fm.buy.total is exist - process it [00:27:43]requested_item shift.sale.total is exist - process it [00:27:43]SAM_PROTO_GetShiftData [00:27:43]wFMCommunicate request_size=4 [00:27:43]MH_SAM_APDU [00:27:43]CAPDU: 80 13 02 00 [00:27:43]Write to MH i2c: E2 08 00 6F 01 80 13 02 00 00 00 00 00 EE [00:27:43]Write i2c OK [00:27:43]MH_I2C_Read... [00:27:44]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:27:44]Read from MH i2c: E2 [00:27:44]MH_I2C_Read... [00:27:44]Read from MH i2c: E2 FD 00 [00:27:44]MH_I2C_Read... [00:27:44]Read from MH i2c: E2 FD 00 6F 01 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 61 [00:27:44]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:27:44]wFMCommunicate OK [00:27:44]wFMCommunicate request_size=4 [00:27:44]MH_SAM_APDU [00:27:44]CAPDU: 80 17 00 00 [00:27:44]Write to MH i2c: E2 08 00 70 01 80 17 00 00 00 00 00 00 F1 [00:27:44]Write i2c OK [00:27:44]MH_I2C_Read... [00:27:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:44]Read from MH i2c: E2 [00:27:44]MH_I2C_Read... [00:27:44]Read from MH i2c: E2 FD 00 [00:27:44]MH_I2C_Read... [00:27:44]Read from MH i2c: E2 FD 00 70 01 00 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 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 F9 [00:27:44]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:27:45]wFMCommunicate OK [00:27:45]wFMCommunicate request_size=4 [00:27:45]MH_SAM_APDU [00:27:45]CAPDU: 80 17 00 00 [00:27:45]Write to MH i2c: E2 08 00 71 01 80 17 00 00 00 00 00 00 F2 [00:27:45]Write i2c OK [00:27:45]MH_I2C_Read... [00:27:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:45]Read from MH i2c: E2 [00:27:45]MH_I2C_Read... [00:27:45]Read from MH i2c: E2 FD 00 [00:27:45]MH_I2C_Read... [00:27:45]Read from MH i2c: E2 FD 00 71 01 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 C4 [00:27:45]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:27:45]wFMCommunicate OK [00:27:45]wFMCommunicate request_size=4 [00:27:45]MH_SAM_APDU [00:27:45]CAPDU: 80 17 00 00 [00:27:45]Write to MH i2c: E2 08 00 72 01 80 17 00 00 00 00 00 00 F3 [00:27:45]Write i2c OK [00:27:45]MH_I2C_Read... [00:27:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:27:45]Read from MH i2c: E2 [00:27:45]MH_I2C_Read... [00:27:45]Read from MH i2c: E2 FD 00 [00:27:45]MH_I2C_Read... [00:27:45]Read from MH i2c: E2 FD 00 72 01 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 65 [00:27:45]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:27:45]wFMCommunicate OK [00:27:45]wFMCommunicate request_size=4 [00:27:45]MH_SAM_APDU [00:27:45]CAPDU: 80 17 00 00 [00:27:45]Write to MH i2c: E2 08 00 73 01 80 17 00 00 00 00 00 00 F4 [00:27:45]Write i2c OK [00:27:45]MH_I2C_Read... [00:27:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:27:46]Read from MH i2c: E2 [00:27:46]MH_I2C_Read... [00:27:46]Read from MH i2c: E2 BD 00 [00:27:46]MH_I2C_Read... [00:27:46]Read from MH i2c: E2 BD 00 73 01 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 DA [00:27:46]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:27:46]wFMCommunicate OK [00:27:46]SAM_PROTO_GetShiftData done [00:27:46]requested_item shift.sale.total_cash is exist - process it [00:27:46]requested_item shift.sale_refund.total is exist - process it [00:27:46]requested_item shift.sale_refund.total_cash is exist - process it [00:27:46]requested_item shift.buy.total is exist - process it [00:27:46]requested_item shift.buy.total_cash is exist - process it [00:27:46]produce_requested_data done [00:27:46]produce_requested_data return {"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.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:27:46]process_action_free get_value [00:27:46]json_value_free [00:27:46]json_value_free done [00:27:46]process_json_proto returns [00:27:46]Send response to host [00:27:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":3494071.00,"fm.sale_refund.total":4255.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:27:46]free response buf [00:27:46]execute_script done [00:27:46]execute_script returns [00:27:46]free content buf [00:27:46]Sock 9.Close socket [00:27:46]Sock 9.Thread stoped [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:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:02]OFD Sender: No OFD packet to send [00:35:07]OFD Sender: No OFD packet to send [00:35:12]OFD Sender: No OFD packet to send [00:35:17]OFD Sender: No OFD packet to send [00:35:22]OFD Sender: No OFD packet to send [00:35:27]OFD Sender: No OFD packet to send [00:35:32]OFD Sender: No OFD packet to send [00:35:37]OFD Sender: No OFD packet to send [00:35:42]OFD Sender: No OFD packet to send [00:35:47]OFD Sender: No OFD packet to send [00:35:52]OFD Sender: No OFD packet to send [00:35:57]OFD Sender: No OFD packet to send [00:36:02]OFD Sender: No OFD packet to send [00:36:07]OFD Sender: No OFD packet to send [00:36:12]OFD Sender: No OFD packet to send [00:36:17]OFD Sender: No OFD packet to send [00:36:22]OFD Sender: No OFD packet to send [00:36:27]OFD Sender: No OFD packet to send [00:36:32]OFD Sender: No OFD packet to send [00:36:37]OFD Sender: No OFD packet to send [00:36:42]OFD Sender: No OFD packet to send [00:36:47]OFD Sender: No OFD packet to send [00:36:52]OFD Sender: No OFD packet to send [00:36:57]OFD Sender: No OFD packet to send [00:37:02]OFD Sender: No OFD packet to send [00:37:07]OFD Sender: No OFD packet to send [00:37:12]OFD Sender: No OFD packet to send [00:37:17]OFD Sender: No OFD packet to send [00:37:22]OFD Sender: No OFD packet to send [00:37:27]OFD Sender: No OFD packet to send [00:37:32]OFD Sender: No OFD packet to send [00:37:37]OFD Sender: No OFD packet to send [00:37:42]OFD Sender: No OFD packet to send [00:37:47]OFD Sender: No OFD packet to send [00:37:52]OFD Sender: No OFD packet to send [00:37:57]OFD Sender: No OFD packet to send [00:38:02]OFD Sender: No OFD packet to send [00:38:07]OFD Sender: No OFD packet to send [00:38:12]OFD Sender: No OFD packet to send [00:38:17]OFD Sender: No OFD packet to send [00:38:22]OFD Sender: No OFD packet to send [00:38:27]OFD Sender: No OFD packet to send [00:38:32]OFD Sender: No OFD packet to send [00:38:37]OFD Sender: No OFD packet to send [00:38:42]OFD Sender: No OFD packet to send [00:38:47]OFD Sender: No OFD packet to send [00:38:52]OFD Sender: No OFD packet to send [00:38:57]OFD Sender: No OFD packet to send [00:39:02]OFD Sender: No OFD packet to send [00:39:07]OFD Sender: No OFD packet to send [00:39:12]OFD Sender: No OFD packet to send [00:39:17]OFD Sender: No OFD packet to send [00:39:22]OFD Sender: No OFD packet to send [00:39:27]OFD Sender: No OFD packet to send [00:39:32]OFD Sender: No OFD packet to send [00:39:37]OFD Sender: No OFD packet to send [00:39:42]OFD Sender: No OFD packet to send [00:39:47]OFD Sender: No OFD packet to send [00:39:52]OFD Sender: No OFD packet to send [00:39:57]OFD Sender: No OFD packet to send [00:40:02]OFD Sender: No OFD packet to send [00:40:07]OFD Sender: No OFD packet to send [00:40:12]OFD Sender: No OFD packet to send [00:40:17]OFD Sender: No OFD packet to send [00:40:22]OFD Sender: No OFD packet to send [00:40:27]OFD Sender: No OFD packet to send [00:40:32]OFD Sender: No OFD packet to send [00:40:37]OFD Sender: No OFD packet to send [00:40:42]OFD Sender: No OFD packet to send [00:40:47]OFD Sender: No OFD packet to send [00:40:52]OFD Sender: No OFD packet to send [00:40:57]OFD Sender: No OFD packet to send [00:41:02]OFD Sender: No OFD packet to send [00:41:07]int [00:41:07]Write to MH i2c: 01 00 00 74 01 75 [00:41:07]*** FLAG_PRN_KEY set [00:41:07]Write i2c OK [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 07 00 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 07 00 74 01 00 08 00 00 00 FF 0F 92 [00:41:07]state=0 [00:41:07]Key pressed [00:41:07]Feed [00:41:07]Write to MH i2c: D8 00 00 75 01 4D [00:41:07]Write i2c OK [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: D8 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: D8 01 00 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: D8 01 00 75 01 00 4E [00:41:07]int [00:41:07]Write to MH i2c: 01 00 00 76 01 77 [00:41:07]Write i2c OK [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 07 00 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 07 00 76 01 00 48 00 00 00 3D 00 03 [00:41:07]state=2 [00:41:07]Key pressed [00:41:07]int [00:41:07]Write to MH i2c: 01 00 00 77 01 78 [00:41:07]*** FLAG_PRN_KEY reset [00:41:07]Write i2c OK [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 07 00 [00:41:07]MH_I2C_Read... [00:41:07]Read from MH i2c: 01 07 00 77 01 00 00 00 00 00 F6 0F 84 [00:41:07]state=2 [00:41:07]Stop feed [00:41:07]OFD Sender: No OFD packet to send [00:41:10]int [00:41:10]Write to MH i2c: 01 00 00 78 01 79 [00:41:10]*** FLAG_PRN_KEY set [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 07 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 07 00 78 01 00 08 00 00 00 FF 0F 96 [00:41:10]state=0 [00:41:10]Key pressed [00:41:10]Feed [00:41:10]Write to MH i2c: D8 00 00 79 01 51 [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: D8 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: D8 01 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: D8 01 00 79 01 00 52 [00:41:10]int [00:41:10]Write to MH i2c: 01 00 00 7A 01 7B [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 07 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 07 00 7A 01 00 48 00 00 00 3C 00 06 [00:41:10]state=2 [00:41:10]Key pressed [00:41:11]int [00:41:11]Write to MH i2c: 01 00 00 7B 01 7C [00:41:11]*** FLAG_PRN_KEY reset [00:41:11]Write i2c OK [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: 01 [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: 01 07 00 [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: 01 07 00 7B 01 00 00 00 00 00 F6 0F 88 [00:41:11]state=2 [00:41:11]Stop feed [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:00]accept exits with 7 [00:44:00]New connection [00:44:00]New thread 3067465060 created [00:44:00]Thread 3067321700 joined [00:44:00]Waiting for new connection... [00:44:00] Sock 7.Parse request [00:44:00]Sock 7.Check first char [00:44:00]Sock 7.First char is OK [00:44:00]request: POST /json_proto HTTP/1.0 [00:44:00]Method: POST [00:44:00]URL: /json_proto [00:44:00]Method is POST - this is cgi request [00:44:00]url: /json_proto [00:44:00]query_string will be loaded in cgi processing [00:44:00]execute_cgi json_proto POST (null) [00:44:00]execute_cgi path=json_proto method=POST [00:44:00]POST find Content-Length [00:44:00]Host: 172.17.53.196:8080 [00:44:00]Content-Length: 674 [00:44:00]Content-Type: application/json [00:44:00] [00:44:00]POST finish read [00:44:00]Found Content-Length = 674 [00:44:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34806", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 28.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:44:00]execute_script... [00:44:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34806", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 4.000, "sum" : 28.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 28.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:44:00]POST & json_proto [00:44:00]process_json_proto [00:44:00]json parsed OK: [00:44:00]protocol is kg_v1.0 [00:44:00]action value=close_receipt [00:44:00]process_action close_receipt [00:44:00]cmd_close_receipt [00:44:00]MH_GetDate [00:44:00]Write to MH i2c: F0 00 00 7C 01 6C [00:44:00]Write i2c OK [00:44:00]MH_I2C_Read... [00:44:00]Read from MH i2c: F0 [00:44:00]MH_I2C_Read... [00:44:00]Read from MH i2c: F0 09 00 [00:44:00]MH_I2C_Read... [00:44:00]Read from MH i2c: F0 09 00 7C 01 00 D1 46 18 67 4F CD 9A 65 26 [00:44:00]GetLastDocTimeStamp 1729643259 [00:44:00]current date 1729644241 [00:44:00]FM_GetShiftState [00:44:00]SAM_PROTO_GetShiftState [00:44:00]wFMCommunicate request_size=4 [00:44:00]MH_SAM_APDU [00:44:00]CAPDU: 80 13 01 00 [00:44:00]Write to MH i2c: E2 08 00 7D 01 80 13 01 00 00 00 00 00 FB [00:44:00]Write i2c OK [00:44:00]MH_I2C_Read... [00:44:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:44:00]Read from MH i2c: E2 [00:44:00]MH_I2C_Read... [00:44:00]Read from MH i2c: E2 0E 00 [00:44:00]MH_I2C_Read... [00:44:00]Read from MH i2c: E2 0E 00 7D 01 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 C3 [00:44:00]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [00:44:00]wFMCommunicate OK [00:44:00]SAM_PROTO_GetShiftState done [00:44:00]FM_GetShiftState done [00:44:00]opened in 1729643259 [00:44:00]opened+sec_in_day 1729729659 [00:44:00]quantity*price = 2800 [00:44:00]sum+1 = 2801 [00:44:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 28.00 НСП 1% : 0.25 НДС 12% : 2.97 Наличными: 28.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 1 23.10.2024 00:44 Смена: 458 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25049 ФПД: 8249222358636 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T004401&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25049&fm=8249222358636&tin=02508201610067®Number=0000000000098147&sum=2800 0 [00:44:01]StoreToDocumentArchive [00:44:01]shift 458 fd 25049 [00:44:01]save to /storage/0458/doc_00025049 [00:44:01]save last doc name /storage/0458/doc_00025049 to /storage/kkm_last_doc_name [00:44:01]save OK [00:44:01]Clear old archive folders... [00:44:01]ProcessDocumentItem done err = 0, tmpTLVsize=287 [00:44:01]tlvbuf is 0024E750 [00:44:01]SAM_PROTO_ClearQueue [00:44:01]wFMCommunicate request_size=4 [00:44:01]MH_SAM_APDU [00:44:01]CAPDU: 80 09 00 00 [00:44:01]Write to MH i2c: E2 08 00 8A 01 80 09 00 00 00 00 00 00 FD [00:44:01]Write i2c OK [00:44:01]MH_I2C_Read... [00:44:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:44:01]Read from MH i2c: E2 [00:44:01]MH_I2C_Read... [00:44:01]Read from MH i2c: E2 03 00 [00:44:01]MH_I2C_Read... [00:44:01]Read from MH i2c: E2 03 00 8A 01 00 90 00 FF [00:44:01]RAPDU: 90 00 [00:44:01]wFMCommunicate OK [00:44:01]SAM_PROTO_ClearQueue done [00:44:01]KKMCreateOFDPacket [00:44:01]OFDProtocolAddRootSTLVToBuf [00:44:01]FM_MakeSignedData [00:44:01]FM_MakeSignedData [00:44:01]SAM_PROTO_SignData [00:44:01]wFMCommunicate request_size=4 [00:44:01]MH_SAM_APDU [00:44:01]CAPDU: 80 0D 01 02 [00:44:01]Write to MH i2c: E2 08 00 8B 01 80 0D 01 02 00 00 00 00 05 [00:44:01]Write i2c OK [00:44:01]MH_I2C_Read... [00:44:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:44:01]Read from MH i2c: E2 [00:44:01]MH_I2C_Read... [00:44:01]Read from MH i2c: E2 03 00 [00:44:01]MH_I2C_Read... [00:44:01]Read from MH i2c: E2 03 00 8B 01 00 90 00 00 [00:44:01]RAPDU: 90 00 [00:44:01]wFMCommunicate OK [00:44:01]wFMCommunicate request_size=255 [00:44:01]MH_SAM_APDU [00:44:01]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 D1 46 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [00:44:01]Write to MH i2c: E2 02 01 8C 01 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 D1 46 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 14 [00:44:01]Write i2c OK [00:44:01]MH_I2C_Read... [00:44:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:44:02]Read from MH i2c: E2 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 03 00 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 03 00 8C 01 00 90 00 01 [00:44:02]RAPDU: 90 00 [00:44:02]wFMCommunicate OK [00:44:02]wFMCommunicate request_size=46 [00:44:02]MH_SAM_APDU [00:44:02]CAPDU: 80 0D 02 02 29 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D9 61 00 00 35 04 06 00 07 80 AB F7 E6 6C [00:44:02]Write to MH i2c: E2 31 00 8D 01 80 0D 02 02 29 00 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D9 61 00 00 35 04 06 00 07 80 AB F7 E6 6C 00 00 4B [00:44:02]Write i2c OK [00:44:02]MH_I2C_Read... [00:44:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:44:02]Read from MH i2c: E2 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 03 00 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 03 00 8D 01 00 90 00 02 [00:44:02]RAPDU: 90 00 [00:44:02]wFMCommunicate OK [00:44:02]wFMCommunicate request_size=4 [00:44:02]MH_SAM_APDU [00:44:02]CAPDU: 80 0D 03 02 [00:44:02]Write to MH i2c: E2 08 00 8E 01 80 0D 03 02 00 00 00 00 0A [00:44:02]Write i2c OK [00:44:02]MH_I2C_Read... [00:44:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:44:02]Read from MH i2c: E2 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 0B 00 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 0B 00 8E 01 00 9B F8 E6 E6 98 18 BC 02 90 00 D8 [00:44:02]RAPDU: 9B F8 E6 E6 98 18 BC 02 90 00 [00:44:02]wFMCommunicate OK [00:44:02]SAM_PROTO_SignData done [00:44:02]FM_MakeSignedData done [00:44:02]CreateOFDProtocolMessage [00:44:02]wFMCommunicate request_size=4 [00:44:02]MH_SAM_APDU [00:44:02]CAPDU: 80 11 00 00 [00:44:02]Write to MH i2c: E2 08 00 8F 01 80 11 00 00 00 00 00 00 0A [00:44:02]Write i2c OK [00:44:02]MH_I2C_Read... [00:44:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:44:02]Read from MH i2c: E2 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 17 00 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: E2 17 00 8F 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 61 [00:44:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:44:02]wFMCommunicate OK [00:44:02]CreateOFDProtocolMessage done [00:44:02]OFDSenderStorePacket 25049 [00:44:02]StoreOFDPacket docnum=25049 [00:44:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 33 01 00 00 8D DA 2B 01 02 CB 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 D1 46 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D9 61 00 00 35 04 06 00 07 80 AB F7 E6 6C 9B F8 E6 E6 98 18 BC 02 [00:44:02]CheckFolder [00:44:02]dirname=/storage/ofd_packets [00:44:02]CheckFolder done [00:44:02]ProducePacketName [00:44:02]name=ofd_packets/00025049 [00:44:02]NVStorageSaveData ofd_packets/00025049 [00:44:02]File name is /storage/ofd_packets/00025049 [00:44:02]Write 337 bytes [00:44:02]NVStorageSaveData done [00:44:02]OFDSenderStorePacket done [00:44:02]KKMCreateOFDPacket done [00:44:02]NVStorageSaveData kkm_last_timestamp [00:44:02]File name is /storage/kkm_last_timestamp [00:44:02]Write 4 bytes [00:44:02]NVStorageSaveData done [00:44:02]ExternCall_PrintAddStr [00:44:02]wPrintStart [00:44:02]Write to MH i2c: 01 00 00 90 01 91 [00:44:02]Write i2c OK [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: 01 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: 01 07 00 [00:44:02]MH_I2C_Read... [00:44:02]Read from MH i2c: 01 07 00 90 01 00 00 00 00 00 FF 0F A6 [00:44:02]RasterBufferAndPrint [00:44:02]line Счет N : (3)34806 [00:44:02]line ИНН: 02508201610067 [00:44:02]line Контрольно-Кассовый Чек [00:44:02]line ПРОДАЖА [00:44:02]line Товар: 2000053020015 [00:44:02]line Бумажные стаканы 250мл 1шт [00:44:02]line 4.000 * 7.00 [00:44:02]line = 28.00 [00:44:02]line НДС 12% НСП 1% [00:44:02]line > о реализуемом товаре [00:44:02]line ИТОГО: 28.00 [00:44:02]line НСП 1% : 0.25 [00:44:02]line НДС 12% : 2.97 [00:44:02]line Наличными: 28.00 [00:44:02]line Безнал.: 0.00 [00:44:02]line Место: АЗС № 161 "Партнер Нефть" [00:44:02]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:44:02]line СНО: Общий режим [00:44:02]line Чек 1 23.10.2024 00:44 [00:44:02]line Смена: 458 ФФД: 1.0 [00:44:02]line ЗНМ: 0300000240 [00:44:02]line РНМ: 0000000000098147 [00:44:02]line Версия ККМ: 001 [00:44:02]line ФМ: 0000000000965376 [00:44:02]line ФД: 25049 [00:44:02]line ФПД: 8249222358636 [00:44:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T004401&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25049&fm=8249222358636&tin=02508201610067®Number=0000000000098147&sum=2800 [00:44:02]OFD Sender: Processing packet 25049 [packets to send 5, broken 4] [00:44:02]ProducePacketName [00:44:02]name=ofd_packets/00025049 [00:44:02]OFD Sender: To server: pG, [00:44:02]CommunicateWithHost lk.salyk.kg:30040 [00:44:02]ConnectInit lk.salyk.kg [00:44:02]line 0 [00:44:02]written 0, free lines is 4095 [00:44:02]Connected sock=10 [00:44:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 33 01 00 00 8D DA 2B 01 02 CB 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 F0 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F0 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 19 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 01 00 00 00 00 07 04 06 00 F0 0A 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 D1 46 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D9 61 00 00 35 04 06 00 07 80 AB F7 E6 6C 9B F8 E6 E6 98 18 BC 02 [00:44:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 53 EA 47 00 5F 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 D9 61 00 00 F4 03 04 00 4A EF 17 67 B6 04 01 00 00 E3 85 9D 09 B6 2A 4B EC [00:44:02]CommunicateWithHost err = 0 [00:44:02]CheckOFDResponse [00:44:02]1017 (14) - 77093643461234 [00:44:02]1041 (16) - 0000000000965376 [00:44:02]1040 (4) - 25049 [00:44:02]1012 (4) - 22.10.2024 18:30 [00:44:02]1206 (1) - 0 [00:44:02]OFD Sender: Remove packet 25049 [00:44:02]ProducePacketName [00:44:02]name=ofd_packets/00025049 [00:44:02]NVStorageDeleteData [00:44:03]Write to MH i2c: 01 00 00 B9 01 BA [00:44:03]Write i2c OK [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: 01 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: 01 07 00 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: 01 07 00 B9 01 00 00 00 00 00 AF 0C 7C [00:44:03]RasterBufferAndPrint [00:44:03]line [00:44:03]line [00:44:03]line [00:44:03]line [00:44:03]line [00:44:03]written 0, free lines is 3251 [00:44:03]process_action close_receipt done [00:44:03]requested_data is exist [00:44:03]produce_requested_data [00:44:03]requested_item fm.sn is exist - process it [00:44:03]wFMCommunicate request_size=4 [00:44:03]MH_SAM_APDU [00:44:03]CAPDU: 80 11 00 00 [00:44:03]Write to MH i2c: E2 08 00 C0 01 80 11 00 00 00 00 00 00 3B [00:44:03]Write i2c OK [00:44:03]MH_I2C_Read... [00:44:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:44:03]Read from MH i2c: E2 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: E2 17 00 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: E2 17 00 C0 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 92 [00:44:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:44:03]wFMCommunicate OK [00:44:03]requested_item fd.num is exist - process it [00:44:03]SAM_PROTO_GetFieldsCounters [00:44:03]wFMCommunicate request_size=4 [00:44:03]MH_SAM_APDU [00:44:03]CAPDU: 80 13 00 00 [00:44:03]Write to MH i2c: E2 08 00 C1 01 80 13 00 00 00 00 00 00 3E [00:44:03]Write i2c OK [00:44:03]MH_I2C_Read... [00:44:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:44:03]Read from MH i2c: E2 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: E2 62 00 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: E2 62 00 C1 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D9 61 00 00 0E 04 04 00 CA 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 6F [00:44:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 D9 61 00 00 0E 04 04 00 CA 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:44:03]wFMCommunicate OK [00:44:03]SAM_PROTO_GetFieldsCounters done [00:44:03]requested_item shift.num is exist - process it [00:44:03]requested_item shift.opened is exist - process it [00:44:03]req_shift_opened [00:44:03]FM_GetShiftState [00:44:03]SAM_PROTO_GetShiftState [00:44:03]wFMCommunicate request_size=4 [00:44:03]MH_SAM_APDU [00:44:03]CAPDU: 80 13 01 00 [00:44:03]Write to MH i2c: E2 08 00 C2 01 80 13 01 00 00 00 00 00 40 [00:44:03]Write i2c OK [00:44:03]MH_I2C_Read... [00:44:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:44:03]Read from MH i2c: E2 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: E2 0E 00 [00:44:03]MH_I2C_Read... [00:44:03]Read from MH i2c: E2 0E 00 C2 01 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 08 [00:44:03]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [00:44:03]wFMCommunicate OK [00:44:03]SAM_PROTO_GetShiftState done [00:44:03]FM_GetShiftState done [00:44:03]req_shift_opened done [00:44:03]requested_item shift.open_date is exist - process it [00:44:03]req_shift_open_date [00:44:03]req_shift_open_date done [00:44:03]produce_requested_data done [00:44:03]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25049,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [00:44:03]process_action_free close_receipt [00:44:03]json_value_free [00:44:03]json_value_free done [00:44:03]process_json_proto returns [00:44:03]Send response to host [00:44:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25049,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [00:44:03]free response buf [00:44:03]execute_script done [00:44:03]execute_script returns [00:44:03]free content buf [00:44:03]Sock 7.Close socket [00:44:03]Sock 7.Thread stoped [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:31]accept exits with 9 [00:48:31]New connection [00:48:31]New thread 3067321700 created [00:48:31]Thread 3067465060 joined [00:48:31]Waiting for new connection... [00:48:31] Sock 9.Parse request [00:48:31]Sock 9.Check first char [00:48:31]Sock 9.First char is OK [00:48:31]request: POST /json_proto HTTP/1.0 [00:48:31]Method: POST [00:48:31]URL: /json_proto [00:48:31]Method is POST - this is cgi request [00:48:31]url: /json_proto [00:48:31]query_string will be loaded in cgi processing [00:48:31]execute_cgi json_proto POST (null) [00:48:31]execute_cgi path=json_proto method=POST [00:48:31]POST find Content-Length [00:48:31]Host: 172.17.53.196:8080 [00:48:31]Content-Length: 620 [00:48:31]Content-Type: application/json [00:48:31] [00:48:31]POST finish read [00:48:31]Found Content-Length = 620 [00:48:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34807", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:48:31]execute_script... [00:48: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 : (3)34807", "tax_sys" : 0, "items" : [ { "code": "48747066", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston True Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:48:31]POST & json_proto [00:48:31]process_json_proto [00:48:31]json parsed OK: [00:48:31]protocol is kg_v1.0 [00:48:31]action value=close_receipt [00:48:31]process_action close_receipt [00:48:31]cmd_close_receipt [00:48:31]MH_GetDate [00:48:31]Write to MH i2c: F0 00 00 C3 01 B3 [00:48:31]Write i2c OK [00:48:31]MH_I2C_Read... [00:48:31]Read from MH i2c: F0 [00:48:31]MH_I2C_Read... [00:48:31]Read from MH i2c: F0 09 00 [00:48:31]MH_I2C_Read... [00:48:31]Read from MH i2c: F0 09 00 C3 01 00 E0 47 18 67 4F CD 9A 65 7D [00:48:31]GetLastDocTimeStamp 1729644241 [00:48:31]current date 1729644512 [00:48:31]FM_GetShiftState [00:48:31]SAM_PROTO_GetShiftState [00:48:31]wFMCommunicate request_size=4 [00:48:31]MH_SAM_APDU [00:48:31]CAPDU: 80 13 01 00 [00:48:31]Write to MH i2c: E2 08 00 C4 01 80 13 01 00 00 00 00 00 42 [00:48:31]Write i2c OK [00:48:31]MH_I2C_Read... [00:48:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:31]Read from MH i2c: E2 [00:48:31]MH_I2C_Read... [00:48:31]Read from MH i2c: E2 0E 00 [00:48:31]MH_I2C_Read... [00:48:31]Read from MH i2c: E2 0E 00 C4 01 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 0A [00:48:31]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [00:48:31]wFMCommunicate OK [00:48:31]SAM_PROTO_GetShiftState done [00:48:31]FM_GetShiftState done [00:48:31]opened in 1729643259 [00:48:31]opened+sec_in_day 1729729659 [00:48:31]quantity*price = 14400 [00:48:31]sum+1 = 14401 [00:48:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 2 23.10.2024 00:48 Смена: 458 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25050 ФПД: 138427471170512 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T004832&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25050&fm=138427471170512&tin=02508201610067®Number=0000000000098147&sum=14400 0 [00:48:32]StoreToDocumentArchive [00:48:32]shift 458 fd 25050 [00:48:32]save to /storage/0458/doc_00025050 [00:48:32]save last doc name /storage/0458/doc_00025050 to /storage/kkm_last_doc_name [00:48:32]save OK [00:48:32]Clear old archive folders... [00:48:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [00:48:32]tlvbuf is 00276B00 [00:48:32]SAM_PROTO_ClearQueue [00:48:32]wFMCommunicate request_size=4 [00:48:32]MH_SAM_APDU [00:48:32]CAPDU: 80 09 00 00 [00:48:32]Write to MH i2c: E2 08 00 D1 01 80 09 00 00 00 00 00 00 44 [00:48:32]Write i2c OK [00:48:32]MH_I2C_Read... [00:48:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:48:32]Read from MH i2c: E2 [00:48:32]MH_I2C_Read... [00:48:32]Read from MH i2c: E2 03 00 [00:48:32]MH_I2C_Read... [00:48:32]Read from MH i2c: E2 03 00 D1 01 00 90 00 46 [00:48:32]RAPDU: 90 00 [00:48:32]wFMCommunicate OK [00:48:32]SAM_PROTO_ClearQueue done [00:48:32]KKMCreateOFDPacket [00:48:32]OFDProtocolAddRootSTLVToBuf [00:48:32]FM_MakeSignedData [00:48:32]FM_MakeSignedData [00:48:32]SAM_PROTO_SignData [00:48:32]wFMCommunicate request_size=4 [00:48:32]MH_SAM_APDU [00:48:32]CAPDU: 80 0D 01 02 [00:48:32]Write to MH i2c: E2 08 00 D2 01 80 0D 01 02 00 00 00 00 4C [00:48:32]Write i2c OK [00:48:32]MH_I2C_Read... [00:48:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:48:32]Read from MH i2c: E2 [00:48:32]MH_I2C_Read... [00:48:32]Read from MH i2c: E2 03 00 [00:48:32]MH_I2C_Read... [00:48:32]Read from MH i2c: E2 03 00 D2 01 00 90 00 47 [00:48:32]RAPDU: 90 00 [00:48:32]wFMCommunicate OK [00:48:32]wFMCommunicate request_size=255 [00:48:32]MH_SAM_APDU [00:48:32]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E0 47 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 [00:48:32]Write to MH i2c: E2 02 01 D3 01 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E0 47 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 00 00 55 [00:48:32]Write i2c OK [00:48:32]MH_I2C_Read... [00:48:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:33]Read from MH i2c: E2 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 03 00 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 03 00 D3 01 00 90 00 48 [00:48:33]RAPDU: 90 00 [00:48:33]wFMCommunicate OK [00:48:33]wFMCommunicate request_size=32 [00:48:33]MH_SAM_APDU [00:48:33]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 33 37 36 10 04 04 00 DA 61 00 00 35 04 06 00 7D E6 28 3F 0B D0 [00:48:33]Write to MH i2c: E2 23 00 D4 01 80 0D 02 02 1B 00 30 30 30 39 36 35 33 37 36 10 04 04 00 DA 61 00 00 35 04 06 00 7D E6 28 3F 0B D0 00 00 90 [00:48:33]Write i2c OK [00:48:33]MH_I2C_Read... [00:48:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:33]Read from MH i2c: E2 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 03 00 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 03 00 D4 01 00 90 00 49 [00:48:33]RAPDU: 90 00 [00:48:33]wFMCommunicate OK [00:48:33]wFMCommunicate request_size=4 [00:48:33]MH_SAM_APDU [00:48:33]CAPDU: 80 0D 03 02 [00:48:33]Write to MH i2c: E2 08 00 D5 01 80 0D 03 02 00 00 00 00 51 [00:48:33]Write i2c OK [00:48:33]MH_I2C_Read... [00:48:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:48:33]Read from MH i2c: E2 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 0B 00 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 0B 00 D5 01 00 62 00 2A 73 01 36 AF 4E 90 00 85 [00:48:33]RAPDU: 62 00 2A 73 01 36 AF 4E 90 00 [00:48:33]wFMCommunicate OK [00:48:33]SAM_PROTO_SignData done [00:48:33]FM_MakeSignedData done [00:48:33]CreateOFDProtocolMessage [00:48:33]wFMCommunicate request_size=4 [00:48:33]MH_SAM_APDU [00:48:33]CAPDU: 80 11 00 00 [00:48:33]Write to MH i2c: E2 08 00 D6 01 80 11 00 00 00 00 00 00 51 [00:48:33]Write i2c OK [00:48:33]MH_I2C_Read... [00:48:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:33]Read from MH i2c: E2 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 17 00 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: E2 17 00 D6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 A8 [00:48:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:48:33]wFMCommunicate OK [00:48:33]CreateOFDProtocolMessage done [00:48:33]OFDSenderStorePacket 25050 [00:48:33]StoreOFDPacket docnum=25050 [00:48:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 6B 3D 1D 01 81 15 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E0 47 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DA 61 00 00 35 04 06 00 7D E6 28 3F 0B D0 62 00 2A 73 01 36 AF 4E [00:48:33]CheckFolder [00:48:33]dirname=/storage/ofd_packets [00:48:33]CheckFolder done [00:48:33]ProducePacketName [00:48:33]name=ofd_packets/00025050 [00:48:33]NVStorageSaveData ofd_packets/00025050 [00:48:33]File name is /storage/ofd_packets/00025050 [00:48:33]Write 323 bytes [00:48:33]NVStorageSaveData done [00:48:33]OFDSenderStorePacket done [00:48:33]KKMCreateOFDPacket done [00:48:33]NVStorageSaveData kkm_last_timestamp [00:48:33]File name is /storage/kkm_last_timestamp [00:48:33]Write 4 bytes [00:48:33]NVStorageSaveData done [00:48:33]ExternCall_PrintAddStr [00:48:33]wPrintStart [00:48:33]Write to MH i2c: 01 00 00 D7 01 D8 [00:48:33]Write i2c OK [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: 01 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: 01 07 00 [00:48:33]MH_I2C_Read... [00:48:33]Read from MH i2c: 01 07 00 D7 01 00 00 00 00 00 FF 0F ED [00:48:33]RasterBufferAndPrint [00:48:33]line Счет N : (3)34807 [00:48:33]line ИНН: 02508201610067 [00:48:33]line Контрольно-Кассовый Чек [00:48:33]line ПРОДАЖА [00:48:33]line Товар: 48747066 [00:48:33]line Сигареты Winston True Silver [00:48:33]line 1.000 * 144.00 [00:48:33]line = 144.00 [00:48:33]line НДС 12% НСП 1% [00:48:33]line > о реализуемом товаре [00:48:33]line ИТОГО: 144.00 [00:48:33]line НСП 1% : 1.27 [00:48:33]line НДС 12% : 15.29 [00:48:33]line Наличными: 144.00 [00:48:33]line Безнал.: 0.00 [00:48:33]line Место: АЗС № 161 "Партнер Нефть" [00:48:33]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [00:48:33]line СНО: Общий режим [00:48:33]line Чек 2 23.10.2024 00:48 [00:48:33]line Смена: 458 ФФД: 1.0 [00:48:33]line ЗНМ: 0300000240 [00:48:33]line РНМ: 0000000000098147 [00:48:33]line Версия ККМ: 001 [00:48:33]line ФМ: 0000000000965376 [00:48:33]line ФД: 25050 [00:48:33]line ФПД: 138427471170512 [00:48:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T004832&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25050&fm=138427471170512&tin=02508201610067®Number=0000000000098147&sum=14400 [00:48:33]OFD Sender: Processing packet 25050 [packets to send 5, broken 4] [00:48:33]ProducePacketName [00:48:33]name=ofd_packets/00025050 [00:48:33]OFD Sender: To server: pG, [00:48:33]CommunicateWithHost lk.salyk.kg:30040 [00:48:33]ConnectInit lk.salyk.kg [00:48:33]line 0 [00:48:33]written 0, free lines is 4095 [00:48:33]Connected sock=10 [00:48:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 25 01 00 00 6B 3D 1D 01 81 15 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 36 36 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 54 72 75 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 E0 47 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DA 61 00 00 35 04 06 00 7D E6 28 3F 0B D0 62 00 2A 73 01 36 AF 4E [00:48:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 89 FC 47 00 E5 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DA 61 00 00 F4 03 04 00 59 F0 17 67 B6 04 01 00 00 F1 13 56 04 B1 56 98 5B [00:48:33]CommunicateWithHost err = 0 [00:48:33]CheckOFDResponse [00:48:33]1017 (14) - 77093643461234 [00:48:33]1041 (16) - 0000000000965376 [00:48:33]1040 (4) - 25050 [00:48:33]1012 (4) - 22.10.2024 18:35 [00:48:33]1206 (1) - 0 [00:48:33]OFD Sender: Remove packet 25050 [00:48:33]ProducePacketName [00:48:33]name=ofd_packets/00025050 [00:48:33]NVStorageDeleteData [00:48:34]Write to MH i2c: 01 00 00 FF 01 00 [00:48:34]Write i2c OK [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: 01 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: 01 07 00 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: 01 07 00 FF 01 00 00 00 00 00 CC 0C DF [00:48:34]RasterBufferAndPrint [00:48:34]line [00:48:34]line [00:48:34]line [00:48:34]line [00:48:34]line [00:48:34]written 0, free lines is 3281 [00:48:34]process_action close_receipt done [00:48:34]requested_data is exist [00:48:34]produce_requested_data [00:48:34]requested_item fm.sn is exist - process it [00:48:34]wFMCommunicate request_size=4 [00:48:34]MH_SAM_APDU [00:48:34]CAPDU: 80 11 00 00 [00:48:34]Write to MH i2c: E2 08 00 06 02 80 11 00 00 00 00 00 00 82 [00:48:34]Write i2c OK [00:48:34]MH_I2C_Read... [00:48:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:34]Read from MH i2c: E2 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: E2 17 00 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: E2 17 00 06 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 D9 [00:48:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [00:48:34]wFMCommunicate OK [00:48:34]requested_item fd.num is exist - process it [00:48:34]SAM_PROTO_GetFieldsCounters [00:48:34]wFMCommunicate request_size=4 [00:48:34]MH_SAM_APDU [00:48:34]CAPDU: 80 13 00 00 [00:48:34]Write to MH i2c: E2 08 00 07 02 80 13 00 00 00 00 00 00 85 [00:48:34]Write i2c OK [00:48:34]MH_I2C_Read... [00:48:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:48:34]Read from MH i2c: E2 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: E2 62 00 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: E2 62 00 07 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DA 61 00 00 0E 04 04 00 CA 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 BA [00:48:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DA 61 00 00 0E 04 04 00 CA 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:48:34]wFMCommunicate OK [00:48:34]SAM_PROTO_GetFieldsCounters done [00:48:34]requested_item shift.num is exist - process it [00:48:34]requested_item shift.opened is exist - process it [00:48:34]req_shift_opened [00:48:34]FM_GetShiftState [00:48:34]SAM_PROTO_GetShiftState [00:48:34]wFMCommunicate request_size=4 [00:48:34]MH_SAM_APDU [00:48:34]CAPDU: 80 13 01 00 [00:48:34]Write to MH i2c: E2 08 00 08 02 80 13 01 00 00 00 00 00 87 [00:48:34]Write i2c OK [00:48:34]MH_I2C_Read... [00:48:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:34]Read from MH i2c: E2 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: E2 0E 00 [00:48:34]MH_I2C_Read... [00:48:34]Read from MH i2c: E2 0E 00 08 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 4F [00:48:34]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [00:48:34]wFMCommunicate OK [00:48:34]SAM_PROTO_GetShiftState done [00:48:34]FM_GetShiftState done [00:48:34]req_shift_opened done [00:48:34]requested_item shift.open_date is exist - process it [00:48:34]req_shift_open_date [00:48:34]req_shift_open_date done [00:48:34]produce_requested_data done [00:48:34]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25050,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [00:48:34]process_action_free close_receipt [00:48:34]json_value_free [00:48:34]json_value_free done [00:48:34]process_json_proto returns [00:48:34]Send response to host [00:48:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25050,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [00:48:34]free response buf [00:48:34]execute_script done [00:48:34]execute_script returns [00:48:34]free content buf [00:48:34]Sock 9.Close socket [00:48:34]Sock 9.Thread stoped [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:54]OFD Sender: No OFD packet to send [00:48:59]OFD Sender: No OFD packet to send [00:49:04]OFD Sender: No OFD packet to send [00:49:09]OFD Sender: No OFD packet to send [00:49:14]OFD Sender: No OFD packet to send [00:49:19]OFD Sender: No OFD packet to send [00:49:24]OFD Sender: No OFD packet to send [00:49:29]OFD Sender: No OFD packet to send [00:49:34]OFD Sender: No OFD packet to send [00:49:39]OFD Sender: No OFD packet to send [00:49:44]OFD Sender: No OFD packet to send [00:49:49]OFD Sender: No OFD packet to send [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:45]OFD Sender: No OFD packet to send [00:59:50]OFD Sender: No OFD packet to send [00:59:55]OFD Sender: No OFD packet to send [01:00:00]OFD Sender: No OFD packet to send [01:00:05]OFD Sender: No OFD packet to send [01:00:10]OFD Sender: No OFD packet to send [01:00:15]OFD Sender: No OFD packet to send [01:00:20]OFD Sender: No OFD packet to send [01:00:25]OFD Sender: No OFD packet to send [01:00:30]OFD Sender: No OFD packet to send [01:00:35]OFD Sender: No OFD packet to send [01:00:40]OFD Sender: No OFD packet to send [01:00:45]OFD Sender: No OFD packet to send [01:00:50]OFD Sender: No OFD packet to send [01:00:55]OFD Sender: No OFD packet to send [01:01:00]OFD Sender: No OFD packet to send [01:01:05]OFD Sender: No OFD packet to send [01:01:10]OFD Sender: No OFD packet to send [01:01:15]OFD Sender: No OFD packet to send [01:01:20]OFD Sender: No OFD packet to send [01:01:25]OFD Sender: No OFD packet to send [01:01:30]OFD Sender: No OFD packet to send [01:01:35]OFD Sender: No OFD packet to send [01:01:40]OFD Sender: No OFD packet to send [01:01:45]OFD Sender: No OFD packet to send [01:01:50]OFD Sender: No OFD packet to send [01:01:55]OFD Sender: No OFD packet to send [01:02:00]OFD Sender: No OFD packet to send [01:02:05]OFD Sender: No OFD packet to send [01:02:10]OFD Sender: No OFD packet to send [01:02:15]OFD Sender: No OFD packet to send [01:02:20]OFD Sender: No OFD packet to send [01:02:25]OFD Sender: No OFD packet to send [01:02:30]OFD Sender: No OFD packet to send [01:02:35]OFD Sender: No OFD packet to send [01:02:40]OFD Sender: No OFD packet to send [01:02:45]OFD Sender: No OFD packet to send [01:02:50]OFD Sender: No OFD packet to send [01:02:55]OFD Sender: No OFD packet to send [01:03:00]OFD Sender: No OFD packet to send [01:03:05]OFD Sender: No OFD packet to send [01:03:10]OFD Sender: No OFD packet to send [01:03:15]OFD Sender: No OFD packet to send [01:03:20]OFD Sender: No OFD packet to send [01:03:25]OFD Sender: No OFD packet to send [01:03:30]OFD Sender: No OFD packet to send [01:03:35]OFD Sender: No OFD packet to send [01:03:40]OFD Sender: No OFD packet to send [01:03:45]OFD Sender: No OFD packet to send [01:03:50]OFD Sender: No OFD packet to send [01:03:55]OFD Sender: No OFD packet to send [01:04:00]OFD Sender: No OFD packet to send [01:04:05]OFD Sender: No OFD packet to send [01:04:10]OFD Sender: No OFD packet to send [01:04:15]OFD Sender: No OFD packet to send [01:04:20]OFD Sender: No OFD packet to send [01:04:25]OFD Sender: No OFD packet to send [01:04:30]OFD Sender: No OFD packet to send [01:04:35]OFD Sender: No OFD packet to send [01:04:40]OFD Sender: No OFD packet to send [01:04:45]OFD Sender: No OFD packet to send [01:04:50]OFD Sender: No OFD packet to send [01:04:55]OFD Sender: No OFD packet to send [01:05:00]OFD Sender: No OFD packet to send [01:05:05]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:26]accept exits with 7 [01:12:26]New connection [01:12:26]New thread 3067465060 created [01:12:26]Thread 3067321700 joined [01:12:26]Waiting for new connection... [01:12:26] Sock 7.Parse request [01:12:26]Sock 7.Check first char [01:12:26]Sock 7.First char is OK [01:12:26]request: POST /json_proto HTTP/1.0 [01:12:26]Method: POST [01:12:26]URL: /json_proto [01:12:26]Method is POST - this is cgi request [01:12:26]url: /json_proto [01:12:26]query_string will be loaded in cgi processing [01:12:26]execute_cgi json_proto POST (null) [01:12:26]execute_cgi path=json_proto method=POST [01:12:26]POST find Content-Length [01:12:26]Host: 172.17.53.196:8080 [01:12:26]Content-Length: 850 [01:12:26]Content-Type: application/json [01:12:26] [01:12:26]POST finish read [01:12:26]Found Content-Length = 850 [01:12:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34808", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:12:26]execute_script... [01:12:26]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34808", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:12:26]POST & json_proto [01:12:26]process_json_proto [01:12:26]json parsed OK: [01:12:26]protocol is kg_v1.0 [01:12:26]action value=close_receipt [01:12:26]process_action close_receipt [01:12:26]cmd_close_receipt [01:12:26]MH_GetDate [01:12:26]Write to MH i2c: F0 00 00 09 02 FA [01:12:26]Write i2c OK [01:12:26]MH_I2C_Read... [01:12:26]Read from MH i2c: F0 [01:12:26]MH_I2C_Read... [01:12:26]Read from MH i2c: F0 09 00 [01:12:26]MH_I2C_Read... [01:12:26]Read from MH i2c: F0 09 00 09 02 00 7B 4D 18 67 4F CD 9A 65 65 [01:12:26]GetLastDocTimeStamp 1729644512 [01:12:26]current date 1729645947 [01:12:26]FM_GetShiftState [01:12:26]SAM_PROTO_GetShiftState [01:12:26]wFMCommunicate request_size=4 [01:12:26]MH_SAM_APDU [01:12:26]CAPDU: 80 13 01 00 [01:12:26]Write to MH i2c: E2 08 00 0A 02 80 13 01 00 00 00 00 00 89 [01:12:26]Write i2c OK [01:12:26]MH_I2C_Read... [01:12:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:12:26]Read from MH i2c: E2 [01:12:26]MH_I2C_Read... [01:12:26]Read from MH i2c: E2 0E 00 [01:12:26]MH_I2C_Read... [01:12:26]Read from MH i2c: E2 0E 00 0A 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 51 [01:12:26]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:12:26]wFMCommunicate OK [01:12:26]SAM_PROTO_GetShiftState done [01:12:26]FM_GetShiftState done [01:12:26]opened in 1729643259 [01:12:26]opened+sec_in_day 1729729659 [01:12:26]quantity*price = 14400 [01:12:26]sum+1 = 14401 [01:12:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 119.00 = 119.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 263.00 НСП 1% : 2.32 НДС 12% : 27.93 Наличными: 263.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 3 23.10.2024 01:12 Смена: 458 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25051 ФПД: 46087608658325 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T011227&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25051&fm=46087608658325&tin=02508201610067®Number=0000000000098147&sum=26300 0 [01:12:27]StoreToDocumentArchive [01:12:27]shift 458 fd 25051 [01:12:27]save to /storage/0458/doc_00025051 [01:12:27]save last doc name /storage/0458/doc_00025051 to /storage/kkm_last_doc_name [01:12:27]save OK [01:12:27]Clear old archive folders... [01:12:27]ProcessDocumentItem done err = 0, tmpTLVsize=369 [01:12:27]tlvbuf is 002398D0 [01:12:27]SAM_PROTO_ClearQueue [01:12:27]wFMCommunicate request_size=4 [01:12:27]MH_SAM_APDU [01:12:27]CAPDU: 80 09 00 00 [01:12:27]Write to MH i2c: E2 08 00 17 02 80 09 00 00 00 00 00 00 8B [01:12:27]Write i2c OK [01:12:27]MH_I2C_Read... [01:12:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:12:27]Read from MH i2c: E2 [01:12:27]MH_I2C_Read... [01:12:27]Read from MH i2c: E2 03 00 [01:12:27]MH_I2C_Read... [01:12:27]Read from MH i2c: E2 03 00 17 02 00 90 00 8D [01:12:27]RAPDU: 90 00 [01:12:27]wFMCommunicate OK [01:12:27]SAM_PROTO_ClearQueue done [01:12:27]KKMCreateOFDPacket [01:12:27]OFDProtocolAddRootSTLVToBuf [01:12:27]FM_MakeSignedData [01:12:27]FM_MakeSignedData [01:12:27]SAM_PROTO_SignData [01:12:27]wFMCommunicate request_size=4 [01:12:27]MH_SAM_APDU [01:12:27]CAPDU: 80 0D 01 02 [01:12:28]Write to MH i2c: E2 08 00 18 02 80 0D 01 02 00 00 00 00 93 [01:12:28]Write i2c OK [01:12:28]MH_I2C_Read... [01:12:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:12:28]Read from MH i2c: E2 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 03 00 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 03 00 18 02 00 90 00 8E [01:12:28]RAPDU: 90 00 [01:12:28]wFMCommunicate OK [01:12:28]wFMCommunicate request_size=255 [01:12:28]MH_SAM_APDU [01:12:28]CAPDU: 80 0D 02 02 FA 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [01:12:28]Write to MH i2c: E2 02 01 19 02 80 0D 02 02 FA 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 8D [01:12:28]Write i2c OK [01:12:28]MH_I2C_Read... [01:12:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:12:28]Read from MH i2c: E2 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 03 00 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 03 00 19 02 00 90 00 8F [01:12:28]RAPDU: 90 00 [01:12:28]wFMCommunicate OK [01:12:28]wFMCommunicate request_size=128 [01:12:28]MH_SAM_APDU [01:12:28]CAPDU: 80 0D 02 02 7B F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 7B 4D 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DB 61 00 00 35 04 06 00 29 EA 9B 8A E9 95 [01:12:28]Write to MH i2c: E2 83 00 1A 02 80 0D 02 02 7B 00 F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 7B 4D 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DB 61 00 00 35 04 06 00 29 EA 9B 8A E9 95 00 00 E6 [01:12:28]Write i2c OK [01:12:28]MH_I2C_Read... [01:12:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:12:28]Read from MH i2c: E2 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 03 00 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 03 00 1A 02 00 90 00 90 [01:12:28]RAPDU: 90 00 [01:12:28]wFMCommunicate OK [01:12:28]wFMCommunicate request_size=4 [01:12:28]MH_SAM_APDU [01:12:28]CAPDU: 80 0D 03 02 [01:12:28]Write to MH i2c: E2 08 00 1B 02 80 0D 03 02 00 00 00 00 98 [01:12:28]Write i2c OK [01:12:28]MH_I2C_Read... [01:12:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:12:28]Read from MH i2c: E2 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 0B 00 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 0B 00 1B 02 00 CA 93 5C 98 A0 F2 66 9C 90 00 7E [01:12:28]RAPDU: CA 93 5C 98 A0 F2 66 9C 90 00 [01:12:28]wFMCommunicate OK [01:12:28]SAM_PROTO_SignData done [01:12:28]FM_MakeSignedData done [01:12:28]CreateOFDProtocolMessage [01:12:28]wFMCommunicate request_size=4 [01:12:28]MH_SAM_APDU [01:12:28]CAPDU: 80 11 00 00 [01:12:28]Write to MH i2c: E2 08 00 1C 02 80 11 00 00 00 00 00 00 98 [01:12:28]Write i2c OK [01:12:28]MH_I2C_Read... [01:12:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:12:28]Read from MH i2c: E2 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 17 00 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: E2 17 00 1C 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 EF [01:12:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:12:28]wFMCommunicate OK [01:12:28]CreateOFDProtocolMessage done [01:12:28]OFDSenderStorePacket 25051 [01:12:28]StoreOFDPacket docnum=25051 [01:12:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 85 01 00 00 7C 43 7D 01 88 23 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 7B 4D 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DB 61 00 00 35 04 06 00 29 EA 9B 8A E9 95 CA 93 5C 98 A0 F2 66 9C [01:12:28]CheckFolder [01:12:28]dirname=/storage/ofd_packets [01:12:28]CheckFolder done [01:12:28]ProducePacketName [01:12:28]name=ofd_packets/00025051 [01:12:28]NVStorageSaveData ofd_packets/00025051 [01:12:28]File name is /storage/ofd_packets/00025051 [01:12:28]Write 419 bytes [01:12:28]NVStorageSaveData done [01:12:28]OFDSenderStorePacket done [01:12:28]KKMCreateOFDPacket done [01:12:28]NVStorageSaveData kkm_last_timestamp [01:12:28]File name is /storage/kkm_last_timestamp [01:12:28]Write 4 bytes [01:12:28]NVStorageSaveData done [01:12:28]ExternCall_PrintAddStr [01:12:28]wPrintStart [01:12:28]Write to MH i2c: 01 00 00 1D 02 1F [01:12:28]Write i2c OK [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: 01 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: 01 07 00 [01:12:28]MH_I2C_Read... [01:12:28]Read from MH i2c: 01 07 00 1D 02 00 00 00 00 00 FF 0F 34 [01:12:28]RasterBufferAndPrint [01:12:28]line Счет N : (3)34808 [01:12:28]line ИНН: 02508201610067 [01:12:28]line Контрольно-Кассовый Чек [01:12:28]line ПРОДАЖА [01:12:28]line Товар: 48743570 [01:12:28]line Сигареты Winston XStyle Blue [01:12:28]line 1.000 * 144.00 [01:12:28]line = 144.00 [01:12:28]line НДС 12% НСП 1% [01:12:28]line > о реализуемом товаре [01:12:28]line Товар: 4870001570071 [01:12:28]line Напиток Pepsi 1л [01:12:28]line 1.000 * 119.00 [01:12:28]line = 119.00 [01:12:28]line НДС 12% НСП 1% [01:12:28]line > о реализуемом товаре [01:12:28]line ИТОГО: 263.00 [01:12:28]line НСП 1% : 2.32 [01:12:28]line НДС 12% : 27.93 [01:12:28]line Наличными: 263.00 [01:12:28]line Безнал.: 0.00 [01:12:28]line Место: АЗС № 161 "Партнер Нефть" [01:12:28]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [01:12:28]line СНО: Общий режим [01:12:28]line Чек 3 23.10.2024 01:12 [01:12:28]line Смена: 458 ФФД: 1.0 [01:12:28]line ЗНМ: 0300000240 [01:12:28]line РНМ: 0000000000098147 [01:12:28]line Версия ККМ: 001 [01:12:28]line ФМ: 0000000000965376 [01:12:28]line ФД: 25051 [01:12:28]line ФПД: 46087608658325 [01:12:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T011227&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25051&fm=46087608658325&tin=02508201610067®Number=0000000000098147&sum=26300 [01:12:28]line 0 [01:12:28]OFD Sender: Processing packet 25051 [packets to send 5, broken 4] [01:12:28]ProducePacketName [01:12:28]name=ofd_packets/00025051 [01:12:28]OFD Sender: To server: pG, [01:12:28]CommunicateWithHost lk.salyk.kg:30040 [01:12:28]ConnectInit lk.salyk.kg [01:12:28]written 0, free lines is 4095 [01:12:28]Connected sock=10 [01:12:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 85 01 00 00 7C 43 7D 01 88 23 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 7B 4D 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DB 61 00 00 35 04 06 00 29 EA 9B 8A E9 95 CA 93 5C 98 A0 F2 66 9C [01:12:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 7C 06 47 00 20 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 39 36 35 33 37 36 10 04 04 00 DB 61 00 00 F4 03 04 00 F4 F5 17 67 B6 04 01 00 00 59 F7 F0 E5 04 0D DB 3C [01:12:29]CommunicateWithHost err = 0 [01:12:29]CheckOFDResponse [01:12:29]1017 (14) - 77093643461234 [01:12:29]1041 (16) - 0000000000965376 [01:12:29]1040 (4) - 25051 [01:12:29]1012 (4) - 22.10.2024 18:59 [01:12:29]1206 (1) - 0 [01:12:29]OFD Sender: Remove packet 25051 [01:12:29]ProducePacketName [01:12:29]name=ofd_packets/00025051 [01:12:29]NVStorageDeleteData [01:12:29]Write to MH i2c: 01 00 00 4B 02 4D [01:12:29]Write i2c OK [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: 01 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: 01 07 00 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: 01 07 00 4B 02 00 00 00 00 00 70 0C D0 [01:12:29]RasterBufferAndPrint [01:12:29]line [01:12:29]line [01:12:29]line [01:12:29]line [01:12:29]line [01:12:29]written 0, free lines is 3189 [01:12:29]process_action close_receipt done [01:12:29]requested_data is exist [01:12:29]produce_requested_data [01:12:29]requested_item fm.sn is exist - process it [01:12:29]wFMCommunicate request_size=4 [01:12:29]MH_SAM_APDU [01:12:29]CAPDU: 80 11 00 00 [01:12:29]Write to MH i2c: E2 08 00 52 02 80 11 00 00 00 00 00 00 CE [01:12:29]Write i2c OK [01:12:29]MH_I2C_Read... [01:12:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:12:29]Read from MH i2c: E2 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: E2 17 00 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: E2 17 00 52 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 25 [01:12:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:12:29]wFMCommunicate OK [01:12:29]requested_item fd.num is exist - process it [01:12:29]SAM_PROTO_GetFieldsCounters [01:12:29]wFMCommunicate request_size=4 [01:12:29]MH_SAM_APDU [01:12:29]CAPDU: 80 13 00 00 [01:12:29]Write to MH i2c: E2 08 00 53 02 80 13 00 00 00 00 00 00 D1 [01:12:29]Write i2c OK [01:12:29]MH_I2C_Read... [01:12:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:12:29]Read from MH i2c: E2 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: E2 62 00 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: E2 62 00 53 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DB 61 00 00 0E 04 04 00 CA 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 0A [01:12:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DB 61 00 00 0E 04 04 00 CA 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:12:29]wFMCommunicate OK [01:12:29]SAM_PROTO_GetFieldsCounters done [01:12:29]requested_item shift.num is exist - process it [01:12:29]requested_item shift.opened is exist - process it [01:12:29]req_shift_opened [01:12:29]FM_GetShiftState [01:12:29]SAM_PROTO_GetShiftState [01:12:29]wFMCommunicate request_size=4 [01:12:29]MH_SAM_APDU [01:12:29]CAPDU: 80 13 01 00 [01:12:29]Write to MH i2c: E2 08 00 54 02 80 13 01 00 00 00 00 00 D3 [01:12:29]Write i2c OK [01:12:29]MH_I2C_Read... [01:12:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:12:29]Read from MH i2c: E2 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: E2 0E 00 [01:12:29]MH_I2C_Read... [01:12:29]Read from MH i2c: E2 0E 00 54 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 9B [01:12:29]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:12:29]wFMCommunicate OK [01:12:29]SAM_PROTO_GetShiftState done [01:12:29]FM_GetShiftState done [01:12:29]req_shift_opened done [01:12:29]requested_item shift.open_date is exist - process it [01:12:29]req_shift_open_date [01:12:29]req_shift_open_date done [01:12:29]produce_requested_data done [01:12:29]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25051,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [01:12:29]process_action_free close_receipt [01:12:29]json_value_free [01:12:29]json_value_free done [01:12:29]process_json_proto returns [01:12:29]Send response to host [01:12:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25051,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [01:12:29]free response buf [01:12:29]execute_script done [01:12:29]execute_script returns [01:12:29]free content buf [01:12:29]Sock 7.Close socket [01:12:29]Sock 7.Thread stoped [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:04]OFD Sender: No OFD packet to send [01:18:09]OFD Sender: No OFD packet to send [01:18:14]OFD Sender: No OFD packet to send [01:18:19]OFD Sender: No OFD packet to send [01:18:24]OFD Sender: No OFD packet to send [01:18:29]OFD Sender: No OFD packet to send [01:18:34]OFD Sender: No OFD packet to send [01:18:39]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:40]accept exits with 9 [01:24:40]New connection [01:24:40]New thread 3067321700 created [01:24:40]Thread 3067465060 joined [01:24:40]Waiting for new connection... [01:24:40] Sock 9.Parse request [01:24:40]Sock 9.Check first char [01:24:40]Sock 9.First char is OK [01:24:40]request: POST /json_proto HTTP/1.0 [01:24:40]Method: POST [01:24:40]URL: /json_proto [01:24:40]Method is POST - this is cgi request [01:24:40]url: /json_proto [01:24:40]query_string will be loaded in cgi processing [01:24:40]execute_cgi json_proto POST (null) [01:24:40]execute_cgi path=json_proto method=POST [01:24:40]POST find Content-Length [01:24:40]Host: 172.17.53.196:8080 [01:24:40]Content-Length: 707 [01:24:40]Content-Type: application/json [01:24:40] [01:24:40]POST finish read [01:24:40]Found Content-Length = 707 [01:24:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34809", "tax_sys" : 0, "items" : [ { "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:24:40]execute_script... [01:24:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34809", "tax_sys" : 0, "items" : [ { "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:24:40]POST & json_proto [01:24:40]process_json_proto [01:24:40]json parsed OK: [01:24:40]protocol is kg_v1.0 [01:24:40]action value=close_receipt [01:24:40]process_action close_receipt [01:24:40]cmd_close_receipt [01:24:40]MH_GetDate [01:24:40]Write to MH i2c: F0 00 00 55 02 46 [01:24:40]Write i2c OK [01:24:40]MH_I2C_Read... [01:24:40]Read from MH i2c: F0 [01:24:40]MH_I2C_Read... [01:24:40]Read from MH i2c: F0 09 00 [01:24:40]MH_I2C_Read... [01:24:40]Read from MH i2c: F0 09 00 55 02 00 59 50 18 67 4F CD 9A 65 92 [01:24:40]GetLastDocTimeStamp 1729645947 [01:24:40]current date 1729646681 [01:24:40]FM_GetShiftState [01:24:40]SAM_PROTO_GetShiftState [01:24:40]wFMCommunicate request_size=4 [01:24:40]MH_SAM_APDU [01:24:40]CAPDU: 80 13 01 00 [01:24:40]Write to MH i2c: E2 08 00 56 02 80 13 01 00 00 00 00 00 D5 [01:24:40]Write i2c OK [01:24:40]MH_I2C_Read... [01:24:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:24:40]Read from MH i2c: E2 [01:24:40]MH_I2C_Read... [01:24:40]Read from MH i2c: E2 0E 00 [01:24:40]MH_I2C_Read... [01:24:40]Read from MH i2c: E2 0E 00 56 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 9D [01:24:40]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:24:40]wFMCommunicate OK [01:24:40]SAM_PROTO_GetShiftState done [01:24:40]FM_GetShiftState done [01:24:40]opened in 1729643259 [01:24:40]opened+sec_in_day 1729729659 [01:24:40]quantity*price = 12900 [01:24:40]sum+1 = 12901 [01:24:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 4 23.10.2024 01:24 Смена: 458 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25052 ФПД: 236616673324613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T012441&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25052&fm=236616673324613&tin=02508201610067®Number=0000000000098147&sum=12900 0 [01:24:41]StoreToDocumentArchive [01:24:41]shift 458 fd 25052 [01:24:41]save to /storage/0458/doc_00025052 [01:24:41]save last doc name /storage/0458/doc_00025052 to /storage/kkm_last_doc_name [01:24:41]save OK [01:24:41]Clear old archive folders... [01:24:41]ProcessDocumentItem done err = 0, tmpTLVsize=296 [01:24:41]tlvbuf is 0024C890 [01:24:41]SAM_PROTO_ClearQueue [01:24:41]wFMCommunicate request_size=4 [01:24:41]MH_SAM_APDU [01:24:41]CAPDU: 80 09 00 00 [01:24:41]Write to MH i2c: E2 08 00 63 02 80 09 00 00 00 00 00 00 D7 [01:24:41]Write i2c OK [01:24:41]MH_I2C_Read... [01:24:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:24:41]Read from MH i2c: E2 [01:24:41]MH_I2C_Read... [01:24:41]Read from MH i2c: E2 03 00 [01:24:41]MH_I2C_Read... [01:24:41]Read from MH i2c: E2 03 00 63 02 00 90 00 D9 [01:24:41]RAPDU: 90 00 [01:24:41]wFMCommunicate OK [01:24:41]SAM_PROTO_ClearQueue done [01:24:41]KKMCreateOFDPacket [01:24:41]OFDProtocolAddRootSTLVToBuf [01:24:41]FM_MakeSignedData [01:24:41]FM_MakeSignedData [01:24:41]SAM_PROTO_SignData [01:24:41]wFMCommunicate request_size=4 [01:24:41]MH_SAM_APDU [01:24:41]CAPDU: 80 0D 01 02 [01:24:41]Write to MH i2c: E2 08 00 64 02 80 0D 01 02 00 00 00 00 DF [01:24:41]Write i2c OK [01:24:41]MH_I2C_Read... [01:24:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:24:41]Read from MH i2c: E2 [01:24:41]MH_I2C_Read... [01:24:41]Read from MH i2c: E2 03 00 [01:24:41]MH_I2C_Read... [01:24:41]Read from MH i2c: E2 03 00 64 02 00 90 00 DA [01:24:41]RAPDU: 90 00 [01:24:41]wFMCommunicate OK [01:24:41]wFMCommunicate request_size=255 [01:24:41]MH_SAM_APDU [01:24:41]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 59 50 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [01:24:41]Write to MH i2c: E2 02 01 65 02 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 59 50 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 72 [01:24:41]Write i2c OK [01:24:41]MH_I2C_Read... [01:24:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:24:42]Read from MH i2c: E2 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 03 00 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 03 00 65 02 00 90 00 DB [01:24:42]RAPDU: 90 00 [01:24:42]wFMCommunicate OK [01:24:42]wFMCommunicate request_size=55 [01:24:42]MH_SAM_APDU [01:24:42]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DC 61 00 00 35 04 06 00 D7 33 9C C2 EE 45 [01:24:42]Write to MH i2c: E2 3A 00 66 02 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DC 61 00 00 35 04 06 00 D7 33 9C C2 EE 45 00 00 1B [01:24:42]Write i2c OK [01:24:42]MH_I2C_Read... [01:24:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:24:42]Read from MH i2c: E2 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 03 00 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 03 00 66 02 00 90 00 DC [01:24:42]RAPDU: 90 00 [01:24:42]wFMCommunicate OK [01:24:42]wFMCommunicate request_size=4 [01:24:42]MH_SAM_APDU [01:24:42]CAPDU: 80 0D 03 02 [01:24:42]Write to MH i2c: E2 08 00 67 02 80 0D 03 02 00 00 00 00 E4 [01:24:42]Write i2c OK [01:24:42]MH_I2C_Read... [01:24:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:24:42]Read from MH i2c: E2 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 0B 00 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 0B 00 67 02 00 0A A1 1B F5 C7 6C B5 25 90 00 AD [01:24:42]RAPDU: 0A A1 1B F5 C7 6C B5 25 90 00 [01:24:42]wFMCommunicate OK [01:24:42]SAM_PROTO_SignData done [01:24:42]FM_MakeSignedData done [01:24:42]CreateOFDProtocolMessage [01:24:42]wFMCommunicate request_size=4 [01:24:42]MH_SAM_APDU [01:24:42]CAPDU: 80 11 00 00 [01:24:42]Write to MH i2c: E2 08 00 68 02 80 11 00 00 00 00 00 00 E4 [01:24:42]Write i2c OK [01:24:42]MH_I2C_Read... [01:24:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:24:42]Read from MH i2c: E2 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 17 00 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: E2 17 00 68 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 3B [01:24:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:24:42]wFMCommunicate OK [01:24:42]CreateOFDProtocolMessage done [01:24:42]OFDSenderStorePacket 25052 [01:24:42]StoreOFDPacket docnum=25052 [01:24:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3C 01 00 00 4F 21 34 01 26 84 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 59 50 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DC 61 00 00 35 04 06 00 D7 33 9C C2 EE 45 0A A1 1B F5 C7 6C B5 25 [01:24:42]CheckFolder [01:24:42]dirname=/storage/ofd_packets [01:24:42]CheckFolder done [01:24:42]ProducePacketName [01:24:42]name=ofd_packets/00025052 [01:24:42]NVStorageSaveData ofd_packets/00025052 [01:24:42]File name is /storage/ofd_packets/00025052 [01:24:42]Write 346 bytes [01:24:42]NVStorageSaveData done [01:24:42]OFDSenderStorePacket done [01:24:42]KKMCreateOFDPacket done [01:24:42]NVStorageSaveData kkm_last_timestamp [01:24:42]File name is /storage/kkm_last_timestamp [01:24:42]Write 4 bytes [01:24:42]NVStorageSaveData done [01:24:42]ExternCall_PrintAddStr [01:24:42]wPrintStart [01:24:42]Write to MH i2c: 01 00 00 69 02 6B [01:24:42]OFD Sender: Processing packet 25052 [packets to send 5, broken 4] [01:24:42]ProducePacketName [01:24:42]name=ofd_packets/00025052 [01:24:42]OFD Sender: To server: pG, [01:24:42]CommunicateWithHost lk.salyk.kg:30040 [01:24:42]ConnectInit lk.salyk.kg [01:24:42]Write i2c OK [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: 01 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: 01 07 00 [01:24:42]MH_I2C_Read... [01:24:42]Read from MH i2c: 01 07 00 69 02 00 00 00 00 00 FF 0F 80 [01:24:42]RasterBufferAndPrint [01:24:42]line Счет N : (3)34809 [01:24:42]line ИНН: 02508201610067 [01:24:42]line Контрольно-Кассовый Чек [01:24:42]line ПРОДАЖА [01:24:42]line Товар: 4607015235401 [01:24:42]line Пряники Яшкино шоколадные 350г [01:24:42]line 1.000 * 129.00 [01:24:42]line = 129.00 [01:24:42]line НДС 12% НСП 1% [01:24:42]line > о реализуемом товаре [01:24:42]line ИТОГО: 129.00 [01:24:42]line НСП 1% : 1.14 [01:24:42]line НДС 12% : 13.70 [01:24:42]line Наличными: 129.00 [01:24:42]line Безнал.: 0.00 [01:24:42]line Место: АЗС № 161 "Партнер Нефть" [01:24:42]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [01:24:42]line СНО: Общий режим [01:24:42]line Чек 4 23.10.2024 01:24 [01:24:42]line Смена: 458 ФФД: 1.0 [01:24:42]line ЗНМ: 0300000240 [01:24:42]line РНМ: 0000000000098147 [01:24:42]line Версия ККМ: 001 [01:24:42]line ФМ: 0000000000965376 [01:24:42]line ФД: 25052 [01:24:42]line ФПД: 236616673324613 [01:24:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T012441&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25052&fm=236616673324613&tin=02508201610067®Number=0000000000098147&sum=12900 [01:24:42]line 0 [01:24:42]Connected sock=10 [01:24:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 3C 01 00 00 4F 21 34 01 26 84 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 59 50 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DC 61 00 00 35 04 06 00 D7 33 9C C2 EE 45 0A A1 1B F5 C7 6C B5 25 [01:24:42]written 0, free lines is 4095 [01:24:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 F1 8E 47 00 8F 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DC 61 00 00 F4 03 04 00 D2 F8 17 67 B6 04 01 00 00 78 54 5D 91 B5 52 F7 2E [01:24:42]CommunicateWithHost err = 0 [01:24:42]CheckOFDResponse [01:24:42]1017 (14) - 77093643461234 [01:24:42]1041 (16) - 0000000000965376 [01:24:42]1040 (4) - 25052 [01:24:42]1012 (4) - 22.10.2024 19:11 [01:24:42]1206 (1) - 0 [01:24:42]OFD Sender: Remove packet 25052 [01:24:42]ProducePacketName [01:24:42]name=ofd_packets/00025052 [01:24:42]NVStorageDeleteData [01:24:43]Write to MH i2c: 01 00 00 92 02 94 [01:24:43]Write i2c OK [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: 01 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: 01 07 00 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: 01 07 00 92 02 00 00 00 00 00 B5 0C 5C [01:24:43]RasterBufferAndPrint [01:24:43]line [01:24:43]line [01:24:43]line [01:24:43]line [01:24:43]line [01:24:43]written 0, free lines is 3257 [01:24:43]process_action close_receipt done [01:24:43]requested_data is exist [01:24:43]produce_requested_data [01:24:43]requested_item fm.sn is exist - process it [01:24:43]wFMCommunicate request_size=4 [01:24:43]MH_SAM_APDU [01:24:43]CAPDU: 80 11 00 00 [01:24:43]Write to MH i2c: E2 08 00 99 02 80 11 00 00 00 00 00 00 15 [01:24:43]Write i2c OK [01:24:43]MH_I2C_Read... [01:24:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:24:43]Read from MH i2c: E2 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: E2 17 00 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: E2 17 00 99 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 6C [01:24:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:24:43]wFMCommunicate OK [01:24:43]requested_item fd.num is exist - process it [01:24:43]SAM_PROTO_GetFieldsCounters [01:24:43]wFMCommunicate request_size=4 [01:24:43]MH_SAM_APDU [01:24:43]CAPDU: 80 13 00 00 [01:24:43]Write to MH i2c: E2 08 00 9A 02 80 13 00 00 00 00 00 00 18 [01:24:43]Write i2c OK [01:24:43]MH_I2C_Read... [01:24:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:24:43]Read from MH i2c: E2 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: E2 62 00 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: E2 62 00 9A 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DC 61 00 00 0E 04 04 00 CA 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 55 [01:24:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DC 61 00 00 0E 04 04 00 CA 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:24:43]wFMCommunicate OK [01:24:43]SAM_PROTO_GetFieldsCounters done [01:24:43]requested_item shift.num is exist - process it [01:24:43]requested_item shift.opened is exist - process it [01:24:43]req_shift_opened [01:24:43]FM_GetShiftState [01:24:43]SAM_PROTO_GetShiftState [01:24:43]wFMCommunicate request_size=4 [01:24:43]MH_SAM_APDU [01:24:43]CAPDU: 80 13 01 00 [01:24:43]Write to MH i2c: E2 08 00 9B 02 80 13 01 00 00 00 00 00 1A [01:24:43]Write i2c OK [01:24:43]MH_I2C_Read... [01:24:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:24:43]Read from MH i2c: E2 [01:24:43]MH_I2C_Read... [01:24:43]OFD Sender: No OFD packet to send [01:24:43]Read from MH i2c: E2 0E 00 [01:24:43]MH_I2C_Read... [01:24:43]Read from MH i2c: E2 0E 00 9B 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 E2 [01:24:43]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:24:43]wFMCommunicate OK [01:24:43]SAM_PROTO_GetShiftState done [01:24:43]FM_GetShiftState done [01:24:43]req_shift_opened done [01:24:43]requested_item shift.open_date is exist - process it [01:24:43]req_shift_open_date [01:24:43]req_shift_open_date done [01:24:43]produce_requested_data done [01:24:43]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25052,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [01:24:43]process_action_free close_receipt [01:24:43]json_value_free [01:24:43]json_value_free done [01:24:43]process_json_proto returns [01:24:43]Send response to host [01:24:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25052,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [01:24:43]free response buf [01:24:43]execute_script done [01:24:43]execute_script returns [01:24:43]free content buf [01:24:43]Sock 9.Close socket [01:24:43]Sock 9.Thread stoped [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:25]accept exits with 7 [01:30:25]New connection [01:30:25]New thread 3067465060 created [01:30:25]Thread 3067321700 joined [01:30:25]Waiting for new connection... [01:30:25] Sock 7.Parse request [01:30:25]Sock 7.Check first char [01:30:25]Sock 7.First char is OK [01:30:25]request: POST /json_proto HTTP/1.0 [01:30:25]Method: POST [01:30:25]URL: /json_proto [01:30:25]Method is POST - this is cgi request [01:30:25]url: /json_proto [01:30:25]query_string will be loaded in cgi processing [01:30:25]execute_cgi json_proto POST (null) [01:30:25]execute_cgi path=json_proto method=POST [01:30:25]POST find Content-Length [01:30:25]Host: 172.17.53.196:8080 [01:30:25]Content-Length: 632 [01:30:25]Content-Type: application/json [01:30:25] [01:30:25]POST finish read [01:30:25]Found Content-Length = 632 [01:30:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34810", "tax_sys" : 0, "items" : [ { "code": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:30:25]execute_script... [01:30:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34810", "tax_sys" : 0, "items" : [ { "code": "48746717", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster + Dream M", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:30:25]POST & json_proto [01:30:25]process_json_proto [01:30:25]json parsed OK: [01:30:25]protocol is kg_v1.0 [01:30:25]action value=close_receipt [01:30:25]process_action close_receipt [01:30:25]cmd_close_receipt [01:30:25]MH_GetDate [01:30:25]Write to MH i2c: F0 00 00 9C 02 8D [01:30:25]Write i2c OK [01:30:25]MH_I2C_Read... [01:30:25]Read from MH i2c: F0 [01:30:25]MH_I2C_Read... [01:30:25]Read from MH i2c: F0 09 00 [01:30:25]MH_I2C_Read... [01:30:25]Read from MH i2c: F0 09 00 9C 02 00 B2 51 18 67 4F CD 9A 65 33 [01:30:25]GetLastDocTimeStamp 1729646681 [01:30:25]current date 1729647026 [01:30:25]FM_GetShiftState [01:30:25]SAM_PROTO_GetShiftState [01:30:25]wFMCommunicate request_size=4 [01:30:25]MH_SAM_APDU [01:30:25]CAPDU: 80 13 01 00 [01:30:25]Write to MH i2c: E2 08 00 9D 02 80 13 01 00 00 00 00 00 1C [01:30:25]Write i2c OK [01:30:25]MH_I2C_Read... [01:30:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:30:25]Read from MH i2c: E2 [01:30:25]MH_I2C_Read... [01:30:25]Read from MH i2c: E2 0E 00 [01:30:25]MH_I2C_Read... [01:30:25]Read from MH i2c: E2 0E 00 9D 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 E4 [01:30:25]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:30:25]wFMCommunicate OK [01:30:25]SAM_PROTO_GetShiftState done [01:30:25]FM_GetShiftState done [01:30:25]opened in 1729643259 [01:30:25]opened+sec_in_day 1729729659 [01:30:25]quantity*price = 14700 [01:30:25]sum+1 = 14701 [01:30:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 5 23.10.2024 01:30 Смена: 458 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25053 ФПД: 177677418051234 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T013026&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25053&fm=177677418051234&tin=02508201610067®Number=0000000000098147&sum=14700 0 [01:30:26]StoreToDocumentArchive [01:30:26]shift 458 fd 25053 [01:30:26]save to /storage/0458/doc_00025053 [01:30:26]save last doc name /storage/0458/doc_00025053 to /storage/kkm_last_doc_name [01:30:26]save OK [01:30:26]Clear old archive folders... [01:30:26]ProcessDocumentItem done err = 0, tmpTLVsize=285 [01:30:26]tlvbuf is 0026A6E0 [01:30:26]SAM_PROTO_ClearQueue [01:30:26]wFMCommunicate request_size=4 [01:30:26]MH_SAM_APDU [01:30:26]CAPDU: 80 09 00 00 [01:30:26]Write to MH i2c: E2 08 00 AA 02 80 09 00 00 00 00 00 00 1E [01:30:26]Write i2c OK [01:30:26]MH_I2C_Read... [01:30:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:30:26]Read from MH i2c: E2 [01:30:26]MH_I2C_Read... [01:30:26]Read from MH i2c: E2 03 00 [01:30:26]MH_I2C_Read... [01:30:26]Read from MH i2c: E2 03 00 AA 02 00 90 00 20 [01:30:26]RAPDU: 90 00 [01:30:26]wFMCommunicate OK [01:30:26]SAM_PROTO_ClearQueue done [01:30:26]KKMCreateOFDPacket [01:30:26]OFDProtocolAddRootSTLVToBuf [01:30:26]FM_MakeSignedData [01:30:26]FM_MakeSignedData [01:30:26]SAM_PROTO_SignData [01:30:26]wFMCommunicate request_size=4 [01:30:26]MH_SAM_APDU [01:30:26]CAPDU: 80 0D 01 02 [01:30:26]Write to MH i2c: E2 08 00 AB 02 80 0D 01 02 00 00 00 00 26 [01:30:26]Write i2c OK [01:30:26]MH_I2C_Read... [01:30:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:30:26]Read from MH i2c: E2 [01:30:26]MH_I2C_Read... [01:30:26]Read from MH i2c: E2 03 00 [01:30:26]MH_I2C_Read... [01:30:26]Read from MH i2c: E2 03 00 AB 02 00 90 00 21 [01:30:26]RAPDU: 90 00 [01:30:26]wFMCommunicate OK [01:30:26]wFMCommunicate request_size=255 [01:30:26]MH_SAM_APDU [01:30:26]CAPDU: 80 0D 02 02 FA 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 51 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 [01:30:26]Write to MH i2c: E2 02 01 AC 02 80 0D 02 02 FA 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 51 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 00 00 D7 [01:30:26]Write i2c OK [01:30:26]MH_I2C_Read... [01:30:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:30:26]Read from MH i2c: E2 [01:30:26]MH_I2C_Read... [01:30:26]Read from MH i2c: E2 03 00 [01:30:26]MH_I2C_Read... [01:30:26]Read from MH i2c: E2 03 00 AC 02 00 90 00 22 [01:30:26]RAPDU: 90 00 [01:30:26]wFMCommunicate OK [01:30:26]wFMCommunicate request_size=44 [01:30:26]MH_SAM_APDU [01:30:26]CAPDU: 80 0D 02 02 27 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DD 61 00 00 35 04 06 00 A1 98 BF 63 36 A2 [01:30:26]Write to MH i2c: E2 2F 00 AD 02 80 0D 02 02 27 00 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DD 61 00 00 35 04 06 00 A1 98 BF 63 36 A2 00 00 BF [01:30:26]Write i2c OK [01:30:26]MH_I2C_Read... [01:30:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:30:27]Read from MH i2c: E2 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 03 00 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 03 00 AD 02 00 90 00 23 [01:30:27]RAPDU: 90 00 [01:30:27]wFMCommunicate OK [01:30:27]wFMCommunicate request_size=4 [01:30:27]MH_SAM_APDU [01:30:27]CAPDU: 80 0D 03 02 [01:30:27]Write to MH i2c: E2 08 00 AE 02 80 0D 03 02 00 00 00 00 2B [01:30:27]Write i2c OK [01:30:27]MH_I2C_Read... [01:30:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:30:27]Read from MH i2c: E2 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 0B 00 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 0B 00 AE 02 00 ED B1 F9 CA 1A 5A 25 EE 90 00 14 [01:30:27]RAPDU: ED B1 F9 CA 1A 5A 25 EE 90 00 [01:30:27]wFMCommunicate OK [01:30:27]SAM_PROTO_SignData done [01:30:27]FM_MakeSignedData done [01:30:27]CreateOFDProtocolMessage [01:30:27]wFMCommunicate request_size=4 [01:30:27]MH_SAM_APDU [01:30:27]CAPDU: 80 11 00 00 [01:30:27]Write to MH i2c: E2 08 00 AF 02 80 11 00 00 00 00 00 00 2B [01:30:27]Write i2c OK [01:30:27]MH_I2C_Read... [01:30:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:30:27]Read from MH i2c: E2 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 17 00 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 17 00 AF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 82 [01:30:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:30:27]wFMCommunicate OK [01:30:27]CreateOFDProtocolMessage done [01:30:27]OFDSenderStorePacket 25053 [01:30:27]StoreOFDPacket docnum=25053 [01:30:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 77 4D 29 01 F2 7A 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 51 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DD 61 00 00 35 04 06 00 A1 98 BF 63 36 A2 ED B1 F9 CA 1A 5A 25 EE [01:30:27]CheckFolder [01:30:27]dirname=/storage/ofd_packets [01:30:27]CheckFolder done [01:30:27]ProducePacketName [01:30:27]name=ofd_packets/00025053 [01:30:27]NVStorageSaveData ofd_packets/00025053 [01:30:27]File name is /storage/ofd_packets/00025053 [01:30:27]Write 335 bytes [01:30:27]NVStorageSaveData done [01:30:27]OFDSenderStorePacket done [01:30:27]KKMCreateOFDPacket done [01:30:27]NVStorageSaveData kkm_last_timestamp [01:30:27]File name is /storage/kkm_last_timestamp [01:30:27]Write 4 bytes [01:30:27]NVStorageSaveData done [01:30:27]ExternCall_PrintAddStr [01:30:27]wPrintStart [01:30:27]Write to MH i2c: 01 00 00 B0 02 B2 [01:30:27]Write i2c OK [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: 01 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: 01 07 00 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: 01 07 00 B0 02 00 00 00 00 00 FF 0F C7 [01:30:27]RasterBufferAndPrint [01:30:27]line Счет N : (3)34810 [01:30:27]line ИНН: 02508201610067 [01:30:27]line Контрольно-Кассовый Чек [01:30:27]line ПРОДАЖА [01:30:27]line Товар: 48746717 [01:30:27]line Сигареты Winston XStyle Caster + Dream M [01:30:27]line 1.000 * 147.00 [01:30:27]line = 147.00 [01:30:27]line НДС 12% НСП 1% [01:30:27]line > о реализуемом товаре [01:30:27]line ИТОГО: 147.00 [01:30:27]line НСП 1% : 1.30 [01:30:27]line НДС 12% : 15.61 [01:30:27]line Наличными: 147.00 [01:30:27]line Безнал.: 0.00 [01:30:27]line Место: АЗС № 161 "Партнер Нефть" [01:30:27]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [01:30:27]line СНО: Общий режим [01:30:27]line Чек 5 23.10.2024 01:30 [01:30:27]line Смена: 458 ФФД: 1.0 [01:30:27]line ЗНМ: 0300000240 [01:30:27]line РНМ: 0000000000098147 [01:30:27]line Версия ККМ: 001 [01:30:27]line ФМ: 0000000000965376 [01:30:27]line ФД: 25053 [01:30:27]line ФПД: 177677418051234 [01:30:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T013026&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25053&fm=177677418051234&tin=02508201610067®Number=0000000000098147&sum=14700 [01:30:27]line 0 [01:30:27]OFD Sender: Processing packet 25053 [packets to send 5, broken 4] [01:30:27]ProducePacketName [01:30:27]name=ofd_packets/00025053 [01:30:27]OFD Sender: To server: pG, [01:30:27]CommunicateWithHost lk.salyk.kg:30040 [01:30:27]ConnectInit lk.salyk.kg [01:30:27]written 0, free lines is 4095 [01:30:27]Connected sock=10 [01:30:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 31 01 00 00 77 4D 29 01 F2 7A 5A 03 01 00 03 00 1D 01 1E 04 01 00 01 23 04 6F 00 8A 04 08 00 34 38 37 34 36 37 31 37 06 04 30 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 20 2B 20 44 72 65 61 6D 20 4D FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 B2 51 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DD 61 00 00 35 04 06 00 A1 98 BF 63 36 A2 ED B1 F9 CA 1A 5A 25 EE [01:30:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 83 59 47 00 0E D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DD 61 00 00 F4 03 04 00 2B FA 17 67 B6 04 01 00 00 C5 EB 08 94 D1 DB 38 C5 [01:30:27]CommunicateWithHost err = 0 [01:30:27]CheckOFDResponse [01:30:27]1017 (14) - 77093643461234 [01:30:27]1041 (16) - 0000000000965376 [01:30:27]1040 (4) - 25053 [01:30:27]1012 (4) - 22.10.2024 19:16 [01:30:27]1206 (1) - 0 [01:30:27]OFD Sender: Remove packet 25053 [01:30:27]ProducePacketName [01:30:27]name=ofd_packets/00025053 [01:30:27]NVStorageDeleteData [01:30:27]Write to MH i2c: 01 00 00 D9 02 DB [01:30:27]Write i2c OK [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: 01 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: 01 07 00 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: 01 07 00 D9 02 00 00 00 00 00 BA 0C A8 [01:30:27]RasterBufferAndPrint [01:30:27]line [01:30:27]line [01:30:27]line [01:30:27]line [01:30:27]line [01:30:27]written 0, free lines is 3262 [01:30:27]process_action close_receipt done [01:30:27]requested_data is exist [01:30:27]produce_requested_data [01:30:27]requested_item fm.sn is exist - process it [01:30:27]wFMCommunicate request_size=4 [01:30:27]MH_SAM_APDU [01:30:27]CAPDU: 80 11 00 00 [01:30:27]Write to MH i2c: E2 08 00 E0 02 80 11 00 00 00 00 00 00 5C [01:30:27]Write i2c OK [01:30:27]MH_I2C_Read... [01:30:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:30:27]Read from MH i2c: E2 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 17 00 [01:30:27]MH_I2C_Read... [01:30:27]Read from MH i2c: E2 17 00 E0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 B3 [01:30:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:30:27]wFMCommunicate OK [01:30:27]requested_item fd.num is exist - process it [01:30:27]SAM_PROTO_GetFieldsCounters [01:30:27]wFMCommunicate request_size=4 [01:30:27]MH_SAM_APDU [01:30:27]CAPDU: 80 13 00 00 [01:30:27]Write to MH i2c: E2 08 00 E1 02 80 13 00 00 00 00 00 00 5F [01:30:27]Write i2c OK [01:30:27]MH_I2C_Read... [01:30:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:30:28]Read from MH i2c: E2 [01:30:28]MH_I2C_Read... [01:30:28]Read from MH i2c: E2 62 00 [01:30:28]MH_I2C_Read... [01:30:28]Read from MH i2c: E2 62 00 E1 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DD 61 00 00 0E 04 04 00 CA 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 A0 [01:30:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DD 61 00 00 0E 04 04 00 CA 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 [01:30:28]wFMCommunicate OK [01:30:28]SAM_PROTO_GetFieldsCounters done [01:30:28]requested_item shift.num is exist - process it [01:30:28]requested_item shift.opened is exist - process it [01:30:28]req_shift_opened [01:30:28]FM_GetShiftState [01:30:28]SAM_PROTO_GetShiftState [01:30:28]wFMCommunicate request_size=4 [01:30:28]MH_SAM_APDU [01:30:28]CAPDU: 80 13 01 00 [01:30:28]Write to MH i2c: E2 08 00 E2 02 80 13 01 00 00 00 00 00 61 [01:30:28]Write i2c OK [01:30:28]MH_I2C_Read... [01:30:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:30:28]Read from MH i2c: E2 [01:30:28]MH_I2C_Read... [01:30:28]Read from MH i2c: E2 0E 00 [01:30:28]MH_I2C_Read... [01:30:28]Read from MH i2c: E2 0E 00 E2 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 29 [01:30:28]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:30:28]wFMCommunicate OK [01:30:28]SAM_PROTO_GetShiftState done [01:30:28]FM_GetShiftState done [01:30:28]req_shift_opened done [01:30:28]requested_item shift.open_date is exist - process it [01:30:28]req_shift_open_date [01:30:28]req_shift_open_date done [01:30:28]produce_requested_data done [01:30:28]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25053,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [01:30:28]process_action_free close_receipt [01:30:28]json_value_free [01:30:28]json_value_free done [01:30:28]process_json_proto returns [01:30:28]Send response to host [01:30:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25053,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [01:30:28]free response buf [01:30:28]execute_script done [01:30:28]execute_script returns [01:30:28]free content buf [01:30:28]Sock 7.Close socket [01:30:28]Sock 7.Thread stoped [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]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:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:37]accept exits with 9 [01:48:37]New connection [01:48:37]New thread 3067321700 created [01:48:37]Thread 3067465060 joined [01:48:37]Waiting for new connection... [01:48:37] Sock 9.Parse request [01:48:37]Sock 9.Check first char [01:48:37]Sock 9.First char is OK [01:48:37]request: POST /json_proto HTTP/1.0 [01:48:37]Method: POST [01:48:37]URL: /json_proto [01:48:37]Method is POST - this is cgi request [01:48:37]url: /json_proto [01:48:37]query_string will be loaded in cgi processing [01:48:37]execute_cgi json_proto POST (null) [01:48:37]execute_cgi path=json_proto method=POST [01:48:37]POST find Content-Length [01:48:37]Host: 172.17.53.196:8080 [01:48:37]Content-Length: 653 [01:48:37]Content-Type: application/json [01:48:37] [01:48:37]POST finish read [01:48:37]Found Content-Length = 653 [01:48:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34811", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:48:37]execute_script... [01:48:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)34811", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:48:37]POST & json_proto [01:48:37]process_json_proto [01:48:37]json parsed OK: [01:48:37]protocol is kg_v1.0 [01:48:37]action value=close_receipt [01:48:37]process_action close_receipt [01:48:37]cmd_close_receipt [01:48:37]MH_GetDate [01:48:37]Write to MH i2c: F0 00 00 E3 02 D4 [01:48:37]Write i2c OK [01:48:37]MH_I2C_Read... [01:48:37]Read from MH i2c: F0 [01:48:37]MH_I2C_Read... [01:48:37]Read from MH i2c: F0 09 00 [01:48:37]MH_I2C_Read... [01:48:37]Read from MH i2c: F0 09 00 E3 02 00 F6 55 18 67 4F CD 9A 65 C2 [01:48:37]GetLastDocTimeStamp 1729647026 [01:48:37]current date 1729648118 [01:48:37]FM_GetShiftState [01:48:37]SAM_PROTO_GetShiftState [01:48:37]wFMCommunicate request_size=4 [01:48:37]MH_SAM_APDU [01:48:37]CAPDU: 80 13 01 00 [01:48:37]Write to MH i2c: E2 08 00 E4 02 80 13 01 00 00 00 00 00 63 [01:48:37]Write i2c OK [01:48:37]MH_I2C_Read... [01:48:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:48:37]Read from MH i2c: E2 [01:48:37]MH_I2C_Read... [01:48:37]Read from MH i2c: E2 0E 00 [01:48:37]MH_I2C_Read... [01:48:37]Read from MH i2c: E2 0E 00 E4 02 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 2B [01:48:37]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:48:37]wFMCommunicate OK [01:48:37]SAM_PROTO_GetShiftState done [01:48:37]FM_GetShiftState done [01:48:37]opened in 1729643259 [01:48:37]opened+sec_in_day 1729729659 [01:48:37]quantity*price = 9500 [01:48:37]sum+1 = 9501 [01:48:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 161 "Партнер Нефть" Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 СНО: Общий режим Чек 6 23.10.2024 01:48 Смена: 458 ФФД: 1.0 ЗНМ: 0300000240 РНМ: 0000000000098147 Версия ККМ: 001 ФМ: 0000000000965376 ФД: 25054 ФПД: 37668048931410 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T014838&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25054&fm=37668048931410&tin=02508201610067®Number=0000000000098147&sum=9500 0 [01:48:38]StoreToDocumentArchive [01:48:38]shift 458 fd 25054 [01:48:38]save to /storage/0458/doc_00025054 [01:48:38]save last doc name /storage/0458/doc_00025054 to /storage/kkm_last_doc_name [01:48:38]save OK [01:48:38]Clear old archive folders... [01:48:38]ProcessDocumentItem done err = 0, tmpTLVsize=293 [01:48:38]tlvbuf is 0024EB70 [01:48:38]SAM_PROTO_ClearQueue [01:48:38]wFMCommunicate request_size=4 [01:48:38]MH_SAM_APDU [01:48:38]CAPDU: 80 09 00 00 [01:48:38]Write to MH i2c: E2 08 00 F1 02 80 09 00 00 00 00 00 00 65 [01:48:38]Write i2c OK [01:48:38]MH_I2C_Read... [01:48:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:48:38]Read from MH i2c: E2 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 F1 02 00 90 00 67 [01:48:38]RAPDU: 90 00 [01:48:38]wFMCommunicate OK [01:48:38]SAM_PROTO_ClearQueue done [01:48:38]KKMCreateOFDPacket [01:48:38]OFDProtocolAddRootSTLVToBuf [01:48:38]FM_MakeSignedData [01:48:38]FM_MakeSignedData [01:48:38]SAM_PROTO_SignData [01:48:38]wFMCommunicate request_size=4 [01:48:38]MH_SAM_APDU [01:48:38]CAPDU: 80 0D 01 02 [01:48:38]Write to MH i2c: E2 08 00 F2 02 80 0D 01 02 00 00 00 00 6D [01:48:38]Write i2c OK [01:48:38]MH_I2C_Read... [01:48:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:48:38]Read from MH i2c: E2 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 F2 02 00 90 00 68 [01:48:38]RAPDU: 90 00 [01:48:38]wFMCommunicate OK [01:48:38]wFMCommunicate request_size=255 [01:48:38]MH_SAM_APDU [01:48:38]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 55 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [01:48:38]Write to MH i2c: E2 02 01 F3 02 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 55 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 A8 [01:48:38]Write i2c OK [01:48:38]MH_I2C_Read... [01:48:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:48:38]Read from MH i2c: E2 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 F3 02 00 90 00 69 [01:48:38]RAPDU: 90 00 [01:48:38]wFMCommunicate OK [01:48:38]wFMCommunicate request_size=52 [01:48:38]MH_SAM_APDU [01:48:38]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DE 61 00 00 35 04 06 00 22 42 46 AD 0A 52 [01:48:38]Write to MH i2c: E2 37 00 F4 02 80 0D 02 02 2F 00 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DE 61 00 00 35 04 06 00 22 42 46 AD 0A 52 00 00 2D [01:48:38]Write i2c OK [01:48:38]MH_I2C_Read... [01:48:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:48:38]Read from MH i2c: E2 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 [01:48:38]MH_I2C_Read... [01:48:38]Read from MH i2c: E2 03 00 F4 02 00 90 00 6A [01:48:38]RAPDU: 90 00 [01:48:38]wFMCommunicate OK [01:48:38]wFMCommunicate request_size=4 [01:48:38]MH_SAM_APDU [01:48:38]CAPDU: 80 0D 03 02 [01:48:38]Write to MH i2c: E2 08 00 F5 02 80 0D 03 02 00 00 00 00 72 [01:48:38]Write i2c OK [01:48:38]MH_I2C_Read... [01:48:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:48:39]Read from MH i2c: E2 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: E2 0B 00 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: E2 0B 00 F5 02 00 D3 79 78 5C EE 3C E5 AE 90 00 50 [01:48:39]RAPDU: D3 79 78 5C EE 3C E5 AE 90 00 [01:48:39]wFMCommunicate OK [01:48:39]SAM_PROTO_SignData done [01:48:39]FM_MakeSignedData done [01:48:39]CreateOFDProtocolMessage [01:48:39]wFMCommunicate request_size=4 [01:48:39]MH_SAM_APDU [01:48:39]CAPDU: 80 11 00 00 [01:48:39]Write to MH i2c: E2 08 00 F6 02 80 11 00 00 00 00 00 00 72 [01:48:39]Write i2c OK [01:48:39]MH_I2C_Read... [01:48:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:48:39]Read from MH i2c: E2 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: E2 17 00 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: E2 17 00 F6 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 C9 [01:48:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:48:39]wFMCommunicate OK [01:48:39]CreateOFDProtocolMessage done [01:48:39]OFDSenderStorePacket 25054 [01:48:39]StoreOFDPacket docnum=25054 [01:48:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 03 E6 31 01 BE 81 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 55 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DE 61 00 00 35 04 06 00 22 42 46 AD 0A 52 D3 79 78 5C EE 3C E5 AE [01:48:39]CheckFolder [01:48:39]dirname=/storage/ofd_packets [01:48:39]CheckFolder done [01:48:39]ProducePacketName [01:48:39]name=ofd_packets/00025054 [01:48:39]NVStorageSaveData ofd_packets/00025054 [01:48:39]File name is /storage/ofd_packets/00025054 [01:48:39]Write 343 bytes [01:48:39]NVStorageSaveData done [01:48:39]OFDSenderStorePacket done [01:48:39]KKMCreateOFDPacket done [01:48:39]NVStorageSaveData kkm_last_timestamp [01:48:39]File name is /storage/kkm_last_timestamp [01:48:39]Write 4 bytes [01:48:39]NVStorageSaveData done [01:48:39]ExternCall_PrintAddStr [01:48:39]wPrintStart [01:48:39]Write to MH i2c: 01 00 00 F7 02 F9 [01:48:39]OFD Sender: Processing packet 25054 [packets to send 5, broken 4] [01:48:39]ProducePacketName [01:48:39]name=ofd_packets/00025054 [01:48:39]OFD Sender: To server: pG, [01:48:39]CommunicateWithHost lk.salyk.kg:30040 [01:48:39]ConnectInit lk.salyk.kg [01:48:39]Write i2c OK [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: 01 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: 01 07 00 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: 01 07 00 F7 02 00 00 00 00 00 FF 0F 0E [01:48:39]RasterBufferAndPrint [01:48:39]line Счет N : (3)34811 [01:48:39]line ИНН: 02508201610067 [01:48:39]line Контрольно-Кассовый Чек [01:48:39]line ПРОДАЖА [01:48:39]line Товар: 4700000480050 [01:48:39]line Напиток Nitro Energy эн green ж/б 0,45л [01:48:39]line 1.000 * 95.00 [01:48:39]line = 95.00 [01:48:39]line НДС 12% НСП 1% [01:48:39]line > о реализуемом товаре [01:48:39]line ИТОГО: 95.00 [01:48:39]line НСП 1% : 0.84 [01:48:39]line НДС 12% : 10.09 [01:48:39]line Наличными: 95.00 [01:48:39]line Безнал.: 0.00 [01:48:39]line Место: АЗС № 161 "Партнер Нефть" [01:48:39]line Адрес: 720001, с. Масы, трасса Бишкек-Ош 521 км, 41.929834, 72.888856 [01:48:39]line СНО: Общий режим [01:48:39]line Чек 6 23.10.2024 01:48 [01:48:39]line Смена: 458 ФФД: 1.0 [01:48:39]line ЗНМ: 0300000240 [01:48:39]line РНМ: 0000000000098147 [01:48:39]line Версия ККМ: 001 [01:48:39]line ФМ: 0000000000965376 [01:48:39]line ФД: 25054 [01:48:39]line ФПД: 37668048931410 [01:48:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T014838&type=1&operation_type=1&fn_number=0000000000965376&fd_number=25054&fm=37668048931410&tin=02508201610067®Number=0000000000098147&sum=9500 [01:48:39]line 0 [01:48:39]Connected sock=11 [01:48:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 39 01 00 00 03 E6 31 01 BE 81 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 55 18 67 0E 04 04 00 CA 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DE 61 00 00 35 04 06 00 22 42 46 AD 0A 52 D3 79 78 5C EE 3C E5 AE [01:48:39]written 0, free lines is 4095 [01:48:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 4F 00 00 00 F4 1D 47 00 D5 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 10 04 04 00 DE 61 00 00 F4 03 04 00 6F FE 17 67 B6 04 01 00 00 20 2B 31 E2 82 CF 8C 8A [01:48:39]CommunicateWithHost err = 0 [01:48:39]CheckOFDResponse [01:48:39]1017 (14) - 77093643461234 [01:48:39]1041 (16) - 0000000000965376 [01:48:39]1040 (4) - 25054 [01:48:39]1012 (4) - 22.10.2024 19:35 [01:48:39]1206 (1) - 0 [01:48:39]OFD Sender: Remove packet 25054 [01:48:39]ProducePacketName [01:48:39]name=ofd_packets/00025054 [01:48:39]NVStorageDeleteData [01:48:39]Write to MH i2c: 01 00 00 20 03 23 [01:48:39]Write i2c OK [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: 01 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: 01 07 00 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: 01 07 00 20 03 00 00 00 00 00 C0 0C F6 [01:48:39]RasterBufferAndPrint [01:48:39]line [01:48:39]line [01:48:39]line [01:48:39]line [01:48:39]line [01:48:39]written 0, free lines is 3268 [01:48:39]process_action close_receipt done [01:48:39]requested_data is exist [01:48:39]produce_requested_data [01:48:39]requested_item fm.sn is exist - process it [01:48:39]wFMCommunicate request_size=4 [01:48:39]MH_SAM_APDU [01:48:39]CAPDU: 80 11 00 00 [01:48:39]Write to MH i2c: E2 08 00 27 03 80 11 00 00 00 00 00 00 A4 [01:48:39]Write i2c OK [01:48:39]MH_I2C_Read... [01:48:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:48:39]Read from MH i2c: E2 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: E2 17 00 [01:48:39]MH_I2C_Read... [01:48:39]Read from MH i2c: E2 17 00 27 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 FB [01:48:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 90 00 [01:48:39]wFMCommunicate OK [01:48:39]requested_item fd.num is exist - process it [01:48:39]SAM_PROTO_GetFieldsCounters [01:48:39]wFMCommunicate request_size=4 [01:48:39]MH_SAM_APDU [01:48:39]CAPDU: 80 13 00 00 [01:48:39]Write to MH i2c: E2 08 00 28 03 80 13 00 00 00 00 00 00 A7 [01:48:39]Write i2c OK [01:48:39]MH_I2C_Read... [01:48:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:48:40]Read from MH i2c: E2 [01:48:40]MH_I2C_Read... [01:48:40]Read from MH i2c: E2 62 00 [01:48:40]MH_I2C_Read... [01:48:40]Read from MH i2c: E2 62 00 28 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DE 61 00 00 0E 04 04 00 CA 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 EC [01:48:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 33 37 36 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 34 37 10 04 04 00 DE 61 00 00 0E 04 04 00 CA 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 [01:48:40]wFMCommunicate OK [01:48:40]SAM_PROTO_GetFieldsCounters done [01:48:40]requested_item shift.num is exist - process it [01:48:40]requested_item shift.opened is exist - process it [01:48:40]req_shift_opened [01:48:40]FM_GetShiftState [01:48:40]SAM_PROTO_GetShiftState [01:48:40]wFMCommunicate request_size=4 [01:48:40]MH_SAM_APDU [01:48:40]CAPDU: 80 13 01 00 [01:48:40]Write to MH i2c: E2 08 00 29 03 80 13 01 00 00 00 00 00 A9 [01:48:40]Write i2c OK [01:48:40]MH_I2C_Read... [01:48:40]OFD Sender: No OFD packet to send [01:48:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:48:40]Read from MH i2c: E2 [01:48:40]MH_I2C_Read... [01:48:40]Read from MH i2c: E2 0E 00 [01:48:40]MH_I2C_Read... [01:48:40]Read from MH i2c: E2 0E 00 29 03 00 09 00 01 FB 42 18 67 00 00 00 00 90 00 71 [01:48:40]RAPDU: 09 00 01 FB 42 18 67 00 00 00 00 90 00 [01:48:40]wFMCommunicate OK [01:48:40]SAM_PROTO_GetShiftState done [01:48:40]FM_GetShiftState done [01:48:40]req_shift_opened done [01:48:40]requested_item shift.open_date is exist - process it [01:48:40]req_shift_open_date [01:48:40]req_shift_open_date done [01:48:40]produce_requested_data done [01:48:40]produce_requested_data return {"fm.sn":"0000000000965376","fd.num":25054,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259} [01:48:40]process_action_free close_receipt [01:48:40]json_value_free [01:48:40]json_value_free done [01:48:40]process_json_proto returns [01:48:40]Send response to host [01:48:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965376","fd.num":25054,"shift.num":458,"shift.opened":1,"shift.open_date":1729643259}}} [01:48:40]free response buf [01:48:40]execute_script done [01:48:40]execute_script returns [01:48:40]free content buf [01:48:40]Sock 9.Close socket [01:48:40]Sock 9.Thread stoped [01:48:45]OFD Sender: No OFD packet to send [01:48:50]OFD Sender: No OFD packet to send [01:48:55]OFD Sender: No OFD packet to send [01:49:00]OFD Sender: No OFD packet to send [01:49:05]OFD Sender: No OFD packet to send [01:49:10]OFD Sender: No OFD packet to send [01:49:15]OFD Sender: No OFD packet to send [01:49:20]OFD Sender: No OFD packet to send [01:49:25]OFD Sender: No OFD packet to send [01:49:30]OFD Sender: No OFD packet to send [01:49:35]OFD Sender: No OFD packet to send [01:49:40]OFD Sender: No OFD packet to send [01:49:45]OFD Sender: No OFD packet to send [01:49:50]OFD Sender: No OFD packet to send [01:49:55]OFD Sender: No OFD packet to send [01:50:00]OFD Sender: No OFD packet to send [01:50:05]OFD Sender: No OFD packet to send [01:50:10]OFD Sender: No OFD packet to send [01:50:15]OFD Sender: No OFD packet to send [01:50:20]OFD Sender: No OFD packet to send [01:50:25]OFD Sender: No OFD packet to send [01:50:30]OFD Sender: No OFD packet to send [01:50:35]OFD Sender: No OFD packet to send [01:50:40]OFD Sender: No OFD packet to send [01:50:45]OFD Sender: No OFD packet to send [01:50:50]OFD Sender: No OFD packet to send [01:50:55]OFD Sender: No OFD packet to send [01:51:00]OFD Sender: No OFD packet to send [01:51:05]OFD Sender: No OFD packet to send [01:51:10]OFD Sender: No OFD packet to send [01:51:15]OFD Sender: No OFD packet to send [01:51:20]OFD Sender: No OFD packet to send [01:51:25]OFD Sender: No OFD packet to send [01:51:30]OFD Sender: No OFD packet to send [01:51:35]OFD Sender: No OFD packet to send [01:51:40]OFD Sender: No OFD packet to send [01:51:45]OFD Sender: No OFD packet to send [01:51:50]OFD Sender: No OFD packet to send [01:51:55]OFD Sender: No OFD packet to send [01:52:00]OFD Sender: No OFD packet to send [01:52:05]OFD Sender: No OFD packet to send [01:52:10]OFD Sender: No OFD packet to send [01:52:15]OFD Sender: No OFD packet to send [01:52:20]OFD Sender: No OFD packet to send [01:52:25]OFD Sender: No OFD packet to send [01:52:30]OFD Sender: No OFD packet to send [01:52:35]OFD Sender: No OFD packet to send [01:52:40]OFD Sender: No OFD packet to send [01:52:45]OFD Sender: No OFD packet to send [01:52:50]OFD Sender: No OFD packet to send [01:52:55]OFD Sender: No OFD packet to send [01:53:00]OFD Sender: No OFD packet to send [01:53:05]OFD Sender: No OFD packet to send [01:53:10]OFD Sender: No OFD packet to send [01:53:15]OFD Sender: No OFD packet to send [01:53:20]OFD Sender: No OFD packet to send [01:53:25]OFD Sender: No OFD packet to send [01:53:30]OFD Sender: No OFD packet to send [01:53:35]OFD Sender: No OFD packet to send [01:53:40]OFD Sender: No OFD packet to send [01:53:45]OFD Sender: No OFD packet to send [01:53:50]OFD Sender: No OFD packet to send [01:53:55]OFD Sender: No OFD packet to send [01:54:00]OFD Sender: No OFD packet to send [01:54:05]OFD Sender: No OFD packet to send [01:54:10]OFD Sender: No OFD packet to send [01:54:15]OFD Sender: No OFD packet to send [01:54:20]OFD Sender: No OFD packet to send [01:54:25]OFD Sender: No OFD packet to send [01:54:30]OFD Sender: No OFD packet to send [01:54:35]OFD Sender: No OFD packet to send [01:54:40]OFD Sender: No OFD packet to send [01:54:45]OFD Sender: No OFD packet to send [01:54:50]OFD Sender: No OFD packet to send [01:54:55]OFD Sender: No OFD packet to send [01:55:00]OFD Sender: No OFD packet to send [01:55:05]OFD Sender: No OFD packet to send [01:55:10]OFD Sender: No OFD packet to send [01:55:15]OFD Sender: No OFD packet to send [01:55:20]OFD Sender: No OFD packet to send [01:55:25]OFD Sender: No OFD packet to send [01:55:30]OFD Sender: No OFD packet to send [01:55:35]OFD Sender: No OFD packet to send [01:55:40]OFD Sender: No OFD packet to send [01:55:45]OFD Sender: No OFD packet to send [01:55:50]OFD Sender: No OFD packet to send [01:55:55]OFD Sender: No OFD packet to send [01:56:00]OFD Sender: No OFD packet to send [01:56:05]OFD Sender: No OFD packet to send [01:56:10]OFD Sender: No OFD packet to send [01:56:15]OFD Sender: No OFD packet to send [01:56:20]OFD Sender: No OFD packet to send [01:56:25]OFD Sender: No OFD packet to send [01:56:30]OFD Sender: No OFD packet to send [01:56:35]OFD Sender: No OFD packet to send [01:56:40]OFD Sender: No OFD packet to send [01:56:45]OFD Sender: No OFD packet to send [01:56:50]OFD Sender: No OFD packet to send [01:56:55]OFD Sender: No OFD packet to send [01:57:00]OFD Sender: No OFD packet to send [01:57:05]OFD Sender: No OFD packet to send [01:57:10]OFD Sender: No OFD packet to send [01:57:15]OFD Sender: No OFD packet to send [01:57:20]OFD Sender: No OFD packet to send [01:57:25]OFD Sender: No OFD packet to send [01:57:30]OFD Sender: No OFD packet to send [01:57:35]OFD Sender: No OFD packet to send [01:57:40]OFD Sender: No OFD packet to send [01:57:45]OFD Sender: No OFD packet to send [01:57:50]OFD Sender: No OFD packet to send [01:57:55]OFD Sender: No OFD packet to send [01:58:00]OFD Sender: No OFD packet to send [01:58:05]OFD Sender: No OFD packet to send [01:58:10]OFD Sender: No OFD packet to send [01:58:15]OFD Sender: No OFD packet to send [01:58:20]OFD Sender: No OFD packet to send [01:58:25]OFD Sender: No OFD packet to send [01:58:30]OFD Sender: No OFD packet to send [01:58:35]OFD Sender: No OFD packet to send [01:58:40]OFD Sender: No OFD packet to send [01:58:45]OFD Sender: No OFD packet to send [01:58:50]OFD Sender: No OFD packet to send [01:58:55]OFD Sender: No OFD packet to send [01:59:00]OFD Sender: No OFD packet to send [01:59:05]OFD Sender: No OFD packet to send [01:59:10]OFD Sender: No OFD packet to send [01:59:15]OFD Sender: No OFD packet to send [01:59:20]OFD Sender: No OFD packet to send [01:59:25]OFD Sender: No OFD packet to send [01:59:30]OFD Sender: No OFD packet to send [01:59:35]OFD Sender: No OFD packet to send [01:59:40]OFD Sender: No OFD packet to send [01:59:45]OFD Sender: No OFD packet to send [01:59:50]OFD Sender: No OFD packet to send [01:59:55]OFD Sender: No OFD packet to send [02:00:00]OFD Sender: No OFD packet to send [02:00:05]OFD Sender: No OFD packet to send [02:00:10]OFD Sender: No OFD packet to send [02:00:15]OFD Sender: No OFD packet to send [02:00:20]OFD Sender: No OFD packet to send [02:00:25]OFD Sender: No OFD packet to send [02:00:30]OFD Sender: No OFD packet to send [02:00:35]OFD Sender: No OFD packet to send [02:00:40]OFD Sender: No OFD packet to send [02:00:45]OFD Sender: No OFD packet to send [02:00:50]OFD Sender: No OFD packet to send [02:00:55]OFD Sender: No OFD packet to send [02:01:00]OFD Sender: No OFD packet to send [02:01:05]OFD Sender: No OFD packet to send [02:01:10]OFD Sender: No OFD packet to send [02:01:15]OFD Sender: No OFD packet to send [02:01:20]OFD Sender: No OFD packet to send [02:01:25]OFD Sender: No OFD packet to send [02:01:30]OFD Sender: No OFD packet to send [02:01:35]OFD Sender: No OFD packet to send [02:01:40]OFD Sender: No OFD packet to send [02:01:45]OFD Sender: No OFD packet to send [02:01:50]OFD Sender: No OFD packet to send [02:01:55]OFD Sender: No OFD packet to send [02:02:00]OFD Sender: No OFD packet to send [02:02:05]OFD Sender: No OFD packet to send [02:02:10]OFD Sender: No OFD packet to send [02:02:15]OFD Sender: No OFD packet to send [02:02:20]OFD Sender: No OFD packet to send [02:02:25]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:01]OFD Sender: No OFD packet to send [02:08:06]OFD Sender: No OFD packet to send [02:08:11]OFD Sender: No OFD packet to send [02:08:16]OFD Sender: No OFD packet to send [02:08:21]OFD Sender: No OFD packet to send [02:08:26]OFD Sender: No OFD packet to send [02:08:31]OFD Sender: No OFD packet to send [02:08:36]OFD Sender: No OFD packet to send [02:08:41]OFD Sender: No OFD packet to send [02:08:46]OFD Sender: No OFD packet to send [02:08:51]OFD Sender: No OFD packet to send [02:08:56]OFD Sender: No OFD packet to send [02:09:01]OFD Sender: No OFD packet to send [02:09:06]OFD Sender: No OFD packet to send [02:09:11]OFD Sender: No OFD packet to send [02:09:16]OFD Sender: No OFD packet to send [02:09:21]OFD Sender: No OFD packet to send [02:09:26]OFD Sender: No OFD packet to send [02:09:31]OFD Sender: No OFD packet to send [02:09:36]OFD Sender: No OFD packet to send [02:09:41]OFD Sender: No OFD packet to send [02:09:46]OFD Sender: No OFD packet to send [02:09:51]OFD Sender: No OFD packet to send [02:09:56]OFD Sender: No OFD packet to send [02:10:01]OFD Sender: No OFD packet to send [02:10:06]OFD Sender: No OFD packet to send [02:10:11]OFD Sender: No OFD packet to send [02:10:16]OFD Sender: No OFD packet to send [02:10:21]OFD Sender: No OFD packet to send [02:10:26]OFD Sender: No OFD packet to send [02:10:31]OFD Sender: No OFD packet to send [02:10:36]OFD Sender: No OFD packet to send [02:10:41]OFD Sender: No OFD packet to send [02:10:46]OFD Sender: No OFD packet to send [02:10:51]OFD Sender: No OFD packet to send [02:10:56]OFD Sender: No OFD packet to send [02:11:01]OFD Sender: No OFD packet to send [02:11:06]OFD Sender: No OFD packet to send [02:11:11]OFD Sender: No OFD packet to send [02:11:16]OFD Sender: No OFD packet to send [02:11:21]OFD Sender: No OFD packet to send [02:11:26]OFD Sender: No OFD packet to send [02:11:31]OFD Sender: No OFD packet to send [02:11:36]OFD Sender: No OFD packet to send [02:11:41]OFD Sender: No OFD packet to send [02:11:46]OFD Sender: No OFD packet to send [02:11:51]OFD Sender: No OFD packet to send [02:11:56]OFD Sender: No OFD packet to send [02:12:01]OFD Sender: No OFD packet to send [02:12:06]OFD Sender: No OFD packet to send [02:12:11]OFD Sender: No OFD packet to send [02:12:16]OFD Sender: No OFD packet to send [02:12:21]OFD Sender: No OFD packet to send [02:12:26]OFD Sender: No OFD packet to send [02:12:31]OFD Sender: No OFD packet to send [02:12:36]OFD Sender: No OFD packet to send [02:12:41]OFD Sender: No OFD packet to send [02:12:46]OFD Sender: No OFD packet to send [02:12:51]OFD Sender: No OFD packet to send [02:12:56]OFD Sender: No OFD packet to send [02:13:01]OFD Sender: No OFD packet to send [02:13:06]OFD Sender: No OFD packet to send [02:13:11]OFD Sender: No OFD packet to send [02:13:16]OFD Sender: No OFD packet to send [02:13:21]OFD Sender: No OFD packet to send [02:13:26]OFD Sender: No OFD packet to send [02:13:31]OFD Sender: No OFD packet to send [02:13:36]OFD Sender: No OFD packet to send [02:13:41]OFD Sender: No OFD packet to send [02:13:46]OFD Sender: No OFD packet to send [02:13:51]OFD Sender: No OFD packet to send [02:13:56]OFD Sender: No OFD packet to send [02:14:01]OFD Sender: No OFD packet to send [02:14:06]OFD Sender: No OFD packet to send [02:14:11]OFD Sender: No OFD packet to send [02:14:16]OFD Sender: No OFD packet to send [02:14:21]OFD Sender: No OFD packet to send [02:14:26]OFD Sender: No OFD packet to send [02:14:31]OFD Sender: No OFD packet to send [02:14:36]OFD Sender: No OFD packet to send [02:14:41]OFD Sender: No OFD packet to send [02:14:46]OFD Sender: No OFD packet to send [02:14:51]OFD Sender: No OFD packet to send [02:14:56]OFD Sender: No OFD packet to send [02:15:01]OFD Sender: No OFD packet to send [02:15:06]OFD Sender: No OFD packet to send [02:15:11]OFD Sender: No OFD packet to send [02:15:16]OFD Sender: No OFD packet to send [02:15:21]OFD Sender: No OFD packet to send [02:15:26]OFD Sender: No OFD packet to send [02:15:31]OFD Sender: No OFD packet to send [02:15:36]OFD Sender: No OFD packet to send [02:15:41]OFD Sender: No OFD packet to send [02:15:46]OFD Sender: No OFD packet to send [02:15:51]OFD Sender: No OFD packet to send [02:15:56]OFD Sender: No OFD packet to send [02:16:01]OFD Sender: No OFD packet to send [02:16:06]OFD Sender: No OFD packet to send [02:16:11]OFD Sender: No OFD packet to send [02:16:16]OFD Sender: No OFD packet to send [02:16:21]OFD Sender: No OFD packet to send [02:16:26]OFD Sender: No OFD packet to send [02:16:31]OFD Sender: No OFD packet to send [02:16:36]OFD Sender: No OFD packet to send [02:16:41]OFD Sender: No OFD packet to send [02:16:46]OFD Sender: No OFD packet to send [02:16:51]OFD Sender: No OFD packet to send [02:16:56]OFD Sender: No OFD packet to send [02:17:01]OFD Sender: No OFD packet to send [02:17:06]OFD Sender: No OFD packet to send [02:17:11]OFD Sender: No OFD packet to send [02:17:16]OFD Sender: No OFD packet to send [02:17:21]OFD Sender: No OFD packet to send [02:17:26]OFD Sender: No OFD packet to send [02:17:31]OFD Sender: No OFD packet to send [02:17:36]OFD Sender: No OFD packet to send [02:17:41]OFD Sender: No OFD packet to send [02:17:46]OFD Sender: No OFD packet to send [02:17:51]OFD Sender: No OFD packet to send [02:17:56]OFD Sender: No OFD packet to send [02:18:01]OFD Sender: No OFD packet to send [02:18:06]OFD Sender: No OFD packet to send [02:18:11]OFD Sender: No OFD packet to send [02:18:16]OFD Sender: No OFD packet to send [02:18:21]OFD Sender: No OFD packet to send [02:18:26]OFD Sender: No OFD packet to send [02:18:31]OFD Sender: No OFD packet to send [02:18:36]OFD Sender: No OFD packet to send [02:18:41]OFD Sender: No OFD packet to send [02:18:46]OFD Sender: No OFD packet to send [02:18:51]OFD Sender: No OFD packet to send [02:18:56]OFD Sender: No OFD packet to send [02:19:01]OFD Sender: No OFD packet to send [02:19:06]OFD Sender: No OFD packet to send [02:19:11]OFD Sender: No OFD packet to send [02:19:16]OFD Sender: No OFD packet to send [02:19:21]OFD Sender: No OFD packet to send [02:19:26]OFD Sender: No OFD packet to send [02:19:31]OFD Sender: No OFD packet to send [02:19:36]OFD Sender: No OFD packet to send [02:19:41]OFD Sender: No OFD packet to send [02:19:46]OFD Sender: No OFD packet to send [02:19:51]OFD Sender: No OFD packet to send [02:19:56]OFD Sender: No OFD packet to send [02:20:01]OFD Sender: No OFD packet to send [02:20:06]OFD Sender: No OFD packet to send [02:20:11]OFD Sender: No OFD packet to send [02:20:16]OFD Sender: No OFD packet to send [02:20:21]OFD Sender: No OFD packet to send [02:20:26]OFD Sender: No OFD packet to send [02:20:31]OFD Sender: No OFD packet to send [02:20:36]OFD Sender: No OFD packet to send [02:20:41]OFD Sender: No OFD packet to send [02:20:46]OFD Sender: No OFD packet to send [02:20:51]OFD Sender: No OFD packet to send [02:20:56]OFD Sender: No OFD packet to send [02:21:01]OFD Sender: No OFD packet to send [02:21:06]OFD Sender: No OFD packet to send [02:21:11]OFD Sender: No OFD packet to send [02:21:16]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]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:32]OFD Sender: No OFD packet to send [02:29:37]OFD Sender: No OFD packet to send [02:29:42]OFD Sender: No OFD packet to send [02:29:47]OFD Sender: No OFD packet to send [02:29:52]OFD Sender: No OFD packet to send [02:29:57]OFD Sender: No OFD packet to send [02:30:02]OFD Sender: No OFD packet to send [02:30:07]OFD Sender: No OFD packet to send [02:30:12]OFD Sender: No OFD packet to send [02:30:17]OFD Sender: No OFD packet to send [02:30:22]OFD Sender: No OFD packet to send [02:30:27]OFD Sender: No OFD packet to send [02:30:32]OFD Sender: No OFD packet to send [02:30:37]OFD Sender: No OFD packet to send [02:30:42]OFD Sender: No OFD packet to send [02:30:47]OFD Sender: No OFD packet to send [02:30:52]OFD Sender: No OFD packet to send [02:30:57]OFD Sender: No OFD packet to send [02:31:02]OFD Sender: No OFD packet to send [02:31:07]OFD Sender: No OFD packet to send [02:31:12]OFD Sender: No OFD packet to send [02:31:17]OFD Sender: No OFD packet to send [02:31:22]OFD Sender: No OFD packet to send [02:31:27]OFD Sender: No OFD packet to send [02:31:32]OFD Sender: No OFD packet to send [02:31:37]OFD Sender: No OFD packet to send [02:31:42]OFD Sender: No OFD packet to send [02:31:47]OFD Sender: No OFD packet to send [02:31:52]OFD Sender: No OFD packet to send [02:31:57]OFD Sender: No OFD packet to send [02:32:02]OFD Sender: No OFD packet to send [02:32:07]OFD Sender: No OFD packet to send [02:32:12]OFD Sender: No OFD packet to send [02:32:17]OFD Sender: No OFD packet to send [02:32:22]OFD Sender: No OFD packet to send [02:32:27]OFD Sender: No OFD packet to send [02:32:32]OFD Sender: No OFD packet to send [02:32:37]OFD Sender: No OFD packet to send [02:32:42]OFD Sender: No OFD packet to send [02:32:47]OFD Sender: No OFD packet to send [02:32:52]OFD Sender: No OFD packet to send [02:32:57]OFD Sender: No OFD packet to send [02:33:02]OFD Sender: No OFD packet to send [02:33:07]OFD Sender: No OFD packet to send [02:33:12]OFD Sender: No OFD packet to send [02:33:17]OFD Sender: No OFD packet to send [02:33:22]OFD Sender: No OFD packet to send [02:33:27]OFD Sender: No OFD packet to send [02:33:32]OFD Sender: No OFD packet to send [02:33:37]OFD Sender: No OFD packet to send [02:33:42]OFD Sender: No OFD packet to send [02:33:47]OFD Sender: No OFD packet to send [02:33:52]OFD Sender: No OFD packet to send [02:33:57]OFD Sender: No OFD packet to send [02:34:02]OFD Sender: No OFD packet to send [02:34:07]OFD Sender: No OFD packet to send [02:34:12]OFD Sender: No OFD packet to send [02:34:17]OFD Sender: No OFD packet to send [02:34:22]OFD Sender: No OFD packet to send [02:34:27]OFD Sender: No OFD packet to send [02:34:32]OFD Sender: No OFD packet to send [02:34:37]OFD Sender: No OFD packet to send [02:34:42]OFD Sender: No OFD packet to send [02:34:47]OFD Sender: No OFD packet to send [02:34:52]OFD Sender: No OFD packet to send [02:34:57]OFD Sender: No OFD packet to send [02:35:02]OFD Sender: No OFD packet to send [02:35:07]OFD Sender: No OFD packet to send [02:35:12]OFD Sender: No OFD packet to send [02:35:17]OFD Sender: No OFD packet to send [02:35:22]OFD Sender: No OFD packet to send [02:35:27]OFD Sender: No OFD packet to send [02:35:32]OFD Sender: No OFD packet to send [02:35:37]OFD Sender: No OFD packet to send [02:35:42]OFD Sender: No OFD packet to send [02:35:47]OFD Sender: No OFD packet to send [02:35:52]OFD Sender: No OFD packet to send [02:35:57]OFD Sender: No OFD packet to send [02:36:02]OFD Sender: No OFD packet to send [02:36:07]OFD Sender: No OFD packet to send [02:36:12]OFD Sender: No OFD packet to send [02:36:17]OFD Sender: No OFD packet to send [02:36:22]OFD Sender: No OFD packet to send [02:36:27]OFD Sender: No OFD packet to send [02:36:32]OFD Sender: No OFD packet to send [02:36:37]OFD Sender: No OFD packet to send [02:36:42]OFD Sender: No OFD packet to send [02:36:47]OFD Sender: No OFD packet to send [02:36:52]OFD Sender: No OFD packet to send [02:36:57]OFD Sender: No OFD packet to send [02:37:02]OFD Sender: No OFD packet to send [02:37:07]OFD Sender: No OFD packet to send [02:37:12]OFD Sender: No OFD packet to send [02:37:17]OFD Sender: No OFD packet to send [02:37:22]OFD Sender: No OFD packet to send [02:37:27]OFD Sender: No OFD packet to send [02:37:32]OFD Sender: No OFD packet to send [02:37:37]OFD Sender: No OFD packet to send [02:37:42]OFD Sender: No OFD packet to send [02:37:47]OFD Sender: No OFD packet to send [02:37:52]OFD Sender: No OFD packet to send [02:37:57]OFD Sender: No OFD packet to send [02:38:02]OFD Sender: No OFD packet to send [02:38:07]OFD Sender: No OFD packet to send [02:38:12]OFD Sender: No OFD packet to send [02:38:17]OFD Sender: No OFD packet to send [02:38:22]OFD Sender: No OFD packet to send [02:38:27]OFD Sender: No OFD packet to send [02:38:32]OFD Sender: No OFD packet to send [02:38:37]OFD Sender: No OFD packet to send [02:38:42]OFD Sender: No OFD packet to send [02:38:47]OFD Sender: No OFD packet to send [02:38:52]OFD Sender: No OFD packet to send [02:38:57]OFD Sender: No OFD packet to send [02:39:02]OFD Sender: No OFD packet to send [02:39:07]OFD Sender: No OFD packet to send [02:39:12]OFD Sender: No OFD packet to send [02:39:17]OFD Sender: No OFD packet to send [02:39:22]OFD Sender: No OFD packet to send [02:39:27]OFD Sender: No OFD packet to send [02:39:32]OFD Sender: No OFD packet to send [02:39:37]OFD Sender: No OFD packet to send [02:39:42]OFD Sender: No OFD packet to send [02:39:47]OFD Sender: No OFD packet to send [02:39:52]OFD Sender: No OFD packet to send [02:39:57]OFD Sender: No OFD packet to send [02:40:02]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47: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:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send [02:58:23]OFD Sender: No OFD packet to send [02:58:28]OFD Sender: No OFD packet to send [02:58:33]OFD Sender: No OFD packet to send [02:58:38]OFD Sender: No OFD packet to send [02:58:43]OFD Sender: No OFD packet to send [02:58:48]OFD Sender: No OFD packet to send [02:58:53]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send [03:00:18]OFD Sender: No OFD packet to send [03:00:23]OFD Sender: No OFD packet to send [03:00:28]OFD Sender: No OFD packet to send [03:00:33]OFD Sender: No OFD packet to send [03:00:38]OFD Sender: No OFD packet to send [03:00:43]OFD Sender: No OFD packet to send [03:00:48]OFD Sender: No OFD packet to send [03:00:53]OFD Sender: No OFD packet to send [03:00:58]OFD Sender: No OFD packet to send [03:01:03]OFD Sender: No OFD packet to send [03:01:08]OFD Sender: No OFD packet to send [03:01:13]OFD Sender: No OFD packet to send [03:01:18]OFD Sender: No OFD packet to send [03:01:23]OFD Sender: No OFD packet to send [03:01:28]OFD Sender: No OFD packet to send [03:01:33]OFD Sender: No OFD packet to send [03:01:38]OFD Sender: No OFD packet to send [03:01:43]OFD Sender: No OFD packet to send [03:01:48]OFD Sender: No OFD packet to send [03:01:53]OFD Sender: No OFD packet to send [03:01:58]OFD Sender: No OFD packet to send [03:02:03]OFD Sender: No OFD packet to send [03:02:08]OFD Sender: No OFD packet to send [03:02:13]OFD Sender: No OFD packet to send [03:02:18]OFD Sender: No OFD packet to send [03:02:23]OFD Sender: No OFD packet to send [03:02:28]OFD Sender: No OFD packet to send [03:02:33]OFD Sender: No OFD packet to send [03:02:38]OFD Sender: No OFD packet to send [03:02:43]OFD Sender: No OFD packet to send [03:02:48]OFD Sender: No OFD packet to send [03:02:53]OFD Sender: No OFD packet to send [03:02:58]OFD Sender: No OFD packet to send [03:03:03]OFD Sender: No OFD packet to send [03:03:08]OFD Sender: No OFD packet to send [03:03:13]OFD Sender: No OFD packet to send [03:03:18]OFD Sender: No OFD packet to send [03:03:23]OFD Sender: No OFD packet to send [03:03:28]OFD Sender: No OFD packet to send [03:03:33]OFD Sender: No OFD packet to send [03:03:38]OFD Sender: No OFD packet to send [03:03:43]OFD Sender: No OFD packet to send [03:03:48]OFD Sender: No OFD packet to send [03:03:53]OFD Sender: No OFD packet to send [03:03:58]OFD Sender: No OFD packet to send [03:04:03]OFD Sender: No OFD packet to send [03:04:08]OFD Sender: No OFD packet to send [03:04:13]OFD Sender: No OFD packet to send [03:04:18]OFD Sender: No OFD packet to send [03:04:23]OFD Sender: No OFD packet to send [03:04:28]OFD Sender: No OFD packet to send [03:04:33]OFD Sender: No OFD packet to send [03:04:38]OFD Sender: No OFD packet to send [03:04:43]OFD Sender: No OFD packet to send [03:04:48]OFD Sender: No OFD packet to send [03:04:53]OFD Sender: No OFD packet to send [03:04:58]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:04]OFD Sender: No OFD packet to send [03:12:09]OFD Sender: No OFD packet to send [03:12:14]OFD Sender: No OFD packet to send [03:12:19]OFD Sender: No OFD packet to send [03:12:24]OFD Sender: No OFD packet to send [03:12:29]OFD Sender: No OFD packet to send [03:12:34]OFD Sender: No OFD packet to send [03:12:39]OFD Sender: No OFD packet to send [03:12:44]OFD Sender: No OFD packet to send [03:12:49]OFD Sender: No OFD packet to send [03:12:54]OFD Sender: No OFD packet to send [03:12:59]OFD Sender: No OFD packet to send [03:13:04]OFD Sender: No OFD packet to send [03:13:09]OFD Sender: No OFD packet to send [03:13:14]OFD Sender: No OFD packet to send [03:13:19]OFD Sender: No OFD packet to send